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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/secret_manager/v1beta1/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.
    • :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

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

RPC-specific configuration for access_secret_version

Returns:

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


1870
1871
1872
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1870

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)


1840
1841
1842
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1840

def add_secret_version
  @add_secret_version
end

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

RPC-specific configuration for create_secret

Returns:

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


1835
1836
1837
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1835

def create_secret
  @create_secret
end

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

RPC-specific configuration for delete_secret

Returns:

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


1855
1856
1857
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1855

def delete_secret
  @delete_secret
end

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

RPC-specific configuration for destroy_secret_version

Returns:

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


1885
1886
1887
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1885

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)


1875
1876
1877
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1875

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)


1880
1881
1882
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1880

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)


1895
1896
1897
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1895

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_secret

Returns:

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


1845
1846
1847
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1845

def get_secret
  @get_secret
end

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

RPC-specific configuration for get_secret_version

Returns:

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


1865
1866
1867
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1865

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)


1860
1861
1862
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1860

def list_secret_versions
  @list_secret_versions
end

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

RPC-specific configuration for list_secrets

Returns:

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


1830
1831
1832
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1830

def list_secrets
  @list_secrets
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


1890
1891
1892
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1890

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)


1900
1901
1902
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1900

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update_secret

Returns:

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


1850
1851
1852
# File 'lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb', line 1850

def update_secret
  @update_secret
end