google-cloud-app_engine-v1 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +72 -101
  3. data/lib/google/cloud/app_engine/v1/applications/client.rb +42 -9
  4. data/lib/google/cloud/app_engine/v1/applications/operations.rb +38 -7
  5. data/lib/google/cloud/app_engine/v1/applications/rest/client.rb +119 -7
  6. data/lib/google/cloud/app_engine/v1/applications/rest/operations.rb +108 -8
  7. data/lib/google/cloud/app_engine/v1/applications/rest/service_stub.rb +14 -2
  8. data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +41 -9
  9. data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/client.rb +117 -7
  10. data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/service_stub.rb +14 -2
  11. data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +41 -9
  12. data/lib/google/cloud/app_engine/v1/authorized_domains/rest/client.rb +53 -7
  13. data/lib/google/cloud/app_engine/v1/authorized_domains/rest/service_stub.rb +14 -2
  14. data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +42 -9
  15. data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +38 -7
  16. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/client.rb +139 -7
  17. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/operations.rb +108 -8
  18. data/lib/google/cloud/app_engine/v1/domain_mappings/rest/service_stub.rb +14 -2
  19. data/lib/google/cloud/app_engine/v1/firewall/client.rb +41 -9
  20. data/lib/google/cloud/app_engine/v1/firewall/rest/client.rb +133 -7
  21. data/lib/google/cloud/app_engine/v1/firewall/rest/service_stub.rb +14 -2
  22. data/lib/google/cloud/app_engine/v1/instances/client.rb +42 -9
  23. data/lib/google/cloud/app_engine/v1/instances/operations.rb +38 -7
  24. data/lib/google/cloud/app_engine/v1/instances/rest/client.rb +116 -7
  25. data/lib/google/cloud/app_engine/v1/instances/rest/operations.rb +108 -8
  26. data/lib/google/cloud/app_engine/v1/instances/rest/service_stub.rb +14 -2
  27. data/lib/google/cloud/app_engine/v1/services/client.rb +42 -9
  28. data/lib/google/cloud/app_engine/v1/services/operations.rb +38 -7
  29. data/lib/google/cloud/app_engine/v1/services/rest/client.rb +116 -7
  30. data/lib/google/cloud/app_engine/v1/services/rest/operations.rb +108 -8
  31. data/lib/google/cloud/app_engine/v1/services/rest/service_stub.rb +14 -2
  32. data/lib/google/cloud/app_engine/v1/version.rb +1 -1
  33. data/lib/google/cloud/app_engine/v1/versions/client.rb +42 -9
  34. data/lib/google/cloud/app_engine/v1/versions/operations.rb +38 -7
  35. data/lib/google/cloud/app_engine/v1/versions/rest/client.rb +139 -7
  36. data/lib/google/cloud/app_engine/v1/versions/rest/operations.rb +108 -8
  37. data/lib/google/cloud/app_engine/v1/versions/rest/service_stub.rb +14 -2
  38. data/proto_docs/google/api/client.rb +14 -0
  39. data/proto_docs/google/api/field_behavior.rb +14 -0
  40. metadata +5 -5
@@ -41,6 +41,9 @@ module Google
41
41
  # set to "allow" if not otherwise specified by the user.
42
42
  #
43
43
  class Client
44
+ # @private
45
+ DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
46
+
44
47
  # @private
45
48
  attr_reader :firewall_stub
46
49
 
@@ -99,6 +102,15 @@ module Google
99
102
  @config
100
103
  end
101
104
 
105
+ ##
106
+ # The effective universe domain
107
+ #
108
+ # @return [String]
109
+ #
110
+ def universe_domain
111
+ @firewall_stub.universe_domain
112
+ end
113
+
102
114
  ##
103
115
  # Create a new Firewall REST client object.
104
116
  #
@@ -126,8 +138,9 @@ module Google
126
138
  credentials = @config.credentials
127
139
  # Use self-signed JWT if the endpoint is unchanged from default,
128
140
  # but only if the default endpoint does not have a region prefix.
129
- enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
130
- !@config.endpoint.split(".").first.include?("-")
141
+ enable_self_signed_jwt = @config.endpoint.nil? ||
142
+ (@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
143
+ !@config.endpoint.split(".").first.include?("-"))
131
144
  credentials ||= Credentials.default scope: @config.scope,
132
145
  enable_self_signed_jwt: enable_self_signed_jwt
133
146
  if credentials.is_a?(::String) || credentials.is_a?(::Hash)
