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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/logging/v2/logging_service/client.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#delete_log::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_log

Returns:

  • (::Gapic::Config::Method)


975
976
977
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 975

def delete_log
  @delete_log
end

#list_log_entries::Gapic::Config::Method (readonly)

RPC-specific configuration for list_log_entries

Returns:

  • (::Gapic::Config::Method)


985
986
987
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 985

def list_log_entries
  @list_log_entries
end

#list_logs::Gapic::Config::Method (readonly)

RPC-specific configuration for list_logs

Returns:

  • (::Gapic::Config::Method)


995
996
997
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 995

def list_logs
  @list_logs
end

#list_monitored_resource_descriptors::Gapic::Config::Method (readonly)

RPC-specific configuration for list_monitored_resource_descriptors

Returns:

  • (::Gapic::Config::Method)


990
991
992
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 990

def list_monitored_resource_descriptors
  @list_monitored_resource_descriptors
end

#tail_log_entries::Gapic::Config::Method (readonly)

RPC-specific configuration for tail_log_entries

Returns:

  • (::Gapic::Config::Method)


1000
1001
1002
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1000

def tail_log_entries
  @tail_log_entries
end

#write_log_entries::Gapic::Config::Method (readonly)

RPC-specific configuration for write_log_entries

Returns:

  • (::Gapic::Config::Method)


980
981
982
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 980

def write_log_entries
  @write_log_entries
end