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)


1017
1018
1019
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1017

def delete_log
  @delete_log
end

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

RPC-specific configuration for list_log_entries

Returns:

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


1027
1028
1029
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1027

def list_log_entries
  @list_log_entries
end

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

RPC-specific configuration for list_logs

Returns:

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


1037
1038
1039
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1037

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)


1032
1033
1034
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1032

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)


1042
1043
1044
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1042

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)


1022
1023
1024
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1022

def write_log_entries
  @write_log_entries
end