Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingChange
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingChange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Describes a potential routing change that may occur as a result of some deployment operation.
Instance Attribute Summary collapse
-
#description ⇒ String
Human-readable description of this routing change.
-
#environment_group ⇒ String
Name of the environment group affected by this routing change.
-
#from_deployment ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment
Tuple representing a base path and the deployment containing it.
-
#should_sequence_rollout ⇒ Boolean
(also: #should_sequence_rollout?)
Set to
trueif using sequenced rollout would make this routing change safer. -
#to_deployment ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment
Tuple representing a base path and the deployment containing it.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentChangeReportRoutingChange
constructor
A new instance of GoogleCloudApigeeV1DeploymentChangeReportRoutingChange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentChangeReportRoutingChange
Returns a new instance of GoogleCloudApigeeV1DeploymentChangeReportRoutingChange.
2325 2326 2327 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Human-readable description of this routing change.
Corresponds to the JSON property description
2300 2301 2302 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2300 def description @description end |
#environment_group ⇒ String
Name of the environment group affected by this routing change.
Corresponds to the JSON property environmentGroup
2305 2306 2307 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2305 def environment_group @environment_group end |
#from_deployment ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment
Tuple representing a base path and the deployment containing it.
Corresponds to the JSON property fromDeployment
2310 2311 2312 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2310 def from_deployment @from_deployment end |
#should_sequence_rollout ⇒ Boolean Also known as: should_sequence_rollout?
Set to true if using sequenced rollout would make this routing change safer.
Note: This does not necessarily imply that automated sequenced rollout
mode is supported for the operation.
Corresponds to the JSON property shouldSequenceRollout
2317 2318 2319 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2317 def should_sequence_rollout @should_sequence_rollout end |
#to_deployment ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment
Tuple representing a base path and the deployment containing it.
Corresponds to the JSON property toDeployment
2323 2324 2325 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2323 def to_deployment @to_deployment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2330 2331 2332 2333 2334 2335 2336 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2330 def update!(**args) @description = args[:description] if args.key?(:description) @environment_group = args[:environment_group] if args.key?(:environment_group) @from_deployment = args[:from_deployment] if args.key?(:from_deployment) @should_sequence_rollout = args[:should_sequence_rollout] if args.key?(:should_sequence_rollout) @to_deployment = args[:to_deployment] if args.key?(:to_deployment) end |