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

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

Instance Method Summary collapse

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_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)


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