Class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoTaskEntity

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

Contains a task's metadata and associated information. Next available id: 7

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoTaskEntity

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoTaskEntity.



4728
4729
4730
# File 'lib/google/apis/integrations_v1/classes.rb', line 4728

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

Instance Attribute Details

#disabled_for_vpc_scBoolean Also known as: disabled_for_vpc_sc?

True if the task has conflict with vpcsc Corresponds to the JSON property disabledForVpcSc

Returns:

  • (Boolean)


4697
4698
4699
# File 'lib/google/apis/integrations_v1/classes.rb', line 4697

def disabled_for_vpc_sc
  @disabled_for_vpc_sc
end

#metadataGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTaskMetadata

TaskMetadata are attributes that are associated to every common Task we have. Corresponds to the JSON property metadata



4703
4704
4705
# File 'lib/google/apis/integrations_v1/classes.rb', line 4703

def 
  @metadata
end

#param_specsGoogle::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage

Declarations for inputs/outputs for a TypedTask. This is also associated with the METADATA mask. Corresponds to the JSON property paramSpecs



4709
4710
4711
# File 'lib/google/apis/integrations_v1/classes.rb', line 4709

def param_specs
  @param_specs
end

#statsGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusStats

Stats for the requested dimensions: QPS, duration, and error/warning rate Corresponds to the JSON property stats



4714
4715
4716
# File 'lib/google/apis/integrations_v1/classes.rb', line 4714

def stats
  @stats
end

#task_typeString

Defines the type of the task Corresponds to the JSON property taskType

Returns:

  • (String)


4719
4720
4721
# File 'lib/google/apis/integrations_v1/classes.rb', line 4719

def task_type
  @task_type
end

#ui_configGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoTaskUiConfig

Task authors would use this type to configure the UI for a particular task by specifying what UI config modules should be included to compose the UI. Learn more about config module framework: Corresponds to the JSON property uiConfig



4726
4727
4728
# File 'lib/google/apis/integrations_v1/classes.rb', line 4726

def ui_config
  @ui_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4733
4734
4735
4736
4737
4738
4739
4740
# File 'lib/google/apis/integrations_v1/classes.rb', line 4733

def update!(**args)
  @disabled_for_vpc_sc = args[:disabled_for_vpc_sc] if args.key?(:disabled_for_vpc_sc)
  @metadata = args[:metadata] if args.key?(:metadata)
  @param_specs = args[:param_specs] if args.key?(:param_specs)
  @stats = args[:stats] if args.key?(:stats)
  @task_type = args[:task_type] if args.key?(:task_type)
  @ui_config = args[:ui_config] if args.key?(:ui_config)
end