Class: Google::Apis::ClouddeployV1::TerminateJobRunRequest

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 TerminateJobRun.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TerminateJobRunRequest

Returns a new instance of TerminateJobRunRequest.



6137
6138
6139
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6137

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>)


6135
6136
6137
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6135

def override_deploy_policy
  @override_deploy_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6142
6143
6144
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 6142

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