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)


2663
2664
2665
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2663

def create_backup
  @create_backup
end

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

RPC-specific configuration for create_backup_plan

Returns:

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


2638
2639
2640
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2638

def create_backup_plan
  @create_backup_plan
end

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

RPC-specific configuration for create_restore

Returns:

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


2723
2724
2725
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2723

def create_restore
  @create_restore
end

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

RPC-specific configuration for create_restore_plan

Returns:

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


2698
2699
2700
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2698

def create_restore_plan
  @create_restore_plan
end

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

RPC-specific configuration for delete_backup

Returns:

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


2683
2684
2685
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2683

def delete_backup
  @delete_backup
end

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

RPC-specific configuration for delete_backup_plan

Returns:

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


2658
2659
2660
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2658

def delete_backup_plan
  @delete_backup_plan
end

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

RPC-specific configuration for delete_restore

Returns:

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


2743
2744
2745
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2743

def delete_restore
  @delete_restore
end

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

RPC-specific configuration for delete_restore_plan

Returns:

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


2718
2719
2720
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2718

def delete_restore_plan
  @delete_restore_plan
end

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

RPC-specific configuration for get_backup

Returns:

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


2673
2674
2675
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2673

def get_backup
  @get_backup
end

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

RPC-specific configuration for get_backup_plan

Returns:

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


2648
2649
2650
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2648

def get_backup_plan
  @get_backup_plan
end

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

RPC-specific configuration for get_restore

Returns:

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


2733
2734
2735
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2733

def get_restore
  @get_restore
end

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

RPC-specific configuration for get_restore_plan

Returns:

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


2708
2709
2710
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2708

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)


2693
2694
2695
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2693

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)


2753
2754
2755
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2753

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)


2643
2644
2645
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2643

def list_backup_plans
  @list_backup_plans
end

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

RPC-specific configuration for list_backups

Returns:

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


2668
2669
2670
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2668

def list_backups
  @list_backups
end

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

RPC-specific configuration for list_restore_plans

Returns:

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


2703
2704
2705
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2703

def list_restore_plans
  @list_restore_plans
end

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

RPC-specific configuration for list_restores

Returns:

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


2728
2729
2730
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2728

def list_restores
  @list_restores
end

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

RPC-specific configuration for list_volume_backups

Returns:

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


2688
2689
2690
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2688

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)


2748
2749
2750
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2748

def list_volume_restores
  @list_volume_restores
end

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

RPC-specific configuration for update_backup

Returns:

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


2678
2679
2680
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2678

def update_backup
  @update_backup
end

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

RPC-specific configuration for update_backup_plan

Returns:

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


2653
2654
2655
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2653

def update_backup_plan
  @update_backup_plan
end

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

RPC-specific configuration for update_restore

Returns:

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


2738
2739
2740
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2738

def update_restore
  @update_restore
end

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

RPC-specific configuration for update_restore_plan

Returns:

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


2713
2714
2715
# File 'lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb', line 2713

def update_restore_plan
  @update_restore_plan
end