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)


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

def delete_log
  @delete_log
end

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

RPC-specific configuration for list_log_entries

Returns:

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


1049
1050
1051
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1049

def list_log_entries
  @list_log_entries
end

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

RPC-specific configuration for list_logs

Returns:

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


1059
1060
1061
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1059

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)


1054
1055
1056
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1054

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)


1064
1065
1066
# File 'lib/google/cloud/logging/v2/logging_service/client.rb', line 1064

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)


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

def write_log_entries
  @write_log_entries
end