Class: Google::Apis::CloudfunctionsV1::GenerateDownloadUrlRequest

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

Overview

Request 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) ⇒ GenerateDownloadUrlRequest

Returns a new instance of GenerateDownloadUrlRequest.



627
628
629
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 627

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

Instance Attribute Details

#version_idFixnum

The optional version of function. If not set, default, current version is used. Corresponds to the JSON property versionId

Returns:

  • (Fixnum)


625
626
627
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 625

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



632
633
634
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 632

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