Class: Google::Cloud::Functions::V2::CreateFunctionRequest

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 CreateFunction method.

Instance Attribute Summary collapse

Instance Attribute Details

#function::Google::Cloud::Functions::V2::Function

Returns Required. Function to be created.

Returns:



771
772
773
774
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 771

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

#function_id::String

Returns The ID to use for the function, which will become the final component of the function's resource name.

This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Returns:

  • (::String)

    The ID to use for the function, which will become the final component of the function's resource name.

    This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.



771
772
773
774
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 771

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

#parent::String

Returns Required. The project and location in which the function should be created, specified in the format projects/*/locations/*.

Returns:

  • (::String)

    Required. The project and location in which the function should be created, specified in the format projects/*/locations/*



771
772
773
774
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 771

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