Class: Google::Apis::CloudsearchV1::UpdateSchemaRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::UpdateSchemaRequest
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/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 request will be validated without side effects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateSchemaRequest
constructor
A new instance of UpdateSchemaRequest.
-
#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) ⇒ UpdateSchemaRequest
Returns a new instance of UpdateSchemaRequest
4778 4779 4780 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4778 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
4765 4766 4767 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4765 def @debug_options end |
#schema ⇒ Google::Apis::CloudsearchV1::Schema
The schema definition for a data source.
Corresponds to the JSON property schema
4770 4771 4772 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4770 def schema @schema end |
#validate_only ⇒ Boolean Also known as: validate_only?
If true, the request will be validated without side effects.
Corresponds to the JSON property validateOnly
4775 4776 4777 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4775 def validate_only @validate_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4783 4784 4785 4786 4787 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4783 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 |