Skip to content

Commit 8820658

Browse files
yoshi-automationsofisl
authored andcommitted
feat(storage): update the API
#### storage:v1 The following keys were added: - schemas.GoogleLongrunningListOperationsResponse.properties.kind.default - schemas.GoogleLongrunningListOperationsResponse.properties.kind.description - schemas.GoogleLongrunningListOperationsResponse.properties.kind.type - schemas.GoogleLongrunningOperation.properties.kind.default - schemas.GoogleLongrunningOperation.properties.kind.description - schemas.GoogleLongrunningOperation.properties.kind.type - schemas.GoogleLongrunningOperation.properties.selfLink.description - schemas.GoogleLongrunningOperation.properties.selfLink.type
1 parent f59dfc0 commit 8820658

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

discovery/storage-v1.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"description": "Regional Endpoint"
3434
}
3535
],
36-
"etag": "\"3131333631343030313731353833323230393337\"",
36+
"etag": "\"39393431363637393939313737343036323439\"",
3737
"icons": {
3838
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
3939
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -4075,7 +4075,7 @@
40754075
}
40764076
}
40774077
},
4078-
"revision": "20240528",
4078+
"revision": "20240621",
40794079
"rootUrl": "https://storage.googleapis.com/",
40804080
"schemas": {
40814081
"AnywhereCache": {
@@ -5007,6 +5007,11 @@
50075007
"description": "The response message for storage.buckets.operations.list.",
50085008
"id": "GoogleLongrunningListOperationsResponse",
50095009
"properties": {
5010+
"kind": {
5011+
"default": "storage#operations",
5012+
"description": "The kind of item this is. For lists of operations, this is always storage#operations.",
5013+
"type": "string"
5014+
},
50105015
"nextPageToken": {
50115016
"description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.",
50125017
"type": "string"
@@ -5033,6 +5038,11 @@
50335038
"$ref": "GoogleRpcStatus",
50345039
"description": "The error result of the operation in case of failure or cancellation."
50355040
},
5041+
"kind": {
5042+
"default": "storage#operation",
5043+
"description": "The kind of item this is. For operations, this is always storage#operation.",
5044+
"type": "string"
5045+
},
50365046
"metadata": {
50375047
"additionalProperties": {
50385048
"description": "Properties of the object. Contains field @type with type URL.",
@@ -5052,6 +5062,10 @@
50525062
},
50535063
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as \"Delete\", the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type \"XxxResponse\", where \"Xxx\" is the original method name. For example, if the original method name is \"TakeSnapshot()\", the inferred response type is \"TakeSnapshotResponse\".",
50545064
"type": "object"
5065+
},
5066+
"selfLink": {
5067+
"description": "The link to this long running operation.",
5068+
"type": "string"
50555069
}
50565070
},
50575071
"type": "object"

src/apis/storage/v1.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,10 @@ export namespace storage_v1 {
678678
* The response message for storage.buckets.operations.list.
679679
*/
680680
export interface Schema$GoogleLongrunningListOperationsResponse {
681+
/**
682+
* The kind of item this is. For lists of operations, this is always storage#operations.
683+
*/
684+
kind?: string | null;
681685
/**
682686
* The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
683687
*/
@@ -699,6 +703,10 @@ export namespace storage_v1 {
699703
* The error result of the operation in case of failure or cancellation.
700704
*/
701705
error?: Schema$GoogleRpcStatus;
706+
/**
707+
* The kind of item this is. For operations, this is always storage#operation.
708+
*/
709+
kind?: string | null;
702710
/**
703711
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
704712
*/
@@ -711,6 +719,10 @@ export namespace storage_v1 {
711719
* The normal response of the operation in case of success. If the original method returns no data on success, such as "Delete", the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type "XxxResponse", where "Xxx" is the original method name. For example, if the original method name is "TakeSnapshot()", the inferred response type is "TakeSnapshotResponse".
712720
*/
713721
response?: {[key: string]: any} | null;
722+
/**
723+
* The link to this long running operation.
724+
*/
725+
selfLink?: string | null;
714726
}
715727
/**
716728
* The "Status" type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each "Status" message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

0 commit comments

Comments
 (0)