google-cloud-network_connectivity-v1 0.1.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +11 -6
- data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +1 -0
- data/lib/google/cloud/network_connectivity/v1/hub_service/operations.rb +3 -0
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/network_connectivity/v1.rb +2 -0
- data/lib/google/cloud/networkconnectivity/v1/common_pb.rb +3 -2
- data/lib/google/cloud/networkconnectivity/v1/hub_pb.rb +13 -1
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/networkconnectivity/v1/hub.rb +45 -16
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d5447ddeec44ddc5f97d5138954694913a894153b1a486d0d09f7f36f55b94d
|
4
|
+
data.tar.gz: a68d1d03410b0e29b66e6273196c08f2270492488d7d1f98482e8a932c4197b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d4c014bc0550cf1e7a993e30f38f3856be74bfdd0b8ee896ca307166c0dbb0c6e1b7de11b766c76728cb1e4b88287450ae25bb06ef2c50e878a21a929880b99
|
7
|
+
data.tar.gz: 1328c90cadb86a4f737a516af42385c01415d1d18b79927e2c109c16c9fe05ff1b10687ff712535eb7aa6aca29d5b0e1ff4070f81ea922689388c155b0e345d7
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::NetworkConnectivity::V1::ListHubsRequest.new # (reque
|
|
37
37
|
response = client.list_hubs request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/network-connectivity/docs)
|
@@ -69,16 +69,21 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -25,6 +25,8 @@ module Google
|
|
25
25
|
##
|
26
26
|
# To load this package, including all its services, and instantiate a client:
|
27
27
|
#
|
28
|
+
# @example
|
29
|
+
#
|
28
30
|
# require "google/cloud/network_connectivity/v1"
|
29
31
|
# client = ::Google::Cloud::NetworkConnectivity::V1::HubService::Client.new
|
30
32
|
#
|
@@ -1,10 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networkconnectivity/v1/common.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
4
7
|
require 'google/api/field_behavior_pb'
|
5
8
|
require 'google/protobuf/timestamp_pb'
|
6
|
-
require 'google/api/annotations_pb'
|
7
|
-
require 'google/protobuf'
|
8
9
|
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("google/cloud/networkconnectivity/v1/common.proto", :syntax => :proto3) do
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/networkconnectivity/v1/hub.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -8,7 +10,6 @@ require 'google/api/resource_pb'
|
|
8
10
|
require 'google/longrunning/operations_pb'
|
9
11
|
require 'google/protobuf/field_mask_pb'
|
10
12
|
require 'google/protobuf/timestamp_pb'
|
11
|
-
require 'google/protobuf'
|
12
13
|
|
13
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
15
|
add_file("google/cloud/networkconnectivity/v1/hub.proto", :syntax => :proto3) do
|
@@ -24,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
25
|
end
|
25
26
|
add_message "google.cloud.networkconnectivity.v1.RoutingVPC" do
|
26
27
|
optional :uri, :string, 1
|
28
|
+
optional :required_for_new_site_to_site_data_transfer_spokes, :bool, 2
|
27
29
|
end
|
28
30
|
add_message "google.cloud.networkconnectivity.v1.Spoke" do
|
29
31
|
optional :name, :string, 1
|
@@ -114,12 +116,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
114
116
|
optional :virtual_machine, :string, 1
|
115
117
|
optional :ip_address, :string, 3
|
116
118
|
end
|
119
|
+
add_message "google.cloud.networkconnectivity.v1.LocationMetadata" do
|
120
|
+
repeated :location_features, :enum, 1, "google.cloud.networkconnectivity.v1.LocationFeature"
|
121
|
+
end
|
117
122
|
add_enum "google.cloud.networkconnectivity.v1.State" do
|
118
123
|
value :STATE_UNSPECIFIED, 0
|
119
124
|
value :CREATING, 1
|
120
125
|
value :ACTIVE, 2
|
121
126
|
value :DELETING, 3
|
122
127
|
end
|
128
|
+
add_enum "google.cloud.networkconnectivity.v1.LocationFeature" do
|
129
|
+
value :LOCATION_FEATURE_UNSPECIFIED, 0
|
130
|
+
value :SITE_TO_CLOUD_SPOKES, 1
|
131
|
+
value :SITE_TO_SITE_SPOKES, 2
|
132
|
+
end
|
123
133
|
end
|
124
134
|
end
|
125
135
|
|
@@ -146,7 +156,9 @@ module Google
|
|
146
156
|
LinkedInterconnectAttachments = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments").msgclass
|
147
157
|
LinkedRouterApplianceInstances = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances").msgclass
|
148
158
|
RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouterApplianceInstance").msgclass
|
159
|
+
LocationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationMetadata").msgclass
|
149
160
|
State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.State").enummodule
|
161
|
+
LocationFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationFeature").enummodule
|
150
162
|
end
|
151
163
|
end
|
152
164
|
end
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -22,8 +22,10 @@ module Google
|
|
22
22
|
module NetworkConnectivity
|
23
23
|
module V1
|
24
24
|
# A hub is a collection of spokes. A single hub can contain spokes from
|
25
|
-
# multiple regions. However,
|
26
|
-
# resources
|
25
|
+
# multiple regions. However, if any of a hub's spokes use the data transfer
|
26
|
+
# feature, the resources associated with those spokes must all reside in the
|
27
|
+
# same VPC network. Spokes that do not use data transfer can be associated
|
28
|
+
# with any VPC network in your project.
|
27
29
|
# @!attribute [rw] name
|
28
30
|
# @return [::String]
|
29
31
|
# Immutable. The name of the hub. Hub names must be unique. They use the
|
@@ -53,9 +55,7 @@ module Google
|
|
53
55
|
# Output only. The current lifecycle state of this hub.
|
54
56
|
# @!attribute [rw] routing_vpcs
|
55
57
|
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::RoutingVPC>]
|
56
|
-
# The VPC
|
57
|
-
# VLAN attachments, and router appliance instances referenced by this hub's
|
58
|
-
# spokes must belong to this VPC network.
|
58
|
+
# The VPC networks associated with this hub's spokes.
|
59
59
|
#
|
60
60
|
# This field is read-only. Network Connectivity Center automatically
|
61
61
|
# populates it based on the set of spokes attached to the hub.
|
@@ -73,11 +73,18 @@ module Google
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
# RoutingVPC contains information about the VPC
|
77
|
-
# a hub's spokes.
|
76
|
+
# RoutingVPC contains information about the VPC networks that are associated
|
77
|
+
# with a hub's spokes.
|
78
78
|
# @!attribute [rw] uri
|
79
79
|
# @return [::String]
|
80
80
|
# The URI of the VPC network.
|
81
|
+
# @!attribute [r] required_for_new_site_to_site_data_transfer_spokes
|
82
|
+
# @return [::Boolean]
|
83
|
+
# Output only. If true, indicates that this VPC network is currently associated with
|
84
|
+
# spokes that use the data transfer feature (spokes where the
|
85
|
+
# site_to_site_data_transfer field is set to true). If you create new spokes
|
86
|
+
# that use data transfer, they must be associated with this VPC network. At
|
87
|
+
# most, one VPC network will have this field set to true.
|
81
88
|
class RoutingVPC
|
82
89
|
include ::Google::Protobuf::MessageExts
|
83
90
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -423,8 +430,8 @@ module Google
|
|
423
430
|
# @!attribute [rw] site_to_site_data_transfer
|
424
431
|
# @return [::Boolean]
|
425
432
|
# A value that controls whether site-to-site data transfer is enabled for
|
426
|
-
# these resources.
|
427
|
-
#
|
433
|
+
# these resources. Data transfer is available only in [supported
|
434
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
428
435
|
class LinkedVpnTunnels
|
429
436
|
include ::Google::Protobuf::MessageExts
|
430
437
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -440,24 +447,25 @@ module Google
|
|
440
447
|
# @!attribute [rw] site_to_site_data_transfer
|
441
448
|
# @return [::Boolean]
|
442
449
|
# A value that controls whether site-to-site data transfer is enabled for
|
443
|
-
# these resources.
|
444
|
-
#
|
450
|
+
# these resources. Data transfer is available only in [supported
|
451
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
445
452
|
class LinkedInterconnectAttachments
|
446
453
|
include ::Google::Protobuf::MessageExts
|
447
454
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
448
455
|
end
|
449
456
|
|
450
|
-
# A collection of router appliance instances. If you
|
451
|
-
# appliance instances
|
452
|
-
#
|
457
|
+
# A collection of router appliance instances. If you configure multiple router
|
458
|
+
# appliance instances to receive data from the same set of sites outside of
|
459
|
+
# Google Cloud, we recommend that you associate those instances with the same
|
460
|
+
# spoke.
|
453
461
|
# @!attribute [rw] instances
|
454
462
|
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::RouterApplianceInstance>]
|
455
463
|
# The list of router appliance instances.
|
456
464
|
# @!attribute [rw] site_to_site_data_transfer
|
457
465
|
# @return [::Boolean]
|
458
466
|
# A value that controls whether site-to-site data transfer is enabled for
|
459
|
-
# these resources.
|
460
|
-
#
|
467
|
+
# these resources. Data transfer is available only in [supported
|
468
|
+
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
461
469
|
class LinkedRouterApplianceInstances
|
462
470
|
include ::Google::Protobuf::MessageExts
|
463
471
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -478,6 +486,15 @@ module Google
|
|
478
486
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
479
487
|
end
|
480
488
|
|
489
|
+
# Metadata about locations
|
490
|
+
# @!attribute [rw] location_features
|
491
|
+
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::LocationFeature>]
|
492
|
+
# List of supported features
|
493
|
+
class LocationMetadata
|
494
|
+
include ::Google::Protobuf::MessageExts
|
495
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
496
|
+
end
|
497
|
+
|
481
498
|
# The State enum represents the lifecycle stage of a Network Connectivity
|
482
499
|
# Center resource.
|
483
500
|
module State
|
@@ -493,6 +510,18 @@ module Google
|
|
493
510
|
# The resource's Delete operation is in progress
|
494
511
|
DELETING = 3
|
495
512
|
end
|
513
|
+
|
514
|
+
# Supported features for a location
|
515
|
+
module LocationFeature
|
516
|
+
# No publicly supported feature in this location
|
517
|
+
LOCATION_FEATURE_UNSPECIFIED = 0
|
518
|
+
|
519
|
+
# Site-to-cloud spokes are supported in this location
|
520
|
+
SITE_TO_CLOUD_SPOKES = 1
|
521
|
+
|
522
|
+
# Site-to-site spokes are supported in this location
|
523
|
+
SITE_TO_SITE_SPOKES = 2
|
524
|
+
end
|
496
525
|
end
|
497
526
|
end
|
498
527
|
end
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-network_connectivity-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,28 +50,28 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.26.1
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.
|
60
|
+
version: 1.26.1
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '5.
|
67
|
+
version: '5.16'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '5.
|
74
|
+
version: '5.16'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: minitest-focus
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,14 +106,14 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '13.0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '13.0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: redcarpet
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,14 +206,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
206
206
|
requirements:
|
207
207
|
- - ">="
|
208
208
|
- !ruby/object:Gem::Version
|
209
|
-
version: '2.
|
209
|
+
version: '2.6'
|
210
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
212
|
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
216
|
+
rubygems_version: 3.3.14
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: API Client library for the Network Connectivity V1 API
|