google-cloud-network_connectivity-v1 0.3.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +1 -1
- data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +49 -47
- data/lib/google/cloud/network_connectivity/v1/hub_service.rb +1 -1
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/network_connectivity/v1.rb +2 -2
- data/lib/google/cloud/networkconnectivity/v1/common_pb.rb +1 -1
- data/lib/google/cloud/networkconnectivity/v1/hub_pb.rb +10 -6
- data/lib/google/cloud/networkconnectivity/v1/hub_services_pb.rb +12 -10
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/networkconnectivity/v1/hub.rb +108 -77
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e99cad720c3fac5f9ecad4240c25ebd6b851371f1b2e02a4ddedf27fabf4a652
|
4
|
+
data.tar.gz: 8325495db8446004fe94b23d894101936b885dc35dbd9c8f5aff595a21c9f110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e896513dac1b49670e6ca39f7f4a77f72e8549938bf1af51b809f7da990d0e4c4a4d293141ee72cf7c0dafbecf13307649ababdfb97e435b8d1bf6ad3e495453
|
7
|
+
data.tar.gz: 206de23cd5e5e31f87b6d37e6875fa3eba204b3055ec8c4c9aa0990aaac472332233e58f46a10f8dfb91c1cddec13480b5be11684e7ddbac426eedc07e7b9bce
|
data/AUTHENTICATION.md
CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
|
|
114
114
|
To configure your system for this, simply:
|
115
115
|
|
116
116
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
117
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
117
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
118
118
|
3. Write code as if already authenticated.
|
119
119
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -177,7 +177,7 @@ module Google
|
|
177
177
|
# Service calls
|
178
178
|
|
179
179
|
##
|
180
|
-
# Lists hubs
|
180
|
+
# Lists the Network Connectivity Center hubs associated with a given project.
|
181
181
|
#
|
182
182
|
# @overload list_hubs(request, options = nil)
|
183
183
|
# Pass arguments to `list_hubs` via a request object, either of type
|
@@ -277,7 +277,7 @@ module Google
|
|
277
277
|
end
|
278
278
|
|
279
279
|
##
|
280
|
-
# Gets details about
|
280
|
+
# Gets details about a Network Connectivity Center hub.
|
281
281
|
#
|
282
282
|
# @overload get_hub(request, options = nil)
|
283
283
|
# Pass arguments to `get_hub` via a request object, either of type
|
@@ -362,7 +362,7 @@ module Google
|
|
362
362
|
end
|
363
363
|
|
364
364
|
##
|
365
|
-
# Creates a new hub in the specified project.
|
365
|
+
# Creates a new Network Connectivity Center hub in the specified project.
|
366
366
|
#
|
367
367
|
# @overload create_hub(request, options = nil)
|
368
368
|
# Pass arguments to `create_hub` via a request object, either of type
|
@@ -386,11 +386,11 @@ module Google
|
|
386
386
|
# @param hub [::Google::Cloud::NetworkConnectivity::V1::Hub, ::Hash]
|
387
387
|
# Required. The initial values for a new hub.
|
388
388
|
# @param request_id [::String]
|
389
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
390
|
-
# in cases when you need to retry your request. When you need to
|
391
|
-
# ID lets the server know that it can ignore the request if it
|
392
|
-
# been completed. The server guarantees that for at least 60
|
393
|
-
# the first request.
|
389
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
390
|
+
# use it in cases when you need to retry your request. When you need to
|
391
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
392
|
+
# has already been completed. The server guarantees that for at least 60
|
393
|
+
# minutes after the first request.
|
394
394
|
#
|
395
395
|
# For example, consider a situation where you make an initial request and
|
396
396
|
# the request times out. If you make the request again with the same request
|
@@ -474,7 +474,8 @@ module Google
|
|
474
474
|
end
|
475
475
|
|
476
476
|
##
|
477
|
-
# Updates the description and/or labels of
|
477
|
+
# Updates the description and/or labels of a Network Connectivity Center
|
478
|
+
# hub.
|
478
479
|
#
|
479
480
|
# @overload update_hub(request, options = nil)
|
480
481
|
# Pass arguments to `update_hub` via a request object, either of type
|
@@ -492,19 +493,19 @@ module Google
|
|
492
493
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
493
494
|
#
|
494
495
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
495
|
-
# Optional. In the case of an update to an existing hub, field mask is used
|
496
|
-
# the fields to be overwritten. The fields specified in the
|
497
|
-
# relative to the resource, not the full request. A field is
|
498
|
-
# it is in the mask. If the user does not provide a mask, then
|
499
|
-
# overwritten.
|
496
|
+
# Optional. In the case of an update to an existing hub, field mask is used
|
497
|
+
# to specify the fields to be overwritten. The fields specified in the
|
498
|
+
# update_mask are relative to the resource, not the full request. A field is
|
499
|
+
# overwritten if it is in the mask. If the user does not provide a mask, then
|
500
|
+
# all fields are overwritten.
|
500
501
|
# @param hub [::Google::Cloud::NetworkConnectivity::V1::Hub, ::Hash]
|
501
502
|
# Required. The state that the hub should be in after the update.
|
502
503
|
# @param request_id [::String]
|
503
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
504
|
-
# in cases when you need to retry your request. When you need to
|
505
|
-
# ID lets the server know that it can ignore the request if it
|
506
|
-
# been completed. The server guarantees that for at least 60
|
507
|
-
# the first request.
|
504
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
505
|
+
# use it in cases when you need to retry your request. When you need to
|
506
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
507
|
+
# has already been completed. The server guarantees that for at least 60
|
508
|
+
# minutes after the first request.
|
508
509
|
#
|
509
510
|
# For example, consider a situation where you make an initial request and
|
510
511
|
# the request times out. If you make the request again with the same request
|
@@ -588,7 +589,7 @@ module Google
|
|
588
589
|
end
|
589
590
|
|
590
591
|
##
|
591
|
-
# Deletes
|
592
|
+
# Deletes a Network Connectivity Center hub.
|
592
593
|
#
|
593
594
|
# @overload delete_hub(request, options = nil)
|
594
595
|
# Pass arguments to `delete_hub` via a request object, either of type
|
@@ -608,11 +609,11 @@ module Google
|
|
608
609
|
# @param name [::String]
|
609
610
|
# Required. The name of the hub to delete.
|
610
611
|
# @param request_id [::String]
|
611
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
612
|
-
# in cases when you need to retry your request. When you need to
|
613
|
-
# ID lets the server know that it can ignore the request if it
|
614
|
-
# been completed. The server guarantees that for at least 60
|
615
|
-
# the first request.
|
612
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
613
|
+
# use it in cases when you need to retry your request. When you need to
|
614
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
615
|
+
# has already been completed. The server guarantees that for at least 60
|
616
|
+
# minutes after the first request.
|
616
617
|
#
|
617
618
|
# For example, consider a situation where you make an initial request and
|
618
619
|
# the request times out. If you make the request again with the same request
|
@@ -696,7 +697,8 @@ module Google
|
|
696
697
|
end
|
697
698
|
|
698
699
|
##
|
699
|
-
# Lists the spokes in
|
700
|
+
# Lists the Network Connectivity Center spokes in a specified project and
|
701
|
+
# location.
|
700
702
|
#
|
701
703
|
# @overload list_spokes(request, options = nil)
|
702
704
|
# Pass arguments to `list_spokes` via a request object, either of type
|
@@ -796,7 +798,7 @@ module Google
|
|
796
798
|
end
|
797
799
|
|
798
800
|
##
|
799
|
-
# Gets details about
|
801
|
+
# Gets details about a Network Connectivity Center spoke.
|
800
802
|
#
|
801
803
|
# @overload get_spoke(request, options = nil)
|
802
804
|
# Pass arguments to `get_spoke` via a request object, either of type
|
@@ -881,7 +883,7 @@ module Google
|
|
881
883
|
end
|
882
884
|
|
883
885
|
##
|
884
|
-
# Creates a
|
886
|
+
# Creates a Network Connectivity Center spoke.
|
885
887
|
#
|
886
888
|
# @overload create_spoke(request, options = nil)
|
887
889
|
# Pass arguments to `create_spoke` via a request object, either of type
|
@@ -905,11 +907,11 @@ module Google
|
|
905
907
|
# @param spoke [::Google::Cloud::NetworkConnectivity::V1::Spoke, ::Hash]
|
906
908
|
# Required. The initial values for a new spoke.
|
907
909
|
# @param request_id [::String]
|
908
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
909
|
-
# in cases when you need to retry your request. When you need to
|
910
|
-
# ID lets the server know that it can ignore the request if it
|
911
|
-
# been completed. The server guarantees that for at least 60
|
912
|
-
# the first request.
|
910
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
911
|
+
# use it in cases when you need to retry your request. When you need to
|
912
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
913
|
+
# has already been completed. The server guarantees that for at least 60
|
914
|
+
# minutes after the first request.
|
913
915
|
#
|
914
916
|
# For example, consider a situation where you make an initial request and
|
915
917
|
# the request times out. If you make the request again with the same request
|
@@ -993,7 +995,7 @@ module Google
|
|
993
995
|
end
|
994
996
|
|
995
997
|
##
|
996
|
-
# Updates the parameters of
|
998
|
+
# Updates the parameters of a Network Connectivity Center spoke.
|
997
999
|
#
|
998
1000
|
# @overload update_spoke(request, options = nil)
|
999
1001
|
# Pass arguments to `update_spoke` via a request object, either of type
|
@@ -1011,19 +1013,19 @@ module Google
|
|
1011
1013
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1012
1014
|
#
|
1013
1015
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1014
|
-
# Optional. In the case of an update to an existing spoke, field mask is used
|
1015
|
-
# specify the fields to be overwritten. The fields specified in the
|
1016
|
+
# Optional. In the case of an update to an existing spoke, field mask is used
|
1017
|
+
# to specify the fields to be overwritten. The fields specified in the
|
1016
1018
|
# update_mask are relative to the resource, not the full request. A field is
|
1017
1019
|
# overwritten if it is in the mask. If the user does not provide a mask, then
|
1018
1020
|
# all fields are overwritten.
|
1019
1021
|
# @param spoke [::Google::Cloud::NetworkConnectivity::V1::Spoke, ::Hash]
|
1020
1022
|
# Required. The state that the spoke should be in after the update.
|
1021
1023
|
# @param request_id [::String]
|
1022
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
1023
|
-
# in cases when you need to retry your request. When you need to
|
1024
|
-
# ID lets the server know that it can ignore the request if it
|
1025
|
-
# been completed. The server guarantees that for at least 60
|
1026
|
-
# the first request.
|
1024
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
1025
|
+
# use it in cases when you need to retry your request. When you need to
|
1026
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
1027
|
+
# has already been completed. The server guarantees that for at least 60
|
1028
|
+
# minutes after the first request.
|
1027
1029
|
#
|
1028
1030
|
# For example, consider a situation where you make an initial request and
|
1029
1031
|
# the request times out. If you make the request again with the same request
|
@@ -1107,7 +1109,7 @@ module Google
|
|
1107
1109
|
end
|
1108
1110
|
|
1109
1111
|
##
|
1110
|
-
# Deletes
|
1112
|
+
# Deletes a Network Connectivity Center spoke.
|
1111
1113
|
#
|
1112
1114
|
# @overload delete_spoke(request, options = nil)
|
1113
1115
|
# Pass arguments to `delete_spoke` via a request object, either of type
|
@@ -1127,11 +1129,11 @@ module Google
|
|
1127
1129
|
# @param name [::String]
|
1128
1130
|
# Required. The name of the spoke to delete.
|
1129
1131
|
# @param request_id [::String]
|
1130
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
1131
|
-
# in cases when you need to retry your request. When you need to
|
1132
|
-
# ID lets the server know that it can ignore the request if it
|
1133
|
-
# been completed. The server guarantees that for at least 60
|
1134
|
-
# the first request.
|
1132
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
1133
|
+
# use it in cases when you need to retry your request. When you need to
|
1134
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
1135
|
+
# has already been completed. The server guarantees that for at least 60
|
1136
|
+
# minutes after the first request.
|
1135
1137
|
#
|
1136
1138
|
# For example, consider a situation where you make an initial request and
|
1137
1139
|
# the request times out. If you make the request again with the same request
|
@@ -36,7 +36,7 @@ module Google
|
|
36
36
|
# connectivity management in Google Cloud. It reduces operational complexity
|
37
37
|
# through a simple, centralized connectivity management model.
|
38
38
|
#
|
39
|
-
#
|
39
|
+
# @example Load this service and instantiate a gRPC client
|
40
40
|
#
|
41
41
|
# require "google/cloud/network_connectivity/v1/hub_service"
|
42
42
|
# client = ::Google::Cloud::NetworkConnectivity::V1::HubService::Client.new
|
@@ -23,9 +23,9 @@ module Google
|
|
23
23
|
module Cloud
|
24
24
|
module NetworkConnectivity
|
25
25
|
##
|
26
|
-
#
|
26
|
+
# API client module.
|
27
27
|
#
|
28
|
-
# @example
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
29
29
|
#
|
30
30
|
# require "google/cloud/network_connectivity/v1"
|
31
31
|
# client = ::Google::Cloud::NetworkConnectivity::V1::HubService::Client.new
|
@@ -103,14 +103,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
103
103
|
add_message "google.cloud.networkconnectivity.v1.LinkedVpnTunnels" do
|
104
104
|
repeated :uris, :string, 1
|
105
105
|
optional :site_to_site_data_transfer, :bool, 2
|
106
|
+
optional :vpc_network, :string, 3
|
106
107
|
end
|
107
108
|
add_message "google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments" do
|
108
109
|
repeated :uris, :string, 1
|
109
110
|
optional :site_to_site_data_transfer, :bool, 2
|
111
|
+
optional :vpc_network, :string, 3
|
110
112
|
end
|
111
113
|
add_message "google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances" do
|
112
114
|
repeated :instances, :message, 1, "google.cloud.networkconnectivity.v1.RouterApplianceInstance"
|
113
115
|
optional :site_to_site_data_transfer, :bool, 2
|
116
|
+
optional :vpc_network, :string, 3
|
114
117
|
end
|
115
118
|
add_message "google.cloud.networkconnectivity.v1.RouterApplianceInstance" do
|
116
119
|
optional :virtual_machine, :string, 1
|
@@ -119,16 +122,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
119
122
|
add_message "google.cloud.networkconnectivity.v1.LocationMetadata" do
|
120
123
|
repeated :location_features, :enum, 1, "google.cloud.networkconnectivity.v1.LocationFeature"
|
121
124
|
end
|
125
|
+
add_enum "google.cloud.networkconnectivity.v1.LocationFeature" do
|
126
|
+
value :LOCATION_FEATURE_UNSPECIFIED, 0
|
127
|
+
value :SITE_TO_CLOUD_SPOKES, 1
|
128
|
+
value :SITE_TO_SITE_SPOKES, 2
|
129
|
+
end
|
122
130
|
add_enum "google.cloud.networkconnectivity.v1.State" do
|
123
131
|
value :STATE_UNSPECIFIED, 0
|
124
132
|
value :CREATING, 1
|
125
133
|
value :ACTIVE, 2
|
126
134
|
value :DELETING, 3
|
127
|
-
|
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
|
135
|
+
value :UPDATING, 6
|
132
136
|
end
|
133
137
|
end
|
134
138
|
end
|
@@ -157,8 +161,8 @@ module Google
|
|
157
161
|
LinkedRouterApplianceInstances = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances").msgclass
|
158
162
|
RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.RouterApplianceInstance").msgclass
|
159
163
|
LocationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationMetadata").msgclass
|
160
|
-
State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.State").enummodule
|
161
164
|
LocationFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.LocationFeature").enummodule
|
165
|
+
State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.State").enummodule
|
162
166
|
end
|
163
167
|
end
|
164
168
|
end
|
@@ -35,25 +35,27 @@ module Google
|
|
35
35
|
self.unmarshal_class_method = :decode
|
36
36
|
self.service_name = 'google.cloud.networkconnectivity.v1.HubService'
|
37
37
|
|
38
|
-
# Lists hubs
|
38
|
+
# Lists the Network Connectivity Center hubs associated with a given project.
|
39
39
|
rpc :ListHubs, ::Google::Cloud::NetworkConnectivity::V1::ListHubsRequest, ::Google::Cloud::NetworkConnectivity::V1::ListHubsResponse
|
40
|
-
# Gets details about
|
40
|
+
# Gets details about a Network Connectivity Center hub.
|
41
41
|
rpc :GetHub, ::Google::Cloud::NetworkConnectivity::V1::GetHubRequest, ::Google::Cloud::NetworkConnectivity::V1::Hub
|
42
|
-
# Creates a new hub in the specified project.
|
42
|
+
# Creates a new Network Connectivity Center hub in the specified project.
|
43
43
|
rpc :CreateHub, ::Google::Cloud::NetworkConnectivity::V1::CreateHubRequest, ::Google::Longrunning::Operation
|
44
|
-
# Updates the description and/or labels of
|
44
|
+
# Updates the description and/or labels of a Network Connectivity Center
|
45
|
+
# hub.
|
45
46
|
rpc :UpdateHub, ::Google::Cloud::NetworkConnectivity::V1::UpdateHubRequest, ::Google::Longrunning::Operation
|
46
|
-
# Deletes
|
47
|
+
# Deletes a Network Connectivity Center hub.
|
47
48
|
rpc :DeleteHub, ::Google::Cloud::NetworkConnectivity::V1::DeleteHubRequest, ::Google::Longrunning::Operation
|
48
|
-
# Lists the spokes in
|
49
|
+
# Lists the Network Connectivity Center spokes in a specified project and
|
50
|
+
# location.
|
49
51
|
rpc :ListSpokes, ::Google::Cloud::NetworkConnectivity::V1::ListSpokesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListSpokesResponse
|
50
|
-
# Gets details about
|
52
|
+
# Gets details about a Network Connectivity Center spoke.
|
51
53
|
rpc :GetSpoke, ::Google::Cloud::NetworkConnectivity::V1::GetSpokeRequest, ::Google::Cloud::NetworkConnectivity::V1::Spoke
|
52
|
-
# Creates a
|
54
|
+
# Creates a Network Connectivity Center spoke.
|
53
55
|
rpc :CreateSpoke, ::Google::Cloud::NetworkConnectivity::V1::CreateSpokeRequest, ::Google::Longrunning::Operation
|
54
|
-
# Updates the parameters of
|
56
|
+
# Updates the parameters of a Network Connectivity Center spoke.
|
55
57
|
rpc :UpdateSpoke, ::Google::Cloud::NetworkConnectivity::V1::UpdateSpokeRequest, ::Google::Longrunning::Operation
|
56
|
-
# Deletes
|
58
|
+
# Deletes a Network Connectivity Center spoke.
|
57
59
|
rpc :DeleteSpoke, ::Google::Cloud::NetworkConnectivity::V1::DeleteSpokeRequest, ::Google::Longrunning::Operation
|
58
60
|
end
|
59
61
|
|
@@ -0,0 +1,318 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# Required information for every language.
|
23
|
+
# @!attribute [rw] reference_docs_uri
|
24
|
+
# @return [::String]
|
25
|
+
# Link to automatically generated reference documentation. Example:
|
26
|
+
# https://cloud.google.com/nodejs/docs/reference/asset/latest
|
27
|
+
# @!attribute [rw] destinations
|
28
|
+
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
29
|
+
# The destination where API teams want this client library to be published.
|
30
|
+
class CommonLanguageSettings
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
|
35
|
+
# Details about how and where to publish client libraries.
|
36
|
+
# @!attribute [rw] version
|
37
|
+
# @return [::String]
|
38
|
+
# Version of the API to apply these settings to.
|
39
|
+
# @!attribute [rw] launch_stage
|
40
|
+
# @return [::Google::Api::LaunchStage]
|
41
|
+
# Launch stage of this version of the API.
|
42
|
+
# @!attribute [rw] rest_numeric_enums
|
43
|
+
# @return [::Boolean]
|
44
|
+
# When using transport=rest, the client request will encode enums as
|
45
|
+
# numbers rather than strings.
|
46
|
+
# @!attribute [rw] java_settings
|
47
|
+
# @return [::Google::Api::JavaSettings]
|
48
|
+
# Settings for legacy Java features, supported in the Service YAML.
|
49
|
+
# @!attribute [rw] cpp_settings
|
50
|
+
# @return [::Google::Api::CppSettings]
|
51
|
+
# Settings for C++ client libraries.
|
52
|
+
# @!attribute [rw] php_settings
|
53
|
+
# @return [::Google::Api::PhpSettings]
|
54
|
+
# Settings for PHP client libraries.
|
55
|
+
# @!attribute [rw] python_settings
|
56
|
+
# @return [::Google::Api::PythonSettings]
|
57
|
+
# Settings for Python client libraries.
|
58
|
+
# @!attribute [rw] node_settings
|
59
|
+
# @return [::Google::Api::NodeSettings]
|
60
|
+
# Settings for Node client libraries.
|
61
|
+
# @!attribute [rw] dotnet_settings
|
62
|
+
# @return [::Google::Api::DotnetSettings]
|
63
|
+
# Settings for .NET client libraries.
|
64
|
+
# @!attribute [rw] ruby_settings
|
65
|
+
# @return [::Google::Api::RubySettings]
|
66
|
+
# Settings for Ruby client libraries.
|
67
|
+
# @!attribute [rw] go_settings
|
68
|
+
# @return [::Google::Api::GoSettings]
|
69
|
+
# Settings for Go client libraries.
|
70
|
+
class ClientLibrarySettings
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
|
75
|
+
# This message configures the settings for publishing [Google Cloud Client
|
76
|
+
# libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
|
77
|
+
# generated from the service config.
|
78
|
+
# @!attribute [rw] method_settings
|
79
|
+
# @return [::Array<::Google::Api::MethodSettings>]
|
80
|
+
# A list of API method settings, e.g. the behavior for methods that use the
|
81
|
+
# long-running operation pattern.
|
82
|
+
# @!attribute [rw] new_issue_uri
|
83
|
+
# @return [::String]
|
84
|
+
# Link to a place that API users can report issues. Example:
|
85
|
+
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
|
+
# @!attribute [rw] documentation_uri
|
87
|
+
# @return [::String]
|
88
|
+
# Link to product home page. Example:
|
89
|
+
# https://cloud.google.com/asset-inventory/docs/overview
|
90
|
+
# @!attribute [rw] api_short_name
|
91
|
+
# @return [::String]
|
92
|
+
# Used as a tracking tag when collecting data about the APIs developer
|
93
|
+
# relations artifacts like docs, packages delivered to package managers,
|
94
|
+
# etc. Example: "speech".
|
95
|
+
# @!attribute [rw] github_label
|
96
|
+
# @return [::String]
|
97
|
+
# GitHub label to apply to issues and pull requests opened for this API.
|
98
|
+
# @!attribute [rw] codeowner_github_teams
|
99
|
+
# @return [::Array<::String>]
|
100
|
+
# GitHub teams to be added to CODEOWNERS in the directory in GitHub
|
101
|
+
# containing source code for the client libraries for this API.
|
102
|
+
# @!attribute [rw] doc_tag_prefix
|
103
|
+
# @return [::String]
|
104
|
+
# A prefix used in sample code when demarking regions to be included in
|
105
|
+
# documentation.
|
106
|
+
# @!attribute [rw] organization
|
107
|
+
# @return [::Google::Api::ClientLibraryOrganization]
|
108
|
+
# For whom the client library is being published.
|
109
|
+
# @!attribute [rw] library_settings
|
110
|
+
# @return [::Array<::Google::Api::ClientLibrarySettings>]
|
111
|
+
# Client library settings. If the same version string appears multiple
|
112
|
+
# times in this list, then the last one wins. Settings from earlier
|
113
|
+
# settings with the same version string are discarded.
|
114
|
+
class Publishing
|
115
|
+
include ::Google::Protobuf::MessageExts
|
116
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
117
|
+
end
|
118
|
+
|
119
|
+
# Settings for Java client libraries.
|
120
|
+
# @!attribute [rw] library_package
|
121
|
+
# @return [::String]
|
122
|
+
# The package name to use in Java. Clobbers the java_package option
|
123
|
+
# set in the protobuf. This should be used **only** by APIs
|
124
|
+
# who have already set the language_settings.java.package_name" field
|
125
|
+
# in gapic.yaml. API teams should use the protobuf java_package option
|
126
|
+
# where possible.
|
127
|
+
#
|
128
|
+
# Example of a YAML configuration::
|
129
|
+
#
|
130
|
+
# publishing:
|
131
|
+
# java_settings:
|
132
|
+
# library_package: com.google.cloud.pubsub.v1
|
133
|
+
# @!attribute [rw] service_class_names
|
134
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
135
|
+
# Configure the Java class name to use instead of the service's for its
|
136
|
+
# corresponding generated GAPIC client. Keys are fully-qualified
|
137
|
+
# service names as they appear in the protobuf (including the full
|
138
|
+
# the language_settings.java.interface_names" field in gapic.yaml. API
|
139
|
+
# teams should otherwise use the service name as it appears in the
|
140
|
+
# protobuf.
|
141
|
+
#
|
142
|
+
# Example of a YAML configuration::
|
143
|
+
#
|
144
|
+
# publishing:
|
145
|
+
# java_settings:
|
146
|
+
# service_class_names:
|
147
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
148
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
149
|
+
# @!attribute [rw] common
|
150
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
151
|
+
# Some settings.
|
152
|
+
class JavaSettings
|
153
|
+
include ::Google::Protobuf::MessageExts
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
|
+
|
156
|
+
# @!attribute [rw] key
|
157
|
+
# @return [::String]
|
158
|
+
# @!attribute [rw] value
|
159
|
+
# @return [::String]
|
160
|
+
class ServiceClassNamesEntry
|
161
|
+
include ::Google::Protobuf::MessageExts
|
162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
# Settings for C++ client libraries.
|
167
|
+
# @!attribute [rw] common
|
168
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
169
|
+
# Some settings.
|
170
|
+
class CppSettings
|
171
|
+
include ::Google::Protobuf::MessageExts
|
172
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
173
|
+
end
|
174
|
+
|
175
|
+
# Settings for Php client libraries.
|
176
|
+
# @!attribute [rw] common
|
177
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
178
|
+
# Some settings.
|
179
|
+
class PhpSettings
|
180
|
+
include ::Google::Protobuf::MessageExts
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
182
|
+
end
|
183
|
+
|
184
|
+
# Settings for Python client libraries.
|
185
|
+
# @!attribute [rw] common
|
186
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
187
|
+
# Some settings.
|
188
|
+
class PythonSettings
|
189
|
+
include ::Google::Protobuf::MessageExts
|
190
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
191
|
+
end
|
192
|
+
|
193
|
+
# Settings for Node client libraries.
|
194
|
+
# @!attribute [rw] common
|
195
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
196
|
+
# Some settings.
|
197
|
+
class NodeSettings
|
198
|
+
include ::Google::Protobuf::MessageExts
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
200
|
+
end
|
201
|
+
|
202
|
+
# Settings for Dotnet client libraries.
|
203
|
+
# @!attribute [rw] common
|
204
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
205
|
+
# Some settings.
|
206
|
+
class DotnetSettings
|
207
|
+
include ::Google::Protobuf::MessageExts
|
208
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
209
|
+
end
|
210
|
+
|
211
|
+
# Settings for Ruby client libraries.
|
212
|
+
# @!attribute [rw] common
|
213
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
214
|
+
# Some settings.
|
215
|
+
class RubySettings
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
219
|
+
|
220
|
+
# Settings for Go client libraries.
|
221
|
+
# @!attribute [rw] common
|
222
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
223
|
+
# Some settings.
|
224
|
+
class GoSettings
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
end
|
228
|
+
|
229
|
+
# Describes the generator configuration for a method.
|
230
|
+
# @!attribute [rw] selector
|
231
|
+
# @return [::String]
|
232
|
+
# The fully qualified name of the method, for which the options below apply.
|
233
|
+
# This is used to find the method to apply the options.
|
234
|
+
# @!attribute [rw] long_running
|
235
|
+
# @return [::Google::Api::MethodSettings::LongRunning]
|
236
|
+
# Describes settings to use for long-running operations when generating
|
237
|
+
# API methods for RPCs. Complements RPCs that use the annotations in
|
238
|
+
# google/longrunning/operations.proto.
|
239
|
+
#
|
240
|
+
# Example of a YAML configuration::
|
241
|
+
#
|
242
|
+
# publishing:
|
243
|
+
# method_behavior:
|
244
|
+
# - selector: CreateAdDomain
|
245
|
+
# long_running:
|
246
|
+
# initial_poll_delay:
|
247
|
+
# seconds: 60 # 1 minute
|
248
|
+
# poll_delay_multiplier: 1.5
|
249
|
+
# max_poll_delay:
|
250
|
+
# seconds: 360 # 6 minutes
|
251
|
+
# total_poll_timeout:
|
252
|
+
# seconds: 54000 # 90 minutes
|
253
|
+
class MethodSettings
|
254
|
+
include ::Google::Protobuf::MessageExts
|
255
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
256
|
+
|
257
|
+
# Describes settings to use when generating API methods that use the
|
258
|
+
# long-running operation pattern.
|
259
|
+
# All default values below are from those used in the client library
|
260
|
+
# generators (e.g.
|
261
|
+
# [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
|
262
|
+
# @!attribute [rw] initial_poll_delay
|
263
|
+
# @return [::Google::Protobuf::Duration]
|
264
|
+
# Initial delay after which the first poll request will be made.
|
265
|
+
# Default value: 5 seconds.
|
266
|
+
# @!attribute [rw] poll_delay_multiplier
|
267
|
+
# @return [::Float]
|
268
|
+
# Multiplier to gradually increase delay between subsequent polls until it
|
269
|
+
# reaches max_poll_delay.
|
270
|
+
# Default value: 1.5.
|
271
|
+
# @!attribute [rw] max_poll_delay
|
272
|
+
# @return [::Google::Protobuf::Duration]
|
273
|
+
# Maximum time between two subsequent poll requests.
|
274
|
+
# Default value: 45 seconds.
|
275
|
+
# @!attribute [rw] total_poll_timeout
|
276
|
+
# @return [::Google::Protobuf::Duration]
|
277
|
+
# Total polling timeout.
|
278
|
+
# Default value: 5 minutes.
|
279
|
+
class LongRunning
|
280
|
+
include ::Google::Protobuf::MessageExts
|
281
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# The organization for which the client libraries are being published.
|
286
|
+
# Affects the url where generated docs are published, etc.
|
287
|
+
module ClientLibraryOrganization
|
288
|
+
# Not useful.
|
289
|
+
CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
|
290
|
+
|
291
|
+
# Google Cloud Platform Org.
|
292
|
+
CLOUD = 1
|
293
|
+
|
294
|
+
# Ads (Advertising) Org.
|
295
|
+
ADS = 2
|
296
|
+
|
297
|
+
# Photos Org.
|
298
|
+
PHOTOS = 3
|
299
|
+
|
300
|
+
# Street View Org.
|
301
|
+
STREET_VIEW = 4
|
302
|
+
end
|
303
|
+
|
304
|
+
# To where should client libraries be published?
|
305
|
+
module ClientLibraryDestination
|
306
|
+
# Client libraries will neither be generated nor published to package
|
307
|
+
# managers.
|
308
|
+
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
|
309
|
+
|
310
|
+
# Generate the client library in a repo under github.com/googleapis,
|
311
|
+
# but don't publish it to package managers.
|
312
|
+
GITHUB = 10
|
313
|
+
|
314
|
+
# Publish the library to package managers like nuget.org and npmjs.com.
|
315
|
+
PACKAGE_MANAGER = 20
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# The launch stage as defined by [Google Cloud Platform
|
23
|
+
# Launch Stages](https://cloud.google.com/terms/launch-stages).
|
24
|
+
module LaunchStage
|
25
|
+
# Do not use this default value.
|
26
|
+
LAUNCH_STAGE_UNSPECIFIED = 0
|
27
|
+
|
28
|
+
# The feature is not yet implemented. Users can not use it.
|
29
|
+
UNIMPLEMENTED = 6
|
30
|
+
|
31
|
+
# Prelaunch features are hidden from users and are only visible internally.
|
32
|
+
PRELAUNCH = 7
|
33
|
+
|
34
|
+
# Early Access features are limited to a closed group of testers. To use
|
35
|
+
# these features, you must sign up in advance and sign a Trusted Tester
|
36
|
+
# agreement (which includes confidentiality provisions). These features may
|
37
|
+
# be unstable, changed in backward-incompatible ways, and are not
|
38
|
+
# guaranteed to be released.
|
39
|
+
EARLY_ACCESS = 1
|
40
|
+
|
41
|
+
# Alpha is a limited availability test for releases before they are cleared
|
42
|
+
# for widespread use. By Alpha, all significant design issues are resolved
|
43
|
+
# and we are in the process of verifying functionality. Alpha customers
|
44
|
+
# need to apply for access, agree to applicable terms, and have their
|
45
|
+
# projects allowlisted. Alpha releases don't have to be feature complete,
|
46
|
+
# no SLAs are provided, and there are no technical support obligations, but
|
47
|
+
# they will be far enough along that customers can actually use them in
|
48
|
+
# test environments or for limited-use tests -- just like they would in
|
49
|
+
# normal production cases.
|
50
|
+
ALPHA = 2
|
51
|
+
|
52
|
+
# Beta is the point at which we are ready to open a release for any
|
53
|
+
# customer to use. There are no SLA or technical support obligations in a
|
54
|
+
# Beta release. Products will be complete from a feature perspective, but
|
55
|
+
# may have some open outstanding issues. Beta releases are suitable for
|
56
|
+
# limited production use cases.
|
57
|
+
BETA = 3
|
58
|
+
|
59
|
+
# GA features are open to all developers and are considered stable and
|
60
|
+
# fully qualified for production use.
|
61
|
+
GA = 4
|
62
|
+
|
63
|
+
# Deprecated features are scheduled to be shut down and removed. For more
|
64
|
+
# information, see the "Deprecation Policy" section of our [Terms of
|
65
|
+
# Service](https://cloud.google.com/terms/)
|
66
|
+
# and the [Google Cloud Platform Subject to the Deprecation
|
67
|
+
# Policy](https://cloud.google.com/terms/deprecation) documentation.
|
68
|
+
DEPRECATED = 5
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -21,11 +21,11 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module NetworkConnectivity
|
23
23
|
module V1
|
24
|
-
# A hub is a collection of spokes. A single hub
|
25
|
-
# multiple regions. However, if any of a hub's spokes
|
26
|
-
# feature, the resources associated with those spokes
|
27
|
-
# same VPC network. Spokes that do not use data
|
28
|
-
# with any VPC network in your project.
|
24
|
+
# A Network Connectivity Center hub is a collection of spokes. A single hub
|
25
|
+
# can contain spokes from multiple regions. However, if any of a hub's spokes
|
26
|
+
# use the data transfer feature, the resources associated with those spokes
|
27
|
+
# must all reside in the same VPC network. Spokes that do not use data
|
28
|
+
# transfer can be associated with any VPC network in your project.
|
29
29
|
# @!attribute [rw] name
|
30
30
|
# @return [::String]
|
31
31
|
# Immutable. The name of the hub. Hub names must be unique. They use the
|
@@ -47,9 +47,9 @@ module Google
|
|
47
47
|
# An optional description of the hub.
|
48
48
|
# @!attribute [r] unique_id
|
49
49
|
# @return [::String]
|
50
|
-
# Output only. The Google-generated UUID for the hub. This value is unique
|
51
|
-
# resources. If a hub is deleted and another with the same
|
52
|
-
# the new hub is assigned a different unique_id.
|
50
|
+
# Output only. The Google-generated UUID for the hub. This value is unique
|
51
|
+
# across all hub resources. If a hub is deleted and another with the same
|
52
|
+
# name is created, the new hub is assigned a different unique_id.
|
53
53
|
# @!attribute [r] state
|
54
54
|
# @return [::Google::Cloud::NetworkConnectivity::V1::State]
|
55
55
|
# Output only. The current lifecycle state of this hub.
|
@@ -73,15 +73,15 @@ module Google
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
# RoutingVPC contains information about the VPC networks
|
77
|
-
# with a hub
|
76
|
+
# RoutingVPC contains information about the VPC networks associated
|
77
|
+
# with the spokes of a Network Connectivity Center hub.
|
78
78
|
# @!attribute [rw] uri
|
79
79
|
# @return [::String]
|
80
80
|
# The URI of the VPC network.
|
81
81
|
# @!attribute [r] required_for_new_site_to_site_data_transfer_spokes
|
82
82
|
# @return [::Boolean]
|
83
|
-
# Output only. If true, indicates that this VPC network is currently
|
84
|
-
# spokes that use the data transfer feature (spokes where the
|
83
|
+
# Output only. If true, indicates that this VPC network is currently
|
84
|
+
# associated with spokes that use the data transfer feature (spokes where the
|
85
85
|
# site_to_site_data_transfer field is set to true). If you create new spokes
|
86
86
|
# that use data transfer, they must be associated with this VPC network. At
|
87
87
|
# most, one VPC network will have this field set to true.
|
@@ -90,8 +90,8 @@ module Google
|
|
90
90
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
91
91
|
end
|
92
92
|
|
93
|
-
# A spoke represents a connection between your
|
94
|
-
# and a non-Google-Cloud network.
|
93
|
+
# A Network Connectivity Center spoke represents a connection between your
|
94
|
+
# Google Cloud network resources and a non-Google-Cloud network.
|
95
95
|
#
|
96
96
|
# When you create a spoke, you associate it with a hub. You must also identify
|
97
97
|
# a value for exactly one of the following fields:
|
@@ -132,9 +132,9 @@ module Google
|
|
132
132
|
# Router appliance instances that are associated with the spoke.
|
133
133
|
# @!attribute [r] unique_id
|
134
134
|
# @return [::String]
|
135
|
-
# Output only. The Google-generated UUID for the spoke. This value is unique
|
136
|
-
# spoke resources. If a spoke is deleted and another with the same
|
137
|
-
# created, the new spoke is assigned a different unique_id.
|
135
|
+
# Output only. The Google-generated UUID for the spoke. This value is unique
|
136
|
+
# across all spoke resources. If a spoke is deleted and another with the same
|
137
|
+
# name is created, the new spoke is assigned a different unique_id.
|
138
138
|
# @!attribute [r] state
|
139
139
|
# @return [::Google::Cloud::NetworkConnectivity::V1::State]
|
140
140
|
# Output only. The current lifecycle state of this spoke.
|
@@ -152,7 +152,9 @@ module Google
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
-
# Request for
|
155
|
+
# Request for
|
156
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#list_hubs HubService.ListHubs}
|
157
|
+
# method.
|
156
158
|
# @!attribute [rw] parent
|
157
159
|
# @return [::String]
|
158
160
|
# Required. The parent resource's name.
|
@@ -173,7 +175,9 @@ module Google
|
|
173
175
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
174
176
|
end
|
175
177
|
|
176
|
-
# Response for
|
178
|
+
# Response for
|
179
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#list_hubs HubService.ListHubs}
|
180
|
+
# method.
|
177
181
|
# @!attribute [rw] hubs
|
178
182
|
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::Hub>]
|
179
183
|
# The requested hubs.
|
@@ -189,7 +193,9 @@ module Google
|
|
189
193
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
190
194
|
end
|
191
195
|
|
192
|
-
# Request for
|
196
|
+
# Request for
|
197
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#get_hub HubService.GetHub}
|
198
|
+
# method.
|
193
199
|
# @!attribute [rw] name
|
194
200
|
# @return [::String]
|
195
201
|
# Required. The name of the hub resource to get.
|
@@ -198,7 +204,9 @@ module Google
|
|
198
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
205
|
end
|
200
206
|
|
201
|
-
# Request for
|
207
|
+
# Request for
|
208
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#create_hub HubService.CreateHub}
|
209
|
+
# method.
|
202
210
|
# @!attribute [rw] parent
|
203
211
|
# @return [::String]
|
204
212
|
# Required. The parent resource.
|
@@ -210,11 +218,11 @@ module Google
|
|
210
218
|
# Required. The initial values for a new hub.
|
211
219
|
# @!attribute [rw] request_id
|
212
220
|
# @return [::String]
|
213
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
214
|
-
# in cases when you need to retry your request. When you need to
|
215
|
-
# ID lets the server know that it can ignore the request if it
|
216
|
-
# been completed. The server guarantees that for at least 60
|
217
|
-
# the first request.
|
221
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
222
|
+
# use it in cases when you need to retry your request. When you need to
|
223
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
224
|
+
# has already been completed. The server guarantees that for at least 60
|
225
|
+
# minutes after the first request.
|
218
226
|
#
|
219
227
|
# For example, consider a situation where you make an initial request and
|
220
228
|
# the request times out. If you make the request again with the same request
|
@@ -229,24 +237,26 @@ module Google
|
|
229
237
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
230
238
|
end
|
231
239
|
|
232
|
-
# Request for
|
240
|
+
# Request for
|
241
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#update_hub HubService.UpdateHub}
|
242
|
+
# method.
|
233
243
|
# @!attribute [rw] update_mask
|
234
244
|
# @return [::Google::Protobuf::FieldMask]
|
235
|
-
# Optional. In the case of an update to an existing hub, field mask is used
|
236
|
-
# the fields to be overwritten. The fields specified in the
|
237
|
-
# relative to the resource, not the full request. A field is
|
238
|
-
# it is in the mask. If the user does not provide a mask, then
|
239
|
-
# overwritten.
|
245
|
+
# Optional. In the case of an update to an existing hub, field mask is used
|
246
|
+
# to specify the fields to be overwritten. The fields specified in the
|
247
|
+
# update_mask are relative to the resource, not the full request. A field is
|
248
|
+
# overwritten if it is in the mask. If the user does not provide a mask, then
|
249
|
+
# all fields are overwritten.
|
240
250
|
# @!attribute [rw] hub
|
241
251
|
# @return [::Google::Cloud::NetworkConnectivity::V1::Hub]
|
242
252
|
# Required. The state that the hub should be in after the update.
|
243
253
|
# @!attribute [rw] request_id
|
244
254
|
# @return [::String]
|
245
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
246
|
-
# in cases when you need to retry your request. When you need to
|
247
|
-
# ID lets the server know that it can ignore the request if it
|
248
|
-
# been completed. The server guarantees that for at least 60
|
249
|
-
# the first request.
|
255
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
256
|
+
# use it in cases when you need to retry your request. When you need to
|
257
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
258
|
+
# has already been completed. The server guarantees that for at least 60
|
259
|
+
# minutes after the first request.
|
250
260
|
#
|
251
261
|
# For example, consider a situation where you make an initial request and
|
252
262
|
# the request times out. If you make the request again with the same request
|
@@ -261,17 +271,18 @@ module Google
|
|
261
271
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
272
|
end
|
263
273
|
|
264
|
-
# The request for
|
274
|
+
# The request for
|
275
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#delete_hub HubService.DeleteHub}.
|
265
276
|
# @!attribute [rw] name
|
266
277
|
# @return [::String]
|
267
278
|
# Required. The name of the hub to delete.
|
268
279
|
# @!attribute [rw] request_id
|
269
280
|
# @return [::String]
|
270
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
271
|
-
# in cases when you need to retry your request. When you need to
|
272
|
-
# ID lets the server know that it can ignore the request if it
|
273
|
-
# been completed. The server guarantees that for at least 60
|
274
|
-
# the first request.
|
281
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
282
|
+
# use it in cases when you need to retry your request. When you need to
|
283
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
284
|
+
# has already been completed. The server guarantees that for at least 60
|
285
|
+
# minutes after the first request.
|
275
286
|
#
|
276
287
|
# For example, consider a situation where you make an initial request and
|
277
288
|
# the request times out. If you make the request again with the same request
|
@@ -286,7 +297,8 @@ module Google
|
|
286
297
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
287
298
|
end
|
288
299
|
|
289
|
-
# The request for
|
300
|
+
# The request for
|
301
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#list_spokes HubService.ListSpokes}.
|
290
302
|
# @!attribute [rw] parent
|
291
303
|
# @return [::String]
|
292
304
|
# Required. The parent resource.
|
@@ -307,7 +319,8 @@ module Google
|
|
307
319
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
308
320
|
end
|
309
321
|
|
310
|
-
# The response for
|
322
|
+
# The response for
|
323
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#list_spokes HubService.ListSpokes}.
|
311
324
|
# @!attribute [rw] spokes
|
312
325
|
# @return [::Array<::Google::Cloud::NetworkConnectivity::V1::Spoke>]
|
313
326
|
# The requested spokes.
|
@@ -323,7 +336,8 @@ module Google
|
|
323
336
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
324
337
|
end
|
325
338
|
|
326
|
-
# The request for
|
339
|
+
# The request for
|
340
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#get_spoke HubService.GetSpoke}.
|
327
341
|
# @!attribute [rw] name
|
328
342
|
# @return [::String]
|
329
343
|
# Required. The name of the spoke resource.
|
@@ -332,7 +346,8 @@ module Google
|
|
332
346
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
333
347
|
end
|
334
348
|
|
335
|
-
# The request for
|
349
|
+
# The request for
|
350
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#create_spoke HubService.CreateSpoke}.
|
336
351
|
# @!attribute [rw] parent
|
337
352
|
# @return [::String]
|
338
353
|
# Required. The parent resource.
|
@@ -344,11 +359,11 @@ module Google
|
|
344
359
|
# Required. The initial values for a new spoke.
|
345
360
|
# @!attribute [rw] request_id
|
346
361
|
# @return [::String]
|
347
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
348
|
-
# in cases when you need to retry your request. When you need to
|
349
|
-
# ID lets the server know that it can ignore the request if it
|
350
|
-
# been completed. The server guarantees that for at least 60
|
351
|
-
# the first request.
|
362
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
363
|
+
# use it in cases when you need to retry your request. When you need to
|
364
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
365
|
+
# has already been completed. The server guarantees that for at least 60
|
366
|
+
# minutes after the first request.
|
352
367
|
#
|
353
368
|
# For example, consider a situation where you make an initial request and
|
354
369
|
# the request times out. If you make the request again with the same request
|
@@ -363,11 +378,13 @@ module Google
|
|
363
378
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
364
379
|
end
|
365
380
|
|
366
|
-
# Request for
|
381
|
+
# Request for
|
382
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#update_spoke HubService.UpdateSpoke}
|
383
|
+
# method.
|
367
384
|
# @!attribute [rw] update_mask
|
368
385
|
# @return [::Google::Protobuf::FieldMask]
|
369
|
-
# Optional. In the case of an update to an existing spoke, field mask is used
|
370
|
-
# specify the fields to be overwritten. The fields specified in the
|
386
|
+
# Optional. In the case of an update to an existing spoke, field mask is used
|
387
|
+
# to specify the fields to be overwritten. The fields specified in the
|
371
388
|
# update_mask are relative to the resource, not the full request. A field is
|
372
389
|
# overwritten if it is in the mask. If the user does not provide a mask, then
|
373
390
|
# all fields are overwritten.
|
@@ -376,11 +393,11 @@ module Google
|
|
376
393
|
# Required. The state that the spoke should be in after the update.
|
377
394
|
# @!attribute [rw] request_id
|
378
395
|
# @return [::String]
|
379
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
380
|
-
# in cases when you need to retry your request. When you need to
|
381
|
-
# ID lets the server know that it can ignore the request if it
|
382
|
-
# been completed. The server guarantees that for at least 60
|
383
|
-
# the first request.
|
396
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
397
|
+
# use it in cases when you need to retry your request. When you need to
|
398
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
399
|
+
# has already been completed. The server guarantees that for at least 60
|
400
|
+
# minutes after the first request.
|
384
401
|
#
|
385
402
|
# For example, consider a situation where you make an initial request and
|
386
403
|
# the request times out. If you make the request again with the same request
|
@@ -395,17 +412,18 @@ module Google
|
|
395
412
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
413
|
end
|
397
414
|
|
398
|
-
# The request for
|
415
|
+
# The request for
|
416
|
+
# {::Google::Cloud::NetworkConnectivity::V1::HubService::Client#delete_spoke HubService.DeleteSpoke}.
|
399
417
|
# @!attribute [rw] name
|
400
418
|
# @return [::String]
|
401
419
|
# Required. The name of the spoke to delete.
|
402
420
|
# @!attribute [rw] request_id
|
403
421
|
# @return [::String]
|
404
|
-
# Optional. A unique request ID (optional). If you specify this ID, you can
|
405
|
-
# in cases when you need to retry your request. When you need to
|
406
|
-
# ID lets the server know that it can ignore the request if it
|
407
|
-
# been completed. The server guarantees that for at least 60
|
408
|
-
# the first request.
|
422
|
+
# Optional. A unique request ID (optional). If you specify this ID, you can
|
423
|
+
# use it in cases when you need to retry your request. When you need to
|
424
|
+
# retry, this ID lets the server know that it can ignore the request if it
|
425
|
+
# has already been completed. The server guarantees that for at least 60
|
426
|
+
# minutes after the first request.
|
409
427
|
#
|
410
428
|
# For example, consider a situation where you make an initial request and
|
411
429
|
# the request times out. If you make the request again with the same request
|
@@ -432,6 +450,9 @@ module Google
|
|
432
450
|
# A value that controls whether site-to-site data transfer is enabled for
|
433
451
|
# these resources. Data transfer is available only in [supported
|
434
452
|
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
453
|
+
# @!attribute [r] vpc_network
|
454
|
+
# @return [::String]
|
455
|
+
# Output only. The VPC network where these VPN tunnels are located.
|
435
456
|
class LinkedVpnTunnels
|
436
457
|
include ::Google::Protobuf::MessageExts
|
437
458
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -449,6 +470,9 @@ module Google
|
|
449
470
|
# A value that controls whether site-to-site data transfer is enabled for
|
450
471
|
# these resources. Data transfer is available only in [supported
|
451
472
|
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
473
|
+
# @!attribute [r] vpc_network
|
474
|
+
# @return [::String]
|
475
|
+
# Output only. The VPC network where these VLAN attachments are located.
|
452
476
|
class LinkedInterconnectAttachments
|
453
477
|
include ::Google::Protobuf::MessageExts
|
454
478
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -466,6 +490,10 @@ module Google
|
|
466
490
|
# A value that controls whether site-to-site data transfer is enabled for
|
467
491
|
# these resources. Data transfer is available only in [supported
|
468
492
|
# locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).
|
493
|
+
# @!attribute [r] vpc_network
|
494
|
+
# @return [::String]
|
495
|
+
# Output only. The VPC network where these router appliance instances are
|
496
|
+
# located.
|
469
497
|
class LinkedRouterApplianceInstances
|
470
498
|
include ::Google::Protobuf::MessageExts
|
471
499
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -495,6 +523,18 @@ module Google
|
|
495
523
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
496
524
|
end
|
497
525
|
|
526
|
+
# Supported features for a location
|
527
|
+
module LocationFeature
|
528
|
+
# No publicly supported feature in this location
|
529
|
+
LOCATION_FEATURE_UNSPECIFIED = 0
|
530
|
+
|
531
|
+
# Site-to-cloud spokes are supported in this location
|
532
|
+
SITE_TO_CLOUD_SPOKES = 1
|
533
|
+
|
534
|
+
# Site-to-site spokes are supported in this location
|
535
|
+
SITE_TO_SITE_SPOKES = 2
|
536
|
+
end
|
537
|
+
|
498
538
|
# The State enum represents the lifecycle stage of a Network Connectivity
|
499
539
|
# Center resource.
|
500
540
|
module State
|
@@ -509,18 +549,9 @@ module Google
|
|
509
549
|
|
510
550
|
# The resource's Delete operation is in progress
|
511
551
|
DELETING = 3
|
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
552
|
|
519
|
-
#
|
520
|
-
|
521
|
-
|
522
|
-
# Site-to-site spokes are supported in this location
|
523
|
-
SITE_TO_SITE_SPOKES = 2
|
553
|
+
# The resource's Update operation is in progress
|
554
|
+
UPDATING = 6
|
524
555
|
end
|
525
556
|
end
|
526
557
|
end
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
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.4.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:
|
11
|
+
date: 2023-02-01 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:
|
19
|
+
version: 0.16.0
|
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:
|
29
|
+
version: 0.16.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -183,7 +183,9 @@ files:
|
|
183
183
|
- lib/google/cloud/networkconnectivity/v1/hub_pb.rb
|
184
184
|
- lib/google/cloud/networkconnectivity/v1/hub_services_pb.rb
|
185
185
|
- proto_docs/README.md
|
186
|
+
- proto_docs/google/api/client.rb
|
186
187
|
- proto_docs/google/api/field_behavior.rb
|
188
|
+
- proto_docs/google/api/launch_stage.rb
|
187
189
|
- proto_docs/google/api/resource.rb
|
188
190
|
- proto_docs/google/cloud/networkconnectivity/v1/common.rb
|
189
191
|
- proto_docs/google/cloud/networkconnectivity/v1/hub.rb
|
@@ -213,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
215
|
- !ruby/object:Gem::Version
|
214
216
|
version: '0'
|
215
217
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
218
|
+
rubygems_version: 3.4.2
|
217
219
|
signing_key:
|
218
220
|
specification_version: 4
|
219
221
|
summary: API Client library for the Network Connectivity V1 API
|