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


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

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


560
561
562
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 560

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


567
568
569
# File 'generated/google/apis/cloudfunctions_v1/classes.rb', line 567

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