google-cloud-gaming-v1 0.2.0 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,7 +82,7 @@ module Google
82
82
  # Create credentials
83
83
  credentials = @config.credentials
84
84
  credentials ||= Credentials.default scope: @config.scope
85
- if credentials.is_a?(String) || credentials.is_a?(Hash)
85
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
88
  @quota_project_id = @config.quota_project
@@ -169,7 +169,9 @@ module Google
169
169
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
170
170
  metadata: metadata,
171
171
  retry_policy: @config.rpcs.list_operations.retry_policy
172
- options.apply_defaults metadata: @config.metadata,
172
+
173
+ options.apply_defaults timeout: @config.timeout,
174
+ metadata: @config.metadata,
173
175
  retry_policy: @config.retry_policy
174
176
 
175
177
  @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
@@ -239,7 +241,9 @@ module Google
239
241
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
240
242
  metadata: metadata,
241
243
  retry_policy: @config.rpcs.get_operation.retry_policy
242
- options.apply_defaults metadata: @config.metadata,
244
+
245
+ options.apply_defaults timeout: @config.timeout,
246
+ metadata: @config.metadata,
243
247
  retry_policy: @config.retry_policy
244
248
 
245
249
  @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
@@ -309,7 +313,9 @@ module Google
309
313
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
310
314
  metadata: metadata,
311
315
  retry_policy: @config.rpcs.delete_operation.retry_policy
312
- options.apply_defaults metadata: @config.metadata,
316
+
317
+ options.apply_defaults timeout: @config.timeout,
318
+ metadata: @config.metadata,
313
319
  retry_policy: @config.retry_policy
314
320
 
315
321
  @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
@@ -384,7 +390,9 @@ module Google
384
390
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
385
391
  metadata: metadata,
386
392
  retry_policy: @config.rpcs.cancel_operation.retry_policy
387
- options.apply_defaults metadata: @config.metadata,
393
+
394
+ options.apply_defaults timeout: @config.timeout,
395
+ metadata: @config.metadata,
388
396
  retry_policy: @config.retry_policy
389
397
 
390
398
  @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
@@ -396,9 +404,9 @@ module Google
396
404
  end
397
405
 
398
406
  ##
399
- # Waits for the specified long-running operation until it is done or reaches
400
- # at most a specified timeout, returning the latest state. If the operation
401
- # is already done, the latest state is immediately returned. If the timeout
407
+ # Waits until the specified long-running operation is done or reaches at most
408
+ # a specified timeout, returning the latest state. If the operation is
409
+ # already done, the latest state is immediately returned. If the timeout
402
410
  # specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
403
411
  # timeout is used. If the server does not support this method, it returns
404
412
  # `google.rpc.Code.UNIMPLEMENTED`.
@@ -456,7 +464,9 @@ module Google
456
464
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
457
465
  metadata: metadata,
458
466
  retry_policy: @config.rpcs.wait_operation.retry_policy
459
- options.apply_defaults metadata: @config.metadata,
467
+
468
+ options.apply_defaults timeout: @config.timeout,
469
+ metadata: @config.metadata,
460
470
  retry_policy: @config.retry_policy
461
471
 
462
472
  @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
@@ -481,22 +491,21 @@ module Google
481
491
  # Configuration can be applied globally to all clients, or to a single client
482
492
  # on construction.
483
493
  #
484
- # # Examples
485
- #
486
- # To modify the global config, setting the timeout for list_operations
487
- # to 20 seconds, and all remaining timeouts to 10 seconds:
488
- #
489
- # ::Google::Longrunning::Operations::Client.configure do |config|
490
- # config.timeout = 10.0
491
- # config.rpcs.list_operations.timeout = 20.0
492
- # end
494
+ # @example
493
495
  #
494
- # To apply the above configuration only to a new client:
496
+ # # Modify the global config, setting the timeout for
497
+ # # list_operations to 20 seconds,
498
+ # # and all remaining timeouts to 10 seconds.
499
+ # ::Google::Longrunning::Operations::Client.configure do |config|
500
+ # config.timeout = 10.0
501
+ # config.rpcs.list_operations.timeout = 20.0
502
+ # end
495
503
  #
