Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspension
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
A record representing a suspension.
Instance Attribute Summary collapse
-
#approval_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
Configurations for approving the Suspension.
-
#audit ⇒ Google::Apis::IntegrationsV1alpha::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_idCorresponds to the JSON propertyname. -
#state ⇒ String
Required.
-
#suspension_config ⇒ Google::Apis::IntegrationsV1alpha::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.
8381 8382 8383 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8381 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approval_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
Configurations for approving the Suspension.
Corresponds to the JSON property approvalConfig
8333 8334 8335 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8333 def approval_config @approval_config end |
#audit ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionAudit
Contains when and by whom the suspension was resolved.
Corresponds to the JSON property audit
8338 8339 8340 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8338 def audit @audit end |
#create_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property createTime
8343 8344 8345 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8343 def create_time @create_time end |
#event_execution_info_id ⇒ String
Required. ID of the associated execution.
Corresponds to the JSON property eventExecutionInfoId
8348 8349 8350 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8348 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
8353 8354 8355 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8353 def integration @integration end |
#last_modify_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property lastModifyTime
8358 8359 8360 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8358 def last_modify_time @last_modify_time end |
#name ⇒ String
Resource name for suspensions suspension/suspension_id
Corresponds to the JSON property name
8363 8364 8365 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8363 def name @name end |
#state ⇒ String
Required. State of this suspension, indicating what action a resolver has
taken.
Corresponds to the JSON property state
8369 8370 8371 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8369 def state @state end |
#suspension_config ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoSuspensionConfig
Controls the notifications and resolver permissions for this suspension.
Corresponds to the JSON property suspensionConfig
8374 8375 8376 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8374 def suspension_config @suspension_config end |
#task_id ⇒ String
Required. Task id of the associated SuspensionTask.
Corresponds to the JSON property taskId
8379 8380 8381 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8379 def task_id @task_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8386 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 |