Class: Google::Apis::BatchV1::Gcs

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Gcs

Returns a new instance of Gcs.



1075
1076
1077
# File 'lib/google/apis/batch_v1/classes.rb', line 1075

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#remote_pathString

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

Returns:

  • (String)


1073
1074
1075
# File 'lib/google/apis/batch_v1/classes.rb', line 1073

def remote_path
  @remote_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1080
1081
1082
# File 'lib/google/apis/batch_v1/classes.rb', line 1080

def update!(**args)
  @remote_path = args[:remote_path] if args.key?(:remote_path)
end