Skip to content

Commit 446cdb1

Browse files
chore: regenerate serviceconsumermanagement client (googleapis#23388)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 81b7585 commit 446cdb1

File tree

12 files changed

+256
-12
lines changed

12 files changed

+256
-12
lines changed

clients/google-api-services-serviceconsumermanagement/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-serviceconsumermanagement</artifactId>
25-
<version>v1-rev20240712-2.0.0</version>
25+
<version>v1-rev20240905-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-serviceconsumermanagement:v1-rev20240712-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20240905-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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.serviceconsumermanagement.v1.model;
18+
19+
/**
20+
* Experimental features to be included during client library generation. These fields will be
21+
* deprecated once the feature graduates and is enabled by default.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Service Consumer Management API. For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class ExperimentalFeatures extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
36+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
37+
* month after launching the feature in preview packages.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.Boolean restAsyncIoEnabled;
42+
43+
/**
44+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
45+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
46+
* month after launching the feature in preview packages.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.lang.Boolean getRestAsyncIoEnabled() {
50+
return restAsyncIoEnabled;
51+
}
52+
53+
/**
54+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
55+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
56+
* month after launching the feature in preview packages.
57+
* @param restAsyncIoEnabled restAsyncIoEnabled or {@code null} for none
58+
*/
59+
public ExperimentalFeatures setRestAsyncIoEnabled(java.lang.Boolean restAsyncIoEnabled) {
60+
this.restAsyncIoEnabled = restAsyncIoEnabled;
61+
return this;
62+
}
63+
64+
@Override
65+
public ExperimentalFeatures set(String fieldName, Object value) {
66+
return (ExperimentalFeatures) super.set(fieldName, value);
67+
}
68+
69+
@Override
70+
public ExperimentalFeatures clone() {
71+
return (ExperimentalFeatures) super.clone();
72+
}
73+
74+
}

clients/google-api-services-serviceconsumermanagement/v1/2.0.0/com/google/api/services/serviceconsumermanagement/v1/model/MetricDescriptorMetadata.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ public final class MetricDescriptorMetadata extends com.google.api.client.json.G
5454
@com.google.api.client.util.Key
5555
private String samplePeriod;
5656

