google-cloud-network_connectivity-v1alpha1 0.8.2 → 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/README.md +1 -1
- 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/lib/google/cloud/networkconnectivity/v1alpha1/common_pb.rb +1 -1
- data/lib/google/cloud/networkconnectivity/v1alpha1/hub_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +4 -116
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
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -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,
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/protobuf/timestamp_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n6google/cloud/networkconnectivity/v1alpha1/common.proto\x12)google.cloud.networkconnectivity.v1alpha1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
11
|
+
descriptor_data = "\n6google/cloud/networkconnectivity/v1alpha1/common.proto\x12)google.cloud.networkconnectivity.v1alpha1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x42\xa6\x02\n-com.google.cloud.networkconnectivity.v1alpha1B\x0b\x43ommonProtoP\x01Z_cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb;networkconnectivitypb\xaa\x02)Google.Cloud.NetworkConnectivity.V1Alpha1\xca\x02)Google\\Cloud\\NetworkConnectivity\\V1alpha1\xea\x02,Google::Cloud::NetworkConnectivity::V1alpha1b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -13,7 +13,7 @@ require 'google/protobuf/field_mask_pb'
|
|
13
13
|
require 'google/protobuf/timestamp_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n3google/cloud/networkconnectivity/v1alpha1/hub.proto\x12)google.cloud.networkconnectivity.v1alpha1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
16
|
+
descriptor_data = "\n3google/cloud/networkconnectivity/v1alpha1/hub.proto\x12)google.cloud.networkconnectivity.v1alpha1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x87\x04\n\x03Hub\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\x06labels\x18\x04 \x03(\x0b\x32:.google.cloud.networkconnectivity.v1alpha1.Hub.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12@\n\x06spokes\x18\x06 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x16\n\tunique_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x30.google.cloud.networkconnectivity.v1alpha1.StateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:[\xea\x41X\n&networkconnectivity.googleapis.com/Hub\x12.projects/{project}/locations/global/hubs/{hub}\"\x9c\x06\n\x05Spoke\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12L\n\x06labels\x18\x04 \x03(\x0b\x32<.google.cloud.networkconnectivity.v1alpha1.Spoke.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x38\n\x03hub\x18\x06 \x01(\tB+\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x41\n\x12linked_vpn_tunnels\x18\x0c \x03(\tB%\xfa\x41\"\n compute.googleapis.com/VpnTunnel\x12[\n\x1flinked_interconnect_attachments\x18\r \x03(\tB2\xfa\x41/\n-compute.googleapis.com/InterconnectAttachment\x12m\n!linked_router_appliance_instances\x18\x0e \x03(\x0b\x32\x42.google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance\x12\x16\n\tunique_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\x0f \x01(\x0e\x32\x30.google.cloud.networkconnectivity.v1alpha1.StateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:e\xea\x41\x62\n(networkconnectivity.googleapis.com/Spoke\x12\x36projects/{project}/locations/{location}/spokes/{spoke}\"\x95\x01\n\x0fListHubsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"~\n\x10ListHubsResponse\x12<\n\x04hubs\x18\x01 \x03(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.Hub\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\rGetHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\"\xbd\x01\n\x10\x43reateHubRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06hub_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\x03hub\x18\x03 \x01(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x10UpdateHubRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x03hub\x18\x02 \x01(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x10\x44\x65leteHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x11ListSpokesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x84\x01\n\x12ListSpokesResponse\x12@\n\x06spokes\x18\x01 \x03(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.Spoke\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x0fGetSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\"\xc5\x01\n\x12\x43reateSpokeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x15\n\x08spoke_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05spoke\x18\x03 \x01(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa9\x01\n\x12UpdateSpokeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x44\n\x05spoke\x18\x02 \x01(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x12\x44\x65leteSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n\x17RouterApplianceInstance\x12=\n\x0fvirtual_machine\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x63ompute.googleapis.com/Instance\x12\x12\n\nip_address\x18\x03 \x01(\t\x12\x1d\n\x11network_interface\x18\x02 \x01(\tB\x02\x18\x01*F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x32\xad\x11\n\nHubService\x12\xc9\x01\n\x08ListHubs\x12:.google.cloud.networkconnectivity.v1alpha1.ListHubsRequest\x1a;.google.cloud.networkconnectivity.v1alpha1.ListHubsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1alpha1/{parent=projects/*/locations/global}/hubs\x12\xb6\x01\n\x06GetHub\x12\x38.google.cloud.networkconnectivity.v1alpha1.GetHubRequest\x1a..google.cloud.networkconnectivity.v1alpha1.Hub\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1alpha1/{name=projects/*/locations/global/hubs/*}\x12\xd8\x01\n\tCreateHub\x12;.google.cloud.networkconnectivity.v1alpha1.CreateHubRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x11parent,hub,hub_id\x82\xd3\xe4\x93\x02:\"3/v1alpha1/{parent=projects/*/locations/global}/hubs:\x03hub\x12\xda\x01\n\tUpdateHub\x12;.google.cloud.networkconnectivity.v1alpha1.UpdateHubRequest\x1a\x1d.google.longrunning.Operation\"q\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x0fhub,update_mask\x82\xd3\xe4\x93\x02>27/v1alpha1/{hub.name=projects/*/locations/global/hubs/*}:\x03hub\x12\xd8\x01\n\tDeleteHub\x12;.google.cloud.networkconnectivity.v1alpha1.DeleteHubRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1alpha1/{name=projects/*/locations/global/hubs/*}\x12\xcc\x01\n\nListSpokes\x12<.google.cloud.networkconnectivity.v1alpha1.ListSpokesRequest\x1a=.google.cloud.networkconnectivity.v1alpha1.ListSpokesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha1/{parent=projects/*/locations/*}/spokes\x12\xb9\x01\n\x08GetSpoke\x12:.google.cloud.networkconnectivity.v1alpha1.GetSpokeRequest\x1a\x30.google.cloud.networkconnectivity.v1alpha1.Spoke\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha1/{name=projects/*/locations/*/spokes/*}\x12\xe1\x01\n\x0b\x43reateSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.CreateSpokeRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x15parent,spoke,spoke_id\x82\xd3\xe4\x93\x02\x39\"0/v1alpha1/{parent=projects/*/locations/*}/spokes:\x05spoke\x12\xe3\x01\n\x0bUpdateSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.UpdateSpokeRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x11spoke,update_mask\x82\xd3\xe4\x93\x02?26/v1alpha1/{spoke.name=projects/*/locations/*/spokes/*}:\x05spoke\x12\xd9\x01\n\x0b\x44\x65leteSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.DeleteSpokeRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1alpha1/{name=projects/*/locations/*/spokes/*}\x1aV\xca\x41\"networkconnectivity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x04\n-com.google.cloud.networkconnectivity.v1alpha1B\x08HubProtoP\x01Z_cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb;networkconnectivitypb\xaa\x02)Google.Cloud.NetworkConnectivity.V1Alpha1\xca\x02)Google\\Cloud\\NetworkConnectivity\\V1alpha1\xea\x02,Google::Cloud::NetworkConnectivity::V1alpha1\xea\x41`\n compute.googleapis.com/VpnTunnel\x12<projects/{project}/regions/{region}/vpnTunnels/{resource_id}\xea\x41z\n-compute.googleapis.com/InterconnectAttachment\x12Iprojects/{project}/regions/{region}/interconnectAttachments/{resource_id}\xea\x41W\n\x1f\x63ompute.googleapis.com/Instance\x12\x34projects/{project}/zones/{zone}/instances/{instance}b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -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.
|
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
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: Network Connectivity is Google's suite of products that provide enterprise
|
160
48
|
connectivity from your on-premises network or from another cloud provider to your
|
161
49
|
Virtual Private Cloud (VPC) network. Note that google-cloud-network_connectivity-v1alpha1
|
@@ -208,14 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
208
96
|
requirements:
|
209
97
|
- - ">="
|
210
98
|
- !ruby/object:Gem::Version
|
211
|
-
version: '2.
|
99
|
+
version: '2.7'
|
212
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
101
|
requirements:
|
214
102
|
- - ">="
|
215
103
|
- !ruby/object:Gem::Version
|
216
104
|
version: '0'
|
217
105
|
requirements: []
|
218
|
-
rubygems_version: 3.5.
|
106
|
+
rubygems_version: 3.5.6
|
219
107
|
signing_key:
|
220
108
|
specification_version: 4
|
221
109
|
summary: The Network Connectivity API will be home to various services which provide
|