Skip to content

Commit e97da3e

Browse files
yoshi-automationquirogas
authored andcommitted
feat(storagetransfer): update the API
#### storagetransfer:v1 The following keys were added: - schemas.AwsS3Data.properties.privateNetworkService.description - schemas.AwsS3Data.properties.privateNetworkService.type - schemas.AzureBlobStorageData.properties.privateNetworkService.description - schemas.AzureBlobStorageData.properties.privateNetworkService.type - schemas.ObjectConditions.properties.matchGlob.description - schemas.ObjectConditions.properties.matchGlob.type
1 parent 5e40d7f commit e97da3e

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

discovery/storagetransfer-v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@
637637
}
638638
}
639639
},
640-
"revision": "20251010",
640+
"revision": "20251106",
641641
"rootUrl": "https://storagetransfer.googleapis.com/",
642642
"schemas": {
643643
"AgentPool": {
@@ -746,6 +746,10 @@
746746
"description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.",
747747
"type": "string"
748748
},
749+
"privateNetworkService": {
750+
"description": "Service Directory Service to be used as the endpoint for transfers from a custom VPC. Format: `projects/{project_id}/locations/{location}/namespaces/{namespace}/services/{service}`",
751+
"type": "string"
752+
},
749753
"roleArn": {
750754
"description": "The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a `AssumeRoleWithWebIdentity` call for the provided role using the GoogleServiceAccount for this project.",
751755
"type": "string"
@@ -777,6 +781,10 @@
777781
"description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.",
778782
"type": "string"
779783
},
784+
"privateNetworkService": {
785+
"description": "Service Directory Service to be used as the endpoint for transfers from a custom VPC. Format: `projects/{project_id}/locations/{location}/namespaces/{namespace}/services/{service}`",
786+
"type": "string"
787+
},
780788
"storageAccount": {
781789
"description": "Required. The name of the Azure Storage account.",
782790
"type": "string"
@@ -1336,6 +1344,10 @@
13361344
"format": "google-datetime",
13371345
"type": "string"
13381346
},
1347+
"matchGlob": {
1348+
"description": "Optional. If specified, only objects matching this glob are transferred.",
1349+
"type": "string"
1350+
},
13391351
"maxTimeElapsedSinceLastModification": {
13401352
"description": "Ensures that objects are not transferred if a specific maximum time has elapsed since the \"last modification time\". When a TransferOperation begins, objects with a \"last modification time\" are transferred only if the elapsed time between the start_time of the `TransferOperation`and the \"last modification time\" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a \"last modification time\" are also transferred.",
13411353
"format": "google-duration",

src/apis/storagetransfer/v1.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ export namespace storagetransfer_v1 {
219219
* Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
220220
*/
221221
path?: string | null;
222+
/**
223+
* Service Directory Service to be used as the endpoint for transfers from a custom VPC. Format: `projects/{project_id\}/locations/{location\}/namespaces/{namespace\}/services/{service\}`
224+
*/
225+
privateNetworkService?: string | null;
222226
/**
223227
* The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a `AssumeRoleWithWebIdentity` call for the provided role using the GoogleServiceAccount for this project.
224228
*/
@@ -248,6 +252,10 @@ export namespace storagetransfer_v1 {
248252
* Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
249253
*/
250254
path?: string | null;
255+
/**
256+
* Service Directory Service to be used as the endpoint for transfers from a custom VPC. Format: `projects/{project_id\}/locations/{location\}/namespaces/{namespace\}/services/{service\}`
257+
*/
258+
privateNetworkService?: string | null;
251259
/**
252260
* Required. The name of the Azure Storage account.
253261
*/
@@ -542,6 +550,10 @@ export namespace storagetransfer_v1 {
542550
* If specified, only objects with a "last modification time" on or after this timestamp and objects that don't have a "last modification time" are transferred. The `last_modified_since` and `last_modified_before` fields can be used together for chunked data processing. For example, consider a script that processes each day's worth of data at a time. For that you'd set each of the fields as follows: * `last_modified_since` to the start of the day * `last_modified_before` to the end of the day
543551
*/
544552
lastModifiedSince?: string | null;
553+
/**
554+
* Optional. If specified, only objects matching this glob are transferred.
555+
*/
556+
matchGlob?: string | null;
545557
/**
546558
* Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification time". When a TransferOperation begins, objects with a "last modification time" are transferred only if the elapsed time between the start_time of the `TransferOperation`and the "last modification time" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a "last modification time" are also transferred.
547559
*/

0 commit comments

Comments
 (0)