google-cloud-gaming-v1 0.3.1 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +8 -8
  3. data/README.md +1 -1
  4. data/lib/google/cloud/gaming/v1/common_pb.rb +2 -2
  5. data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +33 -2
  6. data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +275 -108
  7. data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +149 -37
  8. data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +2 -2
  9. data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +2 -2
  10. data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +148 -69
  11. data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +149 -37
  12. data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +2 -2
  13. data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +2 -2
  14. data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +286 -116
  15. data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +149 -37
  16. data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +2 -2
  17. data/lib/google/cloud/gaming/v1/realms_pb.rb +2 -2
  18. data/lib/google/cloud/gaming/v1/realms_service/client.rb +204 -85
  19. data/lib/google/cloud/gaming/v1/realms_service/operations.rb +149 -37
  20. data/lib/google/cloud/gaming/v1/realms_service_pb.rb +2 -2
  21. data/lib/google/cloud/gaming/v1/version.rb +1 -1
  22. data/proto_docs/google/api/field_behavior.rb +7 -1
  23. data/proto_docs/google/cloud/gaming/v1/common.rb +0 -3
  24. data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +117 -19
  25. data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +5 -11
  26. data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +12 -28
  27. data/proto_docs/google/cloud/gaming/v1/realms.rb +7 -13
  28. metadata +4 -4
@@ -42,13 +42,12 @@ module Google
42
42
  # See {::Google::Cloud::Gaming::V1::RealmsService::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 RealmsService clients:
48
- #
49
- # ::Google::Cloud::Gaming::V1::RealmsService::Client.configure do |config|
50
- # config.timeout = 10.0
51
- # end
47
+ # # Modify the configuration for all RealmsService clients
48
+ # ::Google::Cloud::Gaming::V1::RealmsService::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]
@@ -68,18 +67,12 @@ module Google
68
67
 
69
68
  default_config.rpcs.list_realms.timeout = 60.0
70
69
  default_config.rpcs.list_realms.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_realm.timeout = 60.0
78
74
  default_config.rpcs.get_realm.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_realm.timeout = 60.0
@@ -90,10 +83,7 @@ module Google
90
83
 
91
84
  default_config.rpcs.preview_realm_update.timeout = 60.0
92
85
  default_config.rpcs.preview_realm_update.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
@@ -125,19 +115,15 @@ module Google
125
115
  ##
126
116
  # Create a new RealmsService client object.
127
117
  #
128
- # ## Examples
129
- #
130
- # To create a new RealmsService client with the default
131
- # configuration:
118
+ # @example
132
119
  #
133
- # client = ::Google::Cloud::Gaming::V1::RealmsService::Client.new
120
+ # # Create a client using the default configuration
121
+ # client = ::Google::Cloud::Gaming::V1::RealmsService::Client.new
134
122
  #
135
- # To create a new RealmsService client with a custom
136
- # configuration:
137
- #
138
- # client = ::Google::Cloud::Gaming::V1::RealmsService::Client.new do |config|
139
- # config.timeout = 10.0
140
- # end
123
+ # # Create a client using a custom configuration
124
+ # client = ::Google::Cloud::Gaming::V1::RealmsService::Client.new do |config|
125
+ # config.timeout = 10.0
126
+ # end
141
127
  #
142
128
  # @yield [config] Configure the RealmsService client.
143
129
  # @yieldparam config [Client::Configuration]
@@ -157,14 +143,13 @@ module Google
157
143
 
158
144
  # Create credentials
159
145
  credentials = @config.credentials
160
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
146
+ # Use self-signed JWT if the endpoint is unchanged from default,
161
147
  # but only if the default endpoint does not have a region prefix.
162
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
163
- @config.endpoint == Client.configure.endpoint &&
148
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
164
149
  !@config.endpoint.split(".").first.include?("-")
165
150
  credentials ||= Credentials.default scope: @config.scope,
166
151
  enable_self_signed_jwt: enable_self_signed_jwt
167
- if credentials.is_a?(String) || credentials.is_a?(Hash)
152
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
168
153
  credentials = Credentials.new credentials, scope: @config.scope
169
154
  end
170
155
  @quota_project_id = @config.quota_project
