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

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


1924
1925
1926
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1924

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)


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

def add_secret_version
  @add_secret_version
end

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

RPC-specific configuration for create_secret

Returns:

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


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

def create_secret
  @create_secret
end

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

RPC-specific configuration for delete_secret

Returns:

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


1909
1910
1911
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1909

def delete_secret
  @delete_secret
end

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

RPC-specific configuration for destroy_secret_version

Returns:

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


1939
1940
1941
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1939

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)


1929
1930
1931
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1929

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)


1934
1935
1936
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1934

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)


1949
1950
1951
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1949

def get_iam_policy
  @get_iam_policy
end

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

RPC-specific configuration for get_secret

Returns:

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


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

def get_secret
  @get_secret
end

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

RPC-specific configuration for get_secret_version

Returns:

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


1919
1920
1921
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1919

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)


1914
1915
1916
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1914

def list_secret_versions
  @list_secret_versions
end

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

RPC-specific configuration for list_secrets

Returns:

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


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

def list_secrets
  @list_secrets
end

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

RPC-specific configuration for set_iam_policy

Returns:

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


1944
1945
1946
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1944

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)


1954
1955
1956
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1954

def test_iam_permissions
  @test_iam_permissions
end

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

RPC-specific configuration for update_secret

Returns:

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


1904
1905
1906
# File 'lib/google/cloud/secret_manager/v1beta2/secret_manager_service/client.rb', line 1904

def update_secret
  @update_secret
end