Class: Google::Apis::ToolresultsV1beta3::FileReference

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

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



777
778
779
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 777

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

Instance Attribute Details

#file_uriString

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

Returns:

  • (String)


775
776
777
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 775

def file_uri
  @file_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



782
783
784
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 782

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