Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingChange

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentChangeReportRoutingChange

Returns a new instance of GoogleCloudApigeeV1DeploymentChangeReportRoutingChange.



2086
2087
2088
# File 'generated/google/apis/apigee_v1/classes.rb', line 2086

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

A human-readable description of this routing change. Corresponds to the JSON property description

Returns:

  • (String)


2061
2062
2063
# File 'generated/google/apis/apigee_v1/classes.rb', line 2061

def description
  @description
end

#environment_groupString

The name of the environment group affected by this routing change. Corresponds to the JSON property environmentGroup

Returns:

  • (String)


2066
2067
2068
# File 'generated/google/apis/apigee_v1/classes.rb', line 2066

def environment_group
  @environment_group
end

#from_deploymentGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment

A tuple representing a basepath and the deployment containing it. Corresponds to the JSON property fromDeployment



2071
2072
2073
# File 'generated/google/apis/apigee_v1/classes.rb', line 2071

def from_deployment
  @from_deployment
end

#should_sequence_rolloutBoolean Also known as: should_sequence_rollout?

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

Returns:

  • (Boolean)


2078
2079
2080
# File 'generated/google/apis/apigee_v1/classes.rb', line 2078

def should_sequence_rollout
  @should_sequence_rollout
end

#to_deploymentGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment

A tuple representing a basepath and the deployment containing it. Corresponds to the JSON property toDeployment



2084
2085
2086
# File 'generated/google/apis/apigee_v1/classes.rb', line 2084

def to_deployment
  @to_deployment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2091
2092
2093
2094
2095
2096
2097
# File 'generated/google/apis/apigee_v1/classes.rb', line 2091

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