Interface CreateFunctionRequestOrBuilder (2.17.0)

public interface CreateFunctionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFunction()

public abstract CloudFunction getFunction()

Required. Function to be created.

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

Returns
TypeDescription
CloudFunction

The function.

getFunctionOrBuilder()

public abstract CloudFunctionOrBuilder getFunctionOrBuilder()

Required. Function to be created.

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

Returns
TypeDescription
CloudFunctionOrBuilder

getLocation()

public abstract String getLocation()

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
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

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

The bytes for location.

hasFunction()

public abstract boolean hasFunction()

Required. Function to be created.

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

Returns
TypeDescription
boolean

Whether the function field is set.