class Google::Apis::CloudsearchV1::FieldViolation

Attributes

description[RW]

Description of the error. Corresponds to the JSON property `description` @return [String]

field[RW]

Path of field with violation. Corresponds to the JSON property `field` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 1176
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 1181
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @field = args[:field] if args.key?(:field)
end