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

Constructor Details

#initialize(**args) ⇒ GenerateDownloadUrlRequest

Returns a new instance of GenerateDownloadUrlRequest.



558
559
560
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 558

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)


556
557
558
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 556

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



563
564
565
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 563

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