class Google::Apis::StoragetransferV1::GcsData
In a GcsData
resource, an object's name is the Cloud Storage object's name and its “last modification time” refers to the object's `updated` property of Cloud Storage objects, which changes when the content or the metadata of the object is updated.
Attributes
Required. Cloud Storage bucket name. Must meet [Bucket Name Requirements](/ storage/docs/naming#requirements). Corresponds to the JSON property `bucketName` @return [String]
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 '/'. The root path value must meet [Object Name Requirements](/storage/docs/naming#objectnames). Corresponds to the JSON property `path` @return [String]
Public Class Methods
# File lib/google/apis/storagetransfer_v1/classes.rb, line 325 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/storagetransfer_v1/classes.rb, line 330 def update!(**args) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) @path = args[:path] if args.key?(:path) end