496
- # client = ::Google::Longrunning::Operations::Client.new do |config|
497
- # config.timeout = 10.0
498
- # config.rpcs.list_operations.timeout = 20.0
499
- # end
504
+ # # Apply the above configuration only to a new client.
505
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
506
+ # config.timeout = 10.0
507
+ # config.rpcs.list_operations.timeout = 20.0
508
+ # end
500
509
  #
501
510
  # @!attribute [rw] endpoint
502
511
  # The hostname or hostname:port of the service endpoint.
@@ -560,7 +569,7 @@ module Google
560
569
  config_attr :scope, nil, ::String, ::Array, nil
561
570
  config_attr :lib_name, nil, ::String, nil
562
571
  config_attr :lib_version, nil, ::String, nil
563
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
572
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
564
573
  config_attr :interceptors, nil, ::Array, nil
565
574
  config_attr :timeout, nil, ::Numeric, nil
566
575
  config_attr :metadata, nil, ::Hash, nil
@@ -581,7 +590,7 @@ module Google
581
590
  def rpcs
582
591
  @rpcs ||= begin
583
592
  parent_rpcs = nil
584
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
593
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
585
594
  Rpcs.new parent_rpcs
586
595
  end
587
596
  end
@@ -632,15 +641,15 @@ module Google
632
641
 
633
642
  # @private
634
643
  def initialize parent_rpcs = nil
635
- list_operations_config = parent_rpcs&.list_operations if parent_rpcs&.respond_to? :list_operations
644
+ list_operations_config = parent_rpcs.list_operations if parent_rpcs.respond_to? :list_operations
636
645
  @list_operations = ::Gapic::Config::Method.new list_operations_config
637
- get_operation_config = parent_rpcs&.get_operation if parent_rpcs&.respond_to? :get_operation
646
+ get_operation_config = parent_rpcs.get_operation if parent_rpcs.respond_to? :get_operation
638
647
  @get_operation = ::Gapic::Config::Method.new get_operation_config
639
- delete_operation_config = parent_rpcs&.delete_operation if parent_rpcs&.respond_to? :delete_operation
648
+ delete_operation_config = parent_rpcs.delete_operation if parent_rpcs.respond_to? :delete_operation
640
649
  @delete_operation = ::Gapic::Config::Method.new delete_operation_config
641
- cancel_operation_config = parent_rpcs&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
650
+ cancel_operation_config = parent_rpcs.cancel_operation if parent_rpcs.respond_to? :cancel_operation
642
651
  @cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
643
- wait_operation_config = parent_rpcs&.wait_operation if parent_rpcs&.respond_to? :wait_operation
652
+ wait_operation_config = parent_rpcs.wait_operation if parent_rpcs.respond_to? :wait_operation
644
653
  @wait_operation = ::Gapic::Config::Method.new wait_operation_config
645
654
 
646
655
  yield self if block_given?
@@ -42,13 +42,12 @@ module Google
42
42
  # See {::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client::Configuration}
43
43
  # for a description of the configuration fields.
44
44
  #
45
- # ## Example
45
+ # @example
46
46
  #
47
- # To modify the configuration for all GameServerDeploymentsService clients:
48
- #
49
- # ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.configure do |config|
50
- # config.timeout = 10.0
51
- # end
47
+ # # Modify the configuration for all GameServerDeploymentsService clients
48
+ # ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.configure do |config|
49
+ # config.timeout = 10.0
50
+ # end
52
51
  #
53
52
  # @yield [config] Configure the Client client.
54
53
  # @yieldparam config [Client::Configuration]
@@ -61,25 +60,19 @@ module Google
61
60
  parent_config = while namespace.any?
62
61
  parent_name = namespace.join "::"
63
62
  parent_const = const_get parent_name
64
- break parent_const.configure if parent_const&.respond_to? :configure
63
+ break parent_const.configure if parent_const.respond_to? :configure
65
64
  namespace.pop
66
65
  end
