Cloud Functions V1 API - Class Google::Cloud::Functions::V1::GetFunctionRequest (v1.2.0)

Reference documentation and code samples for the Cloud Functions V1 API class Google::Cloud::Functions::V1::GetFunctionRequest.

Request for the GetFunction method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the function which details should be obtained.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the function which details should be obtained.
Returns
  • (::String) — Required. The name of the function which details should be obtained.

#version_id

def version_id() -> ::Integer
Returns
  • (::Integer) — Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the historical configs. Leave it blank or set to 0 to get the latest version of the function.

#version_id=

def version_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the historical configs. Leave it blank or set to 0 to get the latest version of the function.
Returns
  • (::Integer) — Optional. The optional version of the function whose details should be obtained. The version of a 1st Gen function is an integer that starts from 1 and gets incremented on redeployments. Each deployment creates a config version of the underlying function. GCF may keep historical configs for old versions. This field can be specified to fetch the historical configs. Leave it blank or set to 0 to get the latest version of the function.