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.
3979 3980 3981 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3979 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
3913 3914 3915 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3913 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
3920 3921 3922 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3920 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
3925 3926 3927 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3925 def config @config end |
#data_type ⇒ String
The data type of the parameter.
Corresponds to the JSON property dataType
3930 3931 3932 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3930 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
3935 3936 3937 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3935 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
3941 3942 3943 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3941 def is_deprecated @is_deprecated end |
#is_output ⇒ Boolean Also known as: is_output?
Corresponds to the JSON property isOutput
3947 3948 3949 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3947 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
3953 3954 3955 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3953 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
3960 3961 3962 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3960 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
3965 3966 3967 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3965 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
3970 3971 3972 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3970 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
3977 3978 3979 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3977 def validation_rule @validation_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3984 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 |