Class: Google::Cloud::Redis::V1beta1::CloudRedis::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/redis/v1beta1/cloud_redis/client.rb

Overview

Configuration RPC class for the CloudRedis 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

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

RPC-specific configuration for create_instance

Returns:

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


1265
1266
1267
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1265

def create_instance
  @create_instance
end

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

RPC-specific configuration for delete_instance

Returns:

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


1295
1296
1297
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1295

def delete_instance
  @delete_instance
end

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

RPC-specific configuration for export_instance

Returns:

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


1285
1286
1287
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1285

def export_instance
  @export_instance
end

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

RPC-specific configuration for failover_instance

Returns:

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


1290
1291
1292
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1290

def failover_instance
  @failover_instance
end

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

RPC-specific configuration for get_instance

Returns:

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


1260
1261
1262
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1260

def get_instance
  @get_instance
end

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

RPC-specific configuration for import_instance

Returns:

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


1280
1281
1282
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1280

def import_instance
  @import_instance
end

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

RPC-specific configuration for list_instances

Returns:

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


1255
1256
1257
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1255

def list_instances
  @list_instances
end

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

RPC-specific configuration for update_instance

Returns:

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


1270
1271
1272
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1270

def update_instance
  @update_instance
end

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

RPC-specific configuration for upgrade_instance

Returns:

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


1275
1276
1277
# File 'lib/google/cloud/redis/v1beta1/cloud_redis/client.rb', line 1275

def upgrade_instance
  @upgrade_instance
end