Class: Google::Cloud::Talent::V4::CustomAttribute

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/talent/v4/common.rb

Overview

Custom attribute values that are either filterable or non-filterable.

Instance Attribute Summary collapse

Instance Attribute Details

#filterable::Boolean

Returns If the filterable flag is true, the custom field values may be used for custom attribute filters JobQuery.custom_attribute_filter. If false, these values may not be used for custom attribute filters.

Default is false.

Returns:

  • (::Boolean)

    If the filterable flag is true, the custom field values may be used for custom attribute filters JobQuery.custom_attribute_filter. If false, these values may not be used for custom attribute filters.

    Default is false.



276
277
278
279
# File 'proto_docs/google/cloud/talent/v4/common.rb', line 276

class CustomAttribute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#keyword_searchable::Boolean

Returns If the keyword_searchable flag is true, the keywords in custom fields are searchable by keyword match. If false, the values are not searchable by keyword match.

Default is false.

Returns:

  • (::Boolean)

    If the keyword_searchable flag is true, the keywords in custom fields are searchable by keyword match. If false, the values are not searchable by keyword match.

    Default is false.



276
277
278
279
# File 'proto_docs/google/cloud/talent/v4/common.rb', line 276

class CustomAttribute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#long_values::Array<::Integer>

Returns Exactly one of string_values or long_values must be specified.

This field is used to perform number range search. (EQ, GT, GE, LE, LT) over filterable long_value.

Currently at most 1 long_values is supported.

Returns:

  • (::Array<::Integer>)

    Exactly one of string_values or long_values must be specified.

    This field is used to perform number range search. (EQ, GT, GE, LE, LT) over filterable long_value.

    Currently at most 1 long_values is supported.



276
277
278
279
# File 'proto_docs/google/cloud/talent/v4/common.rb', line 276

class CustomAttribute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#string_values::Array<::String>

Returns Exactly one of string_values or long_values must be specified.

This field is used to perform a string match (CASE_SENSITIVE_MATCH or CASE_INSENSITIVE_MATCH) search. For filterable string_values, a maximum total number of 200 values is allowed, with each string_value has a byte size of no more than 500B. For unfilterable string_values, the maximum total byte size of unfilterable string_values is 50KB.

Empty string isn't allowed.

Returns:

  • (::Array<::String>)

    Exactly one of string_values or long_values must be specified.

    This field is used to perform a string match (CASE_SENSITIVE_MATCH or CASE_INSENSITIVE_MATCH) search. For filterable string_values, a maximum total number of 200 values is allowed, with each string_value has a byte size of no more than 500B. For unfilterable string_values, the maximum total byte size of unfilterable string_values is 50KB.

    Empty string isn't allowed.



276
277
278
279
# File 'proto_docs/google/cloud/talent/v4/common.rb', line 276

class CustomAttribute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end