class Google::Cloud::Datastore::Admin::V1::DatastoreAdmin::Client::Configuration::Rpcs
Configuration
RPC class for the DatastoreAdmin
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_index[R]
RPC-specific configuration for `create_index` @return [::Gapic::Config::Method]
delete_index[R]
RPC-specific configuration for `delete_index` @return [::Gapic::Config::Method]
export_entities[R]
RPC-specific configuration for `export_entities` @return [::Gapic::Config::Method]
get_index[R]
RPC-specific configuration for `get_index` @return [::Gapic::Config::Method]
import_entities[R]
RPC-specific configuration for `import_entities` @return [::Gapic::Config::Method]
list_indexes[R]
RPC-specific configuration for `list_indexes` @return [::Gapic::Config::Method]
Public Class Methods
new(parent_rpcs = nil) { |self| ... }
click to toggle source
@private
# File lib/google/cloud/datastore/admin/v1/datastore_admin/client.rb, line 910 def initialize parent_rpcs = nil export_entities_config = parent_rpcs.export_entities if parent_rpcs.respond_to? :export_entities @export_entities = ::Gapic::Config::Method.new export_entities_config import_entities_config = parent_rpcs.import_entities if parent_rpcs.respond_to? :import_entities @import_entities = ::Gapic::Config::Method.new import_entities_config create_index_config = parent_rpcs.create_index if parent_rpcs.respond_to? :create_index @create_index = ::Gapic::Config::Method.new create_index_config delete_index_config = parent_rpcs.delete_index if parent_rpcs.respond_to? :delete_index @delete_index = ::Gapic::Config::Method.new delete_index_config get_index_config = parent_rpcs.get_index if parent_rpcs.respond_to? :get_index @get_index = ::Gapic::Config::Method.new get_index_config list_indexes_config = parent_rpcs.list_indexes if parent_rpcs.respond_to? :list_indexes @list_indexes = ::Gapic::Config::Method.new list_indexes_config yield self if block_given? end