class Google::Apis::CloudsearchV1::UpdateSchemaRequest

Attributes

debug_options[RW]

Shared request debug options for all cloudsearch RPC methods. Corresponds to the JSON property `debugOptions` @return [Google::Apis::CloudsearchV1::DebugOptions]

schema[RW]

The schema definition for a data source. Corresponds to the JSON property `schema` @return [Google::Apis::CloudsearchV1::Schema]

validate_only[RW]

If true, the schema will be checked for validity, but will not be registered with the data source, even if valid. Corresponds to the JSON property `validateOnly` @return [Boolean]

validate_only?[RW]

If true, the schema will be checked for validity, but will not be registered with the data source, even if valid. Corresponds to the JSON property `validateOnly` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 5075
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 5080
def update!(**args)
  @debug_options = args[:debug_options] if args.key?(:debug_options)
  @schema = args[:schema] if args.key?(:schema)
  @validate_only = args[:validate_only] if args.key?(:validate_only)
end