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

Constructor Details

#initialize(**args) ⇒ FileReference

Returns a new instance of FileReference.



934
935
936
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 934

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)


932
933
934
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 932

def file_uri
  @file_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



939
940
941
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 939

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