google-apis-networkservices_v1beta1 0.56.0 → 0.58.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 +8 -0
- data/lib/google/apis/networkservices_v1beta1/classes.rb +172 -26
- data/lib/google/apis/networkservices_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networkservices_v1beta1/representations.rb +37 -0
- data/lib/google/apis/networkservices_v1beta1/service.rb +223 -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: 59230c25edc05111eb1d6999863b745496e024a2551fc48a7cef2e431656a7ce
|
4
|
+
data.tar.gz: 22b4d511a8949f9bd7171d901d68ca2055131fb74651370e2b756d7f28a0d17f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88ebcd33622c2b7559cb9fc38582f3dbd60d9f20bcdd45f5eb59838f9bcfb5444a0a48b8571c2977065cd2e7a340d0b0549e3ae85df152442521fd5300c0111d
|
7
|
+
data.tar.gz: 940541d8ec68a02d75844adb66b5718859979638c3649f1c3fee0eb38153ff032ea499592fb834c4aac5172980d94c0dfeeee815cdcc0136c0b412dc037a2751
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkservices_v1beta1
|
2
2
|
|
3
|
+
### v0.58.0 (2025-08-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250730
|
6
|
+
|
7
|
+
### v0.57.0 (2025-08-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250723
|
10
|
+
|
3
11
|
### v0.56.0 (2025-07-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250709
|
@@ -2260,6 +2260,85 @@ module Google
|
|
2260
2260
|
end
|
2261
2261
|
end
|
2262
2262
|
|
2263
|
+
# `LbTcpExtension` is a resource that allows traffic forwarding to different
|
2264
|
+
# backend services to make allow/deny decisions on TCP connections for all L7
|
2265
|
+
# Load Balancers within a network. Currently only internal load-balancers are
|
2266
|
+
# supported.
|
2267
|
+
class LbTcpExtension
|
2268
|
+
include Google::Apis::Core::Hashable
|
2269
|
+
|
2270
|
+
# Output only. The timestamp when the resource was created.
|
2271
|
+
# Corresponds to the JSON property `createTime`
|
2272
|
+
# @return [String]
|
2273
|
+
attr_accessor :create_time
|
2274
|
+
|
2275
|
+
# Optional. A human-readable description of the resource.
|
2276
|
+
# Corresponds to the JSON property `description`
|
2277
|
+
# @return [String]
|
2278
|
+
attr_accessor :description
|
2279
|
+
|
2280
|
+
# Required. A set of ordered extension chains that contain the match conditions
|
2281
|
+
# and extensions to execute. Match conditions for each extension chain are
|
2282
|
+
# evaluated in sequence for a given request. The first extension chain that has
|
2283
|
+
# a condition that matches the request is executed. Any subsequent extension
|
2284
|
+
# chains do not execute. Limited to 5 extension chains per resource.
|
2285
|
+
# Corresponds to the JSON property `extensionChains`
|
2286
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionChain>]
|
2287
|
+
attr_accessor :extension_chains
|
2288
|
+
|
2289
|
+
# Optional. Set of labels associated with the `LbTcpExtension` resource. The
|
2290
|
+
# format must comply with [the requirements for labels](/compute/docs/labeling-
|
2291
|
+
# resources#requirements) for Google Cloud resources.
|
2292
|
+
# Corresponds to the JSON property `labels`
|
2293
|
+
# @return [Hash<String,String>]
|
2294
|
+
attr_accessor :labels
|
2295
|
+
|
2296
|
+
# Required. All backend services and forwarding rules referenced by this
|
2297
|
+
# extension must share the same load balancing scheme. Supported values: `
|
2298
|
+
# INTERNAL_MANAGED`. For more information, refer to [Backend services overview](
|
2299
|
+
# https://cloud.google.com/load-balancing/docs/backend-service).
|
2300
|
+
# Corresponds to the JSON property `loadBalancingScheme`
|
2301
|
+
# @return [String]
|
2302
|
+
attr_accessor :load_balancing_scheme
|
2303
|
+
|
2304
|
+
# Required. Identifier. Name of the `LbTcpExtension` resource in the following
|
2305
|
+
# format: `projects/`project`/locations/`location`/LbTcpExtension/`
|
2306
|
+
# lb_tcp_extension``
|
2307
|
+
# Corresponds to the JSON property `name`
|
2308
|
+
# @return [String]
|
2309
|
+
attr_accessor :name
|
2310
|
+
|
2311
|
+
# Optional. If set, this `LbTcpExtension` resource applies to all `
|
2312
|
+
# ForwardingRule` resources in these VPC networks. Values should be relative
|
2313
|
+
# resource names identifying VPC networks, for example `projects/*/global/
|
2314
|
+
# networks/network-1`. Currently limited to 1 network per resource. Limited to 1
|
2315
|
+
# network per resource.
|
2316
|
+
# Corresponds to the JSON property `networks`
|
2317
|
+
# @return [Array<String>]
|
2318
|
+
attr_accessor :networks
|
2319
|
+
|
2320
|
+
# Output only. The timestamp when the resource was updated.
|
2321
|
+
# Corresponds to the JSON property `updateTime`
|
2322
|
+
# @return [String]
|
2323
|
+
attr_accessor :update_time
|
2324
|
+
|
2325
|
+
def initialize(**args)
|
2326
|
+
update!(**args)
|
2327
|
+
end
|
2328
|
+
|
2329
|
+
# Update properties of this object
|
2330
|
+
def update!(**args)
|
2331
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2332
|
+
@description = args[:description] if args.key?(:description)
|
2333
|
+
@extension_chains = args[:extension_chains] if args.key?(:extension_chains)
|
2334
|
+
@labels = args[:labels] if args.key?(:labels)
|
2335
|
+
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
2336
|
+
@name = args[:name] if args.key?(:name)
|
2337
|
+
@networks = args[:networks] if args.key?(:networks)
|
2338
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2339
|
+
end
|
2340
|
+
end
|
2341
|
+
|
2263
2342
|
# `LbTrafficExtension` is a resource that lets the extension service modify the
|
2264
2343
|
# headers and payloads of both requests and responses without impacting the
|
2265
2344
|
# choice of backend services or any other security policies associated with the
|
@@ -2619,6 +2698,37 @@ module Google
|
|
2619
2698
|
end
|
2620
2699
|
end
|
2621
2700
|
|
2701
|
+
# Message for response to listing `LbTcpExtension` resources.
|
2702
|
+
class ListLbTcpExtensionsResponse
|
2703
|
+
include Google::Apis::Core::Hashable
|
2704
|
+
|
2705
|
+
# The list of `LbTcpExtension` resources.
|
2706
|
+
# Corresponds to the JSON property `lbTcpExtensions`
|
2707
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::LbTcpExtension>]
|
2708
|
+
attr_accessor :lb_tcp_extensions
|
2709
|
+
|
2710
|
+
# A token identifying a page of results that the server returns.
|
2711
|
+
# Corresponds to the JSON property `nextPageToken`
|
2712
|
+
# @return [String]
|
2713
|
+
attr_accessor :next_page_token
|
2714
|
+
|
2715
|
+
# Locations that could not be reached.
|
2716
|
+
# Corresponds to the JSON property `unreachable`
|
2717
|
+
# @return [Array<String>]
|
2718
|
+
attr_accessor :unreachable
|
2719
|
+
|
2720
|
+
def initialize(**args)
|
2721
|
+
update!(**args)
|
2722
|
+
end
|
2723
|
+
|
2724
|
+
# Update properties of this object
|
2725
|
+
def update!(**args)
|
2726
|
+
@lb_tcp_extensions = args[:lb_tcp_extensions] if args.key?(:lb_tcp_extensions)
|
2727
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2728
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2729
|
+
end
|
2730
|
+
end
|
2731
|
+
|
2622
2732
|
# Message for response to listing `LbTrafficExtension` resources.
|
2623
2733
|
class ListLbTrafficExtensionsResponse
|
2624
2734
|
include Google::Apis::Core::Hashable
|
@@ -4208,18 +4318,27 @@ module Google
|
|
4208
4318
|
# @return [String]
|
4209
4319
|
attr_accessor :description
|
4210
4320
|
|
4211
|
-
# Output only.
|
4212
|
-
# The
|
4213
|
-
#
|
4214
|
-
#
|
4321
|
+
# Output only. This field holds the digest (usually checksum) value for the
|
4322
|
+
# plugin image. The value is calculated based on the `image_uri` field. If the `
|
4323
|
+
# image_uri` field refers to a container image, the digest value is obtained
|
4324
|
+
# from the container image. If the `image_uri` field refers to a generic
|
4325
|
+
# artifact, the digest value is calculated based on the contents of the file.
|
4215
4326
|
# Corresponds to the JSON property `imageDigest`
|
4216
4327
|
# @return [String]
|
4217
4328
|
attr_accessor :image_digest
|
4218
4329
|
|
4219
|
-
# Optional. URI of the
|
4220
|
-
#
|
4221
|
-
#
|
4222
|
-
#
|
4330
|
+
# Optional. URI of the image containing the Wasm module, stored in Artifact
|
4331
|
+
# Registry. The URI can refer to one of the following repository formats: *
|
4332
|
+
# Container images: the `image_uri` must point to a container that contains a
|
4333
|
+
# single file with the name `plugin.wasm`. When a new `WasmPluginVersion`
|
4334
|
+
# resource is created, the digest of the image is saved in the `image_digest`
|
4335
|
+
# field. When pulling a container image from Artifact Registry, the digest value
|
4336
|
+
# is used instead of an image tag. * Generic artifacts: the `image_uri` must be
|
4337
|
+
# in this format: `projects/`project`/locations/`location`/repositories/`
|
4338
|
+
# repository`/ genericArtifacts/`package`:`version``. The specified package and
|
4339
|
+
# version must contain a file with the name `plugin.wasm`. When a new `
|
4340
|
+
# WasmPluginVersion` resource is created, the checksum of the contents of the
|
4341
|
+
# file is saved in the `image_digest` field.
|
4223
4342
|
# Corresponds to the JSON property `imageUri`
|
4224
4343
|
# @return [String]
|
4225
4344
|
attr_accessor :image_uri
|
@@ -4247,7 +4366,7 @@ module Google
|
|
4247
4366
|
|
4248
4367
|
# Output only. This field holds the digest (usually checksum) value for the
|
4249
4368
|
# plugin configuration. The value is calculated based on the contents of `
|
4250
|
-
# plugin_config_data` or the
|
4369
|
+
# plugin_config_data` field or the image defined by the `plugin_config_uri`
|
4251
4370
|
# field.
|
4252
4371
|
# Corresponds to the JSON property `pluginConfigDigest`
|
4253
4372
|
# @return [String]
|
@@ -4255,9 +4374,18 @@ module Google
|
|
4255
4374
|
|
4256
4375
|
# URI of the plugin configuration stored in the Artifact Registry. The
|
4257
4376
|
# configuration is provided to the plugin at runtime through the `ON_CONFIGURE`
|
4258
|
-
# callback. The
|
4259
|
-
#
|
4260
|
-
#
|
4377
|
+
# callback. The URI can refer to one of the following repository formats: *
|
4378
|
+
# Container images: the `plugin_config_uri` must point to a container that
|
4379
|
+
# contains a single file with the name `plugin.config`. When a new `
|
4380
|
+
# WasmPluginVersion` resource is created, the digest of the image is saved in
|
4381
|
+
# the `plugin_config_digest` field. When pulling a container image from Artifact
|
4382
|
+
# Registry, the digest value is used instead of an image tag. * Generic
|
4383
|
+
# artifacts: the `plugin_config_uri` must be in this format: `projects/`project`/
|
4384
|
+
# locations/`location`/repositories/`repository`/ genericArtifacts/`package`:`
|
4385
|
+
# version``. The specified package and version must contain a file with the name
|
4386
|
+
# `plugin.config`. When a new `WasmPluginVersion` resource is created, the
|
4387
|
+
# checksum of the contents of the file is saved in the `plugin_config_digest`
|
4388
|
+
# field.
|
4261
4389
|
# Corresponds to the JSON property `pluginConfigUri`
|
4262
4390
|
# @return [String]
|
4263
4391
|
attr_accessor :plugin_config_uri
|
@@ -4301,18 +4429,27 @@ module Google
|
|
4301
4429
|
# @return [String]
|
4302
4430
|
attr_accessor :description
|
4303
4431
|
|
4304
|
-
# Output only.
|
4305
|
-
#
|
4306
|
-
# field
|
4307
|
-
#
|
4432
|
+
# Output only. This field holds the digest (usually checksum) value for the
|
4433
|
+
# plugin image. The value is calculated based on the `image_uri` field. If the `
|
4434
|
+
# image_uri` field refers to a container image, the digest value is obtained
|
4435
|
+
# from the container image. If the `image_uri` field refers to a generic
|
4436
|
+
# artifact, the digest value is calculated based on the contents of the file.
|
4308
4437
|
# Corresponds to the JSON property `imageDigest`
|
4309
4438
|
# @return [String]
|
4310
4439
|
attr_accessor :image_digest
|
4311
4440
|
|
4312
|
-
# Optional. URI of the
|
4313
|
-
#
|
4314
|
-
# the
|
4315
|
-
#
|
4441
|
+
# Optional. URI of the image containing the Wasm module, stored in Artifact
|
4442
|
+
# Registry. The URI can refer to one of the following repository formats: *
|
4443
|
+
# Container images: the `image_uri` must point to a container that contains a
|
4444
|
+
# single file with the name `plugin.wasm`. When a new `WasmPluginVersion`
|
4445
|
+
# resource is created, the digest of the image is saved in the `image_digest`
|
4446
|
+
# field. When pulling a container image from Artifact Registry, the digest value
|
4447
|
+
# is used instead of an image tag. * Generic artifacts: the `image_uri` must be
|
4448
|
+
# in this format: `projects/`project`/locations/`location`/repositories/`
|
4449
|
+
# repository`/ genericArtifacts/`package`:`version``. The specified package and
|
4450
|
+
# version must contain a file with the name `plugin.wasm`. When a new `
|
4451
|
+
# WasmPluginVersion` resource is created, the checksum of the contents of the
|
4452
|
+
# file is saved in the `image_digest` field.
|
4316
4453
|
# Corresponds to the JSON property `imageUri`
|
4317
4454
|
# @return [String]
|
4318
4455
|
attr_accessor :image_uri
|
@@ -4332,18 +4469,27 @@ module Google
|
|
4332
4469
|
attr_accessor :plugin_config_data
|
4333
4470
|
|
4334
4471
|
# Output only. This field holds the digest (usually checksum) value for the
|
4335
|
-
# plugin configuration. The value is calculated based on the contents of
|
4336
|
-
# plugin_config_data` field or the
|
4337
|
-
#
|
4472
|
+
# plugin configuration. The value is calculated based on the contents of `
|
4473
|
+
# plugin_config_data` field or the image defined by the `plugin_config_uri`
|
4474
|
+
# field.
|
4338
4475
|
# Corresponds to the JSON property `pluginConfigDigest`
|
4339
4476
|
# @return [String]
|
4340
4477
|
attr_accessor :plugin_config_digest
|
4341
4478
|
|
4342
4479
|
# URI of the plugin configuration stored in the Artifact Registry. The
|
4343
4480
|
# configuration is provided to the plugin at runtime through the `ON_CONFIGURE`
|
4344
|
-
# callback. The
|
4345
|
-
#
|
4346
|
-
#
|
4481
|
+
# callback. The URI can refer to one of the following repository formats: *
|
4482
|
+
# Container images: the `plugin_config_uri` must point to a container that
|
4483
|
+
# contains a single file with the name `plugin.config`. When a new `
|
4484
|
+
# WasmPluginVersion` resource is created, the digest of the image is saved in
|
4485
|
+
# the `plugin_config_digest` field. When pulling a container image from Artifact
|
4486
|
+
# Registry, the digest value is used instead of an image tag. * Generic
|
4487
|
+
# artifacts: the `plugin_config_uri` must be in this format: `projects/`project`/
|
4488
|
+
# locations/`location`/repositories/`repository`/ genericArtifacts/`package`:`
|
4489
|
+
# version``. The specified package and version must contain a file with the name
|
4490
|
+
# `plugin.config`. When a new `WasmPluginVersion` resource is created, the
|
4491
|
+
# checksum of the contents of the file is saved in the `plugin_config_digest`
|
4492
|
+
# field.
|
4347
4493
|
# Corresponds to the JSON property `pluginConfigUri`
|
4348
4494
|
# @return [String]
|
4349
4495
|
attr_accessor :plugin_config_uri
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkservicesV1beta1
|
18
18
|
# Version of the google-apis-networkservices_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.58.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 = "20250730"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -280,6 +280,12 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class LbTcpExtension
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
283
289
|
class LbTrafficExtension
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
291
|
|
@@ -334,6 +340,12 @@ module Google
|
|
334
340
|
include Google::Apis::Core::JsonObjectSupport
|
335
341
|
end
|
336
342
|
|
343
|
+
class ListLbTcpExtensionsResponse
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
337
349
|
class ListLbTrafficExtensionsResponse
|
338
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
351
|
|
@@ -1087,6 +1099,21 @@ module Google
|
|
1087
1099
|
end
|
1088
1100
|
end
|
1089
1101
|
|
1102
|
+
class LbTcpExtension
|
1103
|
+
# @private
|
1104
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1105
|
+
property :create_time, as: 'createTime'
|
1106
|
+
property :description, as: 'description'
|
1107
|
+
collection :extension_chains, as: 'extensionChains', class: Google::Apis::NetworkservicesV1beta1::ExtensionChain, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionChain::Representation
|
1108
|
+
|
1109
|
+
hash :labels, as: 'labels'
|
1110
|
+
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
1111
|
+
property :name, as: 'name'
|
1112
|
+
collection :networks, as: 'networks'
|
1113
|
+
property :update_time, as: 'updateTime'
|
1114
|
+
end
|
1115
|
+
end
|
1116
|
+
|
1090
1117
|
class LbTrafficExtension
|
1091
1118
|
# @private
|
1092
1119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1183,6 +1210,16 @@ module Google
|
|
1183
1210
|
end
|
1184
1211
|
end
|
1185
1212
|
|
1213
|
+
class ListLbTcpExtensionsResponse
|
1214
|
+
# @private
|
1215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1216
|
+
collection :lb_tcp_extensions, as: 'lbTcpExtensions', class: Google::Apis::NetworkservicesV1beta1::LbTcpExtension, decorator: Google::Apis::NetworkservicesV1beta1::LbTcpExtension::Representation
|
1217
|
+
|
1218
|
+
property :next_page_token, as: 'nextPageToken'
|
1219
|
+
collection :unreachable, as: 'unreachable'
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1186
1223
|
class ListLbTrafficExtensionsResponse
|
1187
1224
|
# @private
|
1188
1225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1592,6 +1592,229 @@ module Google
|
|
1592
1592
|
execute_or_queue_command(command, &block)
|
1593
1593
|
end
|
1594
1594
|
|
1595
|
+
# Creates a new `LbTcpExtension` resource in a given project and location.
|
1596
|
+
# @param [String] parent
|
1597
|
+
# Required. The parent resource of the `LbTcpExtension` resource. Must be in the
|
1598
|
+
# format `projects/`project`/locations/`location``.
|
1599
|
+
# @param [Google::Apis::NetworkservicesV1beta1::LbTcpExtension] lb_tcp_extension_object
|
1600
|
+
# @param [String] lb_tcp_extension_id
|
1601
|
+
# Required. User-provided ID of the `LbTcpExtension` resource to be created.
|
1602
|
+
# @param [String] request_id
|
1603
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1604
|
+
# request ID so that if you must retry your request, the server can ignore the
|
1605
|
+
# request if it has already been completed. The server guarantees that for at
|
1606
|
+
# least 60 minutes since the first request. For example, consider a situation
|
1607
|
+
# where you make an initial request and the request times out. If you make the
|
1608
|
+
# request again with the same request ID, the server can check if original
|
1609
|
+
# operation with the same request ID was received, and if so, ignores the second
|
1610
|
+
# request. This prevents clients from accidentally creating duplicate
|
1611
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1612
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1613
|
+
# @param [String] fields
|
1614
|
+
# Selector specifying which fields to include in a partial response.
|
1615
|
+
# @param [String] quota_user
|
1616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1618
|
+
# @param [Google::Apis::RequestOptions] options
|
1619
|
+
# Request-specific options
|
1620
|
+
#
|
1621
|
+
# @yield [result, err] Result & error if block supplied
|
1622
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
1623
|
+
# @yieldparam err [StandardError] error object if request failed
|
1624
|
+
#
|
1625
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
1626
|
+
#
|
1627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1630
|
+
def create_project_location_lb_tcp_extension(parent, lb_tcp_extension_object = nil, lb_tcp_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1631
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/lbTcpExtensions', options)
|
1632
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::LbTcpExtension::Representation
|
1633
|
+
command.request_object = lb_tcp_extension_object
|
1634
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
1635
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
1636
|
+
command.params['parent'] = parent unless parent.nil?
|
1637
|
+
command.query['lbTcpExtensionId'] = lb_tcp_extension_id unless lb_tcp_extension_id.nil?
|
1638
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1639
|
+
command.query['fields'] = fields unless fields.nil?
|
1640
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1641
|
+
execute_or_queue_command(command, &block)
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
# Deletes the specified `LbTcpExtension` resource.
|
1645
|
+
# @param [String] name
|
1646
|
+
# Required. The name of the `LbTcpExtension` resource to delete. Must be in the
|
1647
|
+
# format `projects/`project`/locations/`location`/LbTcpExtensions/`
|
1648
|
+
# lb_tcp_extension``.
|
1649
|
+
# @param [String] request_id
|
1650
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1651
|
+
# request ID so that if you must retry your request, the server can ignore the
|
1652
|
+
# request if it has already been completed. The server guarantees that for at
|
1653
|
+
# least 60 minutes after the first request. For example, consider a situation
|
1654
|
+
# where you make an initial request and the request times out. If you make the
|
1655
|
+
# request again with the same request ID, the server can check if original
|
1656
|
+
# operation with the same request ID was received, and if so, ignores the second
|
1657
|
+
# request. This prevents clients from accidentally creating duplicate
|
1658
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1659
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1660
|
+
# @param [String] fields
|
1661
|
+
# Selector specifying which fields to include in a partial response.
|
1662
|
+
# @param [String] quota_user
|
1663
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1664
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1665
|
+
# @param [Google::Apis::RequestOptions] options
|
1666
|
+
# Request-specific options
|
1667
|
+
#
|
1668
|
+
# @yield [result, err] Result & error if block supplied
|
1669
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
1670
|
+
# @yieldparam err [StandardError] error object if request failed
|
1671
|
+
#
|
1672
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
1673
|
+
#
|
1674
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1675
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1676
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1677
|
+
def delete_project_location_lb_tcp_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1678
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1679
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
1680
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
1681
|
+
command.params['name'] = name unless name.nil?
|
1682
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1683
|
+
command.query['fields'] = fields unless fields.nil?
|
1684
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1685
|
+
execute_or_queue_command(command, &block)
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
# Gets details of the specified `LbTcpExtension` resource.
|
1689
|
+
# @param [String] name
|
1690
|
+
# Required. A name of the `LbTcpExtension` resource to get. Must be in the
|
1691
|
+
# format `projects/`project`/locations/`location`/LbTcpExtensions/`
|
1692
|
+
# lb_tcp_extension``.
|
1693
|
+
# @param [String] fields
|
1694
|
+
# Selector specifying which fields to include in a partial response.
|
1695
|
+
# @param [String] quota_user
|
1696
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1697
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1698
|
+
# @param [Google::Apis::RequestOptions] options
|
1699
|
+
# Request-specific options
|
1700
|
+
#
|
1701
|
+
# @yield [result, err] Result & error if block supplied
|
1702
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::LbTcpExtension] parsed result object
|
1703
|
+
# @yieldparam err [StandardError] error object if request failed
|
1704
|
+
#
|
1705
|
+
# @return [Google::Apis::NetworkservicesV1beta1::LbTcpExtension]
|
1706
|
+
#
|
1707
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1708
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1709
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1710
|
+
def get_project_location_lb_tcp_extension(name, fields: nil, quota_user: nil, options: nil, &block)
|
1711
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1712
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::LbTcpExtension::Representation
|
1713
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::LbTcpExtension
|
1714
|
+
command.params['name'] = name unless name.nil?
|
1715
|
+
command.query['fields'] = fields unless fields.nil?
|
1716
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1717
|
+
execute_or_queue_command(command, &block)
|
1718
|
+
end
|
1719
|
+
|
1720
|
+
# Lists `LbTcpExtension` resources in a given project and location.
|
1721
|
+
# @param [String] parent
|
1722
|
+
# Required. The project and location from which the `LbTcpExtension` resources
|
1723
|
+
# are listed, specified in the following format: `projects/`project`/locations/`
|
1724
|
+
# location``.
|
1725
|
+
# @param [String] filter
|
1726
|
+
# Optional. Filtering results.
|
1727
|
+
# @param [String] order_by
|
1728
|
+
# Optional. Hint for how to order the results.
|
1729
|
+
# @param [Fixnum] page_size
|
1730
|
+
# Optional. Requested page size. The server might return fewer items than
|
1731
|
+
# requested. If unspecified, the server picks an appropriate default.
|
1732
|
+
# @param [String] page_token
|
1733
|
+
# Optional. A token identifying a page of results that the server returns.
|
1734
|
+
# @param [String] fields
|
1735
|
+
# Selector specifying which fields to include in a partial response.
|
1736
|
+
# @param [String] quota_user
|
1737
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1738
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1739
|
+
# @param [Google::Apis::RequestOptions] options
|
1740
|
+
# Request-specific options
|
1741
|
+
#
|
1742
|
+
# @yield [result, err] Result & error if block supplied
|
1743
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::ListLbTcpExtensionsResponse] parsed result object
|
1744
|
+
# @yieldparam err [StandardError] error object if request failed
|
1745
|
+
#
|
1746
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ListLbTcpExtensionsResponse]
|
1747
|
+
#
|
1748
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1749
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1750
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1751
|
+
def list_project_location_lb_tcp_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1752
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/lbTcpExtensions', options)
|
1753
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListLbTcpExtensionsResponse::Representation
|
1754
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::ListLbTcpExtensionsResponse
|
1755
|
+
command.params['parent'] = parent unless parent.nil?
|
1756
|
+
command.query['filter'] = filter unless filter.nil?
|
1757
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1758
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1759
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1760
|
+
command.query['fields'] = fields unless fields.nil?
|
1761
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1762
|
+
execute_or_queue_command(command, &block)
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
# Updates the parameters of the specified `LbTcpExtension` resource.
|
1766
|
+
# @param [String] name
|
1767
|
+
# Required. Identifier. Name of the `LbTcpExtension` resource in the following
|
1768
|
+
# format: `projects/`project`/locations/`location`/LbTcpExtension/`
|
1769
|
+
# lb_tcp_extension``
|
1770
|
+
# @param [Google::Apis::NetworkservicesV1beta1::LbTcpExtension] lb_tcp_extension_object
|
1771
|
+
# @param [String] request_id
|
1772
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1773
|
+
# request ID so that if you must retry your request, the server can ignore the
|
1774
|
+
# request if it has already been completed. The server guarantees that for at
|
1775
|
+
# least 60 minutes since the first request. For example, consider a situation
|
1776
|
+
# where you make an initial request and the request times out. If you make the
|
1777
|
+
# request again with the same request ID, the server can check if original
|
1778
|
+
# operation with the same request ID was received, and if so, ignores the second
|
1779
|
+
# request. This prevents clients from accidentally creating duplicate
|
1780
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1781
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1782
|
+
# @param [String] update_mask
|
1783
|
+
# Optional. Used to specify the fields to be overwritten in the `LbTcpExtension`
|
1784
|
+
# resource by the update. The fields specified in the update_mask are relative
|
1785
|
+
# to the resource, not the full request. A field is overwritten if it is in the
|
1786
|
+
# mask. If the user does not specify a mask, then all fields are overwritten.
|
1787
|
+
# @param [String] fields
|
1788
|
+
# Selector specifying which fields to include in a partial response.
|
1789
|
+
# @param [String] quota_user
|
1790
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1791
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1792
|
+
# @param [Google::Apis::RequestOptions] options
|
1793
|
+
# Request-specific options
|
1794
|
+
#
|
1795
|
+
# @yield [result, err] Result & error if block supplied
|
1796
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
1797
|
+
# @yieldparam err [StandardError] error object if request failed
|
1798
|
+
#
|
1799
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
1800
|
+
#
|
1801
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1802
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1803
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1804
|
+
def patch_project_location_lb_tcp_extension(name, lb_tcp_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1805
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1806
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::LbTcpExtension::Representation
|
1807
|
+
command.request_object = lb_tcp_extension_object
|
1808
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
1809
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
1810
|
+
command.params['name'] = name unless name.nil?
|
1811
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1812
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1813
|
+
command.query['fields'] = fields unless fields.nil?
|
1814
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1815
|
+
execute_or_queue_command(command, &block)
|
1816
|
+
end
|
1817
|
+
|
1595
1818
|
# Creates a new `LbTrafficExtension` resource in a given project and location.
|
1596
1819
|
# @param [String] parent
|
1597
1820
|
# Required. The parent resource of the `LbTrafficExtension` resource. Must be in
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkservices_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.58.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-networkservices_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.58.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|