class Google::Cloud::Gaming::V1::GameServerClustersService::Client::Configuration::Rpcs

Configuration RPC class for the GameServerClustersService 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_game_server_cluster[R]

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

delete_game_server_cluster[R]

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

get_game_server_cluster[R]

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

list_game_server_clusters[R]

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

preview_create_game_server_cluster[R]

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

preview_delete_game_server_cluster[R]

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

preview_update_game_server_cluster[R]

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

update_game_server_cluster[R]

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

Public Class Methods

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

@private

# File lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb, line 977
def initialize parent_rpcs = nil
  list_game_server_clusters_config = parent_rpcs.list_game_server_clusters if parent_rpcs.respond_to? :list_game_server_clusters
  @list_game_server_clusters = ::Gapic::Config::Method.new list_game_server_clusters_config
  get_game_server_cluster_config = parent_rpcs.get_game_server_cluster if parent_rpcs.respond_to? :get_game_server_cluster
  @get_game_server_cluster = ::Gapic::Config::Method.new get_game_server_cluster_config
  create_game_server_cluster_config = parent_rpcs.create_game_server_cluster if parent_rpcs.respond_to? :create_game_server_cluster
  @create_game_server_cluster = ::Gapic::Config::Method.new create_game_server_cluster_config
  preview_create_game_server_cluster_config = parent_rpcs.preview_create_game_server_cluster if parent_rpcs.respond_to? :preview_create_game_server_cluster
  @preview_create_game_server_cluster = ::Gapic::Config::Method.new preview_create_game_server_cluster_config
  delete_game_server_cluster_config = parent_rpcs.delete_game_server_cluster if parent_rpcs.respond_to? :delete_game_server_cluster
  @delete_game_server_cluster = ::Gapic::Config::Method.new delete_game_server_cluster_config
  preview_delete_game_server_cluster_config = parent_rpcs.preview_delete_game_server_cluster if parent_rpcs.respond_to? :preview_delete_game_server_cluster
  @preview_delete_game_server_cluster = ::Gapic::Config::Method.new preview_delete_game_server_cluster_config
  update_game_server_cluster_config = parent_rpcs.update_game_server_cluster if parent_rpcs.respond_to? :update_game_server_cluster
  @update_game_server_cluster = ::Gapic::Config::Method.new update_game_server_cluster_config
  preview_update_game_server_cluster_config = parent_rpcs.preview_update_game_server_cluster if parent_rpcs.respond_to? :preview_update_game_server_cluster
  @preview_update_game_server_cluster = ::Gapic::Config::Method.new preview_update_game_server_cluster_config

  yield self if block_given?
end