Class: Google::Apis::JobsV2::CustomField
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::CustomField
- 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
-
#values ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomField
constructor
A new instance of CustomField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#values ⇒ Array<String>
Optional.
The values of the custom data.
Corresponds to the JSON property values
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 |