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)


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update_backup

Returns:

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


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

Returns:

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


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

Returns:

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


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

Returns:

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


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