google-apis-networkconnectivity_v1 0.33.0 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +34 -100
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +0 -27
- data/lib/google/apis/networkconnectivity_v1/service.rb +34 -103
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebaa7bcc57a12bdad309142637ec74d0f3816e54d9cfea6934ff42f5b065c9f1
|
4
|
+
data.tar.gz: 6b9178fca53bfd04822f8885162e4ebe0151425d6cb6e707a189416233797e78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa68c62fcf7392169f9497c2d130d9662fe91870530092bdebcd84bde0f52639035051123e6bd6043643605eb8021d2aef779de1f2500d098648ad91bee8eb6
|
7
|
+
data.tar.gz: 458f87defec7c66d6bab4dcd5303e9a48b39e16de76ce73cd8a20f2e8aeee80861be9c4464dcf3955462b5beb5ce44215375a15d86ecf279ad3b691b68d4c8f5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2023-11-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231030
|
6
|
+
|
7
|
+
### v0.34.0 (2023-10-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230921
|
10
|
+
|
3
11
|
### v0.33.0 (2023-09-17)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230906
|
@@ -27,10 +27,10 @@ module Google
|
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# Optional. A request ID to identify requests. Specify a unique request ID so
|
30
|
-
# that if you must retry your request, the server
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
30
|
+
# that if you must retry your request, the server knows to ignore the request if
|
31
|
+
# it has already been completed. The server guarantees that a request doesn't
|
32
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
33
|
+
# example, consider a situation where you make an initial request and the
|
34
34
|
# request times out. If you make the request again with the same request ID, the
|
35
35
|
# server can check to see whether the original operation was received. If it was,
|
36
36
|
# the server ignores the second request. This behavior prevents clients from
|
@@ -80,35 +80,6 @@ module Google
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
-
# The request for HubService.AcceptSpoke.
|
84
|
-
class AcceptSpokeRequest
|
85
|
-
include Google::Apis::Core::Hashable
|
86
|
-
|
87
|
-
# Optional. A request ID to identify requests. Specify a unique request ID so
|
88
|
-
# that if you must retry your request, the server will know to ignore the
|
89
|
-
# request if it has already been completed. The server guarantees that a request
|
90
|
-
# doesn't result in creation of duplicate commitments for at least 60 minutes.
|
91
|
-
# For example, consider a situation where you make an initial request and the
|
92
|
-
# request times out. If you make the request again with the same request ID, the
|
93
|
-
# server can check to see whether the original operation was received. If it was,
|
94
|
-
# the server ignores the second request. This behavior prevents clients from
|
95
|
-
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
96
|
-
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
97
|
-
# 000000000000).
|
98
|
-
# Corresponds to the JSON property `requestId`
|
99
|
-
# @return [String]
|
100
|
-
attr_accessor :request_id
|
101
|
-
|
102
|
-
def initialize(**args)
|
103
|
-
update!(**args)
|
104
|
-
end
|
105
|
-
|
106
|
-
# Update properties of this object
|
107
|
-
def update!(**args)
|
108
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
109
|
-
end
|
110
|
-
end
|
111
|
-
|
112
83
|
# Specifies the audit configuration for a service. The configuration determines
|
113
84
|
# which permission types are logged, and what identities, if any, are exempted
|
114
85
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -472,25 +443,25 @@ module Google
|
|
472
443
|
class Filter
|
473
444
|
include Google::Apis::Core::Hashable
|
474
445
|
|
475
|
-
# Optional. The destination IP range of outgoing packets that this policy
|
446
|
+
# Optional. The destination IP range of outgoing packets that this policy-based
|
476
447
|
# route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
|
477
448
|
# Corresponds to the JSON property `destRange`
|
478
449
|
# @return [String]
|
479
450
|
attr_accessor :dest_range
|
480
451
|
|
481
|
-
# Optional. The IP protocol that this policy
|
452
|
+
# Optional. The IP protocol that this policy-based route applies to. Valid
|
482
453
|
# values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.
|
483
454
|
# Corresponds to the JSON property `ipProtocol`
|
484
455
|
# @return [String]
|
485
456
|
attr_accessor :ip_protocol
|
486
457
|
|
487
|
-
# Required. Internet protocol versions this policy
|
458
|
+
# Required. Internet protocol versions this policy-based route applies to. For
|
488
459
|
# this version, only IPV4 is supported.
|
489
460
|
# Corresponds to the JSON property `protocolVersion`
|
490
461
|
# @return [String]
|
491
462
|
attr_accessor :protocol_version
|
492
463
|
|
493
|
-
# Optional. The source IP range of outgoing packets that this policy
|
464
|
+
# Optional. The source IP range of outgoing packets that this policy-based route
|
494
465
|
# applies to. Default is "0.0.0.0/0" if protocol version is IPv4.
|
495
466
|
# Corresponds to the JSON property `srcRange`
|
496
467
|
# @return [String]
|
@@ -851,11 +822,11 @@ module Google
|
|
851
822
|
end
|
852
823
|
end
|
853
824
|
|
854
|
-
# InterconnectAttachment
|
825
|
+
# InterconnectAttachment that this route applies to.
|
855
826
|
class InterconnectAttachment
|
856
827
|
include Google::Apis::Core::Hashable
|
857
828
|
|
858
|
-
# Optional. Cloud region to install this policy
|
829
|
+
# Optional. Cloud region to install this policy-based route on interconnect
|
859
830
|
# attachment. Use `all` to install it on all interconnect attachments.
|
860
831
|
# Corresponds to the JSON property `region`
|
861
832
|
# @return [String]
|
@@ -1290,7 +1261,7 @@ module Google
|
|
1290
1261
|
# @return [String]
|
1291
1262
|
attr_accessor :next_page_token
|
1292
1263
|
|
1293
|
-
# Policy
|
1264
|
+
# Policy-based routes to be returned.
|
1294
1265
|
# Corresponds to the JSON property `policyBasedRoutes`
|
1295
1266
|
# @return [Array<Google::Apis::NetworkconnectivityV1::PolicyBasedRoute>]
|
1296
1267
|
attr_accessor :policy_based_routes
|
@@ -1778,14 +1749,14 @@ module Google
|
|
1778
1749
|
end
|
1779
1750
|
end
|
1780
1751
|
|
1781
|
-
# Policy
|
1782
|
-
#
|
1783
|
-
#
|
1784
|
-
#
|
1752
|
+
# Policy-based routes route L4 network traffic based on not just destination IP
|
1753
|
+
# address, but also source IP address, protocol, and more. If a policy-based
|
1754
|
+
# route conflicts with other types of routes, the policy-based route always take
|
1755
|
+
# precedence.
|
1785
1756
|
class PolicyBasedRoute
|
1786
1757
|
include Google::Apis::Core::Hashable
|
1787
1758
|
|
1788
|
-
# Output only. Time when the
|
1759
|
+
# Output only. Time when the policy-based route was created.
|
1789
1760
|
# Corresponds to the JSON property `createTime`
|
1790
1761
|
# @return [String]
|
1791
1762
|
attr_accessor :create_time
|
@@ -1801,13 +1772,13 @@ module Google
|
|
1801
1772
|
# @return [Google::Apis::NetworkconnectivityV1::Filter]
|
1802
1773
|
attr_accessor :filter
|
1803
1774
|
|
1804
|
-
# InterconnectAttachment
|
1775
|
+
# InterconnectAttachment that this route applies to.
|
1805
1776
|
# Corresponds to the JSON property `interconnectAttachment`
|
1806
1777
|
# @return [Google::Apis::NetworkconnectivityV1::InterconnectAttachment]
|
1807
1778
|
attr_accessor :interconnect_attachment
|
1808
1779
|
|
1809
1780
|
# Output only. Type of this resource. Always networkconnectivity#
|
1810
|
-
# policyBasedRoute for
|
1781
|
+
# policyBasedRoute for policy-based Route resources.
|
1811
1782
|
# Corresponds to the JSON property `kind`
|
1812
1783
|
# @return [String]
|
1813
1784
|
attr_accessor :kind
|
@@ -1823,15 +1794,14 @@ module Google
|
|
1823
1794
|
# @return [String]
|
1824
1795
|
attr_accessor :name
|
1825
1796
|
|
1826
|
-
# Required. Fully-qualified URL of the network that this route applies to
|
1827
|
-
# projects/my-project/global/networks/my-network.
|
1797
|
+
# Required. Fully-qualified URL of the network that this route applies to, for
|
1798
|
+
# example: projects/my-project/global/networks/my-network.
|
1828
1799
|
# Corresponds to the JSON property `network`
|
1829
1800
|
# @return [String]
|
1830
1801
|
attr_accessor :network
|
1831
1802
|
|
1832
|
-
# Optional. The IP of a global
|
1833
|
-
#
|
1834
|
-
# supported.
|
1803
|
+
# Optional. The IP address of a global-access-enabled L4 ILB that is the next
|
1804
|
+
# hop for matching packets. For this version, only nextHopIlbIp is supported.
|
1835
1805
|
# Corresponds to the JSON property `nextHopIlbIp`
|
1836
1806
|
# @return [String]
|
1837
1807
|
attr_accessor :next_hop_ilb_ip
|
@@ -1842,9 +1812,9 @@ module Google
|
|
1842
1812
|
# @return [String]
|
1843
1813
|
attr_accessor :next_hop_other_routes
|
1844
1814
|
|
1845
|
-
# Optional. The priority of this policy
|
1846
|
-
# ties in cases where there are more than one matching policy
|
1847
|
-
# In cases where multiple policy
|
1815
|
+
# Optional. The priority of this policy-based route. Priority is used to break
|
1816
|
+
# ties in cases where there are more than one matching policy-based routes found.
|
1817
|
+
# In cases where multiple policy-based routes are matched, the one with the
|
1848
1818
|
# lowest-numbered priority value wins. The default value is 1000. The priority
|
1849
1819
|
# value must be from 1 to 65535, inclusive.
|
1850
1820
|
# Corresponds to the JSON property `priority`
|
@@ -1856,12 +1826,12 @@ module Google
|
|
1856
1826
|
# @return [String]
|
1857
1827
|
attr_accessor :self_link
|
1858
1828
|
|
1859
|
-
# Output only. Time when the
|
1829
|
+
# Output only. Time when the policy-based route was updated.
|
1860
1830
|
# Corresponds to the JSON property `updateTime`
|
1861
1831
|
# @return [String]
|
1862
1832
|
attr_accessor :update_time
|
1863
1833
|
|
1864
|
-
# VM instances to which this policy
|
1834
|
+
# VM instances to which this policy-based route applies to.
|
1865
1835
|
# Corresponds to the JSON property `virtualMachine`
|
1866
1836
|
# @return [Google::Apis::NetworkconnectivityV1::VirtualMachine]
|
1867
1837
|
attr_accessor :virtual_machine
|
@@ -2033,10 +2003,10 @@ module Google
|
|
2033
2003
|
attr_accessor :details
|
2034
2004
|
|
2035
2005
|
# Optional. A request ID to identify requests. Specify a unique request ID so
|
2036
|
-
# that if you must retry your request, the server
|
2037
|
-
#
|
2038
|
-
#
|
2039
|
-
#
|
2006
|
+
# that if you must retry your request, the server knows to ignore the request if
|
2007
|
+
# it has already been completed. The server guarantees that a request doesn't
|
2008
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
2009
|
+
# example, consider a situation where you make an initial request and the
|
2040
2010
|
# request times out. If you make the request again with the same request ID, the
|
2041
2011
|
# server can check to see whether the original operation was received. If it was,
|
2042
2012
|
# the server ignores the second request. This behavior prevents clients from
|
@@ -2087,42 +2057,6 @@ module Google
|
|
2087
2057
|
end
|
2088
2058
|
end
|
2089
2059
|
|
2090
|
-
# The request for HubService.RejectSpoke.
|
2091
|
-
class RejectSpokeRequest
|
2092
|
-
include Google::Apis::Core::Hashable
|
2093
|
-
|
2094
|
-
# Optional. Additional information provided by the hub administrator in the `
|
2095
|
-
# RejectSpoke` call.
|
2096
|
-
# Corresponds to the JSON property `details`
|
2097
|
-
# @return [String]
|
2098
|
-
attr_accessor :details
|
2099
|
-
|
2100
|
-
# Optional. A request ID to identify requests. Specify a unique request ID so
|
2101
|
-
# that if you must retry your request, the server will know to ignore the
|
2102
|
-
# request if it has already been completed. The server guarantees that a request
|
2103
|
-
# doesn't result in creation of duplicate commitments for at least 60 minutes.
|
2104
|
-
# For example, consider a situation where you make an initial request and the
|
2105
|
-
# request times out. If you make the request again with the same request ID, the
|
2106
|
-
# server can check to see whether the original operation was received. If it was,
|
2107
|
-
# the server ignores the second request. This behavior prevents clients from
|
2108
|
-
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
2109
|
-
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
2110
|
-
# 000000000000).
|
2111
|
-
# Corresponds to the JSON property `requestId`
|
2112
|
-
# @return [String]
|
2113
|
-
attr_accessor :request_id
|
2114
|
-
|
2115
|
-
def initialize(**args)
|
2116
|
-
update!(**args)
|
2117
|
-
end
|
2118
|
-
|
2119
|
-
# Update properties of this object
|
2120
|
-
def update!(**args)
|
2121
|
-
@details = args[:details] if args.key?(:details)
|
2122
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
2123
|
-
end
|
2124
|
-
end
|
2125
|
-
|
2126
2060
|
# A route defines a path from VM instances within a spoke to a specific
|
2127
2061
|
# destination resource. Only VPC spokes have routes.
|
2128
2062
|
class Route
|
@@ -3021,12 +2955,12 @@ module Google
|
|
3021
2955
|
end
|
3022
2956
|
end
|
3023
2957
|
|
3024
|
-
# VM instances to which this policy
|
2958
|
+
# VM instances to which this policy-based route applies to.
|
3025
2959
|
class VirtualMachine
|
3026
2960
|
include Google::Apis::Core::Hashable
|
3027
2961
|
|
3028
|
-
# Optional. A list of VM instance tags
|
3029
|
-
#
|
2962
|
+
# Optional. A list of VM instance tags the this policy-based route applies to.
|
2963
|
+
# VM instances that have ANY of tags specified here will install this PBR.
|
3030
2964
|
# Corresponds to the JSON property `tags`
|
3031
2965
|
# @return [Array<String>]
|
3032
2966
|
attr_accessor :tags
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkconnectivityV1
|
18
18
|
# Version of the google-apis-networkconnectivity_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231030"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,12 +34,6 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class AcceptSpokeRequest
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
37
|
class AuditConfig
|
44
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
39
|
|
@@ -310,12 +304,6 @@ module Google
|
|
310
304
|
include Google::Apis::Core::JsonObjectSupport
|
311
305
|
end
|
312
306
|
|
313
|
-
class RejectSpokeRequest
|
314
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
-
|
316
|
-
include Google::Apis::Core::JsonObjectSupport
|
317
|
-
end
|
318
|
-
|
319
307
|
class Route
|
320
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
309
|
|
@@ -446,13 +434,6 @@ module Google
|
|
446
434
|
end
|
447
435
|
end
|
448
436
|
|
449
|
-
class AcceptSpokeRequest
|
450
|
-
# @private
|
451
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
452
|
-
property :request_id, as: 'requestId'
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
437
|
class AuditConfig
|
457
438
|
# @private
|
458
439
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -926,14 +907,6 @@ module Google
|
|
926
907
|
end
|
927
908
|
end
|
928
909
|
|
929
|
-
class RejectSpokeRequest
|
930
|
-
# @private
|
931
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
932
|
-
property :details, as: 'details'
|
933
|
-
property :request_id, as: 'requestId'
|
934
|
-
end
|
935
|
-
end
|
936
|
-
|
937
910
|
class Route
|
938
911
|
# @private
|
939
912
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -122,9 +122,9 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
-
# Accepts a proposal to attach a Network Connectivity Center spoke to
|
125
|
+
# Accepts a proposal to attach a Network Connectivity Center spoke to a hub.
|
126
126
|
# @param [String] name
|
127
|
-
# Required. The name of the hub.
|
127
|
+
# Required. The name of the hub into which to accept the spoke.
|
128
128
|
# @param [Google::Apis::NetworkconnectivityV1::AcceptHubSpokeRequest] accept_hub_spoke_request_object
|
129
129
|
# @param [String] fields
|
130
130
|
# Selector specifying which fields to include in a partial response.
|
@@ -163,10 +163,10 @@ module Google
|
|
163
163
|
# Required. A unique identifier for the hub.
|
164
164
|
# @param [String] request_id
|
165
165
|
# Optional. A request ID to identify requests. Specify a unique request ID so
|
166
|
-
# that if you must retry your request, the server
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
166
|
+
# that if you must retry your request, the server knows to ignore the request if
|
167
|
+
# it has already been completed. The server guarantees that a request doesn't
|
168
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
169
|
+
# example, consider a situation where you make an initial request and the
|
170
170
|
# request times out. If you make the request again with the same request ID, the
|
171
171
|
# server can check to see whether the original operation was received. If it was,
|
172
172
|
# the server ignores the second request. This behavior prevents clients from
|
@@ -209,10 +209,10 @@ module Google
|
|
209
209
|
# Required. The name of the hub to delete.
|
210
210
|
# @param [String] request_id
|
211
211
|
# Optional. A request ID to identify requests. Specify a unique request ID so
|
212
|
-
# that if you must retry your request, the server
|
213
|
-
#
|
214
|
-
#
|
215
|
-
#
|
212
|
+
# that if you must retry your request, the server knows to ignore the request if
|
213
|
+
# it has already been completed. The server guarantees that a request doesn't
|
214
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
215
|
+
# example, consider a situation where you make an initial request and the
|
216
216
|
# request times out. If you make the request again with the same request ID, the
|
217
217
|
# server can check to see whether the original operation was received. If it was,
|
218
218
|
# the server ignores the second request. This behavior prevents clients from
|
@@ -427,10 +427,10 @@ module Google
|
|
427
427
|
# @param [Google::Apis::NetworkconnectivityV1::Hub] hub_object
|
428
428
|
# @param [String] request_id
|
429
429
|
# Optional. A request ID to identify requests. Specify a unique request ID so
|
430
|
-
# that if you must retry your request, the server
|
431
|
-
#
|
432
|
-
#
|
433
|
-
#
|
430
|
+
# that if you must retry your request, the server knows to ignore the request if
|
431
|
+
# it has already been completed. The server guarantees that a request doesn't
|
432
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
433
|
+
# example, consider a situation where you make an initial request and the
|
434
434
|
# request times out. If you make the request again with the same request ID, the
|
435
435
|
# server can check to see whether the original operation was received. If it was,
|
436
436
|
# the server ignores the second request. This behavior prevents clients from
|
@@ -474,12 +474,12 @@ module Google
|
|
474
474
|
execute_or_queue_command(command, &block)
|
475
475
|
end
|
476
476
|
|
477
|
-
# Rejects a Network Connectivity Center spoke from being attached to
|
477
|
+
# Rejects a Network Connectivity Center spoke from being attached to a hub. If
|
478
478
|
# the spoke was previously in the `ACTIVE` state, it transitions to the `
|
479
479
|
# INACTIVE` state and is no longer able to connect to other spokes that are
|
480
480
|
# attached to the hub.
|
481
481
|
# @param [String] name
|
482
|
-
# Required. The name of the hub.
|
482
|
+
# Required. The name of the hub from which to reject the spoke.
|
483
483
|
# @param [Google::Apis::NetworkconnectivityV1::RejectHubSpokeRequest] reject_hub_spoke_request_object
|
484
484
|
# @param [String] fields
|
485
485
|
# Selector specifying which fields to include in a partial response.
|
@@ -923,12 +923,12 @@ module Google
|
|
923
923
|
execute_or_queue_command(command, &block)
|
924
924
|
end
|
925
925
|
|
926
|
-
# Creates a new
|
926
|
+
# Creates a new policy-based route in a given project and location.
|
927
927
|
# @param [String] parent
|
928
928
|
# Required. The parent resource's name of the PolicyBasedRoute.
|
929
929
|
# @param [Google::Apis::NetworkconnectivityV1::PolicyBasedRoute] policy_based_route_object
|
930
930
|
# @param [String] policy_based_route_id
|
931
|
-
# Required. Unique id for the
|
931
|
+
# Required. Unique id for the policy-based route to create.
|
932
932
|
# @param [String] request_id
|
933
933
|
# Optional. An optional request ID to identify requests. Specify a unique
|
934
934
|
# request ID so that if you must retry your request, the server will know to
|
@@ -971,9 +971,9 @@ module Google
|
|
971
971
|
execute_or_queue_command(command, &block)
|
972
972
|
end
|
973
973
|
|
974
|
-
# Deletes a single
|
974
|
+
# Deletes a single policy-based route.
|
975
975
|
# @param [String] name
|
976
|
-
# Required. Name of the
|
976
|
+
# Required. Name of the policy-based route resource to delete.
|
977
977
|
# @param [String] request_id
|
978
978
|
# Optional. An optional request ID to identify requests. Specify a unique
|
979
979
|
# request ID so that if you must retry your request, the server will know to
|
@@ -1013,7 +1013,7 @@ module Google
|
|
1013
1013
|
execute_or_queue_command(command, &block)
|
1014
1014
|
end
|
1015
1015
|
|
1016
|
-
# Gets details of a single
|
1016
|
+
# Gets details of a single policy-based route.
|
1017
1017
|
# @param [String] name
|
1018
1018
|
# Required. Name of the PolicyBasedRoute resource to get.
|
1019
1019
|
# @param [String] fields
|
@@ -1088,7 +1088,7 @@ module Google
|
|
1088
1088
|
execute_or_queue_command(command, &block)
|
1089
1089
|
end
|
1090
1090
|
|
1091
|
-
# Lists
|
1091
|
+
# Lists policy-based routes in a given project and location.
|
1092
1092
|
# @param [String] parent
|
1093
1093
|
# Required. The parent resource's name.
|
1094
1094
|
# @param [String] filter
|
@@ -2718,49 +2718,16 @@ module Google
|
|
2718
2718
|
execute_or_queue_command(command, &block)
|
2719
2719
|
end
|
2720
2720
|
|
2721
|
-
# Accepts a proposal to attach a Network Connectivity Center spoke to the hub.
|
2722
|
-
# @param [String] name
|
2723
|
-
# Required. The name of the spoke to accept.
|
2724
|
-
# @param [Google::Apis::NetworkconnectivityV1::AcceptSpokeRequest] accept_spoke_request_object
|
2725
|
-
# @param [String] fields
|
2726
|
-
# Selector specifying which fields to include in a partial response.
|
2727
|
-
# @param [String] quota_user
|
2728
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2729
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2730
|
-
# @param [Google::Apis::RequestOptions] options
|
2731
|
-
# Request-specific options
|
2732
|
-
#
|
2733
|
-
# @yield [result, err] Result & error if block supplied
|
2734
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
2735
|
-
# @yieldparam err [StandardError] error object if request failed
|
2736
|
-
#
|
2737
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
2738
|
-
#
|
2739
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2740
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2741
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2742
|
-
def accept_spoke(name, accept_spoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2743
|
-
command = make_simple_command(:post, 'v1/{+name}:accept', options)
|
2744
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::AcceptSpokeRequest::Representation
|
2745
|
-
command.request_object = accept_spoke_request_object
|
2746
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
2747
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
2748
|
-
command.params['name'] = name unless name.nil?
|
2749
|
-
command.query['fields'] = fields unless fields.nil?
|
2750
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2751
|
-
execute_or_queue_command(command, &block)
|
2752
|
-
end
|
2753
|
-
|
2754
2721
|
# Creates a Network Connectivity Center spoke.
|
2755
2722
|
# @param [String] parent
|
2756
2723
|
# Required. The parent resource.
|
2757
2724
|
# @param [Google::Apis::NetworkconnectivityV1::Spoke] spoke_object
|
2758
2725
|
# @param [String] request_id
|
2759
2726
|
# Optional. A request ID to identify requests. Specify a unique request ID so
|
2760
|
-
# that if you must retry your request, the server
|
2761
|
-
#
|
2762
|
-
#
|
2763
|
-
#
|
2727
|
+
# that if you must retry your request, the server knows to ignore the request if
|
2728
|
+
# it has already been completed. The server guarantees that a request doesn't
|
2729
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
2730
|
+
# example, consider a situation where you make an initial request and the
|
2764
2731
|
# request times out. If you make the request again with the same request ID, the
|
2765
2732
|
# server can check to see whether the original operation was received. If it was,
|
2766
2733
|
# the server ignores the second request. This behavior prevents clients from
|
@@ -2805,10 +2772,10 @@ module Google
|
|
2805
2772
|
# Required. The name of the spoke to delete.
|
2806
2773
|
# @param [String] request_id
|
2807
2774
|
# Optional. A request ID to identify requests. Specify a unique request ID so
|
2808
|
-
# that if you must retry your request, the server
|
2809
|
-
#
|
2810
|
-
#
|
2811
|
-
#
|
2775
|
+
# that if you must retry your request, the server knows to ignore the request if
|
2776
|
+
# it has already been completed. The server guarantees that a request doesn't
|
2777
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
2778
|
+
# example, consider a situation where you make an initial request and the
|
2812
2779
|
# request times out. If you make the request again with the same request ID, the
|
2813
2780
|
# server can check to see whether the original operation was received. If it was,
|
2814
2781
|
# the server ignores the second request. This behavior prevents clients from
|
@@ -2969,10 +2936,10 @@ module Google
|
|
2969
2936
|
# @param [Google::Apis::NetworkconnectivityV1::Spoke] spoke_object
|
2970
2937
|
# @param [String] request_id
|
2971
2938
|
# Optional. A request ID to identify requests. Specify a unique request ID so
|
2972
|
-
# that if you must retry your request, the server
|
2973
|
-
#
|
2974
|
-
#
|
2975
|
-
#
|
2939
|
+
# that if you must retry your request, the server knows to ignore the request if
|
2940
|
+
# it has already been completed. The server guarantees that a request doesn't
|
2941
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
2942
|
+
# example, consider a situation where you make an initial request and the
|
2976
2943
|
# request times out. If you make the request again with the same request ID, the
|
2977
2944
|
# server can check to see whether the original operation was received. If it was,
|
2978
2945
|
# the server ignores the second request. This behavior prevents clients from
|
@@ -3016,42 +2983,6 @@ module Google
|
|
3016
2983
|
execute_or_queue_command(command, &block)
|
3017
2984
|
end
|
3018
2985
|
|
3019
|
-
# Rejects a Network Connectivity Center spoke from being attached to the hub. If
|
3020
|
-
# the spoke was previously in the `ACTIVE` state, it transitions to the `
|
3021
|
-
# INACTIVE` state and is no longer able to connect to other spokes that are
|
3022
|
-
# attached to the hub.
|
3023
|
-
# @param [String] name
|
3024
|
-
# Required. The name of the spoke to reject.
|
3025
|
-
# @param [Google::Apis::NetworkconnectivityV1::RejectSpokeRequest] reject_spoke_request_object
|
3026
|
-
# @param [String] fields
|
3027
|
-
# Selector specifying which fields to include in a partial response.
|
3028
|
-
# @param [String] quota_user
|
3029
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
3030
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3031
|
-
# @param [Google::Apis::RequestOptions] options
|
3032
|
-
# Request-specific options
|
3033
|
-
#
|
3034
|
-
# @yield [result, err] Result & error if block supplied
|
3035
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
3036
|
-
# @yieldparam err [StandardError] error object if request failed
|
3037
|
-
#
|
3038
|
-
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
3039
|
-
#
|
3040
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3041
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3042
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3043
|
-
def reject_spoke(name, reject_spoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3044
|
-
command = make_simple_command(:post, 'v1/{+name}:reject', options)
|
3045
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1::RejectSpokeRequest::Representation
|
3046
|
-
command.request_object = reject_spoke_request_object
|
3047
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
3048
|
-
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
3049
|
-
command.params['name'] = name unless name.nil?
|
3050
|
-
command.query['fields'] = fields unless fields.nil?
|
3051
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3052
|
-
execute_or_queue_command(command, &block)
|
3053
|
-
end
|
3054
|
-
|
3055
2986
|
# Sets the access control policy on the specified resource. Replaces any
|
3056
2987
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
3057
2988
|
# PERMISSION_DENIED` errors.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkconnectivity_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.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: 2023-
|
11
|
+
date: 2023-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.35.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|