Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoTaskEntity

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

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.



4549
4550
4551
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4549

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)


4516
4517
4518
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4516

def disabled_for_vpc_sc
  @disabled_for_vpc_sc
end

#metadataGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskMetadata

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



4523
4524
4525
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4523

def 
  @metadata
end

#param_specsGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage

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



4529
4530
4531
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4529

def param_specs
  @param_specs
end

#statsGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusStats

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



4534
4535
4536
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4534

def stats
  @stats
end

#task_typeString

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

Returns:

  • (String)


4539
4540
4541
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4539

def task_type
  @task_type
end

#ui_configGoogle::Apis::IntegrationsV1alpha::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: go/integration-platform-config-module- framework Corresponds to the JSON property uiConfig



4547
4548
4549
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4547

def ui_config
  @ui_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4554
4555
4556
4557
4558
4559
4560
4561
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4554

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