class Google::Cloud::Metastore::V1beta::DataprocMetastore::Client::Configuration::Rpcs

Configuration RPC class for the DataprocMetastore 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.

Attributes

create_backup[R]

RPC-specific configuration for `create_backup` @return [::Gapic::Config::Method]

create_metadata_import[R]

RPC-specific configuration for `create_metadata_import` @return [::Gapic::Config::Method]

create_service[R]

RPC-specific configuration for `create_service` @return [::Gapic::Config::Method]

delete_backup[R]

RPC-specific configuration for `delete_backup` @return [::Gapic::Config::Method]

delete_service[R]

RPC-specific configuration for `delete_service` @return [::Gapic::Config::Method]

export_metadata[R]

RPC-specific configuration for `export_metadata` @return [::Gapic::Config::Method]

get_backup[R]

RPC-specific configuration for `get_backup` @return [::Gapic::Config::Method]

get_metadata_import[R]

RPC-specific configuration for `get_metadata_import` @return [::Gapic::Config::Method]

get_service[R]

RPC-specific configuration for `get_service` @return [::Gapic::Config::Method]

list_backups[R]

RPC-specific configuration for `list_backups` @return [::Gapic::Config::Method]

list_metadata_imports[R]

RPC-specific configuration for `list_metadata_imports` @return [::Gapic::Config::Method]

list_services[R]

RPC-specific configuration for `list_services` @return [::Gapic::Config::Method]

restore_service[R]

RPC-specific configuration for `restore_service` @return [::Gapic::Config::Method]

update_metadata_import[R]

RPC-specific configuration for `update_metadata_import` @return [::Gapic::Config::Method]

update_service[R]

RPC-specific configuration for `update_service` @return [::Gapic::Config::Method]

Public Class Methods

new(parent_rpcs = nil) { |self| ... } click to toggle source

@private

# File lib/google/cloud/metastore/v1beta/dataproc_metastore/client.rb, line 1724
def initialize parent_rpcs = nil
  list_services_config = parent_rpcs.list_services if parent_rpcs.respond_to? :list_services
  @list_services = ::Gapic::Config::Method.new list_services_config
  get_service_config = parent_rpcs.get_service if parent_rpcs.respond_to? :get_service
  @get_service = ::Gapic::Config::Method.new get_service_config
  create_service_config = parent_rpcs.create_service if parent_rpcs.respond_to? :create_service
  @create_service = ::Gapic::Config::Method.new create_service_config
  update_service_config = parent_rpcs.update_service if parent_rpcs.respond_to? :update_service
  @update_service = ::Gapic::Config::Method.new update_service_config
  delete_service_config = parent_rpcs.delete_service if parent_rpcs.respond_to? :delete_service
  @delete_service = ::Gapic::Config::Method.new delete_service_config
  list_metadata_imports_config = parent_rpcs.list_metadata_imports if parent_rpcs.respond_to? :list_metadata_imports
  @list_metadata_imports = ::Gapic::Config::Method.new list_metadata_imports_config
  get_metadata_import_config = parent_rpcs.get_metadata_import if parent_rpcs.respond_to? :get_metadata_import
  @get_metadata_import = ::Gapic::Config::Method.new get_metadata_import_config
  create_metadata_import_config = parent_rpcs.create_metadata_import if parent_rpcs.respond_to? :create_metadata_import
  @create_metadata_import = ::Gapic::Config::Method.new create_metadata_import_config
  update_metadata_import_config = parent_rpcs.update_metadata_import if parent_rpcs.respond_to? :update_metadata_import
  @update_metadata_import = ::Gapic::Config::Method.new update_metadata_import_config
  export_metadata_config = parent_rpcs.export_metadata if parent_rpcs.respond_to? :export_metadata
  @export_metadata = ::Gapic::Config::Method.new export_metadata_config
  restore_service_config = parent_rpcs.restore_service if parent_rpcs.respond_to? :restore_service
  @restore_service = ::Gapic::Config::Method.new restore_service_config
  list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups
  @list_backups = ::Gapic::Config::Method.new list_backups_config
  get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup
  @get_backup = ::Gapic::Config::Method.new get_backup_config
  create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup
  @create_backup = ::Gapic::Config::Method.new create_backup_config
  delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup
  @delete_backup = ::Gapic::Config::Method.new delete_backup_config

  yield self if block_given?
end