Class: Google::Apis::CloudfunctionsV2alpha::GenerateDownloadUrlResponse

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

Overview

Response of GenerateDownloadUrl method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateDownloadUrlResponse

Returns a new instance of GenerateDownloadUrlResponse.



669
670
671
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 669

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

Instance Attribute Details

#download_urlString

The generated Google Cloud Storage signed URL that should be used for function source code download. Corresponds to the JSON property downloadUrl

Returns:

  • (String)


667
668
669
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 667

def download_url
  @download_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



674
675
676
# File 'lib/google/apis/cloudfunctions_v2alpha/classes.rb', line 674

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