Class: Google::Apis::VersionhistoryV1::RolloutData
- Inherits:
-
Object
- Object
- Google::Apis::VersionhistoryV1::RolloutData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/versionhistory_v1/classes.rb,
lib/google/apis/versionhistory_v1/representations.rb,
lib/google/apis/versionhistory_v1/representations.rb
Overview
Rollout-related metadata for a release.
Instance Attribute Summary collapse
-
#rollout_name ⇒ String
The name of the rollout.
-
#tag ⇒ Array<String>
Tags associated with a release's role in a rollout.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RolloutData
constructor
A new instance of RolloutData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RolloutData
Returns a new instance of RolloutData.
299 300 301 |
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 299 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rollout_name ⇒ String
The name of the rollout.
Corresponds to the JSON property rolloutName
290 291 292 |
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 290 def rollout_name @rollout_name end |
#tag ⇒ Array<String>
Tags associated with a release's role in a rollout. Most rollouts will have at
least one release with a "rollout" tag and another release with a "control"
tag. Some rollouts may have additional named arms.
Corresponds to the JSON property tag
297 298 299 |
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 297 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
304 305 306 307 |
# File 'lib/google/apis/versionhistory_v1/classes.rb', line 304 def update!(**args) @rollout_name = args[:rollout_name] if args.key?(:rollout_name) @tag = args[:tag] if args.key?(:tag) end |