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.


547
548
549
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 547

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)

545
546
547
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 545

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


552
553
554
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 552

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