Skip to content

Commit 160fc84

Browse files
yoshi-automationquirogas
authored andcommitted
fix(storagetransfer): update the API
#### storagetransfer:v1 The following keys were changed: - resources.transferOperations.methods.list.parameters.returnPartialSuccess.description - schemas.ListOperationsResponse.properties.unreachable.description - schemas.TransferJob.properties.serviceAccount.description
1 parent 504ad0e commit 160fc84

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

discovery/storagetransfer-v1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@
565565
"type": "string"
566566
},
567567
"returnPartialSuccess": {
568-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
568+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
569569
"location": "query",
570570
"type": "boolean"
571571
}
@@ -637,7 +637,7 @@
637637
}
638638
}
639639
},
640-
"revision": "20251106",
640+
"revision": "20251128",
641641
"rootUrl": "https://storagetransfer.googleapis.com/",
642642
"schemas": {
643643
"AgentPool": {
@@ -1055,7 +1055,7 @@
10551055
"type": "array"
10561056
},
10571057
"unreachable": {
1058-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
1058+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
10591059
"items": {
10601060
"type": "string"
10611061
},
@@ -1769,7 +1769,7 @@
17691769
"description": "Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule."
17701770
},
17711771
"serviceAccount": {
1772-
"description": "Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Format is `projects/-/serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted in the string. The `-` wildcard character is required; replacing it with a project ID is invalid. See https://cloud.google.com//storage-transfer/docs/delegate-service-agent-permissions for required permissions.",
1772+
"description": "Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted. See https://docs.cloud.google.com/storage-transfer/docs/delegate-service-agent-permissions for required permissions.",
17731773
"type": "string"
17741774
},
17751775
"status": {

src/apis/storagetransfer/v1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export namespace storagetransfer_v1 {
438438
*/
439439
operations?: Schema$Operation[];
440440
/**
441-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
441+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
442442
*/
443443
unreachable?: string[] | null;
444444
}
@@ -861,7 +861,7 @@ export namespace storagetransfer_v1 {
861861
*/
862862
schedule?: Schema$Schedule;
863863
/**
864-
* Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Format is `projects/-/serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted in the string. The `-` wildcard character is required; replacing it with a project ID is invalid. See https://cloud.google.com//storage-transfer/docs/delegate-service-agent-permissions for required permissions.
864+
* Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted. See https://docs.cloud.google.com/storage-transfer/docs/delegate-service-agent-permissions for required permissions.
865865
*/
866866
serviceAccount?: string | null;
867867
/**
@@ -3287,7 +3287,7 @@ export namespace storagetransfer_v1 {
32873287
* pageSize: 'placeholder-value',
32883288
* // The list page token.
32893289
* pageToken: 'placeholder-value',
3290-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
3290+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
32913291
* returnPartialSuccess: 'placeholder-value',
32923292
* });
32933293
* console.log(res.data);
@@ -3709,7 +3709,7 @@ export namespace storagetransfer_v1 {
37093709
*/
37103710
pageToken?: string;
37113711
/**
3712-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
3712+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
37133713
*/
37143714
returnPartialSuccess?: boolean;
37153715
}

0 commit comments

Comments
 (0)