google-cloud-network_connectivity-v1alpha1 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb +23 -10
- data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/operations.rb +13 -5
- data/lib/google/cloud/network_connectivity/v1alpha1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08109343e21a2ca6875ddd5b1bb5509b1e6ea347bea768df270f79cd0fa22c73'
|
4
|
+
data.tar.gz: 2619a8233a8c0775bc1db57d3c0e8e611458f98efdeb323aaca4c8972a80b06b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e83fb4c96d0b9562cd9847d6d956d4b7cc77877748a865b0a2e8a4ebb6d45ba1910c405d680ee837a6ef9d83de9f5a41918e885fc33706186ebc3b2953d746c1
|
7
|
+
data.tar.gz: dec713d4276e768f6c8097dc93f9dc8aa8ad9fdcfd16f55547c2aefa814b7220aaa84919752c0de17685aedf3bc69219e45575b15af7b500f2d30fa70ebdfdad
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# model.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -261,10 +264,11 @@ module Google
|
|
261
264
|
# Customize the options with defaults
|
262
265
|
metadata = @config.rpcs.list_hubs.metadata.to_h
|
263
266
|
|
264
|
-
# Set x-goog-api-client
|
267
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
265
268
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
266
269
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
267
270
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
271
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
268
272
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
269
273
|
|
270
274
|
header_params = {}
|
@@ -347,10 +351,11 @@ module Google
|
|
347
351
|
# Customize the options with defaults
|
348
352
|
metadata = @config.rpcs.get_hub.metadata.to_h
|
349
353
|
|
350
|
-
# Set x-goog-api-client
|
354
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
351
355
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
352
356
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
353
357
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
358
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
354
359
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
355
360
|
|
356
361
|
header_params = {}
|
@@ -457,10 +462,11 @@ module Google
|
|
457
462
|
# Customize the options with defaults
|
458
463
|
metadata = @config.rpcs.create_hub.metadata.to_h
|
459
464
|
|
460
|
-
# Set x-goog-api-client
|
465
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
461
466
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
462
467
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
463
468
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
469
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
464
470
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
465
471
|
|
466
472
|
header_params = {}
|
@@ -570,10 +576,11 @@ module Google
|
|
570
576
|
# Customize the options with defaults
|
571
577
|
metadata = @config.rpcs.update_hub.metadata.to_h
|
572
578
|
|
573
|
-
# Set x-goog-api-client
|
579
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
574
580
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
575
581
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
576
582
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
583
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
577
584
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
578
585
|
|
579
586
|
header_params = {}
|
@@ -677,10 +684,11 @@ module Google
|
|
677
684
|
# Customize the options with defaults
|
678
685
|
metadata = @config.rpcs.delete_hub.metadata.to_h
|
679
686
|
|
680
|
-
# Set x-goog-api-client
|
687
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
681
688
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
682
689
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
683
690
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
691
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
684
692
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
685
693
|
|
686
694
|
header_params = {}
|
@@ -775,10 +783,11 @@ module Google
|
|
775
783
|
# Customize the options with defaults
|
776
784
|
metadata = @config.rpcs.list_spokes.metadata.to_h
|
777
785
|
|
778
|
-
# Set x-goog-api-client
|
786
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
779
787
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
780
788
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
781
789
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
790
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
782
791
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
783
792
|
|
784
793
|
header_params = {}
|
@@ -861,10 +870,11 @@ module Google
|
|
861
870
|
# Customize the options with defaults
|
862
871
|
metadata = @config.rpcs.get_spoke.metadata.to_h
|
863
872
|
|
864
|
-
# Set x-goog-api-client
|
873
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
865
874
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
866
875
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
867
876
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
877
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
868
878
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
869
879
|
|
870
880
|
header_params = {}
|
@@ -971,10 +981,11 @@ module Google
|
|
971
981
|
# Customize the options with defaults
|
972
982
|
metadata = @config.rpcs.create_spoke.metadata.to_h
|
973
983
|
|
974
|
-
# Set x-goog-api-client
|
984
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
975
985
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
976
986
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
977
987
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
988
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
978
989
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
979
990
|
|
980
991
|
header_params = {}
|
@@ -1084,10 +1095,11 @@ module Google
|
|
1084
1095
|
# Customize the options with defaults
|
1085
1096
|
metadata = @config.rpcs.update_spoke.metadata.to_h
|
1086
1097
|
|
1087
|
-
# Set x-goog-api-client
|
1098
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1088
1099
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1089
1100
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1090
1101
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
1102
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1091
1103
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1092
1104
|
|
1093
1105
|
header_params = {}
|
@@ -1191,10 +1203,11 @@ module Google
|
|
1191
1203
|
# Customize the options with defaults
|
1192
1204
|
metadata = @config.rpcs.delete_spoke.metadata.to_h
|
1193
1205
|
|
1194
|
-
# Set x-goog-api-client
|
1206
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1195
1207
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1196
1208
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1197
1209
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
1210
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1198
1211
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1199
1212
|
|
1200
1213
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module HubService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "networkconnectivity.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::NetworkConnectivity::V1alpha1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-network_connectivity-v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|