google-cloud-service_management-v1 0.3.0 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e065b22f69aa30914c2623538fc7f0edcb7a07c24a0237b478cfdd398734820a
4
- data.tar.gz: 1409cecb6230d9c32dd0e3cdef199be25708049a55006c852817c3a0b10cfa37
3
+ metadata.gz: 054edd452b456f703d00dbbdc125759e97f21ea27973d3e8bece456ed4415e8e
4
+ data.tar.gz: e98b2408120b7703445f016eddce248f2213e3505e85299a1af2ab958adc2eaa
5
5
  SHA512:
6
- metadata.gz: 41b2e1d94057e60025ce45c67df3d5865cf709dd8877d3664b3656a72cefeff3c72310accc7231a2ef35d08b421986691aa4a6d7b82bb45b5f93c83df927aefb
7
- data.tar.gz: e2f9b27373afb228eb3496c78173f8ebd22c642b3fac6253f9c623c58d0518930b92dc25ca394d1c44d0dae18cb8d8c1f0ff8eb8c23077ae7c7eb4a5ed0ee691
6
+ metadata.gz: 20c429c30df6f90de4055c00d78cc5ca20607d54a3d3b8daa33fea111438cff919f903d5797c21d96d1f78df9b9c4404b959621aac2dec81d150654b473a2843
7
+ data.tar.gz: e1b875870b5039e9b674a2de088ac47a977e10c440f1a34daf0df1d6ac491050d1201f48476d824d77e646b7af712cc5130593b725422b1fd45b8a6e8aa02f4f
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-service_management-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::ServiceManagement::V1::ServiceManager::Credentials}):
68
68
 
69
- 1. `SERVICE_MANAGEMENT_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `SERVICE_MANAGEMENT_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `SERVICE_MANAGEMENT_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `SERVICE_MANAGEMENT_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/service_management/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/service_management/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new do |
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/service_management/v1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/service_management/v1"
34
34
 
35
35
  client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::ServiceManagement::V1::ListServicesRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_services request
