Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuspension
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuspension
- 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
A record representing a suspension.
Instance Attribute Summary collapse
-
#approval_config ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
Configurations for approving the Suspension.
-
#audit ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuspensionAudit
Contains when and by whom the suspension was resolved.
-
#create_time ⇒ String
Output only.
-
#event_execution_info_id ⇒ String
Required.
-
#integration ⇒ String
Required.
-
#last_modify_time ⇒ String
Output only.
-
#name ⇒ String
Resource name for suspensions suspension/
suspension_id
Corresponds to the JSON propertyname
. -
#state ⇒ String
Required.
-
#suspension_config ⇒ Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionConfig
Controls the notifications and resolver permissions for this suspension.
-
#task_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSuspension
constructor
A new instance of GoogleCloudIntegrationsV1alphaSuspension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSuspension
Returns a new instance of GoogleCloudIntegrationsV1alphaSuspension.
10456 10457 10458 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10456 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approval_config ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
Configurations for approving the Suspension.
Corresponds to the JSON property approvalConfig
10408 10409 10410 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10408 def approval_config @approval_config end |
#audit ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSuspensionAudit
Contains when and by whom the suspension was resolved.
Corresponds to the JSON property audit
10413 10414 10415 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10413 def audit @audit end |
#create_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property createTime
10418 10419 10420 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10418 def create_time @create_time end |
#event_execution_info_id ⇒ String
Required. ID of the associated execution.
Corresponds to the JSON property eventExecutionInfoId
10423 10424 10425 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10423 def event_execution_info_id @event_execution_info_id end |
#integration ⇒ String
Required. The name of the originating integration.
Corresponds to the JSON property integration
10428 10429 10430 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10428 def integration @integration end |
#last_modify_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property lastModifyTime
10433 10434 10435 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10433 def last_modify_time @last_modify_time end |
#name ⇒ String
Resource name for suspensions suspension/suspension_id
Corresponds to the JSON property name
10438 10439 10440 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10438 def name @name end |
#state ⇒ String
Required. State of this suspension, indicating what action a resolver has
taken.
Corresponds to the JSON property state
10444 10445 10446 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10444 def state @state end |
#suspension_config ⇒ Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoSuspensionConfig
Controls the notifications and resolver permissions for this suspension.
Corresponds to the JSON property suspensionConfig
10449 10450 10451 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10449 def suspension_config @suspension_config end |
#task_id ⇒ String
Required. Task id of the associated SuspensionTask.
Corresponds to the JSON property taskId
10454 10455 10456 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10454 def task_id @task_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10461 def update!(**args) @approval_config = args[:approval_config] if args.key?(:approval_config) @audit = args[:audit] if args.key?(:audit) @create_time = args[:create_time] if args.key?(:create_time) @event_execution_info_id = args[:event_execution_info_id] if args.key?(:event_execution_info_id) @integration = args[:integration] if args.key?(:integration) @last_modify_time = args[:last_modify_time] if args.key?(:last_modify_time) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @suspension_config = args[:suspension_config] if args.key?(:suspension_config) @task_id = args[:task_id] if args.key?(:task_id) end |