Skip to content

Commit b98213d

Browse files
1 parent 3145f10 commit b98213d

28 files changed

Lines changed: 1304 additions & 218 deletions

clients/google-api-services-serviceusage/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-serviceusage</artifactId>
25-
<version>v1-rev20260423-2.0.0</version>
25+
<version>v1-rev20260721-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20260423-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20260721-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/Analysis.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public final class Analysis extends com.google.api.client.json.GenericJson {
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
37-
private AnalysisResult analysis;
37+
private AnalysisResult analysisResult;
3838

3939
/**
4040
* Output only. The type of analysis.
@@ -63,16 +63,16 @@ public final class Analysis extends com.google.api.client.json.GenericJson {
6363
* Output only. Analysis result of updating a policy.
6464
* @return value or {@code null} for none
6565
*/
66-
public AnalysisResult getAnalysis() {
67-
return analysis;
66+
public AnalysisResult getAnalysisResult() {
67+
return analysisResult;
6868
}
6969

7070
/**
7171
* Output only. Analysis result of updating a policy.
72-
* @param analysis analysis or {@code null} for none
72+
* @param analysisResult analysisResult or {@code null} for none
7373
*/
74-
public Analysis setAnalysis(AnalysisResult analysis) {
75-
this.analysis = analysis;
74+
public Analysis setAnalysisResult(AnalysisResult analysisResult) {
75+
this.analysisResult = analysisResult;
7676
return this;
7777
}
7878

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/ConsumerPolicy.java

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@
3131
public final class ConsumerPolicy extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Optional. Annotations is an unstructured key-value map stored with a policy that may be set by
35-
* external tools to store and retrieve arbitrary metadata. They are not queryable and should be
36-
* preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
34+
* Output only. The time the policy was created. For singleton policies, this is the first touch
35+
* of the policy.
3736
* The value may be {@code null}.
3837
*/
3938
@com.google.api.client.util.Key
40-
private java.util.Map<String, java.lang.String> annotations;
39+
private String createTime;
4140

4241
/**
43-
* Enable rules define usable services and service groups.
42+
* Enable rules define usable services and groups. There can currently be at most one
43+
* `EnableRule`. This restriction will be lifted in later releases.
4444
* The value may be {@code null}.
4545
*/
4646
@com.google.api.client.util.Key
@@ -54,52 +54,52 @@ public final class ConsumerPolicy extends com.google.api.client.json.GenericJson
5454
private java.lang.String etag;
5555

5656
/**
57-
* Output only. The resource name of the policy. We only allow consumer policy name as `default`
58-
* for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`,
57+
* Output only. The resource name of the policy. Only the `default` policy is supported:
58+
* `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`,
5959
* `organizations/12345/consumerPolicies/default`.
6060
* The value may be {@code null}.
6161
*/
6262
@com.google.api.client.util.Key
6363
private java.lang.String name;
6464

6565
/**
66-
* The last-modified time.
66+
* Output only. The time the policy was last updated.
6767
* The value may be {@code null}.
6868
*/
6969
@com.google.api.client.util.Key
7070
private String updateTime;
7171

7272
/**
73-
* Optional. Annotations is an unstructured key-value map stored with a policy that may be set by
74-
* external tools to store and retrieve arbitrary metadata. They are not queryable and should be
75-
* preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
73+
* Output only. The time the policy was created. For singleton policies, this is the first touch
74+
* of the policy.
7675
* @return value or {@code null} for none
7776
*/
78-
public java.util.Map<String, java.lang.String> getAnnotations() {
79-
return annotations;
77+
public String getCreateTime() {
78+
return createTime;
8079
}
8180

8281
/**
83-
* Optional. Annotations is an unstructured key-value map stored with a policy that may be set by
84-
* external tools to store and retrieve arbitrary metadata. They are not queryable and should be
85-
* preserved when modifying objects. [AIP-128](https://google.aip.dev/128#annotations)
86-
* @param annotations annotations or {@code null} for none
82+
* Output only. The time the policy was created. For singleton policies, this is the first touch
83+
* of the policy.
84+
* @param createTime createTime or {@code null} for none
8785
*/
88-
public ConsumerPolicy setAnnotations(java.util.Map<String, java.lang.String> annotations) {
89-
this.annotations = annotations;
86+
public ConsumerPolicy setCreateTime(String createTime) {
87+
this.createTime = createTime;
9088
return this;
9189
}
9290

9391
/**
94-
* Enable rules define usable services and service groups.
92+
* Enable rules define usable services and groups. There can currently be at most one
93+
* `EnableRule`. This restriction will be lifted in later releases.
9594
* @return value or {@code null} for none
9695
*/
9796
public java.util.List<EnableRule> getEnableRules() {
9897
return enableRules;
9998
}
10099

101100
/**
102-
* Enable rules define usable services and service groups.
101+
* Enable rules define usable services and groups. There can currently be at most one
102+
* `EnableRule`. This restriction will be lifted in later releases.
103103
* @param enableRules enableRules or {@code null} for none
104104
*/
105105
public ConsumerPolicy setEnableRules(java.util.List<EnableRule> enableRules) {
@@ -125,8 +125,8 @@ public ConsumerPolicy setEtag(java.lang.String etag) {
125125
}
126126

127127
/**
128-
* Output only. The resource name of the policy. We only allow consumer policy name as `default`
129-
* for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`,
128+
* Output only. The resource name of the policy. Only the `default` policy is supported:
129+
* `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`,
130130
* `organizations/12345/consumerPolicies/default`.
131131
* @return value or {@code null} for none
132132
*/
@@ -135,8 +135,8 @@ public java.lang.String getName() {
135135
}
136136

137137
/**
138-
* Output only. The resource name of the policy. We only allow consumer policy name as `default`
139-
* for now: `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`,
138+
* Output only. The resource name of the policy. Only the `default` policy is supported:
139+
* `projects/12345/consumerPolicies/default`, `folders/12345/consumerPolicies/default`,
140140
* `organizations/12345/consumerPolicies/default`.
141141
* @param name name or {@code null} for none
142142
*/
@@ -146,15 +146,15 @@ public ConsumerPolicy setName(java.lang.String name) {
146146
}
147147

148148
/**
149-
* The last-modified time.
149+
* Output only. The time the policy was last updated.
150150
* @return value or {@code null} for none
151151
*/
152152
public String getUpdateTime() {
153153
return updateTime;
154154
}
155155

156156
/**
157-
* The last-modified time.
157+
* Output only. The time the policy was last updated.
158158
* @param updateTime updateTime or {@code null} for none
159159
*/
160160
public ConsumerPolicy setUpdateTime(String updateTime) {

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/EnableRule.java

Lines changed: 13 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.serviceusage.v1.model;
1818

1919
/**
20-
* The consumer policy rule that defines usable services and service groups.
20+
* The consumer policy rule that defines enabled services and groups.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Service Usage API. For a detailed explanation see:
@@ -37,24 +37,16 @@ public final class EnableRule extends com.google.api.client.json.GenericJson {
3737
private java.lang.String enableType;
3838

3939
/**
40-
* DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of
41-
* the service groups that are enabled (Not Implemented). Example: `groups/googleServices`.
42-
* The value may be {@code null}.
43-
*/
44-
@com.google.api.client.util.Key
45-
private java.util.List<java.lang.String> groups;
46-
47-
/**
48-
* DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the
49-
* services that are enabled. Example: `storage.googleapis.com`.
40+
* The names of the services that are enabled. Example: `services/storage.googleapis.com`.
5041
* The value may be {@code null}.
5142
*/
5243
@com.google.api.client.util.Key
5344
private java.util.List<java.lang.String> services;
5445

5546
/**
56-
* The names of the services or service groups that are enabled. Example:
57-
* `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`.
47+
* Deprecated: Use the `services` field instead. The names of the services or service groups that
48+
* are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`,
49+
* `groups/allServices`.
5850
* The value may be {@code null}.
5951
*/
6052
@com.google.api.client.util.Key
@@ -78,36 +70,15 @@ public EnableRule setEnableType(java.lang.String enableType) {
7870
}
7971

8072
/**
81-
* DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of
82-
* the service groups that are enabled (Not Implemented). Example: `groups/googleServices`.
83-
* @return value or {@code null} for none
84-
*/
85-
public java.util.List<java.lang.String> getGroups() {
86-
return groups;
87-
}
88-
89-
/**
90-
* DEPRECATED: Please use field `values`. Service group should have prefix `groups/`. The names of
91-
* the service groups that are enabled (Not Implemented). Example: `groups/googleServices`.
92-
* @param groups groups or {@code null} for none
93-
*/
94-
public EnableRule setGroups(java.util.List<java.lang.String> groups) {
95-
this.groups = groups;
96-
return this;
97-
}
98-
99-
/**
100-
* DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the
101-
* services that are enabled. Example: `storage.googleapis.com`.
73+
* The names of the services that are enabled. Example: `services/storage.googleapis.com`.
10274
* @return value or {@code null} for none
10375
*/
10476
public java.util.List<java.lang.String> getServices() {
10577
return services;
10678
}
10779

10880
/**
109-
* DEPRECATED: Please use field `values`. Service should have prefix `services/`. The names of the
110-
* services that are enabled. Example: `storage.googleapis.com`.
81+
* The names of the services that are enabled. Example: `services/storage.googleapis.com`.
11182
* @param services services or {@code null} for none
11283
*/
11384
public EnableRule setServices(java.util.List<java.lang.String> services) {
@@ -116,17 +87,19 @@ public EnableRule setServices(java.util.List<java.lang.String> services) {
11687
}
11788

11889
/**
119-
* The names of the services or service groups that are enabled. Example:
120-
* `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`.
90+
* Deprecated: Use the `services` field instead. The names of the services or service groups that
91+
* are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`,
92+
* `groups/allServices`.
12193
* @return value or {@code null} for none
12294
*/
12395
public java.util.List<java.lang.String> getValues() {
12496
return values;
12597
}
12698

12799
/**
128-
* The names of the services or service groups that are enabled. Example:
129-
* `services/storage.googleapis.com`, `groups/googleServices`, `groups/allServices`.
100+
* Deprecated: Use the `services` field instead. The names of the services or service groups that
101+
* are enabled. Example: `services/storage.googleapis.com`, `groups/googleServices`,
102+
* `groups/allServices`.
130103
* @param values values or {@code null} for none
131104
*/
132105
public EnableRule setValues(java.util.List<java.lang.String> values) {

0 commit comments

Comments
 (0)