Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParamSpecEntry
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParamSpecEntry
- 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
Key-value pair of EventBus task parameters. Next id: 13
Instance Attribute Summary collapse
-
#class_name ⇒ String
The FQCN of the Java object this represents.
-
#collection_element_class_name ⇒ String
If it is a collection of objects, this would be the FCQN of every individual element in the collection.
-
#config ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryConfig
Optional fields, such as help text and other useful info.
-
#data_type ⇒ String
The data type of the parameter.
-
#default_value ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParameterValueType
To support various types of parameter values.
-
#is_deprecated ⇒ Boolean
(also: #is_deprecated?)
If set, this entry is deprecated, so further use of this parameter should be prohibited.
-
#is_output ⇒ Boolean
(also: #is_output?)
Corresponds to the JSON property
isOutput. -
#json_schema ⇒ String
If the data_type is JSON_VALUE, then this will define its schema.
-
#key ⇒ String
Key is used to retrieve the corresponding parameter value.
-
#proto_def ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition
Populated if this represents a proto or proto array.
-
#required ⇒ Boolean
(also: #required?)
If set, the user must provide an input value for this parameter.
-
#validation_rule ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRule
Rule used to validate inputs (individual values and collection elements) for this parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoParamSpecEntry
constructor
A new instance of EnterpriseCrmFrontendsEventbusProtoParamSpecEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoParamSpecEntry
Returns a new instance of EnterpriseCrmFrontendsEventbusProtoParamSpecEntry.
3845 3846 3847 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3845 def initialize(**args) update!(**args) end |
Instance Attribute Details
#class_name ⇒ String
The FQCN of the Java object this represents. A string, for example, would be "
java.lang.String". If this is "java.lang.Object", the parameter can be of any
type.
Corresponds to the JSON property className
3779 3780 3781 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3779 def class_name @class_name end |
#collection_element_class_name ⇒ String
If it is a collection of objects, this would be the FCQN of every individual
element in the collection. If this is "java.lang.Object", the parameter is a
collection of any type.
Corresponds to the JSON property collectionElementClassName
3786 3787 3788 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3786 def collection_element_class_name @collection_element_class_name end |
#config ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryConfig
Optional fields, such as help text and other useful info.
Corresponds to the JSON property config
3791 3792 3793 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3791 def config @config end |
#data_type ⇒ String
The data type of the parameter.
Corresponds to the JSON property dataType
3796 3797 3798 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3796 def data_type @data_type end |
#default_value ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParameterValueType
To support various types of parameter values. Next available id: 14
Corresponds to the JSON property defaultValue
3801 3802 3803 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3801 def default_value @default_value end |
#is_deprecated ⇒ Boolean Also known as: is_deprecated?
If set, this entry is deprecated, so further use of this parameter should be
prohibited.
Corresponds to the JSON property isDeprecated
3807 3808 3809 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3807 def is_deprecated @is_deprecated end |
#is_output ⇒ Boolean Also known as: is_output?
Corresponds to the JSON property isOutput
3813 3814 3815 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3813 def is_output @is_output end |
#json_schema ⇒ String
If the data_type is JSON_VALUE, then this will define its schema.
Corresponds to the JSON property jsonSchema
3819 3820 3821 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3819 def json_schema @json_schema end |
#key ⇒ String
Key is used to retrieve the corresponding parameter value. This should be
unique for a given task. These parameters must be predefined in the workflow
definition.
Corresponds to the JSON property key
3826 3827 3828 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3826 def key @key end |
#proto_def ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition
Populated if this represents a proto or proto array.
Corresponds to the JSON property protoDef
3831 3832 3833 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3831 def proto_def @proto_def end |
#required ⇒ Boolean Also known as: required?
If set, the user must provide an input value for this parameter.
Corresponds to the JSON property required
3836 3837 3838 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3836 def required @required end |
#validation_rule ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRule
Rule used to validate inputs (individual values and collection elements) for
this parameter.
Corresponds to the JSON property validationRule
3843 3844 3845 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3843 def validation_rule @validation_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3850 def update!(**args) @class_name = args[:class_name] if args.key?(:class_name) @collection_element_class_name = args[:collection_element_class_name] if args.key?(:collection_element_class_name) @config = args[:config] if args.key?(:config) @data_type = args[:data_type] if args.key?(:data_type) @default_value = args[:default_value] if args.key?(:default_value) @is_deprecated = args[:is_deprecated] if args.key?(:is_deprecated) @is_output = args[:is_output] if args.key?(:is_output) @json_schema = args[:json_schema] if args.key?(:json_schema) @key = args[:key] if args.key?(:key) @proto_def = args[:proto_def] if args.key?(:proto_def) @required = args[:required] if args.key?(:required) @validation_rule = args[:validation_rule] if args.key?(:validation_rule) end |