Class: Google::Cloud::Functions::V1::GetFunctionRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/functions/v1/functions.rb

Overview

Request for the GetFunction method.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. The name of the function which details should be obtained.

Returns:

  • (::String)

    Required. The name of the function which details should be obtained.



579
580
581
582
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 579

class GetFunctionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#version_id::Integer

Returns 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.



579
580
581
582
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 579

class GetFunctionRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end