GetServiceRunV2Result class
Result data returned by getService.
Constructors
-
GetServiceRunV2Result({required Map<
String, String> annotations, required GoogleCloudRunV2BinaryAuthorizationResponse binaryAuthorization, required String client, required String clientVersion, required List<GoogleCloudRunV2ConditionResponse> conditions, required String createTime, required String creator, required List<String> customAudiences, required String deleteTime, required String description, required String etag, required String expireTime, required String generation, required String ingress, required Map<String, String> labels, required String lastModifier, required String latestCreatedRevision, required String latestReadyRevision, required String launchStage, required String name, required String observedGeneration, required bool reconciling, required bool satisfiesPzs, required GoogleCloudRunV2ServiceScalingResponse scaling, required GoogleCloudRunV2RevisionTemplateResponse template, required GoogleCloudRunV2ConditionResponse terminalCondition, required List<GoogleCloudRunV2TrafficTargetResponse> traffic, required List<GoogleCloudRunV2TrafficTargetStatusResponse> trafficStatuses, required String uid, required String updateTime, required String uri}) -
Creates a new GetServiceRunV2Result.
annotationsUnstructured 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. Cloud Run API v2 does not support annotations withrun.googleapis.com,cloud.googleapis.com,serving.knative.dev, orautoscaling.knative.devnamespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.binaryAuthorizationSettings for the Binary Authorization feature.clientArbitrary identifier for the API client.clientVersionArbitrary version identifier for the API client.conditionsThe Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments inreconcilingfor additional information on reconciliation process in Cloud Run.createTimeThe creation time.creatorEmail address of the authenticated creator.customAudiencesOne 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.deleteTimeThe deletion time.descriptionUser-provided description of the Service. This field currently has a 512-character limit.etagA system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.expireTimeFor a deleted resource, the time after which it will be permamently deleted.generationA 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 astringinstead of aninteger.ingressProvides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.labelsUnstructured 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. Cloud Run API v2 does not support labels withrun.googleapis.com,cloud.googleapis.com,serving.knative.dev, orautoscaling.knative.devnamespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.lastModifierEmail address of the last authenticated modifier.latestCreatedRevisionName of the last created revision. See comments inreconcilingfor additional information on reconciliation process in Cloud Run.latestReadyRevisionName of the latest revision that is serving traffic. See comments inreconcilingfor additional information on reconciliation process in Cloud Run.launchStageThe launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supportsALPHA,BETA, andGA. 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.nameThe 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}observedGenerationThe generation of this Service currently serving traffic. See comments inreconcilingfor 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 astringinstead of aninteger.reconcilingReturns 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_revison,traffic_statuses, anduriwill 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 interminal_condition.state. If reconciliation succeeded, the following fields will match:trafficandtraffic_statuses,observed_generationandgeneration,latest_ready_revisionandlatest_created_revision. If reconciliation failed,traffic_statuses,observed_generation, andlatest_ready_revisionwill have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found interminal_conditionandconditions.satisfiesPzsReserved for future use.scalingOptional. Specifies service-level scaling settingstemplateThe template used to create revisions for this Service.terminalConditionThe Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments inreconcilingfor additional information on reconciliation process in Cloud Run.trafficSpecifies 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 latestReadyRevision.trafficStatusesDetailed status information for corresponding traffic targets. See comments inreconcilingfor additional information on reconciliation process in Cloud Run.uidServer assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.updateTimeThe last-modified time.uriThe main URI in which this Service is serving traffic.const -
GetServiceRunV2Result.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Map<
String, String> -
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. Cloud Run API v2 does not support annotations with
run.googleapis.com,cloud.googleapis.com,serving.knative.dev, orautoscaling.knative.devnamespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. This field follows Kubernetes annotations' namespacing, limits, and rules.final - binaryAuthorization → GoogleCloudRunV2BinaryAuthorizationResponse
-
Settings for the Binary Authorization feature.
final
- client → String
-
Arbitrary identifier for the API client.
final
- clientVersion → String
-
Arbitrary version identifier for the API client.
final
-
conditions
→ List<
GoogleCloudRunV2ConditionResponse> -
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
reconcilingfor additional information on reconciliation process in Cloud Run.final - createTime → String
-
The creation time.
final
- creator → String
-
Email address of the authenticated creator.
final
-
customAudiences
→ List<
String> -
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.
final
- deleteTime → String
-
The deletion time.
final
- description → String
-
User-provided description of the Service. This field currently has a 512-character limit.
final
- etag → String
-
A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
final
- expireTime → String
-
For a deleted resource, the time after which it will be permamently deleted.
final
- generation → String
-
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
stringinstead of aninteger.final - hashCode → int
-
The hash code for this object.
no setterinherited
- ingress → String
-
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
final
-
labels
→ Map<
String, String> -
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. Cloud Run API v2 does not support labels with
run.googleapis.com,cloud.googleapis.com,serving.knative.dev, orautoscaling.knative.devnamespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.final - lastModifier → String
-
Email address of the last authenticated modifier.
final
- latestCreatedRevision → String
-
Name of the last created revision. See comments in
reconcilingfor additional information on reconciliation process in Cloud Run.final - latestReadyRevision → String
-
Name of the latest revision that is serving traffic. See comments in
reconcilingfor additional information on reconciliation process in Cloud Run.final - launchStage → String
-
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports
ALPHA,BETA, andGA. 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.final - name → String
-
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}
final
- observedGeneration → String
-
The generation of this Service currently serving traffic. See comments in
reconcilingfor 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 astringinstead of aninteger.final - reconciling → bool
-
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_revison,traffic_statuses, anduriwill 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 interminal_condition.state. If reconciliation succeeded, the following fields will match:trafficandtraffic_statuses,observed_generationandgeneration,latest_ready_revisionandlatest_created_revision. If reconciliation failed,traffic_statuses,observed_generation, andlatest_ready_revisionwill have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found interminal_conditionandconditions.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satisfiesPzs → bool
-
Reserved for future use.
final
- scaling → GoogleCloudRunV2ServiceScalingResponse
-
Optional. Specifies service-level scaling settings
final
- template → GoogleCloudRunV2RevisionTemplateResponse
-
The template used to create revisions for this Service.
final
- terminalCondition → GoogleCloudRunV2ConditionResponse
-
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
reconcilingfor additional information on reconciliation process in Cloud Run.final -
traffic
→ List<
GoogleCloudRunV2TrafficTargetResponse> -
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
ReadyRevision.final -
trafficStatuses
→ List<
GoogleCloudRunV2TrafficTargetStatusResponse> -
Detailed status information for corresponding traffic targets. See comments in
reconcilingfor additional information on reconciliation process in Cloud Run.final - uid → String
-
Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
final
- updateTime → String
-
The last-modified time.
final
- uri → String
-
The main URI in which this Service is serving traffic.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited