class Google::Cloud::PubSub::V1::SchemaService::Client::Configuration::Rpcs
Configuration
RPC class for the SchemaService
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_schema[R]
RPC-specific configuration for `create_schema` @return [::Gapic::Config::Method]
delete_schema[R]
RPC-specific configuration for `delete_schema` @return [::Gapic::Config::Method]
get_schema[R]
RPC-specific configuration for `get_schema` @return [::Gapic::Config::Method]
list_schemas[R]
RPC-specific configuration for `list_schemas` @return [::Gapic::Config::Method]
validate_message[R]
RPC-specific configuration for `validate_message` @return [::Gapic::Config::Method]
validate_schema[R]
RPC-specific configuration for `validate_schema` @return [::Gapic::Config::Method]
Public Class Methods
new(parent_rpcs = nil) { |self| ... }
click to toggle source
@private
# File lib/google/cloud/pubsub/v1/schema_service/client.rb, line 767 def initialize parent_rpcs = nil create_schema_config = parent_rpcs.create_schema if parent_rpcs.respond_to? :create_schema @create_schema = ::Gapic::Config::Method.new create_schema_config get_schema_config = parent_rpcs.get_schema if parent_rpcs.respond_to? :get_schema @get_schema = ::Gapic::Config::Method.new get_schema_config list_schemas_config = parent_rpcs.list_schemas if parent_rpcs.respond_to? :list_schemas @list_schemas = ::Gapic::Config::Method.new list_schemas_config delete_schema_config = parent_rpcs.delete_schema if parent_rpcs.respond_to? :delete_schema @delete_schema = ::Gapic::Config::Method.new delete_schema_config validate_schema_config = parent_rpcs.validate_schema if parent_rpcs.respond_to? :validate_schema @validate_schema = ::Gapic::Config::Method.new validate_schema_config validate_message_config = parent_rpcs.validate_message if parent_rpcs.respond_to? :validate_message @validate_message = ::Gapic::Config::Method.new validate_message_config yield self if block_given? end