Class: Google::Cloud::Redis::V1::CloudRedis::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Redis::V1::CloudRedis::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/redis/v1/cloud_redis/rest/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 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
-
#create_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_instance
. -
#delete_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_instance
. -
#export_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
export_instance
. -
#failover_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
failover_instance
. -
#get_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_instance
. -
#get_instance_auth_string ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_instance_auth_string
. -
#import_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
import_instance
. -
#list_instances ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_instances
. -
#reschedule_maintenance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
reschedule_maintenance
. -
#update_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_instance
. -
#upgrade_instance ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
upgrade_instance
.
Instance Attribute Details
#create_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_instance
1432 1433 1434 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1432 def create_instance @create_instance end |
#delete_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_instance
1462 1463 1464 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1462 def delete_instance @delete_instance end |
#export_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for export_instance
1452 1453 1454 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1452 def export_instance @export_instance end |
#failover_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for failover_instance
1457 1458 1459 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1457 def failover_instance @failover_instance end |
#get_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_instance
1422 1423 1424 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1422 def get_instance @get_instance end |
#get_instance_auth_string ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_instance_auth_string
1427 1428 1429 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1427 def get_instance_auth_string @get_instance_auth_string end |
#import_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for import_instance
1447 1448 1449 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1447 def import_instance @import_instance end |
#list_instances ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_instances
1417 1418 1419 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1417 def list_instances @list_instances end |
#reschedule_maintenance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for reschedule_maintenance
1467 1468 1469 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1467 def reschedule_maintenance @reschedule_maintenance end |
#update_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_instance
1437 1438 1439 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1437 def update_instance @update_instance end |
#upgrade_instance ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for upgrade_instance
1442 1443 1444 |
# File 'lib/google/cloud/redis/v1/cloud_redis/rest/client.rb', line 1442 def upgrade_instance @upgrade_instance end |