Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTeardownTaskConfig

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoTeardownTaskConfig

Returns a new instance of EnterpriseCrmEventbusProtoTeardownTaskConfig.



3011
3012
3013
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3011

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

Instance Attribute Details

#creator_emailString

The creator's email address. Corresponds to the JSON property creatorEmail

Returns:

  • (String)


2978
2979
2980
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2978

def creator_email
  @creator_email
end

#nameString

Required. Unique identifier of the teardown task within this Config. We use this field as the identifier to find next teardown tasks. Corresponds to the JSON property name

Returns:

  • (String)


2984
2985
2986
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2984

def name
  @name
end

#next_teardown_taskGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoNextTeardownTask

The teardown task that is next in line to be executed. We support only sequential execution of teardown tasks (i.e. no branching). Corresponds to the JSON property nextTeardownTask



2990
2991
2992
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2990

def next_teardown_task
  @next_teardown_task
end

#parametersGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventParameters

LINT.IfChange This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Please see go/integration-platform/event_bus.md for more details. Next id: 4 Corresponds to the JSON property parameters



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

def parameters
  @parameters
end

#propertiesGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoEventBusProperties

LINT.IfChange This message is used for storing key value pair properties for each Event / Task in the EventBus. Please see go/cloud-crm-eng/platform/ event_bus.md for more details. Corresponds to the JSON property properties



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

def properties
  @properties
end

#teardown_task_implementation_class_nameString

Required. Implementation class name. Corresponds to the JSON property teardownTaskImplementationClassName

Returns:

  • (String)


3009
3010
3011
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3009

def teardown_task_implementation_class_name
  @teardown_task_implementation_class_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3016
3017
3018
3019
3020
3021
3022
3023
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3016

def update!(**args)
  @creator_email = args[:creator_email] if args.key?(:creator_email)
  @name = args[:name] if args.key?(:name)
  @next_teardown_task = args[:next_teardown_task] if args.key?(:next_teardown_task)
  @parameters = args[:parameters] if args.key?(:parameters)
  @properties = args[:properties] if args.key?(:properties)
  @teardown_task_implementation_class_name = args[:teardown_task_implementation_class_name] if args.key?(:teardown_task_implementation_class_name)
end