@@ -137,7 +150,12 @@ module Google
137
150
  @quota_project_id = @config.quota_project
138
151
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
139
152
 
140
- @firewall_stub = ::Google::Cloud::AppEngine::V1::Firewall::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
153
+ @firewall_stub = ::Google::Cloud::AppEngine::V1::Firewall::Rest::ServiceStub.new(
154
+ endpoint: @config.endpoint,
155
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
156
+ universe_domain: @config.universe_domain,
157
+ credentials: credentials
158
+ )
141
159
  end
142
160
 
143
161
  # Service calls
@@ -178,6 +196,26 @@ module Google
178
196
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppEngine::V1::FirewallRule>]
179
197
  #
180
198
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
199
+ #
200
+ # @example Basic example
201
+ # require "google/cloud/app_engine/v1"
202
+ #
203
+ # # Create a client object. The client can be reused for multiple calls.
204
+ # client = Google::Cloud::AppEngine::V1::Firewall::Rest::Client.new
205
+ #
206
+ # # Create a request. To set request fields, pass in keyword arguments.
207
+ # request = Google::Cloud::AppEngine::V1::ListIngressRulesRequest.new
208
+ #
209
+ # # Call the list_ingress_rules method.
210
+ # result = client.list_ingress_rules request
211
+ #
212
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
213
+ # # over elements, and API calls will be issued to fetch pages as needed.
214
+ # result.each do |item|
215
+ # # Each element is of type ::Google::Cloud::AppEngine::V1::FirewallRule.
216
+ # p item
217
+ # end
218
+ #
181
219
  def list_ingress_rules request, options = nil
182
220
  raise ::ArgumentError, "request must be provided" if request.nil?
183
221
 
@@ -248,6 +286,22 @@ module Google
248
286
  # @return [::Google::Cloud::AppEngine::V1::BatchUpdateIngressRulesResponse]
249
287
  #
250
288
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
289
+ #
290
+ # @example Basic example
291
+ # require "google/cloud/app_engine/v1"
292
+ #
293
+ # # Create a client object. The client can be reused for multiple calls.
294
+ # client = Google::Cloud::AppEngine::V1::Firewall::Rest::Client.new
295
+ #
296
+ # # Create a request. To set request fields, pass in keyword arguments.
297
+ # request = Google::Cloud::AppEngine::V1::BatchUpdateIngressRulesRequest.new
298
+ #
299
+ # # Call the batch_update_ingress_rules method.
300
+ # result = client.batch_update_ingress_rules request
301
+ #
302
+ # # The returned object is of type Google::Cloud::AppEngine::V1::BatchUpdateIngressRulesResponse.
303
+ # p result
304
+ #
251
305
  def batch_update_ingress_rules request, options = nil
252
306
  raise ::ArgumentError, "request must be provided" if request.nil?
253
307
 
@@ -322,6 +376,22 @@ module Google
322
376
  # @return [::Google::Cloud::AppEngine::V1::FirewallRule]
323
377
  #
324
378
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
379
+ #
380
+ # @example Basic example
381
+ # require "google/cloud/app_engine/v1"
382
+ #
383
+ # # Create a client object. The client can be reused for multiple calls.
384
+ # client = Google::Cloud::AppEngine::V1::Firewall::Rest::Client.new
385
+ #
386
+ # # Create a request. To set request fields, pass in keyword arguments.
387
+ # request = Google::Cloud::AppEngine::V1::CreateIngressRuleRequest.new
388
+ #
389
+ # # Call the create_ingress_rule method.
390
+ # result = client.create_ingress_rule request
391
+ #
392
+ # # The returned object is of type Google::Cloud::AppEngine::V1::FirewallRule.
393
+ # p result
394
+ #
325
395
  def create_ingress_rule request, options = nil
326
396
  raise ::ArgumentError, "request must be provided" if request.nil?
327
397
 
@@ -385,6 +455,22 @@ module Google
385
455
  # @return [::Google::Cloud::AppEngine::V1::FirewallRule]
386
456
  #
387
457
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
458
+ #
459
+ # @example Basic example
460
+ # require "google/cloud/app_engine/v1"
461
+ #
462
+ # # Create a client object. The client can be reused for multiple calls.
463
+ # client = Google::Cloud::AppEngine::V1::Firewall::Rest::Client.new
464
+ #
465
+ # # Create a request. To set request fields, pass in keyword arguments.
466
+ # request = Google::Cloud::AppEngine::V1::GetIngressRuleRequest.new
467
+ #
468
+ # # Call the get_ingress_rule method.
469
+ # result = client.get_ingress_rule request
470
+ #
471
+ # # The returned object is of type Google::Cloud::AppEngine::V1::FirewallRule.
472
+ # p result
473
+ #
388
474
  def get_ingress_rule request, options = nil
