Interface CreateFunctionRequestOrBuilder (2.58.0)

publicinterface CreateFunctionRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getFunction()

publicabstractFunctiongetFunction()

Required. Function to be created.

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

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

The bytes for functionId.

getFunctionOrBuilder()

publicabstractFunctionOrBuildergetFunctionOrBuilder()

Required. Function to be created.

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

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

The bytes for parent.

hasFunction()

publicabstractbooleanhasFunction()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.