Method: Google::Cloud::Monitoring::V3::QueryService::Client#configure

Defined in:
lib/google/cloud/monitoring/v3/query_service/client.rb

#configure {|config| ... } ⇒ Client::Configuration

Configure the QueryService Client instance.

The configuration is set to the derived mode, meaning that values can be changed, but structural changes (adding new fields, etc.) are not allowed. Structural changes should be made on configure.

See Configuration for a description of the configuration fields.

Yields:

  • (config)

    Configure the Client client.

Yield Parameters:

Returns:

[View source]

88
89
90
91
# File 'lib/google/cloud/monitoring/v3/query_service/client.rb', line 88

def configure
  yield @config if block_given?
  @config
end