Class: Google::Apis::MigrationcenterV1alpha1::UploadFileInfo
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::UploadFileInfo
- 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
A resource that contains a URI to which a data file can be uploaded.
Instance Attribute Summary collapse
-
#headers ⇒ Hash<String,String>
Output only.
-
#signed_uri ⇒ String
Output only.
-
#uri_expiration_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UploadFileInfo
constructor
A new instance of UploadFileInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UploadFileInfo
Returns a new instance of UploadFileInfo.
4719 4720 4721 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4719 def initialize(**args) update!(**args) end |
Instance Attribute Details
#headers ⇒ Hash<String,String>
Output only. The headers that were used to sign the URL.
Corresponds to the JSON property headers
4707 4708 4709 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4707 def headers @headers end |
#signed_uri ⇒ String
Output only. Upload URI for the file.
Corresponds to the JSON property signedUri
4712 4713 4714 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4712 def signed_uri @signed_uri end |
#uri_expiration_time ⇒ String
Output only. Expiration time of the upload URI.
Corresponds to the JSON property uriExpirationTime
4717 4718 4719 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4717 def uri_expiration_time @uri_expiration_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4724 4725 4726 4727 4728 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4724 def update!(**args) @headers = args[:headers] if args.key?(:headers) @signed_uri = args[:signed_uri] if args.key?(:signed_uri) @uri_expiration_time = args[:uri_expiration_time] if args.key?(:uri_expiration_time) end |