Class: Google::Apis::ToolresultsV1beta3::FileReference
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::FileReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Overview
A reference to a file.
Instance Attribute Summary collapse
-
#file_uri ⇒ String
The URI of a file stored in Google Cloud Storage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FileReference
constructor
A new instance of FileReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FileReference
Returns a new instance of FileReference
482 483 484 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_uri ⇒ String
The URI of a file stored in Google Cloud Storage. For example: http://storage.googleapis.com/mybucket/path/to/test.xml or in gsutil format: gs://mybucket/path/to/test.xml with version-specific info, gs:// mybucket/path/to/test.xml#1360383693690000 An INVALID_ARGUMENT error will be returned if the URI format is not supported.
- In response: always set - In create/update request: always set
Corresponds to the JSON property
fileUri
480 481 482 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 480 def file_uri @file_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
487 488 489 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 487 def update!(**args) @file_uri = args[:file_uri] if args.key?(:file_uri) end |