Class: Google::Cloud::GkeBackup::V1::BackupForGKE::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb

Overview

Configuration RPC class for the BackupForGKE 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

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

RPC-specific configuration for create_backup

Returns:

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


2171
2172
2173
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2171

def create_backup
  @create_backup
end

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

RPC-specific configuration for create_backup_plan

Returns:

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


2146
2147
2148
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2146

def create_backup_plan
  @create_backup_plan
end

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

RPC-specific configuration for create_restore

Returns:

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


2231
2232
2233
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2231

def create_restore
  @create_restore
end

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

RPC-specific configuration for create_restore_plan

Returns:

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


2206
2207
2208
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2206

def create_restore_plan
  @create_restore_plan
end

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

RPC-specific configuration for delete_backup

Returns:

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


2191
2192
2193
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2191

def delete_backup
  @delete_backup
end

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

RPC-specific configuration for delete_backup_plan

Returns:

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


2166
2167
2168
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2166

def delete_backup_plan
  @delete_backup_plan
end

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

RPC-specific configuration for delete_restore

Returns:

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


2251
2252
2253
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2251

def delete_restore
  @delete_restore
end

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

RPC-specific configuration for delete_restore_plan

Returns:

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


2226
2227
2228
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2226

def delete_restore_plan
  @delete_restore_plan
end

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

RPC-specific configuration for get_backup

Returns:

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


2181
2182
2183
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2181

def get_backup
  @get_backup
end

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

RPC-specific configuration for get_backup_plan

Returns:

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


2156
2157
2158
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2156

def get_backup_plan
  @get_backup_plan
end

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

RPC-specific configuration for get_restore

Returns:

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


2241
2242
2243
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2241

def get_restore
  @get_restore
end

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

RPC-specific configuration for get_restore_plan

Returns:

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


2216
2217
2218
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2216

def get_restore_plan
  @get_restore_plan
end

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

RPC-specific configuration for get_volume_backup

Returns:

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


2201
2202
2203
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2201

def get_volume_backup
  @get_volume_backup
end

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

RPC-specific configuration for get_volume_restore

Returns:

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


2261
2262
2263
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2261

def get_volume_restore
  @get_volume_restore
end

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

RPC-specific configuration for list_backup_plans

Returns:

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


2151
2152
2153
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2151

def list_backup_plans
  @list_backup_plans
end

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

RPC-specific configuration for list_backups

Returns:

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


2176
2177
2178
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2176

def list_backups
  @list_backups
end

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

RPC-specific configuration for list_restore_plans

Returns:

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


2211
2212
2213
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2211

def list_restore_plans
  @list_restore_plans
end

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

RPC-specific configuration for list_restores

Returns:

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


2236
2237
2238
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2236

def list_restores
  @list_restores
end

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

RPC-specific configuration for list_volume_backups

Returns:

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


2196
2197
2198
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2196

def list_volume_backups
  @list_volume_backups
end

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

RPC-specific configuration for list_volume_restores

Returns:

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


2256
2257
2258
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2256

def list_volume_restores
  @list_volume_restores
end

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

RPC-specific configuration for update_backup

Returns:

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


2186
2187
2188
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2186

def update_backup
  @update_backup
end

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

RPC-specific configuration for update_backup_plan

Returns:

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


2161
2162
2163
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2161

def update_backup_plan
  @update_backup_plan
end

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

RPC-specific configuration for update_restore

Returns:

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


2246
2247
2248
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2246

def update_restore
  @update_restore
end

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

RPC-specific configuration for update_restore_plan

Returns:

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


2221
2222
2223
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2221

def update_restore_plan
  @update_restore_plan
end