Class: Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb
Overview
Configuration RPC class for the DatabaseAdmin 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
-
#copy_backup ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
copy_backup
. -
#create_backup ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_backup
. -
#create_backup_schedule ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_backup_schedule
. -
#create_database ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_database
. -
#delete_backup ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_backup
. -
#delete_backup_schedule ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_backup_schedule
. -
#drop_database ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
drop_database
. -
#get_backup ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_backup
. -
#get_backup_schedule ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_backup_schedule
. -
#get_database ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_database
. -
#get_database_ddl ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_database_ddl
. -
#get_iam_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_iam_policy
. -
#list_backup_operations ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_backup_operations
. -
#list_backup_schedules ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_backup_schedules
. -
#list_backups ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_backups
. -
#list_database_operations ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_database_operations
. -
#list_database_roles ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_database_roles
. -
#list_databases ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_databases
. -
#restore_database ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
restore_database
. -
#set_iam_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_iam_policy
. -
#test_iam_permissions ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
test_iam_permissions
. -
#update_backup ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_backup
. -
#update_backup_schedule ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_backup_schedule
. -
#update_database ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_database
. -
#update_database_ddl ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_database_ddl
.
Instance Attribute Details
#copy_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for copy_backup
3286 3287 3288 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3286 def copy_backup @copy_backup end |
#create_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_backup
3281 3282 3283 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3281 def create_backup @create_backup end |
#create_backup_schedule ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_backup_schedule
3331 3332 3333 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3331 def create_backup_schedule @create_backup_schedule end |
#create_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_database
3236 3237 3238 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3236 def create_database @create_database end |
#delete_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_backup
3301 3302 3303 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3301 def delete_backup @delete_backup end |
#delete_backup_schedule ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_backup_schedule
3346 3347 3348 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3346 def delete_backup_schedule @delete_backup_schedule end |
#drop_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for drop_database
3256 3257 3258 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3256 def drop_database @drop_database end |
#get_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_backup
3291 3292 3293 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3291 def get_backup @get_backup end |
#get_backup_schedule ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_backup_schedule
3336 3337 3338 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3336 def get_backup_schedule @get_backup_schedule end |
#get_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_database
3241 3242 3243 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3241 def get_database @get_database end |
#get_database_ddl ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_database_ddl
3261 3262 3263 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3261 def get_database_ddl @get_database_ddl end |
#get_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_iam_policy
3271 3272 3273 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3271 def get_iam_policy @get_iam_policy end |
#list_backup_operations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_backup_operations
3321 3322 3323 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3321 def list_backup_operations @list_backup_operations end |
#list_backup_schedules ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_backup_schedules
3351 3352 3353 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3351 def list_backup_schedules @list_backup_schedules end |
#list_backups ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_backups
3306 3307 3308 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3306 def list_backups @list_backups end |
#list_database_operations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_database_operations
3316 3317 3318 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3316 def list_database_operations @list_database_operations end |
#list_database_roles ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_database_roles
3326 3327 3328 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3326 def list_database_roles @list_database_roles end |
#list_databases ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_databases
3231 3232 3233 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3231 def list_databases @list_databases end |
#restore_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for restore_database
3311 3312 3313 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3311 def restore_database @restore_database end |
#set_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_iam_policy
3266 3267 3268 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3266 def set_iam_policy @set_iam_policy end |
#test_iam_permissions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for test_iam_permissions
3276 3277 3278 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3276 def @test_iam_permissions end |
#update_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_backup
3296 3297 3298 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3296 def update_backup @update_backup end |
#update_backup_schedule ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_backup_schedule
3341 3342 3343 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3341 def update_backup_schedule @update_backup_schedule end |
#update_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_database
3246 3247 3248 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3246 def update_database @update_database end |
#update_database_ddl ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_database_ddl
3251 3252 3253 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb', line 3251 def update_database_ddl @update_database_ddl end |