389
475
  raise ::ArgumentError, "request must be provided" if request.nil?
390
476
 
@@ -452,6 +538,22 @@ module Google
452
538
  # @return [::Google::Cloud::AppEngine::V1::FirewallRule]
453
539
  #
454
540
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
541
+ #
542
+ # @example Basic example
543
+ # require "google/cloud/app_engine/v1"
544
+ #
545
+ # # Create a client object. The client can be reused for multiple calls.
546
+ # client = Google::Cloud::AppEngine::V1::Firewall::Rest::Client.new
547
+ #
548
+ # # Create a request. To set request fields, pass in keyword arguments.
549
+ # request = Google::Cloud::AppEngine::V1::UpdateIngressRuleRequest.new
550
+ #
551
+ # # Call the update_ingress_rule method.
552
+ # result = client.update_ingress_rule request
553
+ #
554
+ # # The returned object is of type Google::Cloud::AppEngine::V1::FirewallRule.
555
+ # p result
556
+ #
455
557
  def update_ingress_rule request, options = nil
456
558
  raise ::ArgumentError, "request must be provided" if request.nil?
457
559
 
@@ -515,6 +617,22 @@ module Google
515
617
  # @return [::Google::Protobuf::Empty]
516
618
  #
517
619
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
620
+ #
621
+ # @example Basic example
622
+ # require "google/cloud/app_engine/v1"
623
+ #
624
+ # # Create a client object. The client can be reused for multiple calls.
625
+ # client = Google::Cloud::AppEngine::V1::Firewall::Rest::Client.new
626
+ #
627
+ # # Create a request. To set request fields, pass in keyword arguments.
628
+ # request = Google::Cloud::AppEngine::V1::DeleteIngressRuleRequest.new
629
+ #
630
+ # # Call the delete_ingress_rule method.
631
+ # result = client.delete_ingress_rule request
632
+ #
633
+ # # The returned object is of type Google::Protobuf::Empty.
634
+ # p result
635
+ #
518
636
  def delete_ingress_rule request, options = nil
519
637
  raise ::ArgumentError, "request must be provided" if request.nil?
520
638
 
@@ -580,9 +698,9 @@ module Google
580
698
  # end
581
699
  #
582
700
  # @!attribute [rw] endpoint
583
- # The hostname or hostname:port of the service endpoint.
584
- # Defaults to `"appengine.googleapis.com"`.
585
- # @return [::String]
701
+ # A custom service endpoint, as a hostname or hostname:port. The default is
702
+ # nil, indicating to use the default endpoint in the current universe domain.
703
+ # @return [::String,nil]
586
704
  # @!attribute [rw] credentials
587
705
  # Credentials to send with calls. You may provide any of the following types:
588
706
  # * (`String`) The path to a service account key file in JSON format
@@ -619,13 +737,20 @@ module Google
619
737
  # @!attribute [rw] quota_project
620
738
  # A separate project against which to charge quota.
621
739
  # @return [::String]
740
+ # @!attribute [rw] universe_domain
741
+ # The universe domain within which to make requests. This determines the
742
+ # default endpoint URL. The default value of nil uses the environment
743
+ # universe (usually the default "googleapis.com" universe).
744
+ # @return [::String,nil]
622
745
  #
623
746
  class Configuration
624
747
  extend ::Gapic::Config
625
748
 
749
+ # @private
750
+ # The endpoint specific to the default "googleapis.com" universe. Deprecated.
626
751
  DEFAULT_ENDPOINT = "appengine.googleapis.com"
627
752
 
628
- config_attr :endpoint, DEFAULT_ENDPOINT, ::String
753
+ config_attr :endpoint, nil, ::String, nil
629
754
  config_attr :credentials, nil do |value|
630
755
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
631
756
  allowed.any? { |klass| klass === value }
@@ -637,6 +762,7 @@ module Google
637
762
  config_attr :metadata, nil, ::Hash, nil
638
763
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
639
764
  config_attr :quota_project, nil, ::String, nil
765
+ config_attr :universe_domain, nil, ::String, nil
640
766
 
641
767
  # @private
642
768
  def initialize parent_config = nil
