Class: Google::Apis::ToolresultsV1beta3::FileReference
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::FileReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ FileReference
Returns a new instance of FileReference.
961 962 963 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 961 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
959 960 961 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 959 def file_uri @file_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
966 967 968 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 966 def update!(**args) @file_uri = args[:file_uri] if args.key?(:file_uri) end |