Class: Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

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

RPC-specific configuration for copy_backup

Returns:

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

3095
3096
3097
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3095

def copy_backup
  @copy_backup
end

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

RPC-specific configuration for create_backup

Returns:

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

3090
3091
3092
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3090

def create_backup
  @create_backup
end

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

RPC-specific configuration for create_backup_schedule

Returns:

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

3140
3141
3142
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3140

def create_backup_schedule
  @create_backup_schedule
end

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

RPC-specific configuration for create_database

Returns:

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

3045
3046
3047
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3045

def create_database
  @create_database
end

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

RPC-specific configuration for delete_backup

Returns:

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

3110
3111
3112
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3110

def delete_backup
  @delete_backup
end

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

RPC-specific configuration for delete_backup_schedule

Returns:

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

3155
3156
3157
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3155

def delete_backup_schedule
  @delete_backup_schedule
end

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

RPC-specific configuration for drop_database

Returns:

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

3065
3066
3067
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3065

def drop_database
  @drop_database
end

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

RPC-specific configuration for get_backup

Returns:

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

3100
3101
3102
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3100

def get_backup
  @get_backup
end

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

RPC-specific configuration for get_backup_schedule

Returns:

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

3145
3146
3147
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3145

def get_backup_schedule
  @get_backup_schedule
end

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

RPC-specific configuration for get_database

Returns:

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

3050
3051
3052
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3050

def get_database
  @get_database
end

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

RPC-specific configuration for get_database_ddl

Returns:

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

3070
3071
3072
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3070

def get_database_ddl
  @get_database_ddl
end

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

RPC-specific configuration for get_iam_policy

Returns:

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

3080
3081
3082
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3080

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for list_backup_operations

Returns:

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

3130
3131
3132
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3130

def list_backup_operations
  @list_backup_operations
end

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

RPC-specific configuration for list_backup_schedules

Returns:

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

3160
3161
3162
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3160

def list_backup_schedules
  @list_backup_schedules
end

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

RPC-specific configuration for list_backups

Returns:

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

3115
3116
3117
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3115

def list_backups
  @list_backups
end

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

RPC-specific configuration for list_database_operations

Returns:

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

3125
3126
3127
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3125

def list_database_operations
  @list_database_operations
end

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

RPC-specific configuration for list_database_roles

Returns:

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

3135
3136
3137
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3135

def list_database_roles
  @list_database_roles
end

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

RPC-specific configuration for list_databases

Returns:

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

3040
3041
3042
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3040

def list_databases
  @list_databases
end

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

RPC-specific configuration for restore_database

Returns:

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

3120
3121
3122
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3120

def restore_database
  @restore_database
end

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

RPC-specific configuration for set_iam_policy

Returns:

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

3075
3076
3077
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3075

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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

3085
3086
3087
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3085

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update_backup

Returns:

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

3105
3106
3107
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3105

def update_backup
  @update_backup
end

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

RPC-specific configuration for update_backup_schedule

Returns:

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

3150
3151
3152
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3150

def update_backup_schedule
  @update_backup_schedule
end

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

RPC-specific configuration for update_database

Returns:

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

3055
3056
3057
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3055

def update_database
  @update_database
end

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

RPC-specific configuration for update_database_ddl

Returns:

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

3060
3061
3062
# File 'lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb', line 3060

def update_database_ddl
  @update_database_ddl
end