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)


1877
1878
1879
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1877

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)


1847
1848
1849
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1847

def add_secret_version
  @add_secret_version
end

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

RPC-specific configuration for create_secret

Returns:

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


1842
1843
1844
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1842

def create_secret
  @create_secret
end

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

RPC-specific configuration for delete_secret

Returns:

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


1862
1863
1864
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1862

def delete_secret
  @delete_secret
end

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

RPC-specific configuration for destroy_secret_version

Returns:

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


1892
1893
1894
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1892

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)


1882
1883
1884
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1882

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)


1887
1888
1889
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1887

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)


1902
1903
1904
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1902

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_secret

Returns:

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


1852
1853
1854
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1852

def get_secret
  @get_secret
end

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

RPC-specific configuration for get_secret_version

Returns:

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


1872
1873
1874
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1872

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)


1867
1868
1869
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1867

def list_secret_versions
  @list_secret_versions
end

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

RPC-specific configuration for list_secrets

Returns:

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


1837
1838
1839
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1837

def list_secrets
  @list_secrets
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


1897
1898
1899
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1897

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)


1907
1908
1909
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1907

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update_secret

Returns:

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


1857
1858
1859
# File 'lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb', line 1857

def update_secret
  @update_secret
end