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

Constructor Details

#initialize(**args) ⇒ DebugOptions

Returns a new instance of DebugOptions.



523
524
525
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 523

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)


520
521
522
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 520

def enable_debugging
  @enable_debugging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



528
529
530
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 528

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