@@ -212,7 +197,7 @@ module Google
212
197
  # the default parameter values, pass an empty Hash as a request object (see above).
213
198
  #
214
199
  # @param parent [::String]
215
- # Required. The parent resource name. Uses the form:
200
+ # Required. The parent resource name, in the following form:
216
201
  # `projects/{project}/locations/{location}`.
217
202
  # @param page_size [::Integer]
218
203
  # Optional. The maximum number of items to return. If unspecified, server
@@ -237,6 +222,27 @@ module Google
237
222
  #
238
223
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
239
224
  #
225
+ # @example Basic example
226
+ # require "google/cloud/gaming/v1"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Cloud::Gaming::V1::RealmsService::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Cloud::Gaming::V1::ListRealmsRequest.new
233
+ #
234
+ # # Call the list_realms method.
235
+ # result = client.list_realms request
236
+ #
237
+ # # The returned object is of type Gapic::PagedEnumerable. You can
238
+ # # iterate over all elements by calling #each, and the enumerable
239
+ # # will lazily make API calls to fetch subsequent pages. Other
240
+ # # methods are also available for managing paging directly.
241
+ # result.each do |response|
242
+ # # Each element is of type ::Google::Cloud::Gaming::V1::Realm.
243
+ # p response
244
+ # end
245
+ #
240
246
  def list_realms request, options = nil
241
247
  raise ::ArgumentError, "request must be provided" if request.nil?
242
248
 
@@ -254,16 +260,20 @@ module Google
254
260
  gapic_version: ::Google::Cloud::Gaming::V1::VERSION
255
261
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
256
262
 
257
- header_params = {
258
- "parent" => request.parent
259
- }
263
+ header_params = {}
264
+ if request.parent
265
+ header_params["parent"] = request.parent
266
+ end
267
+
260
268
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
261
269
  metadata[:"x-goog-request-params"] ||= request_params_header
262
270
 
263
271
  options.apply_defaults timeout: @config.rpcs.list_realms.timeout,
264
272
  metadata: metadata,
265
273
  retry_policy: @config.rpcs.list_realms.retry_policy
266
- options.apply_defaults metadata: @config.metadata,
274
+
275
+ options.apply_defaults timeout: @config.timeout,
276
+ metadata: @config.metadata,
267
277
  retry_policy: @config.retry_policy
268
278
 
269
279
  @realms_service_stub.call_rpc :list_realms, request, options: options do |response, operation|
@@ -294,7 +304,7 @@ module Google
294
304
  # the default parameter values, pass an empty Hash as a request object (see above).
295
305
  #
296
306
  # @param name [::String]
297
- # Required. The name of the realm to retrieve. Uses the form:
307
+ # Required. The name of the realm to retrieve, in the following form:
298
308
  # `projects/{project}/locations/{location}/realms/{realm}`.
299
309
  #
300
310
  # @yield [response, operation] Access the result along with the RPC operation
@@ -305,6 +315,21 @@ module Google
305
315
  #
306
316
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
307
317
  #
318
+ # @example Basic example
319
+ # require "google/cloud/gaming/v1"
320
+ #
321
+ # # Create a client object. The client can be reused for multiple calls.
322
+ # client = Google::Cloud::Gaming::V1::RealmsService::Client.new
323
+ #
324
+ # # Create a request. To set request fields, pass in keyword arguments.
325
+ # request = Google::Cloud::Gaming::V1::GetRealmRequest.new
326
+ #
327
+ # # Call the get_realm method.
328
+ # result = client.get_realm request
329
+ #
330
+ # # The returned object is of type Google::Cloud::Gaming::V1::Realm.
331
+ # p result
332
+ #
308
333
  def get_realm request, options = nil
309
334
  raise ::ArgumentError, "request must be provided" if request.nil?
310
335
 
@@ -322,16 +347,20 @@ module Google
322
347
  gapic_version: ::Google::Cloud::Gaming::V1::VERSION
323
348
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
324
349
 
325
- header_params = {
326
- "name" => request.name
327
- }
350
+ header_params = {}
351
+ if request.name
352
+ header_params["name"] = request.name
353
+ end
354
+
328
355
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
329
356
  metadata[:"x-goog-request-params"] ||= request_params_header
