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)


4410
4411
4412
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4410

def asymmetric_decrypt
  @asymmetric_decrypt
end

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

RPC-specific configuration for asymmetric_sign

Returns:

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


4405
4406
4407
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4405

def asymmetric_sign
  @asymmetric_sign
end

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

RPC-specific configuration for create_crypto_key

Returns:

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


4330
4331
4332
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4330

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)


4335
4336
4337
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4335

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)


4355
4356
4357
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4355

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)


4325
4326
4327
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4325

def create_key_ring
  @create_key_ring
end

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

RPC-specific configuration for decapsulate

Returns:

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


4425
4426
4427
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4425

def decapsulate
  @decapsulate
end

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

RPC-specific configuration for decrypt

Returns:

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


4390
4391
4392
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4390

def decrypt
  @decrypt
end

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

RPC-specific configuration for delete_crypto_key

Returns:

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


4340
4341
4342
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4340

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)


4345
4346
4347
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4345

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)


4375
4376
4377
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4375

def destroy_crypto_key_version
  @destroy_crypto_key_version
end

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

RPC-specific configuration for encrypt

Returns:

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


4385
4386
4387
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4385

def encrypt
  @encrypt
end

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

RPC-specific configuration for generate_random_bytes

Returns:

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


4430
4431
4432
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4430

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)


4300
4301
4302
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4300

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)


4305
4306
4307
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4305

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)


4315
4316
4317
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4315

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)


4295
4296
4297
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4295

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)


4310
4311
4312
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4310

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)


4320
4321
4322
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4320

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)


4350
4351
4352
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4350

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)


4280
4281
4282
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4280

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)


4275
4276
4277
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4275

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)


4285
4286
4287
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4285

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)


4270
4271
4272
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4270

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)


4290
4291
4292
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4290

def list_retired_resources
  @list_retired_resources
end

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

RPC-specific configuration for mac_sign

Returns:

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


4415
4416
4417
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4415

def mac_sign
  @mac_sign
end

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

RPC-specific configuration for mac_verify

Returns:

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


4420
4421
4422
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4420

def mac_verify
  @mac_verify
end

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

RPC-specific configuration for raw_decrypt

Returns:

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


4400
4401
4402
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4400

def raw_decrypt
  @raw_decrypt
end

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

RPC-specific configuration for raw_encrypt

Returns:

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


4395
4396
4397
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4395

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)


4380
4381
4382
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4380

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)


4360
4361
4362
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4360

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)


4370
4371
4372
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4370

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)


4365
4366
4367
# File 'lib/google/cloud/kms/v1/key_management_service/client.rb', line 4365

def update_crypto_key_version
  @update_crypto_key_version
end