google-cloud-network_connectivity-v1alpha1 0.2.0 → 0.3.0
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.rb +4 -3
- data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb +4 -3
- data/lib/google/cloud/network_connectivity/v1alpha1/version.rb +1 -1
- data/lib/google/cloud/networkconnectivity/v1alpha1/hub_pb.rb +9 -0
- data/lib/google/cloud/networkconnectivity/v1alpha1/hub_services_pb.rb +4 -3
- data/proto_docs/google/cloud/networkconnectivity/v1alpha1/hub.rb +26 -4
- 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: f5b274196946dd6b3d2bb14cd44e77c3e7c3a70f763b420d50e5ebf49fd5245e
|
4
|
+
data.tar.gz: 9a1af1394d1e69c8048049bda27205e1bc4b1a794a0bed374496c4bb64371605
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18e57d27491dcfbd8ae71f2585335c74bd3fe64c1910b961b7865f4f5b451fb06d6bdd919e658a39ec4882a15d833037b7d3f540b725c2d403a5672a6f4aa616
|
7
|
+
data.tar.gz: 42d2e5533d2539b976445895024b5ede0e69b66b3cc000eaa0bfa5b21a52b2986748c69dfe749768bee5b8d0897e85df7a73d103c7ca1cf33078225ad1ec5f4f
|
@@ -32,9 +32,10 @@ module Google
|
|
32
32
|
module NetworkConnectivity
|
33
33
|
module V1alpha1
|
34
34
|
##
|
35
|
-
# Connectivity
|
36
|
-
# management in Google Cloud.
|
37
|
-
# through a simple, centralized connectivity management
|
35
|
+
# Network Connectivity Center is a hub-and-spoke abstraction for
|
36
|
+
# network connectivity management in Google Cloud. It reduces
|
37
|
+
# operational complexity through a simple, centralized connectivity management
|
38
|
+
# model.
|
38
39
|
#
|
39
40
|
# To load this service and instantiate a client:
|
40
41
|
#
|
@@ -27,9 +27,10 @@ module Google
|
|
27
27
|
##
|
28
28
|
# Client for the HubService service.
|
29
29
|
#
|
30
|
-
# Connectivity
|
31
|
-
# management in Google Cloud.
|
32
|
-
# through a simple, centralized connectivity management
|
30
|
+
# Network Connectivity Center is a hub-and-spoke abstraction for
|
31
|
+
# network connectivity management in Google Cloud. It reduces
|
32
|
+
# operational complexity through a simple, centralized connectivity management
|
33
|
+
# model.
|
33
34
|
#
|
34
35
|
class Client
|
35
36
|
include Paths
|
@@ -20,6 +20,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
20
20
|
optional :description, :string, 5
|
21
21
|
repeated :spokes, :string, 6
|
22
22
|
optional :unique_id, :string, 8
|
23
|
+
optional :state, :enum, 9, "google.cloud.networkconnectivity.v1alpha1.State"
|
23
24
|
end
|
24
25
|
add_message "google.cloud.networkconnectivity.v1alpha1.Spoke" do
|
25
26
|
optional :name, :string, 1
|
@@ -32,6 +33,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
32
33
|
repeated :linked_interconnect_attachments, :string, 13
|
33
34
|
repeated :linked_router_appliance_instances, :message, 14, "google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance"
|
34
35
|
optional :unique_id, :string, 11
|
36
|
+
optional :state, :enum, 15, "google.cloud.networkconnectivity.v1alpha1.State"
|
35
37
|
end
|
36
38
|
add_message "google.cloud.networkconnectivity.v1alpha1.ListHubsRequest" do
|
37
39
|
optional :parent, :string, 1
|
@@ -98,6 +100,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
98
100
|
optional :ip_address, :string, 3
|
99
101
|
optional :network_interface, :string, 2
|
100
102
|
end
|
103
|
+
add_enum "google.cloud.networkconnectivity.v1alpha1.State" do
|
104
|
+
value :STATE_UNSPECIFIED, 0
|
105
|
+
value :CREATING, 1
|
106
|
+
value :ACTIVE, 2
|
107
|
+
value :DELETING, 3
|
108
|
+
end
|
101
109
|
end
|
102
110
|
end
|
103
111
|
|
@@ -120,6 +128,7 @@ module Google
|
|
120
128
|
UpdateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.UpdateSpokeRequest").msgclass
|
121
129
|
DeleteSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.DeleteSpokeRequest").msgclass
|
122
130
|
RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance").msgclass
|
131
|
+
State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.State").enummodule
|
123
132
|
end
|
124
133
|
end
|
125
134
|
end
|
@@ -24,9 +24,10 @@ module Google
|
|
24
24
|
module NetworkConnectivity
|
25
25
|
module V1alpha1
|
26
26
|
module HubService
|
27
|
-
# Connectivity
|
28
|
-
# management in Google Cloud.
|
29
|
-
# through a simple, centralized connectivity management
|
27
|
+
# Network Connectivity Center is a hub-and-spoke abstraction for
|
28
|
+
# network connectivity management in Google Cloud. It reduces
|
29
|
+
# operational complexity through a simple, centralized connectivity management
|
30
|
+
# model.
|
30
31
|
class Service
|
31
32
|
|
32
33
|
include GRPC::GenericService
|
@@ -21,10 +21,10 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module NetworkConnectivity
|
23
23
|
module V1alpha1
|
24
|
-
#
|
25
|
-
# management in Google Cloud. It
|
26
|
-
# through a simple, centralized connectivity management
|
27
|
-
# resource message of a
|
24
|
+
# Network Connectivity Center is a hub-and-spoke abstraction for
|
25
|
+
# network connectivity management in Google Cloud. It reduces
|
26
|
+
# operational complexity through a simple, centralized connectivity management
|
27
|
+
# model. Following is the resource message of a hub.
|
28
28
|
# @!attribute [rw] name
|
29
29
|
# @return [::String]
|
30
30
|
# Immutable. The name of a Hub resource.
|
@@ -48,6 +48,9 @@ module Google
|
|
48
48
|
# Output only. Google-generated UUID for this resource. This is unique across all Hub
|
49
49
|
# resources. If a Hub resource is deleted and another with the same name is
|
50
50
|
# created, it gets a different unique_id.
|
51
|
+
# @!attribute [r] state
|
52
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1alpha1::State]
|
53
|
+
# Output only. The current lifecycle state of this Hub.
|
51
54
|
class Hub
|
52
55
|
include ::Google::Protobuf::MessageExts
|
53
56
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -97,6 +100,9 @@ module Google
|
|
97
100
|
# Output only. Google-generated UUID for this resource. This is unique across all Spoke
|
98
101
|
# resources. If a Spoke resource is deleted and another with the same name is
|
99
102
|
# created, it gets a different unique_id.
|
103
|
+
# @!attribute [r] state
|
104
|
+
# @return [::Google::Cloud::NetworkConnectivity::V1alpha1::State]
|
105
|
+
# Output only. The current lifecycle state of this Hub.
|
100
106
|
class Spoke
|
101
107
|
include ::Google::Protobuf::MessageExts
|
102
108
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -387,6 +393,22 @@ module Google
|
|
387
393
|
include ::Google::Protobuf::MessageExts
|
388
394
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
389
395
|
end
|
396
|
+
|
397
|
+
# The State enum represents the lifecycle of a Network Connectivity Center
|
398
|
+
# resource.
|
399
|
+
module State
|
400
|
+
# No state information available
|
401
|
+
STATE_UNSPECIFIED = 0
|
402
|
+
|
403
|
+
# The resource's create operation is in progress
|
404
|
+
CREATING = 1
|
405
|
+
|
406
|
+
# The resource is active
|
407
|
+
ACTIVE = 2
|
408
|
+
|
409
|
+
# The resource's Delete operation is in progress
|
410
|
+
DELETING = 3
|
411
|
+
end
|
390
412
|
end
|
391
413
|
end
|
392
414
|
end
|
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.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: 2021-02-
|
11
|
+
date: 2021-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|