Class: Google::Apis::JobsV2::CustomField

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v2/classes.rb,
generated/google/apis/jobs_v2/representations.rb,
generated/google/apis/jobs_v2/representations.rb

Overview

Resource that represents the custom data not captured by the standard fields.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomField

Returns a new instance of CustomField.



881
882
883
# File 'generated/google/apis/jobs_v2/classes.rb', line 881

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

Instance Attribute Details

#valuesArray<String>

Optional. The values of the custom data. Corresponds to the JSON property values

Returns:

  • (Array<String>)


879
880
881
# File 'generated/google/apis/jobs_v2/classes.rb', line 879

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



886
887
888
# File 'generated/google/apis/jobs_v2/classes.rb', line 886

def update!(**args)
  @values = args[:values] if args.key?(:values)
end