public interface FunctionOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels associated with this Cloud Function.
|
BuildConfig |
getBuildConfig()
Describes the Build step of the function that builds a container from the
given source.
|
BuildConfigOrBuilder |
getBuildConfigOrBuilder()
Describes the Build step of the function that builds a container from the
given source.
|
String |
getDescription()
User-provided description of a function.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User-provided description of a function.
|
Environment |
getEnvironment()
Describe whether the function is 1st Gen or 2nd Gen.
|
int |
getEnvironmentValue()
Describe whether the function is 1st Gen or 2nd Gen.
|
EventTrigger |
getEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
EventTriggerOrBuilder |
getEventTriggerOrBuilder()
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
String |
getKmsKeyName()
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
com.google.protobuf.ByteString |
getKmsKeyNameBytes()
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this Cloud Function.
|
Map<String,String> |
getLabelsMap()
Labels associated with this Cloud Function.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this Cloud Function.
|
String |
getLabelsOrThrow(String key)
Labels associated with this Cloud Function.
|
String |
getName()
A user-defined name of the function.
|
com.google.protobuf.ByteString |
getNameBytes()
A user-defined name of the function.
|
ServiceConfig |
getServiceConfig()
Describes the Service being deployed.
|
ServiceConfigOrBuilder |
getServiceConfigOrBuilder()
Describes the Service being deployed.
|
Function.State |
getState()
Output only.
|
StateMessage |
getStateMessages(int index)
Output only.
|
int |
getStateMessagesCount()
Output only.
|
List<StateMessage> |
getStateMessagesList()
Output only.
|
StateMessageOrBuilder |
getStateMessagesOrBuilder(int index)
Output only.
|
List<? extends StateMessageOrBuilder> |
getStateMessagesOrBuilderList()
Output only.
|
int |
getStateValue()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getUrl()
Output only.
|
com.google.protobuf.ByteString |
getUrlBytes()
Output only.
|
boolean |
hasBuildConfig()
Describes the Build step of the function that builds a container from the
given source.
|
boolean |
hasEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in
response to a condition in another service.
|
boolean |
hasServiceConfig()
Describes the Service being deployed.
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;com.google.protobuf.ByteString getNameBytes()
A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*`
string name = 1;String getDescription()
User-provided description of a function.
string description = 2;com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of a function.
string description = 2;boolean hasBuildConfig()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2alpha.BuildConfig build_config = 3;BuildConfig getBuildConfig()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2alpha.BuildConfig build_config = 3;BuildConfigOrBuilder getBuildConfigOrBuilder()
Describes the Build step of the function that builds a container from the given source.
.google.cloud.functions.v2alpha.BuildConfig build_config = 3;boolean hasServiceConfig()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2alpha.ServiceConfig service_config = 4;ServiceConfig getServiceConfig()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2alpha.ServiceConfig service_config = 4;ServiceConfigOrBuilder getServiceConfigOrBuilder()
Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed).
.google.cloud.functions.v2alpha.ServiceConfig service_config = 4;boolean hasEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2alpha.EventTrigger event_trigger = 5;EventTrigger getEventTrigger()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2alpha.EventTrigger event_trigger = 5;EventTriggerOrBuilder getEventTriggerOrBuilder()
An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service.
.google.cloud.functions.v2alpha.EventTrigger event_trigger = 5;int getStateValue()
Output only. State of the function.
.google.cloud.functions.v2alpha.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Function.State getState()
Output only. State of the function.
.google.cloud.functions.v2alpha.Function.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a Cloud Function.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getLabelsCount()
Labels associated with this Cloud Function.
map<string, string> labels = 8;boolean containsLabels(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 8;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Labels associated with this Cloud Function.
map<string, string> labels = 8;String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this Cloud Function.
map<string, string> labels = 8;String getLabelsOrThrow(String key)
Labels associated with this Cloud Function.
map<string, string> labels = 8;List<StateMessage> getStateMessagesList()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
StateMessage getStateMessages(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getStateMessagesCount()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<? extends StateMessageOrBuilder> getStateMessagesOrBuilderList()
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
StateMessageOrBuilder getStateMessagesOrBuilder(int index)
Output only. State Messages for this Cloud Function.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getEnvironmentValue()
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2alpha.Environment environment = 10;Environment getEnvironment()
Describe whether the function is 1st Gen or 2nd Gen.
.google.cloud.functions.v2alpha.Environment environment = 10;String getUrl()
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getUrlBytes()
Output only. The deployed url for the function.
string url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];String getKmsKeyName()
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
It must match the pattern
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getKmsKeyNameBytes()
[Preview] Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt function resources.
It must match the pattern
`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
string kms_key_name = 25 [(.google.api.resource_reference) = { ... }Copyright © 2023 Google LLC. All rights reserved.