generated/google/apis/storagetransfer_v1/classes.rb in google-api-client-0.52.0 vs generated/google/apis/storagetransfer_v1/classes.rb in google-api-client-0.53.0
- old
+ new
@@ -67,18 +67,26 @@
# AmazonS3/latest/dev/create-bucket-get-location-example.html)).
# Corresponds to the JSON property `bucketName`
# @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
# Update properties of this object
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
# An AzureBlobStorageData resource can be a data source, but not a data sink. An
# AzureBlobStorageData resource represents one Azure container. The storage
@@ -99,10 +107,17 @@
# Required. The container to transfer from the Azure Storage account.
# Corresponds to the JSON property `container`
# @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]
attr_accessor :storage_account
@@ -112,10 +127,11 @@
# Update properties of this object
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
# Azure credentials For information on our data retention policy for user
@@ -280,16 +296,25 @@
# cloud.google.com/storage/docs/naming#requirements)).
# Corresponds to the JSON property `bucketName`
# @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
# 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
# Google service account
class GoogleServiceAccount