Skip to content

Commit 7114d2e

Browse files
1 parent be4d90c commit 7114d2e

22 files changed

+1538
-12
lines changed

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-rev20240929-2.0.0</version>
25+
<version>v1-rev20241025-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-rev20240929-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20241025-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.serviceusage.v1.model;
18+
19+
/**
20+
* A message to group the analysis information.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Service Usage API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleApiServiceusageV2betaAnalysis extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. Analysis result of updating a policy.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleApiServiceusageV2betaAnalysisResult analysis;
38+
39+
/**
40+
* Output only. The type of analysis.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String analysisType;
45+
46+
/**
47+
* Output only. The user friendly display name of the analysis type. E.g. service dependency
48+
* analysis, service resource usage analysis, etc.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String displayName;
53+
54+
/**
55+
* The names of the service that has analysis result of warnings or blockers. Example:
56+
* `services/storage.googleapis.com`.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String service;
61+
62+
/**
63+
* Output only. Analysis result of updating a policy.
64+
* @return value or {@code null} for none
65+
*/
66+
public GoogleApiServiceusageV2betaAnalysisResult getAnalysis() {
67+
return analysis;
68+
}
69+
70+
/**
71+
* Output only. Analysis result of updating a policy.
72+
* @param analysis analysis or {@code null} for none
73+
*/
74+
public GoogleApiServiceusageV2betaAnalysis setAnalysis(GoogleApiServiceusageV2betaAnalysisResult analysis) {
75+
this.analysis = analysis;
76+
return this;
77+
}
78+
79+
/**
80+
* Output only. The type of analysis.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.String getAnalysisType() {
84+
return analysisType;
85+
}
86+
87+
/**
88+
* Output only. The type of analysis.
89+
* @param analysisType analysisType or {@code null} for none
90+
*/
91+
public GoogleApiServiceusageV2betaAnalysis setAnalysisType(java.lang.String analysisType) {
92+
this.analysisType = analysisType;
93+
return this;
94+
}
95+
96+
/**
97+
* Output only. The user friendly display name of the analysis type. E.g. service dependency
98+
* analysis, service resource usage analysis, etc.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getDisplayName() {
102+
return displayName;
103+
}
104+
105+
/**
106+
* Output only. The user friendly display name of the analysis type. E.g. service dependency
107+
* analysis, service resource usage analysis, etc.
108+
* @param displayName displayName or {@code null} for none
109+
*/
110+
public GoogleApiServiceusageV2betaAnalysis setDisplayName(java.lang.String displayName) {
111+
this.displayName = displayName;
112+
return this;
113+
}
114+
115+
/**
116+
* The names of the service that has analysis result of warnings or blockers. Example:
117+
* `services/storage.googleapis.com`.
118+
* @return value or {@code null} for none
119+
*/
120+
public java.lang.String getService() {
121+
return service;
122+
}
123+
124+
/**
125+
* The names of the service that has analysis result of warnings or blockers. Example:
126+
* `services/storage.googleapis.com`.
127+
* @param service service or {@code null} for none
128+
*/
129+
public GoogleApiServiceusageV2betaAnalysis setService(java.lang.String service) {
130+
this.service = service;
131+
return this;
132+
}
133+
134+
@Override
135+
public GoogleApiServiceusageV2betaAnalysis set(String fieldName, Object value) {
136+
return (GoogleApiServiceusageV2betaAnalysis) super.set(fieldName, value);
137+
}
138+
139+
@Override
140+
public GoogleApiServiceusageV2betaAnalysis clone() {
141+
return (GoogleApiServiceusageV2betaAnalysis) super.clone();
142+
}
143+
144+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.serviceusage.v1.model;
18+
19+
/**
20+
* An analysis result including blockers and warnings.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Service Usage API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleApiServiceusageV2betaAnalysisResult extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Blocking information that would prevent the policy changes at runtime.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleApiServiceusageV2betaImpact> blockers;
38+
39+
/**
40+
* Warning information indicating that the policy changes might be unsafe, but will not block the
41+
* changes at runtime.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<GoogleApiServiceusageV2betaImpact> warnings;
46+
47+
/**
48+
* Blocking information that would prevent the policy changes at runtime.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.util.List<GoogleApiServiceusageV2betaImpact> getBlockers() {
52+
return blockers;
53+
}
54+
55+
/**
56+
* Blocking information that would prevent the policy changes at runtime.
57+
* @param blockers blockers or {@code null} for none
58+
*/
59+
public GoogleApiServiceusageV2betaAnalysisResult setBlockers(java.util.List<GoogleApiServiceusageV2betaImpact> blockers) {
60+
this.blockers = blockers;
61+
return this;
62+
}
63+
64+
/**
65+
* Warning information indicating that the policy changes might be unsafe, but will not block the
66+
* changes at runtime.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.util.List<GoogleApiServiceusageV2betaImpact> getWarnings() {
70+
return warnings;
71+
}
72+
73+
/**
74+
* Warning information indicating that the policy changes might be unsafe, but will not block the
75+
* changes at runtime.
76+
* @param warnings warnings or {@code null} for none
77+
*/
78+
public GoogleApiServiceusageV2betaAnalysisResult setWarnings(java.util.List<GoogleApiServiceusageV2betaImpact> warnings) {
79+
this.warnings = warnings;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleApiServiceusageV2betaAnalysisResult set(String fieldName, Object value) {
85+
return (GoogleApiServiceusageV2betaAnalysisResult) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleApiServiceusageV2betaAnalysisResult clone() {
90+
return (GoogleApiServiceusageV2betaAnalysisResult) super.clone();
91+
}
92+
93+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.serviceusage.v1.model;
18+
19+
/**
20+
* Metadata for the `AnalyzeConsumerPolicy` method.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Service Usage API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata set(String fieldName, Object value) {
34+
return (GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata clone() {
39+
return (GoogleApiServiceusageV2betaAnalyzeConsumerPolicyMetadata) super.clone();
40+
}
41+
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.serviceusage.v1.model;
18+
19+
/**
20+
* The response of analyzing a consumer policy update.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Service Usage API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The list of analyses returned from performing the intended policy update analysis. The analysis
34+
* is grouped by service name and different analysis types. The empty analysis list means that the
35+
* consumer policy can be updated without any warnings or blockers.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<GoogleApiServiceusageV2betaAnalysis> analysis;
40+
41+
static {
42+
// hack to force ProGuard to consider GoogleApiServiceusageV2betaAnalysis used, since otherwise it would be stripped out
43+
// see https://github.com/google/google-api-java-client/issues/543
44+
com.google.api.client.util.Data.nullOf(GoogleApiServiceusageV2betaAnalysis.class);
45+
}
46+
47+
/**
48+
* The list of analyses returned from performing the intended policy update analysis. The analysis
49+
* is grouped by service name and different analysis types. The empty analysis list means that the
50+
* consumer policy can be updated without any warnings or blockers.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.util.List<GoogleApiServiceusageV2betaAnalysis> getAnalysis() {
54+
return analysis;
55+
}
56+
57+
/**
58+
* The list of analyses returned from performing the intended policy update analysis. The analysis
59+
* is grouped by service name and different analysis types. The empty analysis list means that the
60+
* consumer policy can be updated without any warnings or blockers.
61+
* @param analysis analysis or {@code null} for none
62+
*/
63+
public GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse setAnalysis(java.util.List<GoogleApiServiceusageV2betaAnalysis> analysis) {
64+
this.analysis = analysis;
65+
return this;
66+
}
67+
68+
@Override
69+
public GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse set(String fieldName, Object value) {
70+
return (GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse) super.set(fieldName, value);
71+
}
72+
73+
@Override
74+
public GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse clone() {
75+
return (GoogleApiServiceusageV2betaAnalyzeConsumerPolicyResponse) super.clone();
76+
}
77+
78+
}

0 commit comments

Comments
 (0)