Class: Google::Apis::ConfigV1::DeploymentGroupRevision
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::DeploymentGroupRevision
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb
Overview
A DeploymentGroupRevision represents a snapshot of a DeploymentGroup at a given point in time, created when a DeploymentGroup is provisioned or deprovisioned.
Instance Attribute Summary collapse
-
#alternative_ids ⇒ Array<String>
Output only.
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#snapshot ⇒ Google::Apis::ConfigV1::DeploymentGroup
A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like structure.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeploymentGroupRevision
constructor
A new instance of DeploymentGroupRevision.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeploymentGroupRevision
Returns a new instance of DeploymentGroupRevision.
602 603 604 |
# File 'lib/google/apis/config_v1/classes.rb', line 602 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alternative_ids ⇒ Array<String>
Output only. The alternative IDs of the deployment group revision.
Corresponds to the JSON property alternativeIds
582 583 584 |
# File 'lib/google/apis/config_v1/classes.rb', line 582 def alternative_ids @alternative_ids end |
#create_time ⇒ String
Output only. Time when the deployment group revision was created.
Corresponds to the JSON property createTime
587 588 589 |
# File 'lib/google/apis/config_v1/classes.rb', line 587 def create_time @create_time end |
#name ⇒ String
Identifier. The name of the deployment group revision. Format: 'projects/
project_id/locations/location/deploymentGroups/deployment_group/revisions/
revision'.
Corresponds to the JSON property name
594 595 596 |
# File 'lib/google/apis/config_v1/classes.rb', line 594 def name @name end |
#snapshot ⇒ Google::Apis::ConfigV1::DeploymentGroup
A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like
structure.
Corresponds to the JSON property snapshot
600 601 602 |
# File 'lib/google/apis/config_v1/classes.rb', line 600 def snapshot @snapshot end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
607 608 609 610 611 612 |
# File 'lib/google/apis/config_v1/classes.rb', line 607 def update!(**args) @alternative_ids = args[:alternative_ids] if args.key?(:alternative_ids) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @snapshot = args[:snapshot] if args.key?(:snapshot) end |