Class: Google::Apis::ClouddeployV1::AdvanceRolloutRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb

Overview

The request object used by AdvanceRollout.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdvanceRolloutRequest

Returns a new instance of AdvanceRolloutRequest.



144
145
146
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 144

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

Instance Attribute Details

#override_deploy_policyArray<String>

Optional. Deploy policies to override. Format is projects/project/locations/ location/deployPolicies/deployPolicy`. Corresponds to the JSON propertyoverrideDeployPolicy`

Returns:

  • (Array<String>)


137
138
139
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 137

def override_deploy_policy
  @override_deploy_policy
end

#phase_idString

Required. The phase ID to advance the Rollout to. Corresponds to the JSON property phaseId

Returns:

  • (String)


142
143
144
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 142

def phase_id
  @phase_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



149
150
151
152
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 149

def update!(**args)
  @override_deploy_policy = args[:override_deploy_policy] if args.key?(:override_deploy_policy)
  @phase_id = args[:phase_id] if args.key?(:phase_id)
end