Class: Google::Apis::TestingV1::GoogleCloudStorage

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb

Overview

A storage location within Google cloud storage (GCS).

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudStorage

Returns a new instance of GoogleCloudStorage.



1066
1067
1068
# File 'generated/google/apis/testing_v1/classes.rb', line 1066

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

Instance Attribute Details

#gcs_pathString

Required. The path to a directory in GCS that will eventually contain the results for this test. The requesting user must have write access on the bucket in the supplied path. Corresponds to the JSON property gcsPath

Returns:

  • (String)


1064
1065
1066
# File 'generated/google/apis/testing_v1/classes.rb', line 1064

def gcs_path
  @gcs_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1071
1072
1073
# File 'generated/google/apis/testing_v1/classes.rb', line 1071

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