class Google::Cloud::Logging::V2::LoggingService::Client::Configuration::Rpcs

Configuration RPC class for the LoggingService API.

Includes fields providing the configuration for each RPC in this service. Each configuration object is of type `Gapic::Config::Method` and includes the following configuration fields:

*  `timeout` (*type:* `Numeric`) - The call timeout in seconds
*  `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
*  `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
   include the following keys:
    *  `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
    *  `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
    *  `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
    *  `:retry_codes` (*type:* `Array<String>`) - The error codes that should
       trigger a retry.

Attributes

delete_log[R]

RPC-specific configuration for `delete_log` @return [::Gapic::Config::Method]

list_log_entries[R]

RPC-specific configuration for `list_log_entries` @return [::Gapic::Config::Method]

list_logs[R]

RPC-specific configuration for `list_logs` @return [::Gapic::Config::Method]

list_monitored_resource_descriptors[R]

RPC-specific configuration for `list_monitored_resource_descriptors` @return [::Gapic::Config::Method]

tail_log_entries[R]

RPC-specific configuration for `tail_log_entries` @return [::Gapic::Config::Method]

write_log_entries[R]

RPC-specific configuration for `write_log_entries` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/logging/v2/logging_service/client.rb, line 884
def initialize parent_rpcs = nil
  delete_log_config = parent_rpcs.delete_log if parent_rpcs.respond_to? :delete_log
  @delete_log = ::Gapic::Config::Method.new delete_log_config
  write_log_entries_config = parent_rpcs.write_log_entries if parent_rpcs.respond_to? :write_log_entries
  @write_log_entries = ::Gapic::Config::Method.new write_log_entries_config
  list_log_entries_config = parent_rpcs.list_log_entries if parent_rpcs.respond_to? :list_log_entries
  @list_log_entries = ::Gapic::Config::Method.new list_log_entries_config
  list_monitored_resource_descriptors_config = parent_rpcs.list_monitored_resource_descriptors if parent_rpcs.respond_to? :list_monitored_resource_descriptors
  @list_monitored_resource_descriptors = ::Gapic::Config::Method.new list_monitored_resource_descriptors_config
  list_logs_config = parent_rpcs.list_logs if parent_rpcs.respond_to? :list_logs
  @list_logs = ::Gapic::Config::Method.new list_logs_config
  tail_log_entries_config = parent_rpcs.tail_log_entries if parent_rpcs.respond_to? :tail_log_entries
  @tail_log_entries = ::Gapic::Config::Method.new tail_log_entries_config

  yield self if block_given?
end