Class: Google::Cloud::Kms::V1::KeyManagementService::Rest::Client::Configuration::Rpcs

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

Overview

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

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

RPC-specific configuration for asymmetric_decrypt

Returns:

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


2761
2762
2763
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2761

def asymmetric_decrypt
  @asymmetric_decrypt
end

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

RPC-specific configuration for asymmetric_sign

Returns:

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


2756
2757
2758
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2756

def asymmetric_sign
  @asymmetric_sign
end

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

RPC-specific configuration for create_crypto_key

Returns:

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


2701
2702
2703
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2701

def create_crypto_key
  @create_crypto_key
end

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

RPC-specific configuration for create_crypto_key_version

Returns:

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


2706
2707
2708
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2706

def create_crypto_key_version
  @create_crypto_key_version
end

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

RPC-specific configuration for create_import_job

Returns:

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


2716
2717
2718
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2716

def create_import_job
  @create_import_job
end

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

RPC-specific configuration for create_key_ring

Returns:

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


2696
2697
2698
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2696

def create_key_ring
  @create_key_ring
end

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

RPC-specific configuration for decrypt

Returns:

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


2751
2752
2753
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2751

def decrypt
  @decrypt
end

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

RPC-specific configuration for destroy_crypto_key_version

Returns:

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


2736
2737
2738
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2736

def destroy_crypto_key_version
  @destroy_crypto_key_version
end

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

RPC-specific configuration for encrypt

Returns:

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


2746
2747
2748
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2746

def encrypt
  @encrypt
end

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

RPC-specific configuration for generate_random_bytes

Returns:

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


2776
2777
2778
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2776

def generate_random_bytes
  @generate_random_bytes
end

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

RPC-specific configuration for get_crypto_key

Returns:

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


2676
2677
2678
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2676

def get_crypto_key
  @get_crypto_key
end

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

RPC-specific configuration for get_crypto_key_version

Returns:

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


2681
2682
2683
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2681

def get_crypto_key_version
  @get_crypto_key_version
end

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

RPC-specific configuration for get_import_job

Returns:

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


2691
2692
2693
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2691

def get_import_job
  @get_import_job
end

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

RPC-specific configuration for get_key_ring

Returns:

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


2671
2672
2673
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2671

def get_key_ring
  @get_key_ring
end

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

RPC-specific configuration for get_public_key

Returns:

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


2686
2687
2688
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2686

def get_public_key
  @get_public_key
end

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

RPC-specific configuration for import_crypto_key_version

Returns:

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


2711
2712
2713
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2711

def import_crypto_key_version
  @import_crypto_key_version
end

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

RPC-specific configuration for list_crypto_key_versions

Returns:

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


2661
2662
2663
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2661

def list_crypto_key_versions
  @list_crypto_key_versions
end

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

RPC-specific configuration for list_crypto_keys

Returns:

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


2656
2657
2658
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2656

def list_crypto_keys
  @list_crypto_keys
end

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

RPC-specific configuration for list_import_jobs

Returns:

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


2666
2667
2668
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2666

def list_import_jobs
  @list_import_jobs
end

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

RPC-specific configuration for list_key_rings

Returns:

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


2651
2652
2653
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2651

def list_key_rings
  @list_key_rings
end

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

RPC-specific configuration for mac_sign

Returns:

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


2766
2767
2768
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2766

def mac_sign
  @mac_sign
end

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

RPC-specific configuration for mac_verify

Returns:

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


2771
2772
2773
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2771

def mac_verify
  @mac_verify
end

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

RPC-specific configuration for restore_crypto_key_version

Returns:

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


2741
2742
2743
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2741

def restore_crypto_key_version
  @restore_crypto_key_version
end

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

RPC-specific configuration for update_crypto_key

Returns:

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


2721
2722
2723
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2721

def update_crypto_key
  @update_crypto_key
end

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

RPC-specific configuration for update_crypto_key_primary_version

Returns:

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


2731
2732
2733
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2731

def update_crypto_key_primary_version
  @update_crypto_key_primary_version
end

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

RPC-specific configuration for update_crypto_key_version

Returns:

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


2726
2727
2728
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 2726

def update_crypto_key_version
  @update_crypto_key_version
end