public interface ServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotations(String key)
Optional.
|
boolean |
containsLabels(String key)
Optional.
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Optional.
|
Map<String,String> |
getAnnotationsMap()
Optional.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getAnnotationsOrThrow(String key)
Optional.
|
BinaryAuthorization |
getBinaryAuthorization()
Optional.
|
BinaryAuthorizationOrBuilder |
getBinaryAuthorizationOrBuilder()
Optional.
|
BuildConfig |
getBuildConfig()
Optional.
|
BuildConfigOrBuilder |
getBuildConfigOrBuilder()
Optional.
|
String |
getClient()
Arbitrary identifier for the API client.
|
com.google.protobuf.ByteString |
getClientBytes()
Arbitrary identifier for the API client.
|
String |
getClientVersion()
Arbitrary version identifier for the API client.
|
com.google.protobuf.ByteString |
getClientVersionBytes()
Arbitrary version identifier for the API client.
|
Condition |
getConditions(int index)
Output only.
|
int |
getConditionsCount()
Output only.
|
List<Condition> |
getConditionsList()
Output only.
|
ConditionOrBuilder |
getConditionsOrBuilder(int index)
Output only.
|
List<? extends ConditionOrBuilder> |
getConditionsOrBuilderList()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCreator()
Output only.
|
com.google.protobuf.ByteString |
getCreatorBytes()
Output only.
|
String |
getCustomAudiences(int index)
One or more custom audiences that you want this service to support.
|
com.google.protobuf.ByteString |
getCustomAudiencesBytes(int index)
One or more custom audiences that you want this service to support.
|
int |
getCustomAudiencesCount()
One or more custom audiences that you want this service to support.
|
List<String> |
getCustomAudiencesList()
One or more custom audiences that you want this service to support.
|
boolean |
getDefaultUriDisabled()
Optional.
|
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
String |
getDescription()
User-provided description of the Service.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
User-provided description of the Service.
|
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
com.google.protobuf.Timestamp |
getExpireTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Output only.
|
long |
getGeneration()
Output only.
|
IngressTraffic |
getIngress()
Optional.
|
int |
getIngressValue()
Optional.
|
boolean |
getInvokerIamDisabled()
Optional.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
String |
getLastModifier()
Output only.
|
com.google.protobuf.ByteString |
getLastModifierBytes()
Output only.
|
String |
getLatestCreatedRevision()
Output only.
|
com.google.protobuf.ByteString |
getLatestCreatedRevisionBytes()
Output only.
|
String |
getLatestReadyRevision()
Output only.
|
com.google.protobuf.ByteString |
getLatestReadyRevisionBytes()
Output only.
|
com.google.api.LaunchStage |
getLaunchStage()
Optional.
|
int |
getLaunchStageValue()
Optional.
|
String |
getName()
The fully qualified name of this Service.
|
com.google.protobuf.ByteString |
getNameBytes()
The fully qualified name of this Service.
|
long |
getObservedGeneration()
Output only.
|
boolean |
getReconciling()
Output only.
|
boolean |
getSatisfiesPzs()
Output only.
|
ServiceScaling |
getScaling()
Optional.
|
ServiceScalingOrBuilder |
getScalingOrBuilder()
Optional.
|
RevisionTemplate |
getTemplate()
Required.
|
RevisionTemplateOrBuilder |
getTemplateOrBuilder()
Required.
|
Condition |
getTerminalCondition()
Output only.
|
ConditionOrBuilder |
getTerminalConditionOrBuilder()
Output only.
|
TrafficTarget |
getTraffic(int index)
Optional.
|
int |
getTrafficCount()
Optional.
|
List<TrafficTarget> |
getTrafficList()
Optional.
|
TrafficTargetOrBuilder |
getTrafficOrBuilder(int index)
Optional.
|
List<? extends TrafficTargetOrBuilder> |
getTrafficOrBuilderList()
Optional.
|
TrafficTargetStatus |
getTrafficStatuses(int index)
Output only.
|
int |
getTrafficStatusesCount()
Output only.
|
List<TrafficTargetStatus> |
getTrafficStatusesList()
Output only.
|
TrafficTargetStatusOrBuilder |
getTrafficStatusesOrBuilder(int index)
Output only.
|
List<? extends TrafficTargetStatusOrBuilder> |
getTrafficStatusesOrBuilderList()
Output only.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getUri()
Output only.
|
com.google.protobuf.ByteString |
getUriBytes()
Output only.
|
String |
getUrls(int index)
Output only.
|
com.google.protobuf.ByteString |
getUrlsBytes(int index)
Output only.
|
int |
getUrlsCount()
Output only.
|
List<String> |
getUrlsList()
Output only.
|
boolean |
hasBinaryAuthorization()
Optional.
|
boolean |
hasBuildConfig()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasExpireTime()
Output only.
|
boolean |
hasScaling()
Optional.
|
boolean |
hasTemplate()
Required.
|
boolean |
hasTerminalCondition()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The fully qualified name of this Service. In CreateServiceRequest, this
field is ignored, and instead composed from CreateServiceRequest.parent and
CreateServiceRequest.service_id.
Format:
projects/{project}/locations/{location}/services/{service_id}
string name = 1;com.google.protobuf.ByteString getNameBytes()
The fully qualified name of this Service. In CreateServiceRequest, this
field is ignored, and instead composed from CreateServiceRequest.parent and
CreateServiceRequest.service_id.
Format:
projects/{project}/locations/{location}/services/{service_id}
string name = 1;String getDescription()
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;String getUid()
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getUidBytes()
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];long getGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];int getLabelsCount()
Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];boolean containsLabels(String key)
Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];String getLabelsOrDefault(String key, String defaultValue)
Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];String getLabelsOrThrow(String key)
Optional. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];int getAnnotationsCount()
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
boolean containsAnnotations(String key)
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated Map<String,String> getAnnotations()
getAnnotationsMap() instead.Map<String,String> getAnnotationsMap()
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
String getAnnotationsOrDefault(String key, String defaultValue)
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
String getAnnotationsOrThrow(String key)
Optional. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6 [(.google.api.field_behavior) = OPTIONAL];
boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasDeleteTime()
Output only. The deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getDeleteTime()
Output only. The deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasExpireTime()
Output only. For a deleted resource, the time after which it will be permanently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getExpireTime()
Output only. For a deleted resource, the time after which it will be permanently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. For a deleted resource, the time after which it will be permanently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getCreator()
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getCreatorBytes()
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];String getLastModifier()
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getLastModifierBytes()
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];String getClient()
Arbitrary identifier for the API client.
string client = 13;com.google.protobuf.ByteString getClientBytes()
Arbitrary identifier for the API client.
string client = 13;String getClientVersion()
Arbitrary version identifier for the API client.
string client_version = 14;com.google.protobuf.ByteString getClientVersionBytes()
Arbitrary version identifier for the API client.
string client_version = 14;int getIngressValue()
Optional. Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15 [(.google.api.field_behavior) = OPTIONAL];
IngressTraffic getIngress()
Optional. Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15 [(.google.api.field_behavior) = OPTIONAL];
int getLaunchStageValue()
Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16 [(.google.api.field_behavior) = OPTIONAL];
com.google.api.LaunchStage getLaunchStage()
Optional. The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16 [(.google.api.field_behavior) = OPTIONAL];
boolean hasBinaryAuthorization()
Optional. Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17 [(.google.api.field_behavior) = OPTIONAL];
BinaryAuthorization getBinaryAuthorization()
Optional. Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17 [(.google.api.field_behavior) = OPTIONAL];
BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()
Optional. Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17 [(.google.api.field_behavior) = OPTIONAL];
boolean hasTemplate()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
RevisionTemplate getTemplate()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
RevisionTemplateOrBuilder getTemplateOrBuilder()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
List<TrafficTarget> getTrafficList()
Optional. Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19 [(.google.api.field_behavior) = OPTIONAL];
TrafficTarget getTraffic(int index)
Optional. Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19 [(.google.api.field_behavior) = OPTIONAL];
int getTrafficCount()
Optional. Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19 [(.google.api.field_behavior) = OPTIONAL];
List<? extends TrafficTargetOrBuilder> getTrafficOrBuilderList()
Optional. Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19 [(.google.api.field_behavior) = OPTIONAL];
TrafficTargetOrBuilder getTrafficOrBuilder(int index)
Optional. Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19 [(.google.api.field_behavior) = OPTIONAL];
boolean hasScaling()
Optional. Specifies service-level scaling settings
.google.cloud.run.v2.ServiceScaling scaling = 20 [(.google.api.field_behavior) = OPTIONAL];
ServiceScaling getScaling()
Optional. Specifies service-level scaling settings
.google.cloud.run.v2.ServiceScaling scaling = 20 [(.google.api.field_behavior) = OPTIONAL];
ServiceScalingOrBuilder getScalingOrBuilder()
Optional. Specifies service-level scaling settings
.google.cloud.run.v2.ServiceScaling scaling = 20 [(.google.api.field_behavior) = OPTIONAL];
boolean getInvokerIamDisabled()
Optional. Disables IAM permission check for run.routes.invoke for callers of this service. This feature is available by invitation only. For more information, visit https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
bool invoker_iam_disabled = 21 [(.google.api.field_behavior) = OPTIONAL];boolean getDefaultUriDisabled()
Optional. Disables public resolution of the default URI of this service.
bool default_uri_disabled = 22 [(.google.api.field_behavior) = OPTIONAL];List<String> getUrlsList()
Output only. All URLs serving traffic for this Service.
repeated string urls = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];int getUrlsCount()
Output only. All URLs serving traffic for this Service.
repeated string urls = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];String getUrls(int index)
Output only. All URLs serving traffic for this Service.
repeated string urls = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];index - The index of the element to return.com.google.protobuf.ByteString getUrlsBytes(int index)
Output only. All URLs serving traffic for this Service.
repeated string urls = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];index - The index of the value to return.List<String> getCustomAudiencesList()
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;int getCustomAudiencesCount()
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;String getCustomAudiences(int index)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;index - The index of the element to return.com.google.protobuf.ByteString getCustomAudiencesBytes(int index)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;index - The index of the value to return.long getObservedGeneration()
Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasTerminalCondition()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
Condition getTerminalCondition()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
ConditionOrBuilder getTerminalConditionOrBuilder()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<Condition> getConditionsList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
Condition getConditions(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getConditionsCount()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
ConditionOrBuilder getConditionsOrBuilder(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getLatestReadyRevision()
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getLatestReadyRevisionBytes()
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
String getLatestCreatedRevision()
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getLatestCreatedRevisionBytes()
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
List<TrafficTargetStatus> getTrafficStatusesList()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
TrafficTargetStatus getTrafficStatuses(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getTrafficStatusesCount()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<? extends TrafficTargetStatusOrBuilder> getTrafficStatusesOrBuilderList()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
TrafficTargetStatusOrBuilder getTrafficStatusesOrBuilder(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getUri()
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getUriBytes()
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasBuildConfig()
Optional. Configuration for building a Cloud Run function.
.google.cloud.run.v2.BuildConfig build_config = 41 [(.google.api.field_behavior) = OPTIONAL];
BuildConfig getBuildConfig()
Optional. Configuration for building a Cloud Run function.
.google.cloud.run.v2.BuildConfig build_config = 41 [(.google.api.field_behavior) = OPTIONAL];
BuildConfigOrBuilder getBuildConfigOrBuilder()
Optional. Configuration for building a Cloud Run function.
.google.cloud.run.v2.BuildConfig build_config = 41 [(.google.api.field_behavior) = OPTIONAL];
boolean getReconciling()
Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revision`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.
bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];String getEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getEtagBytes()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2025 Google LLC. All rights reserved.