67
66
  default_config = Client::Configuration.new parent_config
68
67
 
69
68
  default_config.rpcs.list_game_server_deployments.timeout = 60.0
70
69
  default_config.rpcs.list_game_server_deployments.retry_policy = {
71
- initial_delay: 1.0,
72
- max_delay: 10.0,
73
- multiplier: 1.3,
74
- retry_codes: [14]
70
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
75
71
  }
76
72
 
77
73
  default_config.rpcs.get_game_server_deployment.timeout = 60.0
78
74
  default_config.rpcs.get_game_server_deployment.retry_policy = {
79
- initial_delay: 1.0,
80
- max_delay: 10.0,
81
- multiplier: 1.3,
82
- retry_codes: [14]
75
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
83
76
  }
84
77
 
85
78
  default_config.rpcs.create_game_server_deployment.timeout = 60.0
@@ -90,28 +83,19 @@ module Google
90
83
 
91
84
  default_config.rpcs.get_game_server_deployment_rollout.timeout = 60.0
92
85
  default_config.rpcs.get_game_server_deployment_rollout.retry_policy = {
93
- initial_delay: 1.0,
94
- max_delay: 10.0,
95
- multiplier: 1.3,
96
- retry_codes: [14]
86
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
97
87
  }
98
88
 
99
89
  default_config.rpcs.update_game_server_deployment_rollout.timeout = 60.0
100
90
 
101
91
  default_config.rpcs.preview_game_server_deployment_rollout.timeout = 60.0
102
92
  default_config.rpcs.preview_game_server_deployment_rollout.retry_policy = {
103
- initial_delay: 1.0,
104
- max_delay: 10.0,
105
- multiplier: 1.3,
106
- retry_codes: [14]
93
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
107
94
  }
108
95
 
109
96
  default_config.rpcs.fetch_deployment_state.timeout = 120.0
110
97
  default_config.rpcs.fetch_deployment_state.retry_policy = {
111
- initial_delay: 1.0,
112
- max_delay: 10.0,
113
- multiplier: 1.3,
114
- retry_codes: [14]
98
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14]
115
99
  }
116
100
 
117
101
  default_config
@@ -143,19 +127,15 @@ module Google
143
127
  ##
144
128
  # Create a new GameServerDeploymentsService client object.
145
129
  #
146
- # ## Examples
147
- #
148
- # To create a new GameServerDeploymentsService client with the default
149
- # configuration:
130
+ # @example
150
131
  #
151
- # client = ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.new
132
+ # # Create a client using the default configuration
133
+ # client = ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.new
152
134
  #
153
- # To create a new GameServerDeploymentsService client with a custom
154
- # configuration:
155
- #
156
- # client = ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.new do |config|
157
- # config.timeout = 10.0
158
- # end
135
+ # # Create a client using a custom configuration
136
+ # client = ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.new do |config|
137
+ # config.timeout = 10.0
138
+ # end
159
139
  #
160
140
  # @yield [config] Configure the GameServerDeploymentsService client.
161
141
  # @yieldparam config [Client::Configuration]
@@ -175,14 +155,13 @@ module Google
175
155
 
176
156
  # Create credentials
177
157
  credentials = @config.credentials
178
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
158
+ # Use self-signed JWT if the endpoint is unchanged from default,
179
159
  # but only if the default endpoint does not have a region prefix.
180
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
181
- @config.endpoint == Client.configure.endpoint &&
160
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
182
161
  !@config.endpoint.split(".").first.include?("-")
183
- credentials ||= Credentials.default scope: @config.scope,
162
+ credentials ||= Credentials.default scope: @config.scope,
184
163
  enable_self_signed_jwt: enable_self_signed_jwt
185
- if credentials.is_a?(String) || credentials.is_a?(Hash)
164
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
186
165
  credentials = Credentials.new credentials, scope: @config.scope
187
166
  end
188
167
  @quota_project_id = @config.quota_project
@@ -281,7 +260,9 @@ module Google
281
260
  options.apply_defaults timeout: @config.rpcs.list_game_server_deployments.timeout,
