Class: Google::Apis::ClouddeployV1::IgnoreJobRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IgnoreJobRequest

Returns a new instance of IgnoreJobRequest.



3004
3005
3006
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3004

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

Instance Attribute Details

#job_idString

Required. The job ID for the Job to ignore. Corresponds to the JSON property jobId

Returns:

  • (String)


2991
2992
2993
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2991

def job_id
  @job_id
end

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


2997
2998
2999
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2997

def override_deploy_policy
  @override_deploy_policy
end

#phase_idString

Required. The phase ID the Job to ignore belongs to. Corresponds to the JSON property phaseId

Returns:

  • (String)


3002
3003
3004
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3002

def phase_id
  @phase_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3009
3010
3011
3012
3013
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3009

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