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.


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

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)

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

def enable_debugging
  @enable_debugging
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


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

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