google-cloud-network_connectivity-v1 0.3.0 → 0.4.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/AUTHENTICATION.md +1 -1
- data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +49 -47
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/client.rb +749 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/credentials.rb +51 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/operations.rb +770 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/paths.rb +86 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service.rb +51 -0
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/network_connectivity/v1.rb +1 -0
- 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/lib/google/cloud/networkconnectivity/v1/policy_based_routing_pb.rb +108 -0
- data/lib/google/cloud/networkconnectivity/v1/policy_based_routing_services_pb.rb +52 -0
- data/proto_docs/google/cloud/networkconnectivity/v1/hub.rb +108 -77
- data/proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb +295 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +12 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac65ba21d146846211922f6ddccc1b69d29f6e21954d583de0f52e11bb953c42
|
4
|
+
data.tar.gz: 02cb841e6fd7dd5a5248f512c921af6274904152486539077145f400bace8aa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67274c7135ad244a00749f9d62afba8c84b46d760a2f2fc106f1dea7b5af80cb551c5715e3c21db2140ffdfa794edc84a895a52bc7a028d757f7c181a9456e49
|
7
|
+
data.tar.gz: d55e49f5c1ab92cc8023d39be2086c40948129e6c82bb3821c73d075bc9e51bffd85eedfe16fb5b128b9edc1a56655f5cc0e818571af88b673e4401df9a98391
|
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
|
@@ -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
|