282
261
  metadata: metadata,
283
262
  retry_policy: @config.rpcs.list_game_server_deployments.retry_policy
284
- options.apply_defaults metadata: @config.metadata,
263
+
264
+ options.apply_defaults timeout: @config.timeout,
265
+ metadata: @config.metadata,
285
266
  retry_policy: @config.retry_policy
286
267
 
287
268
  @game_server_deployments_service_stub.call_rpc :list_game_server_deployments, request, options: options do |response, operation|
@@ -350,7 +331,9 @@ module Google
350
331
  options.apply_defaults timeout: @config.rpcs.get_game_server_deployment.timeout,
351
332
  metadata: metadata,
352
333
  retry_policy: @config.rpcs.get_game_server_deployment.retry_policy
353
- options.apply_defaults metadata: @config.metadata,
334
+
335
+ options.apply_defaults timeout: @config.timeout,
336
+ metadata: @config.metadata,
354
337
  retry_policy: @config.retry_policy
355
338
 
356
339
  @game_server_deployments_service_stub.call_rpc :get_game_server_deployment, request, options: options do |response, operation|
@@ -421,7 +404,9 @@ module Google
421
404
  options.apply_defaults timeout: @config.rpcs.create_game_server_deployment.timeout,
422
405
  metadata: metadata,
423
406
  retry_policy: @config.rpcs.create_game_server_deployment.retry_policy
424
- options.apply_defaults metadata: @config.metadata,
407
+
408
+ options.apply_defaults timeout: @config.timeout,
409
+ metadata: @config.metadata,
425
410
  retry_policy: @config.retry_policy
426
411
 
427
412
  @game_server_deployments_service_stub.call_rpc :create_game_server_deployment, request, options: options do |response, operation|
@@ -490,7 +475,9 @@ module Google
490
475
  options.apply_defaults timeout: @config.rpcs.delete_game_server_deployment.timeout,
491
476
  metadata: metadata,
492
477
  retry_policy: @config.rpcs.delete_game_server_deployment.retry_policy
493
- options.apply_defaults metadata: @config.metadata,
478
+
479
+ options.apply_defaults timeout: @config.timeout,
480
+ metadata: @config.metadata,
494
481
  retry_policy: @config.retry_policy
495
482
 
496
483
  @game_server_deployments_service_stub.call_rpc :delete_game_server_deployment, request, options: options do |response, operation|
@@ -565,7 +552,9 @@ module Google
565
552
  options.apply_defaults timeout: @config.rpcs.update_game_server_deployment.timeout,
566
553
  metadata: metadata,
567
554
  retry_policy: @config.rpcs.update_game_server_deployment.retry_policy
568
- options.apply_defaults metadata: @config.metadata,
555
+
556
+ options.apply_defaults timeout: @config.timeout,
557
+ metadata: @config.metadata,
569
558
  retry_policy: @config.retry_policy
570
559
 
571
560
  @game_server_deployments_service_stub.call_rpc :update_game_server_deployment, request, options: options do |response, operation|
@@ -634,7 +623,9 @@ module Google
634
623
  options.apply_defaults timeout: @config.rpcs.get_game_server_deployment_rollout.timeout,
635
624
  metadata: metadata,
636
625
  retry_policy: @config.rpcs.get_game_server_deployment_rollout.retry_policy
637
- options.apply_defaults metadata: @config.metadata,
626
+
627
+ options.apply_defaults timeout: @config.timeout,
628
+ metadata: @config.metadata,
638
629
  retry_policy: @config.retry_policy
639
630
 
640
631
  @game_server_deployments_service_stub.call_rpc :get_game_server_deployment_rollout, request, options: options do |response, operation|
@@ -713,7 +704,9 @@ module Google
713
704
  options.apply_defaults timeout: @config.rpcs.update_game_server_deployment_rollout.timeout,
714
705
  metadata: metadata,
715
706
  retry_policy: @config.rpcs.update_game_server_deployment_rollout.retry_policy