@@ -30,16 +30,28 @@ module Google
30
30
  # including transcoding, making the REST call, and deserialing the response.
31
31
  #
32
32
  class ServiceStub
33
- def initialize endpoint:, credentials:
33
+ def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
34
34
  # These require statements are intentionally placed here to initialize
35
35
  # the REST modules only when it's required.
36
36
  require "gapic/rest"
37
37
 
38
- @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
38
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
39
+ endpoint_template: endpoint_template,
40
+ universe_domain: universe_domain,
41
+ credentials: credentials,
39
42
  numeric_enums: true,
40
43
  raise_faraday_errors: false
41
44
  end
42
45
 
46
+ ##
47
+ # The effective universe domain
48
+ #
49
+ # @return [String]
50
+ #
51
+ def universe_domain
52
+ @client_stub.universe_domain
53
+ end
54
+
43
55
  ##
44
56
  # Baseline implementation for the list_ingress_rules REST call
45
57
  #
@@ -30,6 +30,9 @@ module Google
30
30
  # Manages instances of a version.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
35
+
33
36
  # @private
34
37
  attr_reader :instances_stub
35
38
 
@@ -88,6 +91,15 @@ module Google
88
91
  @config
89
92
  end
90
93
 
94
+ ##
95
+ # The effective universe domain
96
+ #
97
+ # @return [String]
98
+ #
99
+ def universe_domain
100
+ @instances_stub.universe_domain
101
+ end
102
+
91
103
  ##
92
104
  # Create a new Instances client object.
93
105
  #
@@ -121,8 +133,9 @@ module Google
121
133
  credentials = @config.credentials
122
134
  # Use self-signed JWT if the endpoint is unchanged from default,
123
135
  # but only if the default endpoint does not have a region prefix.
124
- enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
125
- !@config.endpoint.split(".").first.include?("-")
136
+ enable_self_signed_jwt = @config.endpoint.nil? ||
137
+ (@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
138
+ !@config.endpoint.split(".").first.include?("-"))
126
139
  credentials ||= Credentials.default scope: @config.scope,
127
140
  enable_self_signed_jwt: enable_self_signed_jwt
128
141
  if credentials.is_a?(::String) || credentials.is_a?(::Hash)
@@ -135,14 +148,18 @@ module Google
135
148
  config.credentials = credentials
136
149
  config.quota_project = @quota_project_id
137
150
  config.endpoint = @config.endpoint
151
+ config.universe_domain = @config.universe_domain
138
152
  end
139
153
 
140
154
  @instances_stub = ::Gapic::ServiceStub.new(
141
155
  ::Google::Cloud::AppEngine::V1::Instances::Stub,
142
- credentials: credentials,
143
- endpoint: @config.endpoint,
156
+ credentials: credentials,
157
+ endpoint: @config.endpoint,
158
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
159
+ universe_domain: @config.universe_domain,
144
160
  channel_args: @config.channel_args,
145
- interceptors: @config.interceptors
161
+ interceptors: @config.interceptors,
162
+ channel_pool_config: @config.channel_pool
146
163
  )
147
164
  end
148
165
 
@@ -583,9 +600,9 @@ module Google
583
600
  # end
584
601
  #
585
602
  # @!attribute [rw] endpoint
586
- # The hostname or hostname:port of the service endpoint.
587
- # Defaults to `"appengine.googleapis.com"`.
588
- # @return [::String]
603
+ # A custom service endpoint, as a hostname or hostname:port. The default is
604
+ # nil, indicating to use the default endpoint in the current universe domain.
605
+ # @return [::String,nil]
589
606
  # @!attribute [rw] credentials
590
607
  # Credentials to send with calls. You may provide any of the following types:
591
608
  # * (`String`) The path to a service account key file in JSON format
@@ -631,13 +648,20 @@ module Google
631
648
  # @!attribute [rw] quota_project
632
649
  # A separate project against which to charge quota.
633
650
  # @return [::String]
651
+ # @!attribute [rw] universe_domain
652
+ # The universe domain within which to make requests. This determines the
653
+ # default endpoint URL. The default value of nil uses the environment
654
+ # universe (usually the default "googleapis.com" universe).
655
+ # @return [::String,nil]
634
656
  #
635
657
  class Configuration
636
658
  extend ::Gapic::Config
637
659
 
660
+ # @private
661
+ # The endpoint specific to the default "googleapis.com" universe. Deprecated.
638
662
  DEFAULT_ENDPOINT = "appengine.googleapis.com"
639
663
 
