Class: Google::Apis::MigrationcenterV1alpha1::SignedUri

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

Contains a signed URI.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SignedUri

Returns a new instance of SignedUri.



8451
8452
8453
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8451

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

Instance Attribute Details

#fileString

Output only. Name of the file the Signed URI references. Corresponds to the JSON property file

Returns:

  • (String)


8444
8445
8446
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8444

def file
  @file
end

#uriString

Output only. Download URI for the file. Corresponds to the JSON property uri

Returns:

  • (String)


8449
8450
8451
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8449

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8456
8457
8458
8459
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8456

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