716
- options.apply_defaults metadata: @config.metadata,
707
+
708
+ options.apply_defaults timeout: @config.timeout,
709
+ metadata: @config.metadata,
717
710
  retry_policy: @config.retry_policy
718
711
 
719
712
  @game_server_deployments_service_stub.call_rpc :update_game_server_deployment_rollout, request, options: options do |response, operation|
@@ -792,7 +785,9 @@ module Google
792
785
  options.apply_defaults timeout: @config.rpcs.preview_game_server_deployment_rollout.timeout,
793
786
  metadata: metadata,
794
787
  retry_policy: @config.rpcs.preview_game_server_deployment_rollout.retry_policy
795
- options.apply_defaults metadata: @config.metadata,
788
+
789
+ options.apply_defaults timeout: @config.timeout,
790
+ metadata: @config.metadata,
796
791
  retry_policy: @config.retry_policy
797
792
 
798
793
  @game_server_deployments_service_stub.call_rpc :preview_game_server_deployment_rollout, request, options: options do |response, operation|
@@ -862,7 +857,9 @@ module Google
862
857
  options.apply_defaults timeout: @config.rpcs.fetch_deployment_state.timeout,
863
858
  metadata: metadata,
864
859
  retry_policy: @config.rpcs.fetch_deployment_state.retry_policy
865
- options.apply_defaults metadata: @config.metadata,
860
+
861
+ options.apply_defaults timeout: @config.timeout,
862
+ metadata: @config.metadata,
866
863
  retry_policy: @config.retry_policy
867
864
 
868
865
  @game_server_deployments_service_stub.call_rpc :fetch_deployment_state, request, options: options do |response, operation|
@@ -886,22 +883,21 @@ module Google
886
883
  # Configuration can be applied globally to all clients, or to a single client
887
884
  # on construction.
888
885
  #
889
- # # Examples
890
- #
891
- # To modify the global config, setting the timeout for list_game_server_deployments
892
- # to 20 seconds, and all remaining timeouts to 10 seconds:
893
- #
894
- # ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.configure do |config|
895
- # config.timeout = 10.0
896
- # config.rpcs.list_game_server_deployments.timeout = 20.0
897
- # end
886
+ # @example
898
887
  #
899
- # To apply the above configuration only to a new client:
888
+ # # Modify the global config, setting the timeout for
889
+ # # list_game_server_deployments to 20 seconds,
890
+ # # and all remaining timeouts to 10 seconds.
891
+ # ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.configure do |config|
892
+ # config.timeout = 10.0
893
+ # config.rpcs.list_game_server_deployments.timeout = 20.0
894
+ # end
900
895
  #
901
- # client = ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.new do |config|
902
- # config.timeout = 10.0
903
- # config.rpcs.list_game_server_deployments.timeout = 20.0
904
- # end
896
+ # # Apply the above configuration only to a new client.
897
+ # client = ::Google::Cloud::Gaming::V1::GameServerDeploymentsService::Client.new do |config|
898
+ # config.timeout = 10.0
899
+ # config.rpcs.list_game_server_deployments.timeout = 20.0
900
+ # end
905
901
  #
906
902
  # @!attribute [rw] endpoint
907
903
  # The hostname or hostname:port of the service endpoint.
@@ -965,7 +961,7 @@ module Google
965
961
  config_attr :scope, nil, ::String, ::Array, nil
966
962
  config_attr :lib_name, nil, ::String, nil
967
963
  config_attr :lib_version, nil, ::String, nil
968
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
964
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
969
965
  config_attr :interceptors, nil, ::Array, nil
970
966
  config_attr :timeout, nil, ::Numeric, nil
971
967
  config_attr :metadata, nil, ::Hash, nil
@@ -986,7 +982,7 @@ module Google
986
982
  def rpcs
987
983
  @rpcs ||= begin
988
984
  parent_rpcs = nil
989
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
985
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
990
986
  Rpcs.new parent_rpcs
991
987
  end
992
988
  end
@@ -1057,23 +1053,23 @@ module Google
1057
1053
 
1058
1054
  # @private
1059
1055
  def initialize parent_rpcs = nil
