Class: Google::Apis::StoragetransferV1::GcsData
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::GcsData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/storagetransfer_v1/classes.rb,
generated/google/apis/storagetransfer_v1/representations.rb,
generated/google/apis/storagetransfer_v1/representations.rb
Overview
In a GcsData resource, an object's name is the Google Cloud Storage object's
name and its lastModificationTime
refers to the object's updated time,
which changes when the content or the metadata of the object is updated.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
Google Cloud Storage bucket name (see Bucket Name Requirements).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GcsData
constructor
A new instance of GcsData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GcsData
Returns a new instance of GcsData
222 223 224 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 222 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_name ⇒ String
Google Cloud Storage bucket name (see
Bucket Name
Requirements).
Required.
Corresponds to the JSON property bucketName
220 221 222 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 220 def bucket_name @bucket_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
227 228 229 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 227 def update!(**args) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) end |