GetAutomationResult class
Result data returned by getAutomation.
Constructors
-
GetAutomationResult({required Map<
String, String> annotations, required String createTime, required String description, required String etag, required Map<String, String> labels, required String name, required List<AutomationRuleResponse> rules, required AutomationResourceSelectorResponse selector, required String serviceAccount, required bool suspended, required String uid, required String updateTime}) -
Creates a new GetAutomationResult.
annotationsOptional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.createTimeTime at which the automation was created.descriptionOptional. Description of theAutomation. Max length is 255 characters.etagOptional. The weak etag of theAutomationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.labelsOptional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.nameName of theAutomation. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.rulesList of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.selectorSelected resources to which the automation will be applied.serviceAccountEmail address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.suspendedOptional. When Suspended, automation is deactivated from execution.uidUnique identifier of theAutomation.updateTimeTime at which the automation was updated.const -
GetAutomationResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Map<
String, String> -
Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (
/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.final - createTime → String
-
Time at which the automation was created.
final
- description → String
-
Optional. Description of the
Automation. Max length is 255 characters.final - etag → String
-
Optional. The weak etag of the
Automationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.
final
- name → String
-
Name of the
Automation. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.final -
rules
→ List<
AutomationRuleResponse> -
List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selector → AutomationResourceSelectorResponse
-
Selected resources to which the automation will be applied.
final
- serviceAccount → String
-
Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
final
- suspended → bool
-
Optional. When Suspended, automation is deactivated from execution.
final
- uid → String
-
Unique identifier of the
Automation.final - updateTime → String
-
Time at which the automation was updated.
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