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)


2132
2133
2134
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2132

def create_backup
  @create_backup
end

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

RPC-specific configuration for create_backup_plan

Returns:

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


2107
2108
2109
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2107

def create_backup_plan
  @create_backup_plan
end

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

RPC-specific configuration for create_restore

Returns:

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


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

def create_restore
  @create_restore
end

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

RPC-specific configuration for create_restore_plan

Returns:

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


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

def create_restore_plan
  @create_restore_plan
end

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

RPC-specific configuration for delete_backup

Returns:

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


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

def delete_backup
  @delete_backup
end

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

RPC-specific configuration for delete_backup_plan

Returns:

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


2127
2128
2129
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2127

def delete_backup_plan
  @delete_backup_plan
end

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

RPC-specific configuration for delete_restore

Returns:

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


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

def delete_restore
  @delete_restore
end

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

RPC-specific configuration for delete_restore_plan

Returns:

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


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

def delete_restore_plan
  @delete_restore_plan
end

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

RPC-specific configuration for get_backup

Returns:

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


2142
2143
2144
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2142

def get_backup
  @get_backup
end

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

RPC-specific configuration for get_backup_plan

Returns:

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


2117
2118
2119
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2117

def get_backup_plan
  @get_backup_plan
end

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

RPC-specific configuration for get_restore

Returns:

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


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

def get_restore
  @get_restore
end

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

RPC-specific configuration for get_restore_plan

Returns:

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


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

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)


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

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)


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

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)


2112
2113
2114
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2112

def list_backup_plans
  @list_backup_plans
end

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

RPC-specific configuration for list_backups

Returns:

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


2137
2138
2139
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2137

def list_backups
  @list_backups
end

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

RPC-specific configuration for list_restore_plans

Returns:

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


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

def list_restore_plans
  @list_restore_plans
end

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

RPC-specific configuration for list_restores

Returns:

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


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

def list_restores
  @list_restores
end

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

RPC-specific configuration for list_volume_backups

Returns:

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


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

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)


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

def list_volume_restores
  @list_volume_restores
end

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

RPC-specific configuration for update_backup

Returns:

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


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

def update_backup
  @update_backup
end

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

RPC-specific configuration for update_backup_plan

Returns:

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


2122
2123
2124
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2122

def update_backup_plan
  @update_backup_plan
end

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

RPC-specific configuration for update_restore

Returns:

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


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

def update_restore
  @update_restore
end

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

RPC-specific configuration for update_restore_plan

Returns:

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


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

def update_restore_plan
  @update_restore_plan
end