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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudfunctions_v1/classes.rb,
lib/google/apis/cloudfunctions_v1/representations.rb,
lib/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.



702
703
704
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 702

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)


700
701
702
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 700

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



707
708
709
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 707

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