330
357
 
331
358
  options.apply_defaults timeout: @config.rpcs.get_realm.timeout,
332
359
  metadata: metadata,
333
360
  retry_policy: @config.rpcs.get_realm.retry_policy
334
- options.apply_defaults metadata: @config.metadata,
361
+
362
+ options.apply_defaults timeout: @config.timeout,
363
+ metadata: @config.metadata,
335
364
  retry_policy: @config.retry_policy
336
365
 
337
366
  @realms_service_stub.call_rpc :get_realm, request, options: options do |response, operation|
@@ -361,7 +390,7 @@ module Google
361
390
  # the default parameter values, pass an empty Hash as a request object (see above).
362
391
  #
363
392
  # @param parent [::String]
364
- # Required. The parent resource name. Uses the form:
393
+ # Required. The parent resource name, in the following form:
365
394
  # `projects/{project}/locations/{location}`.
366
395
  # @param realm_id [::String]
367
396
  # Required. The ID of the realm resource to be created.
@@ -376,6 +405,28 @@ module Google
376
405
  #
377
406
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
378
407
  #
408
+ # @example Basic example
409
+ # require "google/cloud/gaming/v1"
410
+ #
411
+ # # Create a client object. The client can be reused for multiple calls.
412
+ # client = Google::Cloud::Gaming::V1::RealmsService::Client.new
413
+ #
414
+ # # Create a request. To set request fields, pass in keyword arguments.
415
+ # request = Google::Cloud::Gaming::V1::CreateRealmRequest.new
416
+ #
417
+ # # Call the create_realm method.
418
+ # result = client.create_realm request
419
+ #
420
+ # # The returned object is of type Gapic::Operation. You can use this
421
+ # # object to check the status of an operation, cancel it, or wait
422
+ # # for results. Here is how to block until completion:
423
+ # result.wait_until_done! timeout: 60
424
+ # if result.response?
425
+ # p result.response
426
+ # else
427
+ # puts "Error!"
428
+ # end
429
+ #
379
430
  def create_realm request, options = nil
380
431
  raise ::ArgumentError, "request must be provided" if request.nil?
381
432
 
@@ -393,16 +444,20 @@ module Google
393
444
  gapic_version: ::Google::Cloud::Gaming::V1::VERSION
394
445
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
395
446
 
396
- header_params = {
397
- "parent" => request.parent
398
- }
447
+ header_params = {}
448
+ if request.parent
449
+ header_params["parent"] = request.parent
450
+ end
451
+
399
452
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
400
453
  metadata[:"x-goog-request-params"] ||= request_params_header
401
454
 
402
455
  options.apply_defaults timeout: @config.rpcs.create_realm.timeout,
403
456
  metadata: metadata,
404
457
  retry_policy: @config.rpcs.create_realm.retry_policy
405
- options.apply_defaults metadata: @config.metadata,
458
+
459
+ options.apply_defaults timeout: @config.timeout,
460
+ metadata: @config.metadata,
406
461
  retry_policy: @config.retry_policy
407
462
 
408
463
  @realms_service_stub.call_rpc :create_realm, request, options: options do |response, operation|
@@ -433,7 +488,7 @@ module Google
433
488
  # the default parameter values, pass an empty Hash as a request object (see above).
434
489
  #
435
490
  # @param name [::String]
436
- # Required. The name of the realm to delete. Uses the form:
491
+ # Required. The name of the realm to delete, in the following form:
437
492
  # `projects/{project}/locations/{location}/realms/{realm}`.
438
493
  #
439
494
  # @yield [response, operation] Access the result along with the RPC operation
@@ -444,6 +499,28 @@ module Google
444
499
  #
445
500
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
446
501
  #
