google-cloud-network_connectivity-v1 0.1.4 → 0.2.0

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: be46d993dc154bc394eae4fff25e548855269289593014da3170d24693d19c14
4
- data.tar.gz: 4a99787d640bd6270023dcc07fe89801144f8cc8694b76ce5ca943d9cd4ea91f
3
+ metadata.gz: 1e36ba6fa4ca0d179fd8ea83a7efdc1ab0ac13f8108450baa6c776e06bb1dfd8
4
+ data.tar.gz: f0bb6a5b699ed084ed312c7a27dca0caee43e0768122a9ee67c373bf4b7f632d
5
5
  SHA512:
6
- metadata.gz: 4ae8e5007b17d87a8c2684f6f5606124ecf27d3c476748a6998c5bc048e8f5d5f62a0c6005068e738ea9e0a859e13b78fd88ef8f2fb5c861d957e610cbd7d4c7
7
- data.tar.gz: 7764c1d4356907969f0bcaa8f4a4b9c00abaf9d0ee46f405e4378deb3b799d739a6caa6f7e0980cd0b639f2adeba53a197f230c033d3179940bec1f8f37ca17d
6
+ metadata.gz: 371c878493e56df8167f8e27d6218be4f889e744131456f181f1e5386a1f31e0505359b158ac650451803a1ce80e37b50a3bbdbe7d100d3c3d433314424cc9a2
7
+ data.tar.gz: 7de5e072aaa356a6481c522914debc9fc7ac2f7806dd58b78adf2a5f68728d5ac068a0b861f90f529c1895d8e47e7fe9d0384b3f31f96a3ac9a64a752fb9cf1a
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://googleapis.dev/ruby/google-cloud-network_connectivity-v1/latest)
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)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkConnectivity
23
23
  module V1
24
- VERSION = "0.1.4"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,9 +1,9 @@
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/api/annotations_pb'
4
5
  require 'google/api/field_behavior_pb'
5
6
  require 'google/protobuf/timestamp_pb'
6
- require 'google/api/annotations_pb'
7
7
  require 'google/protobuf'
8
8
 
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -24,6 +24,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
24
  end
25
25
  add_message "google.cloud.networkconnectivity.v1.RoutingVPC" do
26
26
  optional :uri, :string, 1
27
+ optional :required_for_new_site_to_site_data_transfer_spokes, :bool, 2
27
28
  end
28
29
  add_message "google.cloud.networkconnectivity.v1.Spoke" do
29
30
  optional :name, :string, 1
@@ -114,12 +115,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
114
115
  optional :virtual_machine, :string, 1
115
116
  optional :ip_address, :string, 3
116
117
  end
118
+ add_message "google.cloud.networkconnectivity.v1.LocationMetadata" do
119
+ repeated :location_features, :enum, 1, "google.cloud.networkconnectivity.v1.LocationFeature"
120
+ end
117
121
  add_enum "google.cloud.networkconnectivity.v1.State" do
118
122
  value :STATE_UNSPECIFIED, 0
119
123
  value :CREATING, 1
120
124
  value :ACTIVE, 2
121
125
  value :DELETING, 3
122
126
  end
127
+ add_enum "google.cloud.networkconnectivity.v1.LocationFeature" do
128
+ value :LOCATION_FEATURE_UNSPECIFIED, 0
129
+ value :SITE_TO_CLOUD_SPOKES, 1
130
+ value :SITE_TO_SITE_SPOKES, 2
131
+ end
123
132
  end
124
133
  end
125
134
 
@@ -146,7 +155,9 @@ module Google
146
155
  LinkedInterconnectAttachments = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments").msgclass
147
156
  LinkedRouterApplianceInstances = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances").msgclass
148
157
  RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouterApplianceInstance").msgclass
158
+ LocationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationMetadata").msgclass
149
159
  State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.State").enummodule
160
+ LocationFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationFeature").enummodule
150
161
  end
151
162
  end
152
163
  end
@@ -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, all of a hub's spokes must be associated with
26
- # resources that reside in the same VPC network.
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 network associated with this hub's spokes. All of the VPN tunnels,
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 network that is associated with
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. This field is set to false by default, but you must set it
427
- # to true. Note that data transfer is available only in supported locations.
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. This field is set to false by default, but you must set it
444
- # to true. Note that data transfer is available only in supported locations.
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 have multiple router
451
- # appliance instances connected to the same site, they should all be attached
452
- # to the same spoke.
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. This field is set to false by default, but you must set it
460
- # to true. Note that data transfer is available only in supported locations.
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
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.1.4
4
+ version: 0.2.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: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
215
  requirements: []
216
- rubygems_version: 3.3.4
216
+ rubygems_version: 3.3.5
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: API Client library for the Network Connectivity V1 API