Class: Google::Apis::CloudfunctionsV1::GenerateDownloadUrlRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV1::GenerateDownloadUrlRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v1/classes.rb,
lib/google/apis/cloudfunctions_v1/representations.rb,
lib/google/apis/cloudfunctions_v1/representations.rb
Overview
Request of GenerateDownloadUrl
method.
Instance Attribute Summary collapse
-
#version_id ⇒ Fixnum
The optional version of function.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateDownloadUrlRequest
constructor
A new instance of GenerateDownloadUrlRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateDownloadUrlRequest
Returns a new instance of GenerateDownloadUrlRequest.
702 703 704 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 702 def initialize(**args) update!(**args) end |
Instance Attribute Details
#version_id ⇒ Fixnum
The optional version of function. If not set, default, current version is used.
Corresponds to the JSON property versionId
700 701 702 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 700 def version_id @version_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
707 708 709 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 707 def update!(**args) @version_id = args[:version_id] if args.key?(:version_id) end |