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:



721
722
723
724
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 721

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]-/.



721
722
723
724
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 721

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/*



721
722
723
724
# File 'proto_docs/google/cloud/functions/v2/functions.rb', line 721

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