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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/secret_manager/v1/secret_manager_service/rest/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 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)


1753
1754
1755
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1753

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)


1723
1724
1725
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1723

def add_secret_version
  @add_secret_version
end

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

RPC-specific configuration for create_secret

Returns:

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


1718
1719
1720
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1718

def create_secret
  @create_secret
end

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

RPC-specific configuration for delete_secret

Returns:

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


1738
1739
1740
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1738

def delete_secret
  @delete_secret
end

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

RPC-specific configuration for destroy_secret_version

Returns:

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


1768
1769
1770
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1768

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)


1758
1759
1760
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1758

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)


1763
1764
1765
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1763

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)


1778
1779
1780
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1778

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_secret

Returns:

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


1728
1729
1730
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1728

def get_secret
  @get_secret
end

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

RPC-specific configuration for get_secret_version

Returns:

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


1748
1749
1750
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1748

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)


1743
1744
1745
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1743

def list_secret_versions
  @list_secret_versions
end

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

RPC-specific configuration for list_secrets

Returns:

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


1713
1714
1715
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1713

def list_secrets
  @list_secrets
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


1773
1774
1775
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1773

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)


1783
1784
1785
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1783

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update_secret

Returns:

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


1733
1734
1735
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb', line 1733

def update_secret
  @update_secret
end