Skip to content

Commit 4477405

Browse files
1 parent 446cdb1 commit 4477405

File tree

12 files changed

+254
-12
lines changed

12 files changed

+254
-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-rev20240811-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-serviceusage:v1-rev20240811-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20240905-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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+
* 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 Usage API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ExperimentalFeatures extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
35+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
36+
* month after launching the feature in preview packages.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.Boolean restAsyncIoEnabled;
41+
42+
/**
43+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
44+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
45+
* month after launching the feature in preview packages.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.lang.Boolean getRestAsyncIoEnabled() {
49+
return restAsyncIoEnabled;
50+
}
51+
52+
/**
53+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
54+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
55+
* month after launching the feature in preview packages.
56+
* @param restAsyncIoEnabled restAsyncIoEnabled or {@code null} for none
57+
*/
58+
public ExperimentalFeatures setRestAsyncIoEnabled(java.lang.Boolean restAsyncIoEnabled) {
59+
this.restAsyncIoEnabled = restAsyncIoEnabled;
60+
return this;
61+
}
62+
63+
@Override
64+
public ExperimentalFeatures set(String fieldName, Object value) {
65+
return (ExperimentalFeatures) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public ExperimentalFeatures clone() {
70+
return (ExperimentalFeatures) super.clone();
71+
}
72+
73+
}

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

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

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

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

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

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

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

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

clients/google-api-services-serviceusage/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-serviceusage</artifactId>
11-
<version>v1-rev20240811-2.0.0</version>
12-
<name>Service Usage API v1-rev20240811-2.0.0</name>
11+
<version>v1-rev20240905-2.0.0</version>
12+
<name>Service Usage API v1-rev20240905-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.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 Usage API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ExperimentalFeatures extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
35+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
36+
* month after launching the feature in preview packages.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.Boolean restAsyncIoEnabled;
41+
42+
/**
43+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
44+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
45+
* month after launching the feature in preview packages.
46+
* @return value or {@code null} for none
47+
*/
48+
public java.lang.Boolean getRestAsyncIoEnabled() {
49+
return restAsyncIoEnabled;
50+
}
51+
52+
/**
53+
* Enables generation of asynchronous REST clients if `rest` transport is enabled. By default,
54+
* asynchronous REST clients will not be generated. This feature will be enabled by default 1
55+
* month after launching the feature in preview packages.
56+
* @param restAsyncIoEnabled restAsyncIoEnabled or {@code null} for none
57+
*/
58+
public ExperimentalFeatures setRestAsyncIoEnabled(java.lang.Boolean restAsyncIoEnabled) {
59+
this.restAsyncIoEnabled = restAsyncIoEnabled;
60+
return this;
61+
}
62+
63+
@Override
64+
public ExperimentalFeatures set(String fieldName, Object value) {
65+
return (ExperimentalFeatures) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public ExperimentalFeatures clone() {
70+
return (ExperimentalFeatures) super.clone();
71+
}
72+
73+
}

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

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)