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

Inherits:
Object
  • Object
show all
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

Overview

Shared request debug options for all cloudsearch RPC methods.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DebugOptions

Returns a new instance of DebugOptions.



7474
7475
7476
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7474

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

Instance Attribute Details

#enable_debuggingBoolean Also known as: enable_debugging?

If you are asked by Google to help with debugging, set this field. Otherwise, ignore this field. Corresponds to the JSON property enableDebugging

Returns:

  • (Boolean)


7471
7472
7473
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7471

def enable_debugging
  @enable_debugging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7479
7480
7481
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7479

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