Skip to content

Commit 5a72b97

Browse files
1 parent 6653a2e commit 5a72b97

File tree

4 files changed

+272
-0
lines changed

4 files changed

+272
-0
lines changed

clients/google-api-services-discovery/v1/2.0.0/com/google/api/services/discovery/model/JsonSchema.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ public final class JsonSchema extends com.google.api.client.json.GenericJson {
5959
@com.google.api.client.util.Key("default")
6060
private java.lang.String default__;
6161

62+
/**
63+
* Whether the parameter is deprecated.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.Boolean deprecated;
68+
6269
/**
6370
* A description of this object.
6471
* The value may be {@code null}.
@@ -73,6 +80,14 @@ public final class JsonSchema extends com.google.api.client.json.GenericJson {
7380
@com.google.api.client.util.Key("enum")
7481
private java.util.List<java.lang.String> enum__;
7582

83+
/**
84+
* The deprecation status for the enums. Each position maps to the corresponding value in the
85+
* "enum" array.
86+
* The value may be {@code null}.
87+
*/
88+
@com.google.api.client.util.Key
89+
private java.util.List<java.lang.Boolean> enumDeprecated;
90+
7691
/**
7792
* The descriptions for the enums. Each position maps to the corresponding value in the "enum"
7893
* array.
@@ -247,6 +262,23 @@ public JsonSchema setDefault(java.lang.String default__) {
247262
return this;
248263
}
249264

265+
/**
266+
* Whether the parameter is deprecated.
267+
* @return value or {@code null} for none
268+
*/
269+
public java.lang.Boolean getDeprecated() {
270+
return deprecated;
271+
}
272+
273+
/**
274+
* Whether the parameter is deprecated.
275+
* @param deprecated deprecated or {@code null} for none
276+
*/
277+
public JsonSchema setDeprecated(java.lang.Boolean deprecated) {
278+
this.deprecated = deprecated;
279+
return this;
280+
}
281+
250282
/**
251283
* A description of this object.
252284
* @return value or {@code null} for none
@@ -281,6 +313,25 @@ public JsonSchema setEnum(java.util.List<java.lang.String> enum__) {
281313
return this;
282314
}
283315

316+
/**
317+
* The deprecation status for the enums. Each position maps to the corresponding value in the
318+
* "enum" array.
319+
* @return value or {@code null} for none
320+
*/
321+
public java.util.List<java.lang.Boolean> getEnumDeprecated() {
322+
return enumDeprecated;
323+
}
324+
325+
/**
326+
* The deprecation status for the enums. Each position maps to the corresponding value in the
327+
* "enum" array.
328+
* @param enumDeprecated enumDeprecated or {@code null} for none
329+
*/
330+
public JsonSchema setEnumDeprecated(java.util.List<java.lang.Boolean> enumDeprecated) {
331+
this.enumDeprecated = enumDeprecated;
332+
return this;
333+
}
334+
284335
/**
285336
* The descriptions for the enums. Each position maps to the corresponding value in the "enum"
286337
* array.

clients/google-api-services-discovery/v1/2.0.0/com/google/api/services/discovery/model/RestDescription.java

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,20 @@ public final class RestDescription extends com.google.api.client.json.GenericJso
8787
@com.google.api.client.util.Key
8888
private java.lang.String documentationLink;
8989

90+
/**
91+
* A list of location-based endpoint objects for this API. Each object contains the endpoint URL,
92+
* location, description and deprecation status.
93+
* The value may be {@code null}.
94+
*/
95+
@com.google.api.client.util.Key
96+
private java.util.List<Endpoints> endpoints;
97+
98+
static {
99+
// hack to force ProGuard to consider Endpoints used, since otherwise it would be stripped out
100+
// see https://github.com/google/google-api-java-client/issues/543
101+
com.google.api.client.util.Data.nullOf(Endpoints.class);
102+
}
103+
90104
/**
91105
* The ETag for this response.
92106
* The value may be {@code null}.
@@ -391,6 +405,25 @@ public RestDescription setDocumentationLink(java.lang.String documentationLink)
391405
return this;
392406
}
393407

408+
/**
409+
* A list of location-based endpoint objects for this API. Each object contains the endpoint URL,
410+
* location, description and deprecation status.
411+
* @return value or {@code null} for none
412+
*/
413+
public java.util.List<Endpoints> getEndpoints() {
414+
return endpoints;
415+
}
416+
417+
/**
418+
* A list of location-based endpoint objects for this API. Each object contains the endpoint URL,
419+
* location, description and deprecation status.
420+
* @param endpoints endpoints or {@code null} for none
421+
*/
422+
public RestDescription setEndpoints(java.util.List<Endpoints> endpoints) {
423+
this.endpoints = endpoints;
424+
return this;
425+
}
426+
394427
/**
395428
* The ETag for this response.
396429
* @return value or {@code null} for none
@@ -902,6 +935,119 @@ public ScopesElement clone() {
902935
}
903936
}
904937

938+
/**
939+
* A single endpoint object
940+
*/
941+
public static final class Endpoints extends com.google.api.client.json.GenericJson {
942+
943+
/**
944+
* Whether this endpoint is deprecated
945+
* The value may be {@code null}.
946+
*/
947+
@com.google.api.client.util.Key
948+
private java.lang.Boolean deprecated;
949+
950+
/**
951+
* A string describing the host designated by the URL
952+
* The value may be {@code null}.
953+
*/
954+
@com.google.api.client.util.Key
955+
private java.lang.String description;
956+
957+
/**
958+
* The URL of the endpoint target host
959+
* The value may be {@code null}.
960+
*/
961+
@com.google.api.client.util.Key
962+
private java.lang.String endpointUrl;
963+
964+
/**
965+
* The location of the endpoint
966+
* The value may be {@code null}.
967+
*/
968+
@com.google.api.client.util.Key
969+
private java.lang.String location;
970+
971+
/**
972+
* Whether this endpoint is deprecated
973+
* @return value or {@code null} for none
974+
*/
975+
public java.lang.Boolean getDeprecated() {
976+
return deprecated;
977+
}
978+
979+
/**
980+
* Whether this endpoint is deprecated
981+
* @param deprecated deprecated or {@code null} for none
982+
*/
983+
public Endpoints setDeprecated(java.lang.Boolean deprecated) {
984+
this.deprecated = deprecated;
985+
return this;
986+
}
987+
988+
/**
989+
* A string describing the host designated by the URL
990+
* @return value or {@code null} for none
991+
*/
992+
public java.lang.String getDescription() {
993+
return description;
994+
}
995+
996+
/**
997+
* A string describing the host designated by the URL
998+
* @param description description or {@code null} for none
999+
*/
1000+
public Endpoints setDescription(java.lang.String description) {
1001+
this.description = description;
1002+
return this;
1003+
}
1004+
1005+
/**
1006+
* The URL of the endpoint target host
1007+
* @return value or {@code null} for none
1008+
*/
1009+
public java.lang.String getEndpointUrl() {
1010+
return endpointUrl;
1011+
}
1012+
1013+
/**
1014+
* The URL of the endpoint target host
1015+
* @param endpointUrl endpointUrl or {@code null} for none
1016+
*/
1017+
public Endpoints setEndpointUrl(java.lang.String endpointUrl) {
1018+
this.endpointUrl = endpointUrl;
1019+
return this;
1020+
}
1021+
1022+
/**
1023+
* The location of the endpoint
1024+
* @return value or {@code null} for none
1025+
*/
1026+
public java.lang.String getLocation() {
1027+
return location;
1028+
}
1029+
1030+
/**
1031+
* The location of the endpoint
1032+
* @param location location or {@code null} for none
1033+
*/
1034+
public Endpoints setLocation(java.lang.String location) {
1035+
this.location = location;
1036+
return this;
1037+
}
1038+
1039+
@Override
1040+
public Endpoints set(String fieldName, Object value) {
1041+
return (Endpoints) super.set(fieldName, value);
1042+
}
1043+
1044+
@Override
1045+
public Endpoints clone() {
1046+
return (Endpoints) super.clone();
1047+
}
1048+
1049+
}
1050+
9051051
/**
9061052
* Links to 16x16 and 32x32 icons representing the API.
9071053
*/

clients/google-api-services-discovery/v1/2.0.0/com/google/api/services/discovery/model/RestMethod.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@
3030
@SuppressWarnings("javadoc")
3131
public final class RestMethod extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* The API Version of this method, as passed in via the `X-Goog-Api-Version` header or
35+
* `$apiVersion` query parameter.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String apiVersion;
40+
41+
/**
42+
* Whether this method is deprecated.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Boolean deprecated;
47+
3348
/**
3449
* Description of this method.
3550
* The value may be {@code null}.
@@ -155,6 +170,42 @@ public final class RestMethod extends com.google.api.client.json.GenericJson {
155170
@com.google.api.client.util.Key
156171
private java.lang.Boolean useMediaDownloadService;
157172

173+
/**
174+
* The API Version of this method, as passed in via the `X-Goog-Api-Version` header or
175+
* `$apiVersion` query parameter.
176+
* @return value or {@code null} for none
177+
*/
178+
public java.lang.String getApiVersion() {
179+
return apiVersion;
180+
}
181+
182+
/**
183+
* The API Version of this method, as passed in via the `X-Goog-Api-Version` header or
184+
* `$apiVersion` query parameter.
185+
* @param apiVersion apiVersion or {@code null} for none
186+
*/
187+
public RestMethod setApiVersion(java.lang.String apiVersion) {
188+
this.apiVersion = apiVersion;
189+
return this;
190+
}
191+
192+
/**
193+
* Whether this method is deprecated.
194+
* @return value or {@code null} for none
195+
*/
196+
public java.lang.Boolean getDeprecated() {
197+
return deprecated;
198+
}
199+
200+
/**
201+
* Whether this method is deprecated.
202+
* @param deprecated deprecated or {@code null} for none
203+
*/
204+
public RestMethod setDeprecated(java.lang.Boolean deprecated) {
205+
this.deprecated = deprecated;
206+
return this;
207+
}
208+
158209
/**
159210
* Description of this method.
160211
* @return value or {@code null} for none

clients/google-api-services-discovery/v1/2.0.0/com/google/api/services/discovery/model/RestResource.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class RestResource extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Whether this resource is deprecated.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean deprecated;
39+
3340
/**
3441
* Methods on this resource.
3542
* The value may be {@code null}.
@@ -50,6 +57,23 @@ public final class RestResource extends com.google.api.client.json.GenericJson {
5057
@com.google.api.client.util.Key
5158
private java.util.Map<String, RestResource> resources;
5259

60+
/**
61+
* Whether this resource is deprecated.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.Boolean getDeprecated() {
65+
return deprecated;
66+
}
67+
68+
/**
69+
* Whether this resource is deprecated.
70+
* @param deprecated deprecated or {@code null} for none
71+
*/
72+
public RestResource setDeprecated(java.lang.Boolean deprecated) {
73+
this.deprecated = deprecated;
74+
return this;
75+
}
76+
5377
/**
5478
* Methods on this resource.
5579
* @return value or {@code null} for none

0 commit comments

Comments
 (0)