38
38
  ```
39
39
 
@@ -24,7 +24,7 @@ module Google
24
24
  module ServiceManagement
25
25
  module V1
26
26
  module ServiceManager
27
- # [Google Service Management API](/service-management/overview)
27
+ # [Google Service Management API](https://cloud.google.com/service-management/overview)
28
28
  class Service
29
29
 
30
30
  include GRPC::GenericService
@@ -31,7 +31,7 @@ module Google
31
31
  module ServiceManagement
32
32
  module V1
33
33
  ##
34
- # [Google Service Management API](/service-management/overview)
34
+ # [Google Service Management API](https://cloud.google.com/service-management/overview)
35
35
  #
36
36
  # To load this service and instantiate a client:
37
37
  #
@@ -27,7 +27,7 @@ module Google
27
27
  ##
28
28
  # Client for the ServiceManager service.
29
29
  #
30
- # [Google Service Management API](/service-management/overview)
30
+ # [Google Service Management API](https://cloud.google.com/service-management/overview)
31
31
  #
32
32
  class Client
33
33
  # @private
@@ -39,13 +39,12 @@ module Google
39
39
  # See {::Google::Cloud::ServiceManagement::V1::ServiceManager::Client::Configuration}
40
40
  # for a description of the configuration fields.
41
41
  #
42
- # ## Example
42
+ # @example
43
43
  #
44
- # To modify the configuration for all ServiceManager clients:
45
- #
46
- # ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.configure do |config|
47
- # config.timeout = 10.0
48
- # end
44
+ # # Modify the configuration for all ServiceManager clients
45
+ # ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.configure do |config|
46
+ # config.timeout = 10.0
47
+ # end
49
48
  #
50
49
  # @yield [config] Configure the Client client.
51
50
  # @yieldparam config [Client::Configuration]
@@ -92,19 +91,15 @@ module Google
92
91
  ##
93
92
  # Create a new ServiceManager client object.
94
93
  #
95
- # ## Examples
96
- #
97
- # To create a new ServiceManager client with the default
98
- # configuration:
99
- #
100
- # client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new
94
+ # @example
101
95
  #
102
- # To create a new ServiceManager client with a custom
103
- # configuration:
96
+ # # Create a client using the default configuration
97
+ # client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new
104
98
  #
105
- # client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new do |config|
106
- # config.timeout = 10.0
107
- # end
99
+ # # Create a client using a custom configuration
100
+ # client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new do |config|
101
+ # config.timeout = 10.0
102
+ # end
108
103
  #
109
104
  # @yield [config] Configure the ServiceManager client.
110
105
  # @yieldparam config [Client::Configuration]
@@ -124,14 +119,13 @@ module Google
124
119
 
125
120
  # Create credentials
126
121
  credentials = @config.credentials
127
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
122
+ # Use self-signed JWT if the endpoint is unchanged from default,
128
123
  # but only if the default endpoint does not have a region prefix.
129
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
130
- @config.endpoint == Client.configure.endpoint &&
124
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
131
125
  !@config.endpoint.split(".").first.include?("-")
132
126
  credentials ||= Credentials.default scope: @config.scope,
133
127
  enable_self_signed_jwt: enable_self_signed_jwt
134
- if credentials.is_a?(String) || credentials.is_a?(Hash)
128
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
135
129
  credentials = Credentials.new credentials, scope: @config.scope
136
130
  end
137
131
  @quota_project_id = @config.quota_project
@@ -229,7 +223,9 @@ module Google
229
223
  options.apply_defaults timeout: @config.rpcs.list_services.timeout,
230
224
  metadata: metadata,
231
225
  retry_policy: @config.rpcs.list_services.retry_policy
232
- options.apply_defaults metadata: @config.metadata,
226
+
227
+ options.apply_defaults timeout: @config.timeout,
228
+ metadata: @config.metadata,
233
229
  retry_policy: @config.retry_policy
234
230
 
235
231
  @service_manager_stub.call_rpc :list_services, request, options: options do |response, operation|
@@ -298,7 +294,9 @@ module Google
298
294
  options.apply_defaults timeout: @config.rpcs.get_service.timeout,
299
295
  metadata: metadata,
300
296
  retry_policy: @config.rpcs.get_service.retry_policy
301
- options.apply_defaults metadata: @config.metadata,
297
+
298
+ options.apply_defaults timeout: @config.timeout,
299
+ metadata: @config.metadata,
302
300
  retry_policy: @config.retry_policy
303
301
 
304
302
  @service_manager_stub.call_rpc :get_service, request, options: options do |response, operation|
@@ -361,7 +359,9 @@ module Google
361
359
  options.apply_defaults timeout: @config.rpcs.create_service.timeout,
362
360
  metadata: metadata,
363
361
  retry_policy: @config.rpcs.create_service.retry_policy
364
- options.apply_defaults metadata: @config.metadata,
362
+
363
+ options.apply_defaults timeout: @config.timeout,
364
+ metadata: @config.metadata,
365
365
  retry_policy: @config.retry_policy
366
366
 
367
367
  @service_manager_stub.call_rpc :create_service, request, options: options do |response, operation|
@@ -397,7 +397,7 @@ module Google
397
397
  # the default parameter values, pass an empty Hash as a request object (see above).
398
398
  #
399
399
  # @param service_name [::String]
400
- # Required. The name of the service. See the [overview](/service-management/overview)
400
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
401
401
  # for naming requirements. For example: `example.googleapis.com`.
402
402
  #
403
403
  # @yield [response, operation] Access the result along with the RPC operation
@@ -434,7 +434,9 @@ module Google
434
434
  options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
435
435
  metadata: metadata,
436
436
  retry_policy: @config.rpcs.delete_service.retry_policy
437
- options.apply_defaults metadata: @config.metadata,
437
+
438
+ options.apply_defaults timeout: @config.timeout,
439
+ metadata: @config.metadata,
438
440
  retry_policy: @config.retry_policy
439
441
 
440
442
  @service_manager_stub.call_rpc :delete_service, request, options: options do |response, operation|
@@ -470,7 +472,7 @@ module Google
470
472
  # the default parameter values, pass an empty Hash as a request object (see above).
471
473
  #
472
474
  # @param service_name [::String]
473
- # Required. The name of the service. See the [overview](/service-management/overview)
475
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
474
476
  # for naming requirements. For example: `example.googleapis.com`.
475
477
  #
476
478
  # @yield [response, operation] Access the result along with the RPC operation
@@ -507,7 +509,9 @@ module Google
507
509
  options.apply_defaults timeout: @config.rpcs.undelete_service.timeout,
508
510
  metadata: metadata,
509
511
  retry_policy: @config.rpcs.undelete_service.retry_policy
510
- options.apply_defaults metadata: @config.metadata,
512
+
513
+ options.apply_defaults timeout: @config.timeout,
514
+ metadata: @config.metadata,
511
515
  retry_policy: @config.retry_policy
512
516
 
513
517
  @service_manager_stub.call_rpc :undelete_service, request, options: options do |response, operation|
@@ -539,7 +543,7 @@ module Google
539
543
  # the default parameter values, pass an empty Hash as a request object (see above).
540
544
  #
541
545
  # @param service_name [::String]
542
- # Required. The name of the service. See the [overview](/service-management/overview)
546
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
543
547
  # for naming requirements. For example: `example.googleapis.com`.
544
548
  # @param page_token [::String]
545
549
  # The token of the page to retrieve.
@@ -581,7 +585,9 @@ module Google
581
585
  options.apply_defaults timeout: @config.rpcs.list_service_configs.timeout,
582
586
  metadata: metadata,
583
587
  retry_policy: @config.rpcs.list_service_configs.retry_policy
584
- options.apply_defaults metadata: @config.metadata,
588
+
589
+ options.apply_defaults timeout: @config.timeout,
590
+ metadata: @config.metadata,
585
591
  retry_policy: @config.retry_policy
586
592
 
587
593
  @service_manager_stub.call_rpc :list_service_configs, request, options: options do |response, operation|
@@ -612,7 +618,7 @@ module Google
612
618
  # the default parameter values, pass an empty Hash as a request object (see above).
613
619
  #
614
620
  # @param service_name [::String]
615
- # Required. The name of the service. See the [overview](/service-management/overview)
621
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
616
622
  # for naming requirements. For example: `example.googleapis.com`.
617
623
  # @param config_id [::String]
618
624
  # Required. The id of the service configuration resource.
@@ -658,7 +664,9 @@ module Google
658
664
  options.apply_defaults timeout: @config.rpcs.get_service_config.timeout,
659
665
  metadata: metadata,
660
666
  retry_policy: @config.rpcs.get_service_config.retry_policy
661
- options.apply_defaults metadata: @config.metadata,
667
+
668
+ options.apply_defaults timeout: @config.timeout,
669
+ metadata: @config.metadata,
662
670
  retry_policy: @config.retry_policy
663
671
 
664
672
  @service_manager_stub.call_rpc :get_service_config, request, options: options do |response, operation|
@@ -695,7 +703,7 @@ module Google
695
703
  # the default parameter values, pass an empty Hash as a request object (see above).
696
704
  #
697
705
  # @param service_name [::String]
698
- # Required. The name of the service. See the [overview](/service-management/overview)
706
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
699
707
  # for naming requirements. For example: `example.googleapis.com`.
700
708
  # @param service_config [::Google::Api::Service, ::Hash]
701
709
  # Required. The service configuration resource.
@@ -734,7 +742,9 @@ module Google
734
742
  options.apply_defaults timeout: @config.rpcs.create_service_config.timeout,
735
743
  metadata: metadata,
736
744
  retry_policy: @config.rpcs.create_service_config.retry_policy
737
- options.apply_defaults metadata: @config.metadata,
745
+
746
+ options.apply_defaults timeout: @config.timeout,
747
+ metadata: @config.metadata,
738
748
  retry_policy: @config.retry_policy
739
749
 
740
750
  @service_manager_stub.call_rpc :create_service_config, request, options: options do |response, operation|
@@ -776,7 +786,7 @@ module Google
776
786
  # the default parameter values, pass an empty Hash as a request object (see above).
777
787
  #
778
788
  # @param service_name [::String]
779
- # Required. The name of the service. See the [overview](/service-management/overview)
789
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
780
790
  # for naming requirements. For example: `example.googleapis.com`.
781
791
  # @param config_source [::Google::Cloud::ServiceManagement::V1::ConfigSource, ::Hash]
782
792
  # Required. The source configuration for the service.
@@ -819,7 +829,9 @@ module Google
819
829
  options.apply_defaults timeout: @config.rpcs.submit_config_source.timeout,
820
830
  metadata: metadata,
821
831
  retry_policy: @config.rpcs.submit_config_source.retry_policy
822
- options.apply_defaults metadata: @config.metadata,
832
+
833
+ options.apply_defaults timeout: @config.timeout,
834
+ metadata: @config.metadata,
823
835
  retry_policy: @config.retry_policy
824
836
 
825
837
  @service_manager_stub.call_rpc :submit_config_source, request, options: options do |response, operation|
@@ -851,7 +863,7 @@ module Google
851
863
  # the default parameter values, pass an empty Hash as a request object (see above).
852
864
  #
853
865
  # @param service_name [::String]
854
- # Required. The name of the service. See the [overview](/service-management/overview)
866
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
855
867
  # for naming requirements. For example: `example.googleapis.com`.
856
868
  # @param page_token [::String]
857
869
  # The token of the page to retrieve.
@@ -862,10 +874,10 @@ module Google
862
874
  # Required. Use `filter` to return subset of rollouts.
863
875
  # The following filters are supported:
864
876
  # -- To limit the results to only those in
865
- # [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
877
+ # status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
866
878
  # use filter='status=SUCCESS'
867
879
  # -- To limit the results to those in
868
- # [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
880
+ # status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
869
881
  # or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
870
882
  #
871
883
  # @yield [response, operation] Access the result along with the RPC operation
@@ -902,7 +914,9 @@ module Google
902
914
  options.apply_defaults timeout: @config.rpcs.list_service_rollouts.timeout,
903
915
  metadata: metadata,
904
916
  retry_policy: @config.rpcs.list_service_rollouts.retry_policy
905
- options.apply_defaults metadata: @config.metadata,
917
+
918
+ options.apply_defaults timeout: @config.timeout,
919
+ metadata: @config.metadata,
906
920
  retry_policy: @config.retry_policy
907
921
 
908
922
  @service_manager_stub.call_rpc :list_service_rollouts, request, options: options do |response, operation|
@@ -933,7 +947,7 @@ module Google
933
947
  # the default parameter values, pass an empty Hash as a request object (see above).
934
948
  #
935
949
  # @param service_name [::String]
936
- # Required. The name of the service. See the [overview](/service-management/overview)
950
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
937
951
  # for naming requirements. For example: `example.googleapis.com`.
938
952
  # @param rollout_id [::String]
939
953
  # Required. The id of the rollout resource.
@@ -973,7 +987,9 @@ module Google
973
987
  options.apply_defaults timeout: @config.rpcs.get_service_rollout.timeout,
974
988
  metadata: metadata,
975
989
  retry_policy: @config.rpcs.get_service_rollout.retry_policy
976
- options.apply_defaults metadata: @config.metadata,
990
+
991
+ options.apply_defaults timeout: @config.timeout,
992
+ metadata: @config.metadata,
977
993
  retry_policy: @config.retry_policy
978
994
 
979
995
  @service_manager_stub.call_rpc :get_service_rollout, request, options: options do |response, operation|
@@ -1016,7 +1032,7 @@ module Google
1016
1032
  # the default parameter values, pass an empty Hash as a request object (see above).
1017
1033
  #
1018
1034
  # @param service_name [::String]
1019
- # Required. The name of the service. See the [overview](/service-management/overview)
1035
+ # Required. The name of the service. See the [overview](https://cloud.google.com/service-management/overview)
1020
1036
  # for naming requirements. For example: `example.googleapis.com`.
1021
1037
  # @param rollout [::Google::Cloud::ServiceManagement::V1::Rollout, ::Hash]
1022
1038
  # Required. The rollout resource. The `service_name` field is output only.
@@ -1055,7 +1071,9 @@ module Google
1055
1071
  options.apply_defaults timeout: @config.rpcs.create_service_rollout.timeout,
1056
1072
  metadata: metadata,
1057
1073
  retry_policy: @config.rpcs.create_service_rollout.retry_policy
1058
- options.apply_defaults metadata: @config.metadata,
1074
+
1075
+ options.apply_defaults timeout: @config.timeout,
1076
+ metadata: @config.metadata,
1059
1077
  retry_policy: @config.retry_policy
1060
1078
 
1061
1079
  @service_manager_stub.call_rpc :create_service_rollout, request, options: options do |response, operation|
@@ -1136,7 +1154,9 @@ module Google
1136
1154
  options.apply_defaults timeout: @config.rpcs.generate_config_report.timeout,
1137
1155
  metadata: metadata,
1138
1156
  retry_policy: @config.rpcs.generate_config_report.retry_policy
1139
- options.apply_defaults metadata: @config.metadata,
1157
+
1158
+ options.apply_defaults timeout: @config.timeout,
1159
+ metadata: @config.metadata,
1140
1160
  retry_policy: @config.retry_policy
1141
1161
 
1142
1162
  @service_manager_stub.call_rpc :generate_config_report, request, options: options do |response, operation|
@@ -1155,6 +1175,8 @@ module Google
1155
1175
  #
1156
1176
  # Operation<response: EnableServiceResponse>
1157
1177
  #
1178
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1179
+ #
1158
1180
  # @overload enable_service(request, options = nil)
1159
1181
  # Pass arguments to `enable_service` via a request object, either of type
1160
1182
  # {::Google::Cloud::ServiceManagement::V1::EnableServiceRequest} or an equivalent Hash.
@@ -1218,7 +1240,9 @@ module Google
1218
1240
  options.apply_defaults timeout: @config.rpcs.enable_service.timeout,
1219
1241
  metadata: metadata,
1220
1242
  retry_policy: @config.rpcs.enable_service.retry_policy
1221
- options.apply_defaults metadata: @config.metadata,
1243
+
1244
+ options.apply_defaults timeout: @config.timeout,
1245
+ metadata: @config.metadata,
1222
1246
  retry_policy: @config.retry_policy
1223
1247
 
1224
1248
  @service_manager_stub.call_rpc :enable_service, request, options: options do |response, operation|
@@ -1237,6 +1261,8 @@ module Google
1237
1261
  #
1238
1262
  # Operation<response: DisableServiceResponse>
1239
1263
  #
1264
+ # @deprecated This method is deprecated and may be removed in the next major version update.
1265
+ #
1240
1266
  # @overload disable_service(request, options = nil)
1241
1267
  # Pass arguments to `disable_service` via a request object, either of type
1242
1268
  # {::Google::Cloud::ServiceManagement::V1::DisableServiceRequest} or an equivalent Hash.
@@ -1300,7 +1326,9 @@ module Google
1300
1326
  options.apply_defaults timeout: @config.rpcs.disable_service.timeout,
1301
1327
  metadata: metadata,
1302
1328
  retry_policy: @config.rpcs.disable_service.retry_policy
1303
- options.apply_defaults metadata: @config.metadata,
1329
+
1330
+ options.apply_defaults timeout: @config.timeout,
1331
+ metadata: @config.metadata,
1304
1332
  retry_policy: @config.retry_policy
1305
1333
 
1306
1334
  @service_manager_stub.call_rpc :disable_service, request, options: options do |response, operation|
@@ -1325,22 +1353,21 @@ module Google
1325
1353
  # Configuration can be applied globally to all clients, or to a single client
1326
1354
  # on construction.
1327
1355
  #
1328
- # # Examples
1329
- #
1330
- # To modify the global config, setting the timeout for list_services
1331
- # to 20 seconds, and all remaining timeouts to 10 seconds:
1332
- #
1333
- # ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.configure do |config|
1334
- # config.timeout = 10.0
1335
- # config.rpcs.list_services.timeout = 20.0
1336
- # end
1337
- #
1338
- # To apply the above configuration only to a new client:
1339
- #
1340
- # client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new do |config|
1341
- # config.timeout = 10.0
1342
- # config.rpcs.list_services.timeout = 20.0
1343
- # end
1356
+ # @example
1357
+ #
1358
+ # # Modify the global config, setting the timeout for
1359
+ # # list_services to 20 seconds,
1360
+ # # and all remaining timeouts to 10 seconds.
1361
+ # ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.configure do |config|
1362
+ # config.timeout = 10.0
1363
+ # config.rpcs.list_services.timeout = 20.0
1364
+ # end
1365
+ #
1366
+ # # Apply the above configuration only to a new client.
1367
+ # client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Client.new do |config|
1368
+ # config.timeout = 10.0
1369
+ # config.rpcs.list_services.timeout = 20.0
1370
+ # end
1344
1371
  #
1345
1372
  # @!attribute [rw] endpoint
1346
1373
  # The hostname or hostname:port of the service endpoint.