Skip to content

Commit e95cf7c

Browse files
yoshi-automationchingor13
authored andcommitted
Regenerate serviceusage client (googleapis#2791)
1 parent 81bd416 commit e95cf7c

File tree

24 files changed

+9790
-9076
lines changed

24 files changed

+9790
-9076
lines changed

clients/google-api-services-serviceusage/v1.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-serviceusage",
5-
"version": "v1-rev20190907-1.30.1"
5+
"version": "v1-rev20190911-1.30.1"
66
}
77
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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+
* Response message for getting service identity.
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 GetServiceIdentityResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Service identity that service producer can use to access consumer resources. If exists is true,
34+
* it contains email and unique_id. If exists is false, it contains pre-constructed email and
35+
* empty unique_id.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private ServiceIdentity identity;
40+
41+
/**
42+
* Service identity state.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String state;
47+
48+
/**
49+
* Service identity that service producer can use to access consumer resources. If exists is true,
50+
* it contains email and unique_id. If exists is false, it contains pre-constructed email and
51+
* empty unique_id.
52+
* @return value or {@code null} for none
53+
*/
54+
public ServiceIdentity getIdentity() {
55+
return identity;
56+
}
57+
58+
/**
59+
* Service identity that service producer can use to access consumer resources. If exists is true,
60+
* it contains email and unique_id. If exists is false, it contains pre-constructed email and
61+
* empty unique_id.
62+
* @param identity identity or {@code null} for none
63+
*/
64+
public GetServiceIdentityResponse setIdentity(ServiceIdentity identity) {
65+
this.identity = identity;
66+
return this;
67+
}
68+
69+
/**
70+
* Service identity state.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getState() {
74+
return state;
75+
}
76+
77+
/**
78+
* Service identity state.
79+
* @param state state or {@code null} for none
80+
*/
81+
public GetServiceIdentityResponse setState(java.lang.String state) {
82+
this.state = state;
83+
return this;
84+
}
85+
86+
@Override
87+
public GetServiceIdentityResponse set(String fieldName, Object value) {
88+
return (GetServiceIdentityResponse) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public GetServiceIdentityResponse clone() {
93+
return (GetServiceIdentityResponse) super.clone();
94+
}
95+
96+
}

clients/google-api-services-serviceusage/v1/1.28.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-rev20190907-1.28.0</version>
12-
<name>Service Usage API v1-rev20190907-1.28.0</name>
11+
<version>v1-rev20190911-1.28.0</version>
12+
<name>Service Usage API v1-rev20190911-1.28.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-serviceusage/v1/1.28.0/resources/serviceusage.v1.json

Lines changed: 1545 additions & 1522 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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+
* Response message for getting service identity.
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 GetServiceIdentityResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Service identity that service producer can use to access consumer resources. If exists is true,
34+
* it contains email and unique_id. If exists is false, it contains pre-constructed email and
35+
* empty unique_id.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private ServiceIdentity identity;
40+
41+
/**
42+
* Service identity state.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String state;
47+
48+
/**
49+
* Service identity that service producer can use to access consumer resources. If exists is true,
50+
* it contains email and unique_id. If exists is false, it contains pre-constructed email and
51+
* empty unique_id.
52+
* @return value or {@code null} for none
53+
*/
54+
public ServiceIdentity getIdentity() {
55+
return identity;
56+
}
57+
58+
/**
59+
* Service identity that service producer can use to access consumer resources. If exists is true,
60+
* it contains email and unique_id. If exists is false, it contains pre-constructed email and
61+
* empty unique_id.
62+
* @param identity identity or {@code null} for none
63+
*/
64+
public GetServiceIdentityResponse setIdentity(ServiceIdentity identity) {
65+
this.identity = identity;
66+
return this;
67+
}
68+
69+
/**
70+
* Service identity state.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getState() {
74+
return state;
75+
}
76+
77+
/**
78+
* Service identity state.
79+
* @param state state or {@code null} for none
80+
*/
81+
public GetServiceIdentityResponse setState(java.lang.String state) {
82+
this.state = state;
83+
return this;
84+
}
85+
86+
@Override
87+
public GetServiceIdentityResponse set(String fieldName, Object value) {
88+
return (GetServiceIdentityResponse) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public GetServiceIdentityResponse clone() {
93+
return (GetServiceIdentityResponse) super.clone();
94+
}
95+
96+
}

clients/google-api-services-serviceusage/v1/1.29.2/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-rev20190907-1.29.2</version>
12-
<name>Service Usage API v1-rev20190907-1.29.2</name>
11+
<version>v1-rev20190911-1.29.2</version>
12+
<name>Service Usage API v1-rev20190911-1.29.2</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)