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)


3576
3577
3578
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3576

def asymmetric_decrypt
  @asymmetric_decrypt
end

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

RPC-specific configuration for asymmetric_sign

Returns:

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


3571
3572
3573
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3571

def asymmetric_sign
  @asymmetric_sign
end

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

RPC-specific configuration for create_crypto_key

Returns:

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


3506
3507
3508
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3506

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)


3511
3512
3513
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3511

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)


3521
3522
3523
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3521

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)


3501
3502
3503
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3501

def create_key_ring
  @create_key_ring
end

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

RPC-specific configuration for decrypt

Returns:

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


3556
3557
3558
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3556

def decrypt
  @decrypt
end

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

RPC-specific configuration for destroy_crypto_key_version

Returns:

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


3541
3542
3543
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3541

def destroy_crypto_key_version
  @destroy_crypto_key_version
end

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

RPC-specific configuration for encrypt

Returns:

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


3551
3552
3553
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3551

def encrypt
  @encrypt
end

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

RPC-specific configuration for generate_random_bytes

Returns:

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


3591
3592
3593
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3591

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)


3481
3482
3483
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3481

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)


3486
3487
3488
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3486

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)


3496
3497
3498
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3496

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)


3476
3477
3478
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3476

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)


3491
3492
3493
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3491

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)


3516
3517
3518
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3516

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)


3466
3467
3468
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3466

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)


3461
3462
3463
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3461

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)


3471
3472
3473
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3471

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)


3456
3457
3458
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3456

def list_key_rings
  @list_key_rings
end

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

RPC-specific configuration for mac_sign

Returns:

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


3581
3582
3583
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3581

def mac_sign
  @mac_sign
end

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

RPC-specific configuration for mac_verify

Returns:

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


3586
3587
3588
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3586

def mac_verify
  @mac_verify
end

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

RPC-specific configuration for raw_decrypt

Returns:

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


3566
3567
3568
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3566

def raw_decrypt
  @raw_decrypt
end

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

RPC-specific configuration for raw_encrypt

Returns:

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


3561
3562
3563
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3561

def raw_encrypt
  @raw_encrypt
end

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

RPC-specific configuration for restore_crypto_key_version

Returns:

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


3546
3547
3548
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3546

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)


3526
3527
3528
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3526

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)


3536
3537
3538
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3536

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)


3531
3532
3533
# File 'lib/google/cloud/kms/v1/key_management_service/rest/client.rb', line 3531

def update_crypto_key_version
  @update_crypto_key_version
end