Interface CreateFunctionRequestOrBuilder (2.57.0)

public interface CreateFunctionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFunction()

public abstract Function getFunction()

Required. Function to be created.

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

Returns
Type Description
Function

The function.

getFunctionId()

public abstract String getFunctionId()

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
Type Description
String

The functionId.

getFunctionIdBytes()

public abstract ByteString getFunctionIdBytes()

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
Type Description
ByteString

The bytes for functionId.

getFunctionOrBuilder()

public abstract FunctionOrBuilder getFunctionOrBuilder()

Required. Function to be created.

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

Returns
Type Description
FunctionOrBuilder

getParent()

public abstract String getParent()

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
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

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
Type Description
ByteString

The bytes for parent.

hasFunction()

public abstract boolean hasFunction()

Required. Function to be created.

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

Returns
Type Description
boolean

Whether the function field is set.