Class: Google::Apis::MigrationcenterV1alpha1::SignedUri
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::SignedUri
- 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
-
#file ⇒ String
Output only.
-
#uri ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignedUri
constructor
A new instance of SignedUri.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SignedUri
Returns a new instance of SignedUri.
6512 6513 6514 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6512 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file ⇒ String
Output only. Name of the file the Signed URI references.
Corresponds to the JSON property file
6505 6506 6507 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6505 def file @file end |
#uri ⇒ String
Output only. Download URI for the file.
Corresponds to the JSON property uri
6510 6511 6512 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6510 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6517 6518 6519 6520 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 6517 def update!(**args) @file = args[:file] if args.key?(:file) @uri = args[:uri] if args.key?(:uri) end |