Reference documentation and code samples for the Cloud Functions V1 API class Google::Cloud::Functions::V1::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::V1::CloudFunction
Returns
- (::Google::Cloud::Functions::V1::CloudFunction) — Required. Function to be created.
#function=
def function=(value) -> ::Google::Cloud::Functions::V1::CloudFunction
Parameter
- value (::Google::Cloud::Functions::V1::CloudFunction) — Required. Function to be created.
Returns
- (::Google::Cloud::Functions::V1::CloudFunction) — Required. Function to be created.
#location
def location() -> ::String
Returns
-
(::String) — Required. The project and location in which the function should be created, specified
in the format
projects/*/locations/*
#location=
def location=(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/*