Class: Google::Cloud::Functions::V2::GetFunctionRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/functions/v2/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.



699
700
701
702
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 699

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

#revision::String

Returns Optional. The version of the 1st gen 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. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.

Returns:

  • (::String)

    Optional. The version of the 1st gen 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. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.



699
700
701
702
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 699

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