Class: Google::Apis::CoordinateV1::CustomFields
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::CustomFields
- Defined in:
- generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb
Overview
Collection of custom fields.
Instance Attribute Summary collapse
-
#custom_field ⇒ Array<Google::Apis::CoordinateV1::CustomField>
Collection of custom fields.
-
#kind ⇒ String
Identifies this object as a collection of custom fields.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomFields
constructor
A new instance of CustomFields.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomFields
Returns a new instance of CustomFields.
153 154 155 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 153 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_field ⇒ Array<Google::Apis::CoordinateV1::CustomField>
Collection of custom fields.
Corresponds to the JSON property customField
146 147 148 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 146 def custom_field @custom_field end |
#kind ⇒ String
Identifies this object as a collection of custom fields.
Corresponds to the JSON property kind
151 152 153 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 151 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
158 159 160 161 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 158 def update!(**args) @custom_field = args[:custom_field] if args.key?(:custom_field) @kind = args[:kind] if args.key?(:kind) end |