Class: Google::Apis::TestingV1::FileReference

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 reference to a file, used for user inputs.

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) ⇒ FileReference

Returns a new instance of FileReference.



1005
1006
1007
# File 'generated/google/apis/testing_v1/classes.rb', line 1005

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

Instance Attribute Details

#gcs_pathString

A path to a file in Google Cloud Storage. Example: gs://build-app-1414623860166/app-debug-unaligned.apk Corresponds to the JSON property gcsPath

Returns:

  • (String)


1003
1004
1005
# File 'generated/google/apis/testing_v1/classes.rb', line 1003

def gcs_path
  @gcs_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1010
1011
1012
# File 'generated/google/apis/testing_v1/classes.rb', line 1010

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