Skip to content

Commit 9fa213d

Browse files
feat(cloudtasks): update the api
#### cloudtasks:v2beta3 The following keys were added: - schemas.HttpTarget.properties.oauthToken.$ref (Total Keys: 1) - schemas.HttpTarget.properties.oidcToken.$ref (Total Keys: 1)
1 parent aae7bee commit 9fa213d

8 files changed

+94
-14
lines changed

docs/dyn/cloudtasks_v2.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
Returns:
112112
An object of the form:
113113

114-
{ # A resource that represents Google Cloud Platform location.
114+
{ # A resource that represents a Google Cloud location.
115115
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
116116
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
117117
&quot;a_key&quot;: &quot;A String&quot;,
@@ -143,7 +143,7 @@ <h3>Method Details</h3>
143143

144144
{ # The response message for Locations.ListLocations.
145145
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
146-
{ # A resource that represents Google Cloud Platform location.
146+
{ # A resource that represents a Google Cloud location.
147147
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
148148
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
149149
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/cloudtasks_v2beta2.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
Returns:
112112
An object of the form:
113113

114-
{ # A resource that represents Google Cloud Platform location.
114+
{ # A resource that represents a Google Cloud location.
115115
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
116116
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
117117
&quot;a_key&quot;: &quot;A String&quot;,
@@ -143,7 +143,7 @@ <h3>Method Details</h3>
143143

144144
{ # The response message for Locations.ListLocations.
145145
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
146-
{ # A resource that represents Google Cloud Platform location.
146+
{ # A resource that represents a Google Cloud location.
147147
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
148148
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
149149
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/cloudtasks_v2beta3.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
Returns:
112112
An object of the form:
113113

114-
{ # A resource that represents Google Cloud Platform location.
114+
{ # A resource that represents a Google Cloud location.
115115
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
116116
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
117117
&quot;a_key&quot;: &quot;A String&quot;,
@@ -143,7 +143,7 @@ <h3>Method Details</h3>
143143

144144
{ # The response message for Locations.ListLocations.
145145
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
146-
{ # A resource that represents Google Cloud Platform location.
146+
{ # A resource that represents a Google Cloud location.
147147
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
148148
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
149149
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/cloudtasks_v2beta3.projects.locations.queues.html

Lines changed: 72 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/cloudtasks_v2beta3.projects.locations.queues.tasks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ <h3>Method Details</h3>
109109
body: object, The request body.
110110
The object takes the form of:
111111

112-
{ # LINT.IfChange Request message for BufferTask.
112+
{ # Request message for BufferTask.
113113
&quot;body&quot;: { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged. # Optional. Body of the HTTP request. The body can take any generic value. The value is written to the HttpRequest of the [Task].
114114
&quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
115115
&quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.

googleapiclient/discovery_cache/documents/cloudtasks.v2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@
685685
}
686686
}
687687
},
688-
"revision": "20230324",
688+
"revision": "20230505",
689689
"rootUrl": "https://cloudtasks.googleapis.com/",
690690
"schemas": {
691691
"AppEngineHttpRequest": {
@@ -997,7 +997,7 @@
997997
"type": "object"
998998
},
999999
"Location": {
1000-
"description": "A resource that represents Google Cloud Platform location.",
1000+
"description": "A resource that represents a Google Cloud location.",
10011001
"id": "Location",
10021002
"properties": {
10031003
"displayName": {

googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@
876876
}
877877
}
878878
},
879-
"revision": "20230324",
879+
"revision": "20230505",
880880
"rootUrl": "https://cloudtasks.googleapis.com/",
881881
"schemas": {
882882
"AcknowledgeTaskRequest": {
@@ -1411,7 +1411,7 @@
14111411
"type": "object"
14121412
},
14131413
"Location": {
1414-
"description": "A resource that represents Google Cloud Platform location.",
1414+
"description": "A resource that represents a Google Cloud location.",
14151415
"id": "Location",
14161416
"properties": {
14171417
"displayName": {

googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@
732732
}
733733
}
734734
},
735-
"revision": "20230324",
735+
"revision": "20230505",
736736
"rootUrl": "https://cloudtasks.googleapis.com/",
737737
"schemas": {
738738
"AppEngineHttpQueue": {
@@ -869,7 +869,7 @@
869869
"type": "object"
870870
},
871871
"BufferTaskRequest": {
872-
"description": "LINT.IfChange Request message for BufferTask.",
872+
"description": "Request message for BufferTask.",
873873
"id": "BufferTaskRequest",
874874
"properties": {
875875
"body": {
@@ -1110,6 +1110,14 @@
11101110
],
11111111
"type": "string"
11121112
},
1113+
"oauthToken": {
1114+
"$ref": "OAuthToken",
1115+
"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com."
1116+
},
1117+
"oidcToken": {
1118+
"$ref": "OidcToken",
1119+
"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself."
1120+
},
11131121
"uriOverride": {
11141122
"$ref": "UriOverride",
11151123
"description": "URI override. When specified, overrides the execution URI for all the tasks in the queue."
@@ -1172,7 +1180,7 @@
11721180
"type": "object"
11731181
},
11741182
"Location": {
1175-
"description": "A resource that represents Google Cloud Platform location.",
1183+
"description": "A resource that represents a Google Cloud location.",
11761184
"id": "Location",
11771185
"properties": {
11781186
"displayName": {

0 commit comments

Comments
 (0)