Interface CreateFunctionRequestOrBuilder (2.62.0)

publicinterfaceCreateFunctionRequestOrBuilderextendsMessageOrBuilder

Methods

getFunction()

publicabstractFunctiongetFunction()

Required. Function to be created.

.google.cloud.functions.v2beta.Function function = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Function

The function.

getFunctionId()

publicabstractStringgetFunctionId()

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

string function_id = 3;

Returns
TypeDescription
String

The functionId.

getFunctionIdBytes()

publicabstractByteStringgetFunctionIdBytes()

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

string function_id = 3;

Returns
TypeDescription
ByteString

The bytes for functionId.

getFunctionOrBuilder()

publicabstractFunctionOrBuildergetFunctionOrBuilder()

Required. Function to be created.

.google.cloud.functions.v2beta.Function function = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FunctionOrBuilder

getParent()

publicabstractStringgetParent()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

publicabstractByteStringgetParentBytes()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasFunction()

publicabstractbooleanhasFunction()

Required. Function to be created.

.google.cloud.functions.v2beta.Function function = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the function field is set.