diff --git a/api_names_out.yaml b/api_names_out.yaml index 62011c5d7..89da27d91 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -149389,9 +149389,11 @@ "/storagetransfer:v1/AwsS3Data": aws_s3_data "/storagetransfer:v1/AwsS3Data/awsAccessKey": aws_access_key "/storagetransfer:v1/AwsS3Data/bucketName": bucket_name +"/storagetransfer:v1/AwsS3Data/path": path "/storagetransfer:v1/AzureBlobStorageData": azure_blob_storage_data "/storagetransfer:v1/AzureBlobStorageData/azureCredentials": azure_credentials "/storagetransfer:v1/AzureBlobStorageData/container": container +"/storagetransfer:v1/AzureBlobStorageData/path": path "/storagetransfer:v1/AzureBlobStorageData/storageAccount": storage_account "/storagetransfer:v1/AzureCredentials": azure_credentials "/storagetransfer:v1/AzureCredentials/sasToken": sas_token @@ -149412,6 +149414,7 @@ "/storagetransfer:v1/ErrorSummary/errorLogEntries/error_log_entry": error_log_entry "/storagetransfer:v1/GcsData": gcs_data "/storagetransfer:v1/GcsData/bucketName": bucket_name +"/storagetransfer:v1/GcsData/path": path "/storagetransfer:v1/GoogleServiceAccount": google_service_account "/storagetransfer:v1/GoogleServiceAccount/accountEmail": account_email "/storagetransfer:v1/HttpData": http_data diff --git a/generated/google/apis/storagetransfer_v1.rb b/generated/google/apis/storagetransfer_v1.rb index 30c6507f3..52958a211 100644 --- a/generated/google/apis/storagetransfer_v1.rb +++ b/generated/google/apis/storagetransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/storage-transfer/docs module StoragetransferV1 VERSION = 'V1' - REVISION = '20201126' + REVISION = '20201210' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/storagetransfer_v1/classes.rb b/generated/google/apis/storagetransfer_v1/classes.rb index bfbc04491..b24353120 100644 --- a/generated/google/apis/storagetransfer_v1/classes.rb +++ b/generated/google/apis/storagetransfer_v1/classes.rb @@ -69,6 +69,13 @@ module Google # @return [String] attr_accessor :bucket_name + # 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 '/'. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + def initialize(**args) update!(**args) end @@ -77,6 +84,7 @@ module Google def update!(**args) @aws_access_key = args[:aws_access_key] if args.key?(:aws_access_key) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + @path = args[:path] if args.key?(:path) end end @@ -101,6 +109,13 @@ module Google # @return [String] attr_accessor :container + # 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 '/'. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + # Required. The name of the Azure Storage account. # Corresponds to the JSON property `storageAccount` # @return [String] @@ -114,6 +129,7 @@ module Google def update!(**args) @azure_credentials = args[:azure_credentials] if args.key?(:azure_credentials) @container = args[:container] if args.key?(:container) + @path = args[:path] if args.key?(:path) @storage_account = args[:storage_account] if args.key?(:storage_account) end end @@ -282,6 +298,14 @@ module Google # @return [String] attr_accessor :bucket_name + # 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 '/'. (must meet Object Name Requirements](https:// + # cloud.google.com/storage/docs/naming#objectnames)). + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + def initialize(**args) update!(**args) end @@ -289,6 +313,7 @@ module Google # Update properties of this object def update!(**args) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + @path = args[:path] if args.key?(:path) end end diff --git a/generated/google/apis/storagetransfer_v1/representations.rb b/generated/google/apis/storagetransfer_v1/representations.rb index 682e9020d..4a4f6dbe2 100644 --- a/generated/google/apis/storagetransfer_v1/representations.rb +++ b/generated/google/apis/storagetransfer_v1/representations.rb @@ -204,6 +204,7 @@ module Google property :aws_access_key, as: 'awsAccessKey', class: Google::Apis::StoragetransferV1::AwsAccessKey, decorator: Google::Apis::StoragetransferV1::AwsAccessKey::Representation property :bucket_name, as: 'bucketName' + property :path, as: 'path' end end @@ -213,6 +214,7 @@ module Google property :azure_credentials, as: 'azureCredentials', class: Google::Apis::StoragetransferV1::AzureCredentials, decorator: Google::Apis::StoragetransferV1::AzureCredentials::Representation property :container, as: 'container' + property :path, as: 'path' property :storage_account, as: 'storageAccount' end end @@ -267,6 +269,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :bucket_name, as: 'bucketName' + property :path, as: 'path' end end diff --git a/generated/google/apis/storagetransfer_v1/synth.metadata b/generated/google/apis/storagetransfer_v1/synth.metadata index 9035e2721..56f7a94a2 100644 --- a/generated/google/apis/storagetransfer_v1/synth.metadata +++ b/generated/google/apis/storagetransfer_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c689930c165b95343d847eb6d5b35222b48bb13b" + "sha": "068d8350927eabdecc91012223726088ade6b1ac" } } ]