Class: Google::Apis::CloudsearchV1::DebugOptions

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb

Overview

Shared request debug options for all cloudsearch RPC methods.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DebugOptions

Returns a new instance of DebugOptions



434
435
436
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 434

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enable_debuggingBoolean Also known as: enable_debugging?

If set, the request will enable debugging features of Cloud Search. Only turn on this field, if asked by Google to help with debugging. Corresponds to the JSON property enableDebugging

Returns:

  • (Boolean)


431
432
433
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 431

def enable_debugging
  @enable_debugging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



439
440
441
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 439

def update!(**args)
  @enable_debugging = args[:enable_debugging] if args.key?(:enable_debugging)
end