google-apis-networkconnectivity_v1 0.75.0 → 0.76.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/CHANGELOG.md +4 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +188 -0
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +70 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +222 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 378af2c25a5e9714c0700b22c45b11719da38e8b5c9cd3a6ae54202eb88ef305
|
|
4
|
+
data.tar.gz: 4cc09ab3280e06f53f56c218af473c59a7b30641b7a0b42d5358a23265b3cf93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2bd49beafe53bd551571c6deb4c615320d9d6ca6069d1ed5f52e0151bc0d4c2ba93e5d14c3462e9a31cf77bb0923185ace079ac9061b21c8a35d8d93def497c9
|
|
7
|
+
data.tar.gz: 4fa6d40e9597d1bc4694aace2dffc727349b3f75ab2995a5d676fe5387ceff19964879b31ab858e6eb555b3f0f11c241ce7205b58653b709e2213df58936680f
|
data/CHANGELOG.md
CHANGED
|
@@ -1143,6 +1143,133 @@ module Google
|
|
|
1143
1143
|
end
|
|
1144
1144
|
end
|
|
1145
1145
|
|
|
1146
|
+
# A gateway that can apply specialized traffic processing.
|
|
1147
|
+
class Gateway
|
|
1148
|
+
include Google::Apis::Core::Hashable
|
|
1149
|
+
|
|
1150
|
+
# Optional. The aggregate processing capacity of this gateway.
|
|
1151
|
+
# Corresponds to the JSON property `capacity`
|
|
1152
|
+
# @return [String]
|
|
1153
|
+
attr_accessor :capacity
|
|
1154
|
+
|
|
1155
|
+
# Output only. The list of Cloud Routers that are connected to this gateway.
|
|
1156
|
+
# Should be in the form: https://www.googleapis.com/compute/v1/projects/`project`
|
|
1157
|
+
# /regions/`region`/routers/`router`
|
|
1158
|
+
# Corresponds to the JSON property `cloudRouters`
|
|
1159
|
+
# @return [Array<String>]
|
|
1160
|
+
attr_accessor :cloud_routers
|
|
1161
|
+
|
|
1162
|
+
# Optional. A list of IP ranges that are reserved for this gateway's internal
|
|
1163
|
+
# intfrastructure.
|
|
1164
|
+
# Corresponds to the JSON property `ipRangeReservations`
|
|
1165
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::IpRangeReservation>]
|
|
1166
|
+
attr_accessor :ip_range_reservations
|
|
1167
|
+
|
|
1168
|
+
# Output only. The URI of the connected SACAttachment. Should be in the form:
|
|
1169
|
+
# projects/`project`/locations/`location`/sacAttachments/`sac_attachment`
|
|
1170
|
+
# Corresponds to the JSON property `sacAttachment`
|
|
1171
|
+
# @return [String]
|
|
1172
|
+
attr_accessor :sac_attachment
|
|
1173
|
+
|
|
1174
|
+
def initialize(**args)
|
|
1175
|
+
update!(**args)
|
|
1176
|
+
end
|
|
1177
|
+
|
|
1178
|
+
# Update properties of this object
|
|
1179
|
+
def update!(**args)
|
|
1180
|
+
@capacity = args[:capacity] if args.key?(:capacity)
|
|
1181
|
+
@cloud_routers = args[:cloud_routers] if args.key?(:cloud_routers)
|
|
1182
|
+
@ip_range_reservations = args[:ip_range_reservations] if args.key?(:ip_range_reservations)
|
|
1183
|
+
@sac_attachment = args[:sac_attachment] if args.key?(:sac_attachment)
|
|
1184
|
+
end
|
|
1185
|
+
end
|
|
1186
|
+
|
|
1187
|
+
# A gateway advertised route is a route that a gateway spoke advertises
|
|
1188
|
+
# somewhere.
|
|
1189
|
+
class GatewayAdvertisedRoute
|
|
1190
|
+
include Google::Apis::Core::Hashable
|
|
1191
|
+
|
|
1192
|
+
# Output only. The time the gateway advertised route was created.
|
|
1193
|
+
# Corresponds to the JSON property `createTime`
|
|
1194
|
+
# @return [String]
|
|
1195
|
+
attr_accessor :create_time
|
|
1196
|
+
|
|
1197
|
+
# An optional description of the gateway advertised route.
|
|
1198
|
+
# Corresponds to the JSON property `description`
|
|
1199
|
+
# @return [String]
|
|
1200
|
+
attr_accessor :description
|
|
1201
|
+
|
|
1202
|
+
# Immutable. This route's advertised IP address range. Must be a valid CIDR-
|
|
1203
|
+
# formatted prefix. If an IP address is provided without a subnet mask, it is
|
|
1204
|
+
# interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/
|
|
1205
|
+
# 128`.
|
|
1206
|
+
# Corresponds to the JSON property `ipRange`
|
|
1207
|
+
# @return [String]
|
|
1208
|
+
attr_accessor :ip_range
|
|
1209
|
+
|
|
1210
|
+
# Optional labels in key-value pair format. For more information about labels,
|
|
1211
|
+
# see [Requirements for labels](https://cloud.google.com/resource-manager/docs/
|
|
1212
|
+
# creating-managing-labels#requirements).
|
|
1213
|
+
# Corresponds to the JSON property `labels`
|
|
1214
|
+
# @return [Hash<String,String>]
|
|
1215
|
+
attr_accessor :labels
|
|
1216
|
+
|
|
1217
|
+
# Identifier. The name of the gateway advertised route. Route names must be
|
|
1218
|
+
# unique and use the following form: `projects/`project_number`/locations/`
|
|
1219
|
+
# region`/spokes/`spoke`/gatewayAdvertisedRoutes/`gateway_advertised_route_id``
|
|
1220
|
+
# Corresponds to the JSON property `name`
|
|
1221
|
+
# @return [String]
|
|
1222
|
+
attr_accessor :name
|
|
1223
|
+
|
|
1224
|
+
# Optional. The priority of this advertised route. You can choose a value from `
|
|
1225
|
+
# 0` to `65335`. If you don't provide a value, Google Cloud assigns a priority
|
|
1226
|
+
# of `100` to the ranges.
|
|
1227
|
+
# Corresponds to the JSON property `priority`
|
|
1228
|
+
# @return [Fixnum]
|
|
1229
|
+
attr_accessor :priority
|
|
1230
|
+
|
|
1231
|
+
# Optional. The recipient of this advertised route.
|
|
1232
|
+
# Corresponds to the JSON property `recipient`
|
|
1233
|
+
# @return [String]
|
|
1234
|
+
attr_accessor :recipient
|
|
1235
|
+
|
|
1236
|
+
# Output only. The current lifecycle state of this gateway advertised route.
|
|
1237
|
+
# Corresponds to the JSON property `state`
|
|
1238
|
+
# @return [String]
|
|
1239
|
+
attr_accessor :state
|
|
1240
|
+
|
|
1241
|
+
# Output only. The Google-generated UUID for the gateway advertised route. This
|
|
1242
|
+
# value is unique across all gateway advertised route resources. If a gateway
|
|
1243
|
+
# advertised route is deleted and another with the same name is created, the new
|
|
1244
|
+
# route is assigned a different `unique_id`.
|
|
1245
|
+
# Corresponds to the JSON property `uniqueId`
|
|
1246
|
+
# @return [String]
|
|
1247
|
+
attr_accessor :unique_id
|
|
1248
|
+
|
|
1249
|
+
# Output only. The time the gateway advertised route was last updated.
|
|
1250
|
+
# Corresponds to the JSON property `updateTime`
|
|
1251
|
+
# @return [String]
|
|
1252
|
+
attr_accessor :update_time
|
|
1253
|
+
|
|
1254
|
+
def initialize(**args)
|
|
1255
|
+
update!(**args)
|
|
1256
|
+
end
|
|
1257
|
+
|
|
1258
|
+
# Update properties of this object
|
|
1259
|
+
def update!(**args)
|
|
1260
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1261
|
+
@description = args[:description] if args.key?(:description)
|
|
1262
|
+
@ip_range = args[:ip_range] if args.key?(:ip_range)
|
|
1263
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
1264
|
+
@name = args[:name] if args.key?(:name)
|
|
1265
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
1266
|
+
@recipient = args[:recipient] if args.key?(:recipient)
|
|
1267
|
+
@state = args[:state] if args.key?(:state)
|
|
1268
|
+
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
|
1269
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1270
|
+
end
|
|
1271
|
+
end
|
|
1272
|
+
|
|
1146
1273
|
# The request message for Operations.CancelOperation.
|
|
1147
1274
|
class GoogleLongrunningCancelOperationRequest
|
|
1148
1275
|
include Google::Apis::Core::Hashable
|
|
@@ -1746,6 +1873,28 @@ module Google
|
|
|
1746
1873
|
end
|
|
1747
1874
|
end
|
|
1748
1875
|
|
|
1876
|
+
# A list of IP ranges that are reserved for this gateway's internal
|
|
1877
|
+
# intfrastructure.
|
|
1878
|
+
class IpRangeReservation
|
|
1879
|
+
include Google::Apis::Core::Hashable
|
|
1880
|
+
|
|
1881
|
+
# Required. A block of IP addresses used to allocate supporting infrastructure
|
|
1882
|
+
# for this gateway. This block must not overlap with subnets in any spokes or
|
|
1883
|
+
# peer VPC networks that the gateway can communicate with. Example: "10.1.2.0/24"
|
|
1884
|
+
# Corresponds to the JSON property `ipRange`
|
|
1885
|
+
# @return [String]
|
|
1886
|
+
attr_accessor :ip_range
|
|
1887
|
+
|
|
1888
|
+
def initialize(**args)
|
|
1889
|
+
update!(**args)
|
|
1890
|
+
end
|
|
1891
|
+
|
|
1892
|
+
# Update properties of this object
|
|
1893
|
+
def update!(**args)
|
|
1894
|
+
@ip_range = args[:ip_range] if args.key?(:ip_range)
|
|
1895
|
+
end
|
|
1896
|
+
end
|
|
1897
|
+
|
|
1749
1898
|
# A collection of VLAN attachment resources. These resources should be redundant
|
|
1750
1899
|
# attachments that all advertise the same prefixes to Google Cloud.
|
|
1751
1900
|
# Alternatively, in active/passive configurations, all attachments should be
|
|
@@ -2131,6 +2280,39 @@ module Google
|
|
|
2131
2280
|
end
|
|
2132
2281
|
end
|
|
2133
2282
|
|
|
2283
|
+
# Response for HubService.ListGatewayAdvertisedRoutes method.
|
|
2284
|
+
class ListGatewayAdvertisedRoutesResponse
|
|
2285
|
+
include Google::Apis::Core::Hashable
|
|
2286
|
+
|
|
2287
|
+
# The requested gateway advertised routes.
|
|
2288
|
+
# Corresponds to the JSON property `gatewayAdvertisedRoutes`
|
|
2289
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute>]
|
|
2290
|
+
attr_accessor :gateway_advertised_routes
|
|
2291
|
+
|
|
2292
|
+
# The token for the next page of the response. To see more results, use this
|
|
2293
|
+
# value as the page_token for your next request. If this value is empty, there
|
|
2294
|
+
# are no more results.
|
|
2295
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2296
|
+
# @return [String]
|
|
2297
|
+
attr_accessor :next_page_token
|
|
2298
|
+
|
|
2299
|
+
# Hubs that could not be reached.
|
|
2300
|
+
# Corresponds to the JSON property `unreachable`
|
|
2301
|
+
# @return [Array<String>]
|
|
2302
|
+
attr_accessor :unreachable
|
|
2303
|
+
|
|
2304
|
+
def initialize(**args)
|
|
2305
|
+
update!(**args)
|
|
2306
|
+
end
|
|
2307
|
+
|
|
2308
|
+
# Update properties of this object
|
|
2309
|
+
def update!(**args)
|
|
2310
|
+
@gateway_advertised_routes = args[:gateway_advertised_routes] if args.key?(:gateway_advertised_routes)
|
|
2311
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2312
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2313
|
+
end
|
|
2314
|
+
end
|
|
2315
|
+
|
|
2134
2316
|
# Response for HubService.ListGroups method.
|
|
2135
2317
|
class ListGroupsResponse
|
|
2136
2318
|
include Google::Apis::Core::Hashable
|
|
@@ -4582,6 +4764,11 @@ module Google
|
|
|
4582
4764
|
# @return [Array<String>]
|
|
4583
4765
|
attr_accessor :field_paths_pending_update
|
|
4584
4766
|
|
|
4767
|
+
# A gateway that can apply specialized traffic processing.
|
|
4768
|
+
# Corresponds to the JSON property `gateway`
|
|
4769
|
+
# @return [Google::Apis::NetworkconnectivityV1::Gateway]
|
|
4770
|
+
attr_accessor :gateway
|
|
4771
|
+
|
|
4585
4772
|
# Optional. The name of the group that this spoke is associated with.
|
|
4586
4773
|
# Corresponds to the JSON property `group`
|
|
4587
4774
|
# @return [String]
|
|
@@ -4677,6 +4864,7 @@ module Google
|
|
|
4677
4864
|
@description = args[:description] if args.key?(:description)
|
|
4678
4865
|
@etag = args[:etag] if args.key?(:etag)
|
|
4679
4866
|
@field_paths_pending_update = args[:field_paths_pending_update] if args.key?(:field_paths_pending_update)
|
|
4867
|
+
@gateway = args[:gateway] if args.key?(:gateway)
|
|
4680
4868
|
@group = args[:group] if args.key?(:group)
|
|
4681
4869
|
@hub = args[:hub] if args.key?(:hub)
|
|
4682
4870
|
@labels = args[:labels] if args.key?(:labels)
|
|
@@ -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.76.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260514"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -154,6 +154,18 @@ module Google
|
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
+
class Gateway
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
class GatewayAdvertisedRoute
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
157
169
|
class GoogleLongrunningCancelOperationRequest
|
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
171
|
|
|
@@ -214,6 +226,12 @@ module Google
|
|
|
214
226
|
include Google::Apis::Core::JsonObjectSupport
|
|
215
227
|
end
|
|
216
228
|
|
|
229
|
+
class IpRangeReservation
|
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
|
+
|
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
233
|
+
end
|
|
234
|
+
|
|
217
235
|
class LinkedInterconnectAttachments
|
|
218
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
237
|
|
|
@@ -256,6 +274,12 @@ module Google
|
|
|
256
274
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
275
|
end
|
|
258
276
|
|
|
277
|
+
class ListGatewayAdvertisedRoutesResponse
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
259
283
|
class ListGroupsResponse
|
|
260
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
285
|
|
|
@@ -882,6 +906,33 @@ module Google
|
|
|
882
906
|
end
|
|
883
907
|
end
|
|
884
908
|
|
|
909
|
+
class Gateway
|
|
910
|
+
# @private
|
|
911
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
912
|
+
property :capacity, as: 'capacity'
|
|
913
|
+
collection :cloud_routers, as: 'cloudRouters'
|
|
914
|
+
collection :ip_range_reservations, as: 'ipRangeReservations', class: Google::Apis::NetworkconnectivityV1::IpRangeReservation, decorator: Google::Apis::NetworkconnectivityV1::IpRangeReservation::Representation
|
|
915
|
+
|
|
916
|
+
property :sac_attachment, as: 'sacAttachment'
|
|
917
|
+
end
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
class GatewayAdvertisedRoute
|
|
921
|
+
# @private
|
|
922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
923
|
+
property :create_time, as: 'createTime'
|
|
924
|
+
property :description, as: 'description'
|
|
925
|
+
property :ip_range, as: 'ipRange'
|
|
926
|
+
hash :labels, as: 'labels'
|
|
927
|
+
property :name, as: 'name'
|
|
928
|
+
property :priority, as: 'priority'
|
|
929
|
+
property :recipient, as: 'recipient'
|
|
930
|
+
property :state, as: 'state'
|
|
931
|
+
property :unique_id, as: 'uniqueId'
|
|
932
|
+
property :update_time, as: 'updateTime'
|
|
933
|
+
end
|
|
934
|
+
end
|
|
935
|
+
|
|
885
936
|
class GoogleLongrunningCancelOperationRequest
|
|
886
937
|
# @private
|
|
887
938
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1007,6 +1058,13 @@ module Google
|
|
|
1007
1058
|
end
|
|
1008
1059
|
end
|
|
1009
1060
|
|
|
1061
|
+
class IpRangeReservation
|
|
1062
|
+
# @private
|
|
1063
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1064
|
+
property :ip_range, as: 'ipRange'
|
|
1065
|
+
end
|
|
1066
|
+
end
|
|
1067
|
+
|
|
1010
1068
|
class LinkedInterconnectAttachments
|
|
1011
1069
|
# @private
|
|
1012
1070
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1093,6 +1151,16 @@ module Google
|
|
|
1093
1151
|
end
|
|
1094
1152
|
end
|
|
1095
1153
|
|
|
1154
|
+
class ListGatewayAdvertisedRoutesResponse
|
|
1155
|
+
# @private
|
|
1156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1157
|
+
collection :gateway_advertised_routes, as: 'gatewayAdvertisedRoutes', class: Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute, decorator: Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute::Representation
|
|
1158
|
+
|
|
1159
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1160
|
+
collection :unreachable, as: 'unreachable'
|
|
1161
|
+
end
|
|
1162
|
+
end
|
|
1163
|
+
|
|
1096
1164
|
class ListGroupsResponse
|
|
1097
1165
|
# @private
|
|
1098
1166
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1691,6 +1759,8 @@ module Google
|
|
|
1691
1759
|
property :description, as: 'description'
|
|
1692
1760
|
property :etag, as: 'etag'
|
|
1693
1761
|
collection :field_paths_pending_update, as: 'fieldPathsPendingUpdate'
|
|
1762
|
+
property :gateway, as: 'gateway', class: Google::Apis::NetworkconnectivityV1::Gateway, decorator: Google::Apis::NetworkconnectivityV1::Gateway::Representation
|
|
1763
|
+
|
|
1694
1764
|
property :group, as: 'group'
|
|
1695
1765
|
property :hub, as: 'hub'
|
|
1696
1766
|
hash :labels, as: 'labels'
|
|
@@ -4024,6 +4024,228 @@ module Google
|
|
|
4024
4024
|
execute_or_queue_command(command, &block)
|
|
4025
4025
|
end
|
|
4026
4026
|
|
|
4027
|
+
# Create a GatewayAdvertisedRoute
|
|
4028
|
+
# @param [String] parent
|
|
4029
|
+
# Required. The parent resource.
|
|
4030
|
+
# @param [Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute] gateway_advertised_route_object
|
|
4031
|
+
# @param [String] gateway_advertised_route_id
|
|
4032
|
+
# Required. Unique id for the route to create.
|
|
4033
|
+
# @param [String] request_id
|
|
4034
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
4035
|
+
# that if you must retry your request, the server knows to ignore the request if
|
|
4036
|
+
# it has already been completed. The server guarantees that a request doesn't
|
|
4037
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
|
4038
|
+
# example, consider a situation where you make an initial request and the
|
|
4039
|
+
# request times out. If you make the request again with the same request ID, the
|
|
4040
|
+
# server can check to see whether the original operation was received. If it was,
|
|
4041
|
+
# the server ignores the second request. This behavior prevents clients from
|
|
4042
|
+
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
|
4043
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
|
4044
|
+
# 000000000000).
|
|
4045
|
+
# @param [String] fields
|
|
4046
|
+
# Selector specifying which fields to include in a partial response.
|
|
4047
|
+
# @param [String] quota_user
|
|
4048
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4049
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4050
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4051
|
+
# Request-specific options
|
|
4052
|
+
#
|
|
4053
|
+
# @yield [result, err] Result & error if block supplied
|
|
4054
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4055
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4056
|
+
#
|
|
4057
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4058
|
+
#
|
|
4059
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4060
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4061
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4062
|
+
def create_project_location_spoke_gateway_advertised_route(parent, gateway_advertised_route_object = nil, gateway_advertised_route_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4063
|
+
command = make_simple_command(:post, 'v1/{+parent}/gatewayAdvertisedRoutes', options)
|
|
4064
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute::Representation
|
|
4065
|
+
command.request_object = gateway_advertised_route_object
|
|
4066
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4067
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4068
|
+
command.params['parent'] = parent unless parent.nil?
|
|
4069
|
+
command.query['gatewayAdvertisedRouteId'] = gateway_advertised_route_id unless gateway_advertised_route_id.nil?
|
|
4070
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
4071
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4072
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4073
|
+
execute_or_queue_command(command, &block)
|
|
4074
|
+
end
|
|
4075
|
+
|
|
4076
|
+
# Delete a GatewayAdvertisedRoute
|
|
4077
|
+
# @param [String] name
|
|
4078
|
+
# Required. The name of the gateway advertised route to delete.
|
|
4079
|
+
# @param [String] request_id
|
|
4080
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
4081
|
+
# that if you must retry your request, the server knows to ignore the request if
|
|
4082
|
+
# it has already been completed. The server guarantees that a request doesn't
|
|
4083
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
|
4084
|
+
# example, consider a situation where you make an initial request and the
|
|
4085
|
+
# request times out. If you make the request again with the same request ID, the
|
|
4086
|
+
# server can check to see whether the original operation was received. If it was,
|
|
4087
|
+
# the server ignores the second request. This behavior prevents clients from
|
|
4088
|
+
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
|
4089
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
|
4090
|
+
# 000000000000).
|
|
4091
|
+
# @param [String] fields
|
|
4092
|
+
# Selector specifying which fields to include in a partial response.
|
|
4093
|
+
# @param [String] quota_user
|
|
4094
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4095
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4096
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4097
|
+
# Request-specific options
|
|
4098
|
+
#
|
|
4099
|
+
# @yield [result, err] Result & error if block supplied
|
|
4100
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4101
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4102
|
+
#
|
|
4103
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4104
|
+
#
|
|
4105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4108
|
+
def delete_project_location_spoke_gateway_advertised_route(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4109
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
4110
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4111
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4112
|
+
command.params['name'] = name unless name.nil?
|
|
4113
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
4114
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4116
|
+
execute_or_queue_command(command, &block)
|
|
4117
|
+
end
|
|
4118
|
+
|
|
4119
|
+
# Get a GatewayAdvertisedRoute
|
|
4120
|
+
# @param [String] name
|
|
4121
|
+
# Required. The name of the gateway advertised route to get.
|
|
4122
|
+
# @param [String] fields
|
|
4123
|
+
# Selector specifying which fields to include in a partial response.
|
|
4124
|
+
# @param [String] quota_user
|
|
4125
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4126
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4127
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4128
|
+
# Request-specific options
|
|
4129
|
+
#
|
|
4130
|
+
# @yield [result, err] Result & error if block supplied
|
|
4131
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute] parsed result object
|
|
4132
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4133
|
+
#
|
|
4134
|
+
# @return [Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute]
|
|
4135
|
+
#
|
|
4136
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4137
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4138
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4139
|
+
def get_project_location_spoke_gateway_advertised_route(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4140
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
4141
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute::Representation
|
|
4142
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute
|
|
4143
|
+
command.params['name'] = name unless name.nil?
|
|
4144
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4145
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4146
|
+
execute_or_queue_command(command, &block)
|
|
4147
|
+
end
|
|
4148
|
+
|
|
4149
|
+
# List GatewayAdvertisedRoutes
|
|
4150
|
+
# @param [String] parent
|
|
4151
|
+
# Required. The parent resource's name.
|
|
4152
|
+
# @param [String] filter
|
|
4153
|
+
# An expression that filters the list of results.
|
|
4154
|
+
# @param [String] order_by
|
|
4155
|
+
# Sort the results by a certain order.
|
|
4156
|
+
# @param [Fixnum] page_size
|
|
4157
|
+
# Optional. The maximum number of results per page that should be returned.
|
|
4158
|
+
# @param [String] page_token
|
|
4159
|
+
# Optional. A page token, received from a previous `ListGatewayAdvertisedRoutes`
|
|
4160
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
|
4161
|
+
# parameters provided to `ListGatewayAdvertisedRoutes` must match the call that
|
|
4162
|
+
# provided the page token.
|
|
4163
|
+
# @param [String] fields
|
|
4164
|
+
# Selector specifying which fields to include in a partial response.
|
|
4165
|
+
# @param [String] quota_user
|
|
4166
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4167
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4168
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4169
|
+
# Request-specific options
|
|
4170
|
+
#
|
|
4171
|
+
# @yield [result, err] Result & error if block supplied
|
|
4172
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListGatewayAdvertisedRoutesResponse] parsed result object
|
|
4173
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4174
|
+
#
|
|
4175
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListGatewayAdvertisedRoutesResponse]
|
|
4176
|
+
#
|
|
4177
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4178
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4179
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4180
|
+
def list_project_location_spoke_gateway_advertised_routes(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4181
|
+
command = make_simple_command(:get, 'v1/{+parent}/gatewayAdvertisedRoutes', options)
|
|
4182
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListGatewayAdvertisedRoutesResponse::Representation
|
|
4183
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListGatewayAdvertisedRoutesResponse
|
|
4184
|
+
command.params['parent'] = parent unless parent.nil?
|
|
4185
|
+
command.query['filter'] = filter unless filter.nil?
|
|
4186
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
4187
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4188
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4189
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4190
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4191
|
+
execute_or_queue_command(command, &block)
|
|
4192
|
+
end
|
|
4193
|
+
|
|
4194
|
+
# Update a GatewayAdvertisedRoute
|
|
4195
|
+
# @param [String] name
|
|
4196
|
+
# Identifier. The name of the gateway advertised route. Route names must be
|
|
4197
|
+
# unique and use the following form: `projects/`project_number`/locations/`
|
|
4198
|
+
# region`/spokes/`spoke`/gatewayAdvertisedRoutes/`gateway_advertised_route_id``
|
|
4199
|
+
# @param [Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute] gateway_advertised_route_object
|
|
4200
|
+
# @param [String] request_id
|
|
4201
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
|
4202
|
+
# that if you must retry your request, the server knows to ignore the request if
|
|
4203
|
+
# it has already been completed. The server guarantees that a request doesn't
|
|
4204
|
+
# result in creation of duplicate commitments for at least 60 minutes. For
|
|
4205
|
+
# example, consider a situation where you make an initial request and the
|
|
4206
|
+
# request times out. If you make the request again with the same request ID, the
|
|
4207
|
+
# server can check to see whether the original operation was received. If it was,
|
|
4208
|
+
# the server ignores the second request. This behavior prevents clients from
|
|
4209
|
+
# mistakenly creating duplicate commitments. The request ID must be a valid UUID,
|
|
4210
|
+
# with the exception that zero UUID is not supported (00000000-0000-0000-0000-
|
|
4211
|
+
# 000000000000).
|
|
4212
|
+
# @param [String] update_mask
|
|
4213
|
+
# Optional. In the case of an update to an existing group, field mask is used to
|
|
4214
|
+
# specify the fields to be overwritten. The fields specified in the update_mask
|
|
4215
|
+
# are relative to the resource, not the full request. A field is overwritten if
|
|
4216
|
+
# it is in the mask. If the user does not provide a mask, then all fields are
|
|
4217
|
+
# overwritten.
|
|
4218
|
+
# @param [String] fields
|
|
4219
|
+
# Selector specifying which fields to include in a partial response.
|
|
4220
|
+
# @param [String] quota_user
|
|
4221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4223
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4224
|
+
# Request-specific options
|
|
4225
|
+
#
|
|
4226
|
+
# @yield [result, err] Result & error if block supplied
|
|
4227
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
4228
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4229
|
+
#
|
|
4230
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
4231
|
+
#
|
|
4232
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4233
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4234
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4235
|
+
def patch_project_location_spoke_gateway_advertised_route(name, gateway_advertised_route_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4236
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
4237
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::GatewayAdvertisedRoute::Representation
|
|
4238
|
+
command.request_object = gateway_advertised_route_object
|
|
4239
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
4240
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
4241
|
+
command.params['name'] = name unless name.nil?
|
|
4242
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
4243
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
4244
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4245
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4246
|
+
execute_or_queue_command(command, &block)
|
|
4247
|
+
end
|
|
4248
|
+
|
|
4027
4249
|
# Creates a new Transport in a given project and location.
|
|
4028
4250
|
# @param [String] parent
|
|
4029
4251
|
# Required. Value for parent.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.76.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.76.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|