Interface CreateFunctionRequestOrBuilder (2.5.4)

public interface CreateFunctionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFunction()

public abstract Function getFunction()

Required. Function to be created.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for functionId.

getFunctionOrBuilder()

public abstract FunctionOrBuilder getFunctionOrBuilder()

Required. Function to be created.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

hasFunction()

public abstract boolean hasFunction()

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.