Skip to content

Commit 36a97ee

Browse files
yoshi-automationchingor13
authored andcommitted
Regenerate cloudscheduler client (googleapis#2059)
1 parent 203c6cc commit 36a97ee

File tree

19 files changed

+1087
-1189
lines changed

19 files changed

+1087
-1189
lines changed

clients/google-api-services-cloudscheduler/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-cloudscheduler",
5-
"version": "v1-rev20190429-1.28.0"
5+
"version": "v1-rev20190604-1.28.0"
66
}
77
}

clients/google-api-services-cloudscheduler/v1/1.26.0/com/google/api/services/cloudscheduler/v1/model/HttpTarget.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ public final class HttpTarget extends com.google.api.client.json.GenericJson {
6868
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be
6969
* generated and attached as an `Authorization` header in the HTTP request.
7070
*
71-
* This type of authorization should be used when sending requests to a GCP endpoint.
71+
* This type of authorization should generally only be used when calling Google APIs hosted on
72+
* *.googleapis.com.
7273
* The value may be {@code null}.
7374
*/
7475
@com.google.api.client.util.Key
@@ -78,8 +79,8 @@ public final class HttpTarget extends com.google.api.client.json.GenericJson {
7879
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token
7980
* will be generated and attached as an `Authorization` header in the HTTP request.
8081
*
81-
* This type of authorization should be used when sending requests to third party endpoints or
82-
* Cloud Run.
82+
* This type of authorization can be used for many scenarios, including calling Cloud Run, or
83+
* endpoints where you intend to validate the token yourself.
8384
* The value may be {@code null}.
8485
*/
8586
@com.google.api.client.util.Key
@@ -202,7 +203,8 @@ public HttpTarget setHttpMethod(java.lang.String httpMethod) {
202203
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be
203204
* generated and attached as an `Authorization` header in the HTTP request.
204205
*
205-
* This type of authorization should be used when sending requests to a GCP endpoint.
206+
* This type of authorization should generally only be used when calling Google APIs hosted on
207+
* *.googleapis.com.
206208
* @return value or {@code null} for none
207209
*/
208210
public OAuthToken getOauthToken() {
@@ -213,7 +215,8 @@ public OAuthToken getOauthToken() {
213215
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be
214216
* generated and attached as an `Authorization` header in the HTTP request.
215217
*
216-
* This type of authorization should be used when sending requests to a GCP endpoint.
218+
* This type of authorization should generally only be used when calling Google APIs hosted on
219+
* *.googleapis.com.
217220
* @param oauthToken oauthToken or {@code null} for none
218221
*/
219222
public HttpTarget setOauthToken(OAuthToken oauthToken) {
@@ -225,8 +228,8 @@ public HttpTarget setOauthToken(OAuthToken oauthToken) {
225228
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token
226229
* will be generated and attached as an `Authorization` header in the HTTP request.
227230
*
228-
* This type of authorization should be used when sending requests to third party endpoints or
229-
* Cloud Run.
231+
* This type of authorization can be used for many scenarios, including calling Cloud Run, or
232+
* endpoints where you intend to validate the token yourself.
230233
* @return value or {@code null} for none
231234
*/
232235
public OidcToken getOidcToken() {
@@ -237,8 +240,8 @@ public OidcToken getOidcToken() {
237240
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token
238241
* will be generated and attached as an `Authorization` header in the HTTP request.
239242
*
240-
* This type of authorization should be used when sending requests to third party endpoints or
241-
* Cloud Run.
243+
* This type of authorization can be used for many scenarios, including calling Cloud Run, or
244+
* endpoints where you intend to validate the token yourself.
242245
* @param oidcToken oidcToken or {@code null} for none
243246
*/
244247
public HttpTarget setOidcToken(OidcToken oidcToken) {

clients/google-api-services-cloudscheduler/v1/1.26.0/com/google/api/services/cloudscheduler/v1/model/OAuthToken.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* Contains information needed for generating an [OAuth
2121
* token](https://developers.google.com/identity/protocols/OAuth2). This type of authorization
22-
* should be used when sending requests to a GCP endpoint.
22+
* should generally only be used when calling Google APIs hosted on *.googleapis.com.
2323
*
2424
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2525
* transmitted over HTTP when working with the Cloud Scheduler API. For a detailed explanation see:

clients/google-api-services-cloudscheduler/v1/1.26.0/com/google/api/services/cloudscheduler/v1/model/OidcToken.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
/**
2020
* Contains information needed for generating an [OpenID Connect
2121
* token](https://developers.google.com/identity/protocols/OpenIDConnect). This type of
22-
* authorization should be used when sending requests to third party endpoints or Cloud Run.
22+
* authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you
23+
* intend to validate the token yourself.
2324
*
2425
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2526
* transmitted over HTTP when working with the Cloud Scheduler API. For a detailed explanation see:

clients/google-api-services-cloudscheduler/v1/1.26.0/com/google/api/services/cloudscheduler/v1/model/Status.java

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -19,49 +19,11 @@
1919
/**
2020
* The `Status` type defines a logical error model that is suitable for different programming
2121
* environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc).
22-
* The error model is designed to be:
22+
* Each `Status` message contains three pieces of data: error code, error message, and error
23+
* details.
2324
*
24-
* - Simple to use and understand for most users - Flexible enough to meet unexpected needs
25-
*
26-
* # Overview
27-
*
28-
* The `Status` message contains three pieces of data: error code, error message, and error details.
29-
* The error code should be an enum value of google.rpc.Code, but it may accept additional error
30-
* codes if needed. The error message should be a developer-facing English message that helps
31-
* developers *understand* and *resolve* the error. If a localized user-facing error message is
32-
* needed, put the localized message in the error details or localize it in the client. The optional
33-
* error details may contain arbitrary information about the error. There is a predefined set of
34-
* error detail types in the package `google.rpc` that can be used for common error conditions.
35-
*
36-
* # Language mapping
37-
*
38-
* The `Status` message is the logical representation of the error model, but it is not necessarily
39-
* the actual wire format. When the `Status` message is exposed in different client libraries and
40-
* different wire protocols, it can be mapped differently. For example, it will likely be mapped to
41-
* some exceptions in Java, but more likely mapped to some error codes in C.
42-
*
43-
* # Other uses
44-
*
45-
* The error model and the `Status` message can be used in a variety of environments, either with or
46-
* without APIs, to provide a consistent developer experience across different environments.
47-
*
48-
* Example uses of this error model include:
49-
*
50-
* - Partial errors. If a service needs to return partial errors to the client, it may embed the
51-
* `Status` in the normal response to indicate the partial errors.
52-
*
53-
* - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status`
54-
* message for error reporting.
55-
*
56-
* - Batch operations. If a client uses batch request and batch response, the `Status` message
57-
* should be used directly inside batch response, one for each error sub-response.
58-
*
59-
* - Asynchronous operations. If an API call embeds asynchronous operation results in its
60-
* response, the status of those operations should be represented directly using the `Status`
61-
* message.
62-
*
63-
* - Logging. If some API errors are stored in logs, the message `Status` could be used directly
64-
* after any stripping needed for security/privacy reasons.
25+
* You can find out more about this error model and how to work with it in the [API Design
26+
* Guide](https://cloud.google.com/apis/design/errors).
6527
*
6628
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
6729
* transmitted over HTTP when working with the Cloud Scheduler API. For a detailed explanation see:

clients/google-api-services-cloudscheduler/v1/1.26.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-cloudscheduler</artifactId>
11-
<version>v1-rev20190429-1.26.0</version>
12-
<name>Cloud Scheduler API v1-rev20190429-1.26.0</name>
11+
<version>v1-rev20190604-1.26.0</version>
12+
<name>Cloud Scheduler API v1-rev20190604-1.26.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)