Class: Google::Apis::BatchV1::Gcs
- Inherits:
-
Object
- Object
- Google::Apis::BatchV1::Gcs
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/batch_v1/classes.rb,
lib/google/apis/batch_v1/representations.rb,
lib/google/apis/batch_v1/representations.rb
Overview
Represents a Google Cloud Storage volume.
Instance Attribute Summary collapse
-
#remote_path ⇒ String
Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/ Corresponds to the JSON property
remotePath
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Gcs
constructor
A new instance of Gcs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Gcs
Returns a new instance of Gcs.
1107 1108 1109 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1107 def initialize(**args) update!(**args) end |
Instance Attribute Details
#remote_path ⇒ String
Remote path, either a bucket name or a subdirectory of a bucket, e.g.:
bucket_name, bucket_name/subdirectory/
Corresponds to the JSON property remotePath
1105 1106 1107 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1105 def remote_path @remote_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1112 1113 1114 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1112 def update!(**args) @remote_path = args[:remote_path] if args.key?(:remote_path) end |