Interface CreateFunctionRequestOrBuilder (2.8.0)

publicinterface CreateFunctionRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getFunction()

publicabstractCloudFunctiongetFunction()

Required. Function to be created.

.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CloudFunction

The function.

getFunctionOrBuilder()

publicabstractCloudFunctionOrBuildergetFunctionOrBuilder()

Required. Function to be created.

.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description

getLocation()

publicabstractStringgetLocation()

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

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

Returns
Type Description
String

The location.

getLocationBytes()

publicabstractByteStringgetLocationBytes()

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

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

Returns
Type Description
ByteString

The bytes for location.

hasFunction()

publicabstractbooleanhasFunction()

Required. Function to be created.

.google.cloud.functions.v1.CloudFunction 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.