502
+ # @example Basic example
503
+ # require "google/cloud/gaming/v1"
504
+ #
505
+ # # Create a client object. The client can be reused for multiple calls.
506
+ # client = Google::Cloud::Gaming::V1::RealmsService::Client.new
507
+ #
508
+ # # Create a request. To set request fields, pass in keyword arguments.
509
+ # request = Google::Cloud::Gaming::V1::DeleteRealmRequest.new
510
+ #
511
+ # # Call the delete_realm method.
512
+ # result = client.delete_realm request
513
+ #
514
+ # # The returned object is of type Gapic::Operation. You can use this
515
+ # # object to check the status of an operation, cancel it, or wait
516
+ # # for results. Here is how to block until completion:
517
+ # result.wait_until_done! timeout: 60
518
+ # if result.response?
519
+ # p result.response
520
+ # else
521
+ # puts "Error!"
522
+ # end
523
+ #
447
524
  def delete_realm request, options = nil
448
525
  raise ::ArgumentError, "request must be provided" if request.nil?
449
526
 
@@ -461,16 +538,20 @@ module Google
461
538
  gapic_version: ::Google::Cloud::Gaming::V1::VERSION
462
539
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
463
540
 
464
- header_params = {
465
- "name" => request.name
466
- }
541
+ header_params = {}
542
+ if request.name
543
+ header_params["name"] = request.name
544
+ end
545
+
467
546
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
468
547
  metadata[:"x-goog-request-params"] ||= request_params_header
469
548
 
470
549
  options.apply_defaults timeout: @config.rpcs.delete_realm.timeout,
471
550
  metadata: metadata,
472
551
  retry_policy: @config.rpcs.delete_realm.retry_policy
473
- options.apply_defaults metadata: @config.metadata,
552
+
553
+ options.apply_defaults timeout: @config.timeout,
554
+ metadata: @config.metadata,
474
555
  retry_policy: @config.retry_policy
475
556
 
476
557
  @realms_service_stub.call_rpc :delete_realm, request, options: options do |response, operation|
@@ -506,10 +587,7 @@ module Google
506
587
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
507
588
  # Required. The update mask applies to the resource. For the `FieldMask`
508
589
  # definition, see
509
- #
510
- # https:
511
- # //developers.google.com/protocol-buffers
512
- # // /docs/reference/google.protobuf#fieldmask
590
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
513
591
  #
514
592
  # @yield [response, operation] Access the result along with the RPC operation
515
593
  # @yieldparam response [::Gapic::Operation]
@@ -519,6 +597,28 @@ module Google
519
597
  #
520
598
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
521
599
  #
600
+ # @example Basic example
601
+ # require "google/cloud/gaming/v1"
602
+ #
603
+ # # Create a client object. The client can be reused for multiple calls.
604
+ # client = Google::Cloud::Gaming::V1::RealmsService::Client.new
605
+ #
606
+ # # Create a request. To set request fields, pass in keyword arguments.
607
+ # request = Google::Cloud::Gaming::V1::UpdateRealmRequest.new
608
+ #
609
+ # # Call the update_realm method.
610
+ # result = client.update_realm request
611
+ #
612
+ # # The returned object is of type Gapic::Operation. You can use this
613
+ # # object to check the status of an operation, cancel it, or wait
614
+ # # for results. Here is how to block until completion:
615
+ # result.wait_until_done! timeout: 60
616
+ # if result.response?
617
+ # p result.response
618
+ # else
619
+ # puts "Error!"
620
+ # end
621
+ #
522
622
  def update_realm request, options = nil
523
623
  raise ::ArgumentError, "request must be provided" if request.nil?
524
624
 
@@ -536,16 +636,20 @@ module Google
536
636
  gapic_version: ::Google::Cloud::Gaming::V1::VERSION
537
637
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
538
638
 
539
- header_params = {
540
- "realm.name" => request.realm.name
541
- }
639
+ header_params = {}
640
+ if request.realm&.name
641
+ header_params["realm.name"] = request.realm.name
642
+ end
643
+
542
644
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
543
645
  metadata[:"x-goog-request-params"] ||= request_params_header
544
646
 
545
647
  options.apply_defaults timeout: @config.rpcs.update_realm.timeout,
546
648
  metadata: metadata,
547
649
  retry_policy: @config.rpcs.update_realm.retry_policy
548
- options.apply_defaults metadata: @config.metadata,
650
+
651
+ options.apply_defaults timeout: @config.timeout,
652
+ metadata: @config.metadata,
549
653
  retry_policy: @config.retry_policy
550
654
 
551
655
  @realms_service_stub.call_rpc :update_realm, request, options: options do |response, operation|
