Class: Google::Apis::CloudfunctionsV2::GenerateDownloadUrlResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV2::GenerateDownloadUrlResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v2/classes.rb,
lib/google/apis/cloudfunctions_v2/representations.rb,
lib/google/apis/cloudfunctions_v2/representations.rb
Overview
Response of GenerateDownloadUrl
method.
Instance Attribute Summary collapse
-
#download_url ⇒ String
The generated Google Cloud Storage signed URL that should be used for function source code download.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateDownloadUrlResponse
constructor
A new instance of GenerateDownloadUrlResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateDownloadUrlResponse
Returns a new instance of GenerateDownloadUrlResponse.
710 711 712 |
# File 'lib/google/apis/cloudfunctions_v2/classes.rb', line 710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#download_url ⇒ String
The generated Google Cloud Storage signed URL that should be used for function
source code download.
Corresponds to the JSON property downloadUrl
708 709 710 |
# File 'lib/google/apis/cloudfunctions_v2/classes.rb', line 708 def download_url @download_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
715 716 717 |
# File 'lib/google/apis/cloudfunctions_v2/classes.rb', line 715 def update!(**args) @download_url = args[:download_url] if args.key?(:download_url) end |