Class: Google::Apis::CloudfunctionsV1beta2::GenerateDownloadUrlResponse

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

Overview

Response of GenerateDownloadUrl method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GenerateDownloadUrlResponse

Returns a new instance of GenerateDownloadUrlResponse.



375
376
377
# File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 375

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)


373
374
375
# File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 373

def download_url
  @download_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



380
381
382
# File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 380

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