Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry

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) ⇒ EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry.



4626
4627
4628
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4626

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

Instance Attribute Details

#attributesGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoAttributes

Attributes are additional options that can be associated with each event property. For more information, see go/integration-platform/event_bus/ attributes_registry.md. Next available: 8 Corresponds to the JSON property attributes



4556
4557
4558
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4556

def attributes
  @attributes
end

#childrenArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry>

Child parameters nested within this parameter. This field only applies to protobuf parameters Corresponds to the JSON property children



4562
4563
4564
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4562

def children
  @children
end

#data_typeString

The data type of the parameter. Corresponds to the JSON property dataType

Returns:

  • (String)


4567
4568
4569
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4567

def data_type
  @data_type
end

#default_valueGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParameterValueType

To support various types of parameter values. Next available id: 14 Corresponds to the JSON property defaultValue



4572
4573
4574
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4572

def default_value
  @default_value
end

#in_out_typeString

Specifies the input/output type for the parameter. Corresponds to the JSON property inOutType

Returns:

  • (String)


4577
4578
4579
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4577

def in_out_type
  @in_out_type
end

#is_transientBoolean Also known as: is_transient?

Whether this parameter is a transient parameter. go/ip-transient-parameters Corresponds to the JSON property isTransient

Returns:

  • (Boolean)


4582
4583
4584
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4582

def is_transient
  @is_transient
end

#json_schemaString

This schema will be used to validate runtime JSON-typed values of this parameter. Corresponds to the JSON property jsonSchema

Returns:

  • (String)


4589
4590
4591
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4589

def json_schema
  @json_schema
end

#keyString

Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition. Corresponds to the JSON property key

Returns:

  • (String)


4596
4597
4598
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4596

def key
  @key
end

#nameString

The name (without prefix) to be displayed in the UI for this parameter. E.g. if the key is "foo.bar.myName", then the name would be "myName". Corresponds to the JSON property name

Returns:

  • (String)


4602
4603
4604
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4602

def name
  @name
end

#produced_byGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoNodeIdentifier

Represents a node identifier (type + id). Next highest id: 3 Corresponds to the JSON property producedBy



4607
4608
4609
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4607

def produced_by
  @produced_by
end

#producerString

Corresponds to the JSON property producer

Returns:

  • (String)


4612
4613
4614
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4612

def producer
  @producer
end

#proto_def_nameString

The name of the protobuf type if the parameter has a protobuf data type. Corresponds to the JSON property protoDefName

Returns:

  • (String)


4617
4618
4619
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4617

def proto_def_name
  @proto_def_name
end

#proto_def_pathString

If the data type is of type proto or proto array, this field needs to be populated with the fully qualified proto name. This message, for example, would be "enterprise.crm.frontends.eventbus.proto.WorkflowParameterEntry". Corresponds to the JSON property protoDefPath

Returns:

  • (String)


4624
4625
4626
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4624

def proto_def_path
  @proto_def_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4631

def update!(**args)
  @attributes = args[:attributes] if args.key?(:attributes)
  @children = args[:children] if args.key?(:children)
  @data_type = args[:data_type] if args.key?(:data_type)
  @default_value = args[:default_value] if args.key?(:default_value)
  @in_out_type = args[:in_out_type] if args.key?(:in_out_type)
  @is_transient = args[:is_transient] if args.key?(:is_transient)
  @json_schema = args[:json_schema] if args.key?(:json_schema)
  @key = args[:key] if args.key?(:key)
  @name = args[:name] if args.key?(:name)
  @produced_by = args[:produced_by] if args.key?(:produced_by)
  @producer = args[:producer] if args.key?(:producer)
  @proto_def_name = args[:proto_def_name] if args.key?(:proto_def_name)
  @proto_def_path = args[:proto_def_path] if args.key?(:proto_def_path)
end