Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCancelExecutionRequest

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

Overview

Request for cancelling an execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCancelExecutionRequest

Returns a new instance of GoogleCloudIntegrationsV1alphaCancelExecutionRequest.



6709
6710
6711
# File 'lib/google/apis/integrations_v1/classes.rb', line 6709

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

Instance Attribute Details

#cancel_reasonString

Required. Reason for cancelling the execution. This is provided by the client requesting the cancellation, and is not used by the Platform. Corresponds to the JSON property cancelReason

Returns:

  • (String)


6707
6708
6709
# File 'lib/google/apis/integrations_v1/classes.rb', line 6707

def cancel_reason
  @cancel_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6714
6715
6716
# File 'lib/google/apis/integrations_v1/classes.rb', line 6714

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