640
- config_attr :endpoint, DEFAULT_ENDPOINT, ::String
664
+ config_attr :endpoint, nil, ::String, nil
641
665
  config_attr :credentials, nil do |value|
642
666
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
643
667
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -652,6 +676,7 @@ module Google
652
676
  config_attr :metadata, nil, ::Hash, nil
653
677
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
654
678
  config_attr :quota_project, nil, ::String, nil
679
+ config_attr :universe_domain, nil, ::String, nil
655
680
 
656
681
  # @private
657
682
  def initialize parent_config = nil
@@ -672,6 +697,14 @@ module Google
672
697
  end
673
698
  end
674
699
 
700
+ ##
701
+ # Configuration for the channel pool
702
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
703
+ #
704
+ def channel_pool
705
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
706
+ end
707
+
675
708
  ##
676
709
  # Configuration RPC class for the Instances API.
677
710
  #
@@ -26,6 +26,9 @@ module Google
26
26
  module Instances
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ DEFAULT_ENDPOINT_TEMPLATE = "appengine.$UNIVERSE_DOMAIN$"
31
+
29
32
  # @private
30
33
  attr_reader :operations_stub
31
34
 
@@ -60,6 +63,15 @@ module Google
60
63
  @config
61
64
  end
62
65
 
66
+ ##
67
+ # The effective universe domain
68
+ #
69
+ # @return [String]
70
+ #
71
+ def universe_domain
72
+ @operations_stub.universe_domain
73
+ end
74
+
63
75
  ##
64
76
  # Create a new Operations client object.
65
77
  #
@@ -90,10 +102,13 @@ module Google
90
102
 
91
103
  @operations_stub = ::Gapic::ServiceStub.new(
92
104
  ::Google::Longrunning::Operations::Stub,
93
- credentials: credentials,
94
- endpoint: @config.endpoint,
105
+ credentials: credentials,
106
+ endpoint: @config.endpoint,
107
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
108
+ universe_domain: @config.universe_domain,
95
109
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
110
+ interceptors: @config.interceptors,
111
+ channel_pool_config: @config.channel_pool
97
112
  )
98
113
 
99
114
  # Used by an LRO wrapper for some methods of this service
@@ -612,9 +627,9 @@ module Google
612
627
  # end
613
628
  #
614
629
  # @!attribute [rw] endpoint
615
- # The hostname or hostname:port of the service endpoint.
616
- # Defaults to `"appengine.googleapis.com"`.
617
- # @return [::String]
630
+ # A custom service endpoint, as a hostname or hostname:port. The default is
631
+ # nil, indicating to use the default endpoint in the current universe domain.
632
+ # @return [::String,nil]
618
633
  # @!attribute [rw] credentials
619
634
  # Credentials to send with calls. You may provide any of the following types:
620
635
  # * (`String`) The path to a service account key file in JSON format
@@ -660,13 +675,20 @@ module Google
660
675
  # @!attribute [rw] quota_project
661
676
  # A separate project against which to charge quota.
662
677
  # @return [::String]
678
+ # @!attribute [rw] universe_domain
679
+ # The universe domain within which to make requests. This determines the
680
+ # default endpoint URL. The default value of nil uses the environment
681
+ # universe (usually the default "googleapis.com" universe).
682
+ # @return [::String,nil]
663
683
  #
664
684
  class Configuration
665
685
  extend ::Gapic::Config
666
686
 
687
+ # @private
688
+ # The endpoint specific to the default "googleapis.com" universe. Deprecated.
667
689
  DEFAULT_ENDPOINT = "appengine.googleapis.com"
668
690
 
669
- config_attr :endpoint, DEFAULT_ENDPOINT, ::String
691
+ config_attr :endpoint, nil, ::String, nil
670
692
  config_attr :credentials, nil do |value|
671
693
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
672
694
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -681,6 +703,7 @@ module Google
681
703
  config_attr :metadata, nil, ::Hash, nil
682
704
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
683
705
  config_attr :quota_project, nil, ::String, nil
706
+ config_attr :universe_domain, nil, ::String, nil
684
707
 
685
708
  # @private
686
709
  def initialize parent_config = nil
@@ -701,6 +724,14 @@ module Google
701
724
  end
702
725
  end
703
726
 
727
+ ##
728
+ # Configuration for the channel pool
729
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
730
+ #
731
+ def channel_pool
732
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
733
+ end
734
+
704
735
  ##
705
736
  # Configuration RPC class for the Operations API.
706
737
  #