Class: Google::Cloud::SecretManager::V1::SecretManagerService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb

Overview

Configuration RPC class for the SecretManagerService 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.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

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

RPC-specific configuration for access_secret_version

Returns:

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


1451
1452
1453
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1451

def access_secret_version
  @access_secret_version
end

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

RPC-specific configuration for add_secret_version

Returns:

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


1421
1422
1423
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1421

def add_secret_version
  @add_secret_version
end

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

RPC-specific configuration for create_secret

Returns:

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


1416
1417
1418
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1416

def create_secret
  @create_secret
end

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

RPC-specific configuration for delete_secret

Returns:

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


1436
1437
1438
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1436

def delete_secret
  @delete_secret
end

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

RPC-specific configuration for destroy_secret_version

Returns:

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


1466
1467
1468
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1466

def destroy_secret_version
  @destroy_secret_version
end

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

RPC-specific configuration for disable_secret_version

Returns:

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


1456
1457
1458
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1456

def disable_secret_version
  @disable_secret_version
end

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

RPC-specific configuration for enable_secret_version

Returns:

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


1461
1462
1463
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1461

def enable_secret_version
  @enable_secret_version
end

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

RPC-specific configuration for get_iam_policy

Returns:

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


1476
1477
1478
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1476

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_secret

Returns:

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


1426
1427
1428
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1426

def get_secret
  @get_secret
end

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

RPC-specific configuration for get_secret_version

Returns:

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


1446
1447
1448
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1446

def get_secret_version
  @get_secret_version
end

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

RPC-specific configuration for list_secret_versions

Returns:

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


1441
1442
1443
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1441

def list_secret_versions
  @list_secret_versions
end

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

RPC-specific configuration for list_secrets

Returns:

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


1411
1412
1413
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1411

def list_secrets
  @list_secrets
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


1471
1472
1473
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1471

def set_iam_policy
  @set_iam_policy
end

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

RPC-specific configuration for test_iam_permissions

Returns:

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


1481
1482
1483
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1481

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update_secret

Returns:

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


1431
1432
1433
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1431

def update_secret
  @update_secret
end