Class: Google::Apis::CloudsearchV1::UpdateSchemaRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::UpdateSchemaRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#debug_options ⇒ Google::Apis::CloudsearchV1::DebugOptions
Shared request debug options for all cloudsearch RPC methods.
-
#schema ⇒ Google::Apis::CloudsearchV1::Schema
The schema definition for a data source.
-
#validate_only ⇒ Boolean
(also: #validate_only?)
If true, the schema will be checked for validity, but will not be registered with the data source, even if valid.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateSchemaRequest
constructor
A new instance of UpdateSchemaRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateSchemaRequest
Returns a new instance of UpdateSchemaRequest.
5431 5432 5433 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5431 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_options ⇒ Google::Apis::CloudsearchV1::DebugOptions
Shared request debug options for all cloudsearch RPC methods.
Corresponds to the JSON property debugOptions
5417 5418 5419 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5417 def @debug_options end |
#schema ⇒ Google::Apis::CloudsearchV1::Schema
The schema definition for a data source.
Corresponds to the JSON property schema
5422 5423 5424 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5422 def schema @schema end |
#validate_only ⇒ Boolean Also known as: validate_only?
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
5428 5429 5430 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5428 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5436 5437 5438 5439 5440 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5436 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 |