Cloud Functions V2 API - Class Google::Cloud::Functions::V2::CreateFunctionRequest (v0.4.1)

Reference documentation and code samples for the Cloud Functions V2 API class Google::Cloud::Functions::V2::CreateFunctionRequest.

Request for the CreateFunction method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#function

def function() -> ::Google::Cloud::Functions::V2::Function
Returns

#function=

def function=(value) -> ::Google::Cloud::Functions::V2::Function
Parameter
Returns

#function_id

def function_id() -> ::String
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]-/.

#function_id=

def function_id=(value) -> ::String
Parameter
  • value (::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]-/.

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

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The project and location in which the function should be created, specified in the format projects/*/locations/*

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — 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/*