Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParamSpecEntry

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

Key-value pair of EventBus task parameters. Next id: 13

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoParamSpecEntry

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoParamSpecEntry.



4024
4025
4026
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4024

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

Instance Attribute Details

#class_nameString

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

Returns:

  • (String)


3958
3959
3960
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3958

def class_name
  @class_name
end

#collection_element_class_nameString

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

Returns:

  • (String)


3965
3966
3967
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3965

def collection_element_class_name
  @collection_element_class_name
end

#configGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryConfig

Optional fields, such as help text and other useful info. Corresponds to the JSON property config



3970
3971
3972
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3970

def config
  @config
end

#data_typeString

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

Returns:

  • (String)


3975
3976
3977
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3975

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



3980
3981
3982
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3980

def default_value
  @default_value
end

#is_deprecatedBoolean 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

Returns:

  • (Boolean)


3986
3987
3988
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3986

def is_deprecated
  @is_deprecated
end

#is_outputBoolean Also known as: is_output?

Corresponds to the JSON property isOutput

Returns:

  • (Boolean)


3992
3993
3994
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3992

def is_output
  @is_output
end

#json_schemaString

If the data_type is JSON_VALUE, then this will define its schema. Corresponds to the JSON property jsonSchema

Returns:

  • (String)


3998
3999
4000
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3998

def json_schema
  @json_schema
end

#keyString

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

Returns:

  • (String)


4005
4006
4007
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4005

def key
  @key
end

#proto_defGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryProtoDefinition

Populated if this represents a proto or proto array. Corresponds to the JSON property protoDef



4010
4011
4012
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4010

def proto_def
  @proto_def
end

#requiredBoolean Also known as: required?

If set, the user must provide an input value for this parameter. Corresponds to the JSON property required

Returns:

  • (Boolean)


4015
4016
4017
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4015

def required
  @required
end

#validation_ruleGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRule

Rule used to validate inputs (individual values and collection elements) for this parameter. Corresponds to the JSON property validationRule



4022
4023
4024
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4022

def validation_rule
  @validation_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4029

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