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.



7538
7539
7540
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7538

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)


7535
7536
7537
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7535

def enable_debugging
  @enable_debugging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7543
7544
7545
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7543

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