1060
- list_game_server_deployments_config = parent_rpcs&.list_game_server_deployments if parent_rpcs&.respond_to? :list_game_server_deployments
1056
+ list_game_server_deployments_config = parent_rpcs.list_game_server_deployments if parent_rpcs.respond_to? :list_game_server_deployments
1061
1057
  @list_game_server_deployments = ::Gapic::Config::Method.new list_game_server_deployments_config
1062
- get_game_server_deployment_config = parent_rpcs&.get_game_server_deployment if parent_rpcs&.respond_to? :get_game_server_deployment
1058
+ get_game_server_deployment_config = parent_rpcs.get_game_server_deployment if parent_rpcs.respond_to? :get_game_server_deployment
1063
1059
  @get_game_server_deployment = ::Gapic::Config::Method.new get_game_server_deployment_config
1064
- create_game_server_deployment_config = parent_rpcs&.create_game_server_deployment if parent_rpcs&.respond_to? :create_game_server_deployment
1060
+ create_game_server_deployment_config = parent_rpcs.create_game_server_deployment if parent_rpcs.respond_to? :create_game_server_deployment
1065
1061
  @create_game_server_deployment = ::Gapic::Config::Method.new create_game_server_deployment_config
1066
- delete_game_server_deployment_config = parent_rpcs&.delete_game_server_deployment if parent_rpcs&.respond_to? :delete_game_server_deployment
1062
+ delete_game_server_deployment_config = parent_rpcs.delete_game_server_deployment if parent_rpcs.respond_to? :delete_game_server_deployment
1067
1063
  @delete_game_server_deployment = ::Gapic::Config::Method.new delete_game_server_deployment_config
1068
- update_game_server_deployment_config = parent_rpcs&.update_game_server_deployment if parent_rpcs&.respond_to? :update_game_server_deployment
1064
+ update_game_server_deployment_config = parent_rpcs.update_game_server_deployment if parent_rpcs.respond_to? :update_game_server_deployment
1069
1065
  @update_game_server_deployment = ::Gapic::Config::Method.new update_game_server_deployment_config
1070
- get_game_server_deployment_rollout_config = parent_rpcs&.get_game_server_deployment_rollout if parent_rpcs&.respond_to? :get_game_server_deployment_rollout
1066
+ get_game_server_deployment_rollout_config = parent_rpcs.get_game_server_deployment_rollout if parent_rpcs.respond_to? :get_game_server_deployment_rollout
1071
1067
  @get_game_server_deployment_rollout = ::Gapic::Config::Method.new get_game_server_deployment_rollout_config
1072
- update_game_server_deployment_rollout_config = parent_rpcs&.update_game_server_deployment_rollout if parent_rpcs&.respond_to? :update_game_server_deployment_rollout
1068
+ update_game_server_deployment_rollout_config = parent_rpcs.update_game_server_deployment_rollout if parent_rpcs.respond_to? :update_game_server_deployment_rollout
1073
1069
  @update_game_server_deployment_rollout = ::Gapic::Config::Method.new update_game_server_deployment_rollout_config
1074
- preview_game_server_deployment_rollout_config = parent_rpcs&.preview_game_server_deployment_rollout if parent_rpcs&.respond_to? :preview_game_server_deployment_rollout
1070
+ preview_game_server_deployment_rollout_config = parent_rpcs.preview_game_server_deployment_rollout if parent_rpcs.respond_to? :preview_game_server_deployment_rollout
1075
1071
  @preview_game_server_deployment_rollout = ::Gapic::Config::Method.new preview_game_server_deployment_rollout_config
1076
- fetch_deployment_state_config = parent_rpcs&.fetch_deployment_state if parent_rpcs&.respond_to? :fetch_deployment_state
1072
+ fetch_deployment_state_config = parent_rpcs.fetch_deployment_state if parent_rpcs.respond_to? :fetch_deployment_state
1077
1073
  @fetch_deployment_state = ::Gapic::Config::Method.new fetch_deployment_state_config
1078
1074
 
1079
1075
  yield self if block_given?