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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/kms/v1/key_management_service/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 gRPC 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.
    • :jitter (type: Numeric) - The jitter in seconds. Default: 1.0.
    • :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)


4674
4675
4676
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4674

def asymmetric_decrypt
  @asymmetric_decrypt
end

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

RPC-specific configuration for asymmetric_sign

Returns:

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


4669
4670
4671
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4669

def asymmetric_sign
  @asymmetric_sign
end

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

RPC-specific configuration for create_crypto_key

Returns:

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


4584
4585
4586
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4584

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)


4589
4590
4591
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4589

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)


4619
4620
4621
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4619

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)


4579
4580
4581
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4579

def create_key_ring
  @create_key_ring
end

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

RPC-specific configuration for decapsulate

Returns:

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


4689
4690
4691
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4689

def decapsulate
  @decapsulate
end

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

RPC-specific configuration for decrypt

Returns:

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


4654
4655
4656
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4654

def decrypt
  @decrypt
end

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

RPC-specific configuration for delete_crypto_key

Returns:

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


4594
4595
4596
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4594

def delete_crypto_key
  @delete_crypto_key
end

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

RPC-specific configuration for delete_crypto_key_version

Returns:

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


4599
4600
4601
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4599

def delete_crypto_key_version
  @delete_crypto_key_version
end

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

RPC-specific configuration for destroy_crypto_key_version

Returns:

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


4639
4640
4641
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4639

def destroy_crypto_key_version
  @destroy_crypto_key_version
end

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

RPC-specific configuration for encrypt

Returns:

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


4649
4650
4651
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4649

def encrypt
  @encrypt
end

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

RPC-specific configuration for export_trusted_key_wrapped_crypto_key_version

Returns:

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


4614
4615
4616
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4614

def export_trusted_key_wrapped_crypto_key_version
  @export_trusted_key_wrapped_crypto_key_version
end

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

RPC-specific configuration for generate_random_bytes

Returns:

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


4694
4695
4696
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4694

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)


4554
4555
4556
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4554

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)


4559
4560
4561
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4559

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)


4569
4570
4571
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4569

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)


4549
4550
4551
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4549

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)


4564
4565
4566
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4564

def get_public_key
  @get_public_key
end

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

RPC-specific configuration for get_retired_resource

Returns:

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


4574
4575
4576
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4574

def get_retired_resource
  @get_retired_resource
end

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

RPC-specific configuration for import_crypto_key_version

Returns:

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


4604
4605
4606
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4604

def import_crypto_key_version
  @import_crypto_key_version
end

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

RPC-specific configuration for import_trusted_key_wrapped_crypto_key_version

Returns:

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


4609
4610
4611
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4609

def import_trusted_key_wrapped_crypto_key_version
  @import_trusted_key_wrapped_crypto_key_version
end

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

RPC-specific configuration for list_crypto_key_versions

Returns:

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


4534
4535
4536
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4534

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)


4529
4530
4531
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4529

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)


4539
4540
4541
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4539

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)


4524
4525
4526
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4524

def list_key_rings
  @list_key_rings
end

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

RPC-specific configuration for list_retired_resources

Returns:

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


4544
4545
4546
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4544

def list_retired_resources
  @list_retired_resources
end

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

RPC-specific configuration for mac_sign

Returns:

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


4679
4680
4681
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4679

def mac_sign
  @mac_sign
end

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

RPC-specific configuration for mac_verify

Returns:

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


4684
4685
4686
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4684

def mac_verify
  @mac_verify
end

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

RPC-specific configuration for raw_decrypt

Returns:

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


4664
4665
4666
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4664

def raw_decrypt
  @raw_decrypt
end

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

RPC-specific configuration for raw_encrypt

Returns:

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


4659
4660
4661
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4659

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)


4644
4645
4646
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4644

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)


4624
4625
4626
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4624

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)


4634
4635
4636
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4634

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)


4629
4630
4631
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4629

def update_crypto_key_version
  @update_crypto_key_version
end