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



909
910
911
# File 'generated/google/apis/jobs_v2/classes.rb', line 909

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>)


907
908
909
# File 'generated/google/apis/jobs_v2/classes.rb', line 907

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



914
915
916
# File 'generated/google/apis/jobs_v2/classes.rb', line 914

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