57+
/**
58+
* The scope of the timeseries data of the metric.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.util.List<java.lang.String> timeSeriesResourceHierarchyLevel;
63+
5764
/**
5865
* The delay of data points caused by ingestion. Data points older than this age are guaranteed to
5966
* be ingested and available to be read, excluding data loss due to errors.
@@ -111,6 +118,23 @@ public MetricDescriptorMetadata setSamplePeriod(String samplePeriod) {
111118
return this;
112119
}
113120

121+
/**
122+
* The scope of the timeseries data of the metric.
123+
* @return value or {@code null} for none
124+
*/
125+
public java.util.List<java.lang.String> getTimeSeriesResourceHierarchyLevel() {
126+
return timeSeriesResourceHierarchyLevel;
127+
}
128+
129+
/**
130+
* The scope of the timeseries data of the metric.
131+
* @param timeSeriesResourceHierarchyLevel timeSeriesResourceHierarchyLevel or {@code null} for none
132+
*/
133+
public MetricDescriptorMetadata setTimeSeriesResourceHierarchyLevel(java.util.List<java.lang.String> timeSeriesResourceHierarchyLevel) {
134+
this.timeSeriesResourceHierarchyLevel = timeSeriesResourceHierarchyLevel;
135+
return this;
136+
}
137+
114138
@Override
115139
public MetricDescriptorMetadata set(String fieldName, Object value) {
116140
return (MetricDescriptorMetadata) super.set(fieldName, value);

clients/google-api-services-serviceconsumermanagement/v1/2.0.0/com/google/api/services/serviceconsumermanagement/v1/model/PythonSettings.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class PythonSettings extends com.google.api.client.json.GenericJson
3737
@com.google.api.client.util.Key
3838
private CommonLanguageSettings common;
3939

40+
/**
41+
* Experimental features to be included during client library generation.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private ExperimentalFeatures experimentalFeatures;
46+
4047
/**
4148
* Some settings.
4249
* @return value or {@code null} for none
@@ -54,6 +61,23 @@ public PythonSettings setCommon(CommonLanguageSettings common) {
5461
return this;
5562
}
5663

64+
/**
65+
* Experimental features to be included during client library generation.
66+
* @return value or {@code null} for none
67+
*/
68+
public ExperimentalFeatures getExperimentalFeatures() {
69+
return experimentalFeatures;
70+
}
71+
72+
/**
73+
* Experimental features to be included during client library generation.
74+
* @param experimentalFeatures experimentalFeatures or {@code null} for none
75+
*/
76+
public PythonSettings setExperimentalFeatures(ExperimentalFeatures experimentalFeatures) {
77+
this.experimentalFeatures = experimentalFeatures;
78+
return this;
79+
}
80+
5781
@Override
5882
public PythonSettings set(String fieldName, Object value) {
5983
return (PythonSettings) super.set(fieldName, value);

clients/google-api-services-serviceconsumermanagement/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-serviceconsumermanagement</artifactId>
11-
<version>v1-rev20240712-2.0.0</version>
12-
<name>Service Consumer Management API v1-rev20240712-2.0.0</name>
11+
<version>v1-rev20240905-2.0.0</version>
12+
<name>Service Consumer Management API v1-rev20240905-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-serviceconsumermanagement/v1/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-serviceconsumermanagement</artifactId>
25-
<version>v1-rev20240712-2.0.0</version>
25+
<version>v1-rev20240905-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-serviceconsumermanagement:v1-rev20240712-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20240905-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-serviceconsumermanagement/v1beta1/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-serviceconsumermanagement</artifactId>
25-
<version>v1beta1-rev20240712-2.0.0</version>
25+
<version>v1beta1-rev20240905-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-serviceconsumermanagement:v1beta1-rev20240712-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1beta1-rev20240905-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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.serviceconsumermanagement.v1beta1.model;
18+
19+
/**
20+
* Experimental features to be included during client library generation. These fields will be
21+
* deprecated once the feature graduates and is enabled by default.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Service Consumer Management API. For a detailed
25+
* explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class ExperimentalFeatures extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
36+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
37+
* month after launching the feature in preview packages.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.Boolean restAsyncIoEnabled;
42+
43+
/**
44+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
45+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
46+
* month after launching the feature in preview packages.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.lang.Boolean getRestAsyncIoEnabled() {
50+
return restAsyncIoEnabled;
51+
}
52+
53+
/**
54+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
55+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
56+
* month after launching the feature in preview packages.
57+
* @param restAsyncIoEnabled restAsyncIoEnabled or {@code null} for none
58+
*/
59+
public ExperimentalFeatures setRestAsyncIoEnabled(java.lang.Boolean restAsyncIoEnabled) {
60+
this.restAsyncIoEnabled = restAsyncIoEnabled;
61+
return this;
62+
}
63+
64+
@Override
65+
public ExperimentalFeatures set(String fieldName, Object value) {
66+
return (ExperimentalFeatures) super.set(fieldName, value);
67+
}
68+
69+
@Override
70+
public ExperimentalFeatures clone() {
71+
return (ExperimentalFeatures) super.clone();
72+
}
73+
74+
}

clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/MetricDescriptorMetadata.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ public final class MetricDescriptorMetadata extends com.google.api.client.json.G
5454
@com.google.api.client.util.Key
5555
private String samplePeriod;
5656

57+
/**
58+
* The scope of the timeseries data of the metric.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.util.List<java.lang.String> timeSeriesResourceHierarchyLevel;
63+
5764
/**
5865
* The delay of data points caused by ingestion. Data points older than this age are guaranteed to
5966
* be ingested and available to be read, excluding data loss due to errors.
@@ -111,6 +118,23 @@ public MetricDescriptorMetadata setSamplePeriod(String samplePeriod) {
111118
return this;
112119
}
113120

121+
/**
122+
* The scope of the timeseries data of the metric.
123+
* @return value or {@code null} for none
124+
*/
125+
public java.util.List<java.lang.String> getTimeSeriesResourceHierarchyLevel() {
126+
return timeSeriesResourceHierarchyLevel;
127+
}
128+
129+
/**
130+
* The scope of the timeseries data of the metric.
131+
* @param timeSeriesResourceHierarchyLevel timeSeriesResourceHierarchyLevel or {@code null} for none
132+
*/
133+
public MetricDescriptorMetadata setTimeSeriesResourceHierarchyLevel(java.util.List<java.lang.String> timeSeriesResourceHierarchyLevel) {
134+
this.timeSeriesResourceHierarchyLevel = timeSeriesResourceHierarchyLevel;
135+
return this;
136+
}
137+
114138
@Override
115139
public MetricDescriptorMetadata set(String fieldName, Object value) {
116140
return (MetricDescriptorMetadata) super.set(fieldName, value);

clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/PythonSettings.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class PythonSettings extends com.google.api.client.json.GenericJson
3737
@com.google.api.client.util.Key
3838
private CommonLanguageSettings common;
3939

40+
/**
41+
* Experimental features to be included during client library generation.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private ExperimentalFeatures experimentalFeatures;
46+
4047
/**
4148
* Some settings.
4249
* @return value or {@code null} for none
@@ -54,6 +61,23 @@ public PythonSettings setCommon(CommonLanguageSettings common) {
5461
return this;
5562
}
5663

64+
/**
65+
* Experimental features to be included during client library generation.
66+
* @return value or {@code null} for none
67+
*/
68+
public ExperimentalFeatures getExperimentalFeatures() {
69+
return experimentalFeatures;
70+
}
71+
72+
/**
73+
* Experimental features to be included during client library generation.
74+
* @param experimentalFeatures experimentalFeatures or {@code null} for none
75+
*/
76+
public PythonSettings setExperimentalFeatures(ExperimentalFeatures experimentalFeatures) {
77+
this.experimentalFeatures = experimentalFeatures;
78+
return this;
79+
}
80+
5781
@Override
5882
public PythonSettings set(String fieldName, Object value) {
5983
return (PythonSettings) super.set(fieldName, value);

0 commit comments

Comments
 (0)