@@ -581,10 +685,7 @@ module Google
581
685
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
582
686
  # Required. The update mask applies to the resource. For the `FieldMask`
583
687
  # definition, see
584
- #
585
- # https:
586
- # //developers.google.com/protocol-buffers
587
- # // /docs/reference/google.protobuf#fieldmask
688
+ # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
588
689
  # @param preview_time [::Google::Protobuf::Timestamp, ::Hash]
589
690
  # Optional. The target timestamp to compute the preview.
590
691
  #
@@ -596,6 +697,21 @@ module Google
596
697
  #
597
698
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
598
699
  #
700
+ # @example Basic example
701
+ # require "google/cloud/gaming/v1"
702
+ #
703
+ # # Create a client object. The client can be reused for multiple calls.
704
+ # client = Google::Cloud::Gaming::V1::RealmsService::Client.new
705
+ #
706
+ # # Create a request. To set request fields, pass in keyword arguments.
707
+ # request = Google::Cloud::Gaming::V1::PreviewRealmUpdateRequest.new
708
+ #
709
+ # # Call the preview_realm_update method.
710
+ # result = client.preview_realm_update request
711
+ #
712
+ # # The returned object is of type Google::Cloud::Gaming::V1::PreviewRealmUpdateResponse.
713
+ # p result
714
+ #
599
715
  def preview_realm_update request, options = nil
600
716
  raise ::ArgumentError, "request must be provided" if request.nil?
601
717
 
@@ -613,16 +729,20 @@ module Google
613
729
  gapic_version: ::Google::Cloud::Gaming::V1::VERSION
614
730
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
615
731
 
616
- header_params = {
617
- "realm.name" => request.realm.name
618
- }
732
+ header_params = {}
733
+ if request.realm&.name
734
+ header_params["realm.name"] = request.realm.name
735
+ end
736
+
619
737
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
620
738
  metadata[:"x-goog-request-params"] ||= request_params_header
621
739
 
622
740
  options.apply_defaults timeout: @config.rpcs.preview_realm_update.timeout,
623
741
  metadata: metadata,
624
742
  retry_policy: @config.rpcs.preview_realm_update.retry_policy
625
- options.apply_defaults metadata: @config.metadata,
743
+
744
+ options.apply_defaults timeout: @config.timeout,
745
+ metadata: @config.metadata,
626
746
  retry_policy: @config.retry_policy
627
747
 
628
748
  @realms_service_stub.call_rpc :preview_realm_update, request, options: options do |response, operation|
@@ -646,22 +766,21 @@ module Google
646
766
  # Configuration can be applied globally to all clients, or to a single client
647
767
  # on construction.
648
768
  #
649
- # # Examples
650
- #
651
- # To modify the global config, setting the timeout for list_realms
652
- # to 20 seconds, and all remaining timeouts to 10 seconds:
653
- #
654
- # ::Google::Cloud::Gaming::V1::RealmsService::Client.configure do |config|
655
- # config.timeout = 10.0
656
- # config.rpcs.list_realms.timeout = 20.0
657
- # end
658
- #
659
- # To apply the above configuration only to a new client:
660
- #
661
- # client = ::Google::Cloud::Gaming::V1::RealmsService::Client.new do |config|
662
- # config.timeout = 10.0
663
- # config.rpcs.list_realms.timeout = 20.0
664
- # end
769
+ # @example
770
+ #
771
+ # # Modify the global config, setting the timeout for
772
+ # # list_realms to 20 seconds,
773
+ # # and all remaining timeouts to 10 seconds.
774
+ # ::Google::Cloud::Gaming::V1::RealmsService::Client.configure do |config|
775
+ # config.timeout = 10.0
776
+ # config.rpcs.list_realms.timeout = 20.0
777
+ # end
778
+ #
779
+ # # Apply the above configuration only to a new client.
780
+ # client = ::Google::Cloud::Gaming::V1::RealmsService::Client.new do |config|
781
+ # config.timeout = 10.0
782
+ # config.rpcs.list_realms.timeout = 20.0
783
+ # end
665
784
  #
666
785
  # @!attribute [rw] endpoint
667
786
  # The hostname or hostname:port of the service endpoint.