Class: Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/spanner/admin/database/v1/database_admin/rest/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 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
3082 3083 3084 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3082 def copy_backup @copy_backup end |
#create_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_backup
3077 3078 3079 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3077 def create_backup @create_backup end |
#create_backup_schedule ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_backup_schedule
3127 3128 3129 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3127 def create_backup_schedule @create_backup_schedule end |
#create_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_database
3032 3033 3034 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3032 def create_database @create_database end |
#delete_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_backup
3097 3098 3099 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3097 def delete_backup @delete_backup end |
#delete_backup_schedule ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_backup_schedule
3142 3143 3144 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3142 def delete_backup_schedule @delete_backup_schedule end |
#drop_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for drop_database
3052 3053 3054 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3052 def drop_database @drop_database end |
#get_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_backup
3087 3088 3089 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3087 def get_backup @get_backup end |
#get_backup_schedule ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_backup_schedule
3132 3133 3134 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3132 def get_backup_schedule @get_backup_schedule end |
#get_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_database
3037 3038 3039 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3037 def get_database @get_database end |
#get_database_ddl ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_database_ddl
3057 3058 3059 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3057 def get_database_ddl @get_database_ddl end |
#get_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_iam_policy
3067 3068 3069 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3067 def get_iam_policy @get_iam_policy end |
#list_backup_operations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_backup_operations
3117 3118 3119 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3117 def list_backup_operations @list_backup_operations end |
#list_backup_schedules ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_backup_schedules
3147 3148 3149 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3147 def list_backup_schedules @list_backup_schedules end |
#list_backups ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_backups
3102 3103 3104 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3102 def list_backups @list_backups end |
#list_database_operations ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_database_operations
3112 3113 3114 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3112 def list_database_operations @list_database_operations end |
#list_database_roles ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_database_roles
3122 3123 3124 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3122 def list_database_roles @list_database_roles end |
#list_databases ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_databases
3027 3028 3029 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3027 def list_databases @list_databases end |
#restore_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for restore_database
3107 3108 3109 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3107 def restore_database @restore_database end |
#set_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_iam_policy
3062 3063 3064 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3062 def set_iam_policy @set_iam_policy end |
#test_iam_permissions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for test_iam_permissions
3072 3073 3074 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3072 def @test_iam_permissions end |
#update_backup ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_backup
3092 3093 3094 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3092 def update_backup @update_backup end |
#update_backup_schedule ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_backup_schedule
3137 3138 3139 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3137 def update_backup_schedule @update_backup_schedule end |
#update_database ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_database
3042 3043 3044 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3042 def update_database @update_database end |
#update_database_ddl ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_database_ddl
3047 3048 3049 |
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3047 def update_database_ddl @update_database_ddl end |