google-apis-networkservices_v1beta1 0.57.0 → 0.59.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 +139 -23
- 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 +225 -2
- 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: 46e8e6c8e4568084b67053bc772e53a115161772772a47d6c670f98bcec83ca9
|
|
4
|
+
data.tar.gz: 14dcaf800c0e5d96ac16e319d36994a2d3c6c0d72f3705e8abcd9e33ad7c7c97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eef8eee7491b0773a48f055716a7c55924ca527c6c42559da530022fc2d8be55567e5c8fc88f3984267c873760b7b4f2424f41fcd87470a4bc46be895a7c3cac
|
|
7
|
+
data.tar.gz: eb493446216d4cae97ec72455486ba9bc5b283cd5519cdef21457eca431a2834c63d72509dd0dc7d149cb7be880907ed16c0dc8861cc193d7122d77e0b0a02e2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-networkservices_v1beta1
|
|
2
2
|
|
|
3
|
+
### v0.59.0 (2025-10-26)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251015
|
|
6
|
+
|
|
7
|
+
### v0.58.0 (2025-08-10)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20250730
|
|
10
|
+
|
|
3
11
|
### v0.57.0 (2025-08-03)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250723
|
|
@@ -347,8 +347,8 @@ module Google
|
|
|
347
347
|
|
|
348
348
|
# Optional. When set to `TRUE`, the response from an extension service is
|
|
349
349
|
# allowed to set the `com.google.envoy.dynamic_forwarding` namespace in the
|
|
350
|
-
# dynamic metadata. This field is not supported for plugin extensions
|
|
351
|
-
# it results in a validation error.
|
|
350
|
+
# dynamic metadata. This field is not supported for plugin extensions or
|
|
351
|
+
# AuthzExtensions. Setting it results in a validation error.
|
|
352
352
|
# Corresponds to the JSON property `allowDynamicForwarding`
|
|
353
353
|
# @return [Boolean]
|
|
354
354
|
attr_accessor :allow_dynamic_forwarding
|
|
@@ -384,28 +384,30 @@ module Google
|
|
|
384
384
|
|
|
385
385
|
# Optional. The metadata provided here is included as part of the `
|
|
386
386
|
# metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest`
|
|
387
|
-
# message sent to the extension server.
|
|
388
|
-
#
|
|
389
|
-
#
|
|
390
|
-
#
|
|
391
|
-
#
|
|
392
|
-
#
|
|
393
|
-
#
|
|
394
|
-
#
|
|
395
|
-
#
|
|
396
|
-
#
|
|
397
|
-
#
|
|
398
|
-
# less than
|
|
399
|
-
#
|
|
387
|
+
# message sent to the extension server. For `AuthzExtension` resources, the
|
|
388
|
+
# metadata is available under the namespace `com.google.authz_extension.`. For
|
|
389
|
+
# other types of extensions, the metadata is available under the namespace `com.
|
|
390
|
+
# google....`. For example: `com.google.lb_traffic_extension.lbtrafficextension1.
|
|
391
|
+
# chain1.ext1`. The following variables are supported in the metadata: ``
|
|
392
|
+
# forwarding_rule_id`` - substituted with the forwarding rule's fully qualified
|
|
393
|
+
# resource name. This field must not be set for plugin extensions. Setting it
|
|
394
|
+
# results in a validation error. You can set metadata at either the resource
|
|
395
|
+
# level or the extension level. The extension level metadata is recommended
|
|
396
|
+
# because you can pass a different set of metadata through each extension to the
|
|
397
|
+
# backend. This field is subject to following limitations: * The total size of
|
|
398
|
+
# the metadata must be less than 1KiB. * The total number of keys in the
|
|
399
|
+
# metadata must be less than 16. * The length of each key must be less than 64
|
|
400
|
+
# characters. * The length of each value must be less than 1024 characters. *
|
|
401
|
+
# All values must be strings.
|
|
400
402
|
# Corresponds to the JSON property `metadata`
|
|
401
403
|
# @return [Hash<String,Object>]
|
|
402
404
|
attr_accessor :metadata
|
|
403
405
|
|
|
404
|
-
#
|
|
406
|
+
# Optional. The name for this extension. The name is logged as part of the HTTP
|
|
405
407
|
# request logs. The name must conform with RFC-1034, is restricted to lower-
|
|
406
408
|
# cased letters, numbers and hyphens, and can have a maximum length of 63
|
|
407
409
|
# characters. Additionally, the first character must be a letter and the last a
|
|
408
|
-
# letter or a number.
|
|
410
|
+
# letter or a number. This field is required except for AuthzExtension.
|
|
409
411
|
# Corresponds to the JSON property `name`
|
|
410
412
|
# @return [String]
|
|
411
413
|
attr_accessor :name
|
|
@@ -424,11 +426,13 @@ module Google
|
|
|
424
426
|
attr_accessor :request_body_send_mode
|
|
425
427
|
|
|
426
428
|
# Optional. Configures the send mode for response processing. If unspecified,
|
|
427
|
-
# the default value `STREAMED` is used.
|
|
428
|
-
#
|
|
429
|
-
#
|
|
430
|
-
#
|
|
431
|
-
#
|
|
429
|
+
# the default value `STREAMED` is used. The field can only be set if `
|
|
430
|
+
# supported_events` includes `RESPONSE_BODY`. If `supported_events` includes `
|
|
431
|
+
# RESPONSE_BODY`, but `response_body_send_mode` is unset, the default value `
|
|
432
|
+
# STREAMED` is used. When this field is set to `FULL_DUPLEX_STREAMED`, `
|
|
433
|
+
# supported_events` must include both `RESPONSE_BODY` and `RESPONSE_TRAILERS`.
|
|
434
|
+
# This field can be set only for `LbTrafficExtension` resources, and only when
|
|
435
|
+
# the `service` field of the extension points to a `BackendService`.
|
|
432
436
|
# Corresponds to the JSON property `responseBodySendMode`
|
|
433
437
|
# @return [String]
|
|
434
438
|
attr_accessor :response_body_send_mode
|
|
@@ -456,7 +460,9 @@ module Google
|
|
|
456
460
|
# required. For the `LbRouteExtension` resource, this field is optional. If
|
|
457
461
|
# unspecified, `REQUEST_HEADERS` event is assumed as supported. For the `
|
|
458
462
|
# LbEdgeExtension` resource, this field is required and must only contain `
|
|
459
|
-
# REQUEST_HEADERS` event.
|
|
463
|
+
# REQUEST_HEADERS` event. For the `AuthzExtension` resource, this field is
|
|
464
|
+
# optional. `REQUEST_HEADERS` is the only supported event. If unspecified, `
|
|
465
|
+
# REQUEST_HEADERS` event is assumed as supported.
|
|
460
466
|
# Corresponds to the JSON property `supportedEvents`
|
|
461
467
|
# @return [Array<String>]
|
|
462
468
|
attr_accessor :supported_events
|
|
@@ -2260,6 +2266,85 @@ module Google
|
|
|
2260
2266
|
end
|
|
2261
2267
|
end
|
|
2262
2268
|
|
|
2269
|
+
# `LbTcpExtension` is a resource that allows traffic forwarding to different
|
|
2270
|
+
# backend services to make allow/deny decisions on TCP connections for all L7
|
|
2271
|
+
# Load Balancers within a network. Currently only internal load-balancers are
|
|
2272
|
+
# supported.
|
|
2273
|
+
class LbTcpExtension
|
|
2274
|
+
include Google::Apis::Core::Hashable
|
|
2275
|
+
|
|
2276
|
+
# Output only. The timestamp when the resource was created.
|
|
2277
|
+
# Corresponds to the JSON property `createTime`
|
|
2278
|
+
# @return [String]
|
|
2279
|
+
attr_accessor :create_time
|
|
2280
|
+
|
|
2281
|
+
# Optional. A human-readable description of the resource.
|
|
2282
|
+
# Corresponds to the JSON property `description`
|
|
2283
|
+
# @return [String]
|
|
2284
|
+
attr_accessor :description
|
|
2285
|
+
|
|
2286
|
+
# Required. A set of ordered extension chains that contain the match conditions
|
|
2287
|
+
# and extensions to execute. Match conditions for each extension chain are
|
|
2288
|
+
# evaluated in sequence for a given request. The first extension chain that has
|
|
2289
|
+
# a condition that matches the request is executed. Any subsequent extension
|
|
2290
|
+
# chains do not execute. Limited to 5 extension chains per resource.
|
|
2291
|
+
# Corresponds to the JSON property `extensionChains`
|
|
2292
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionChain>]
|
|
2293
|
+
attr_accessor :extension_chains
|
|
2294
|
+
|
|
2295
|
+
# Optional. Set of labels associated with the `LbTcpExtension` resource. The
|
|
2296
|
+
# format must comply with [the requirements for labels](/compute/docs/labeling-
|
|
2297
|
+
# resources#requirements) for Google Cloud resources.
|
|
2298
|
+
# Corresponds to the JSON property `labels`
|
|
2299
|
+
# @return [Hash<String,String>]
|
|
2300
|
+
attr_accessor :labels
|
|
2301
|
+
|
|
2302
|
+
# Required. All backend services and forwarding rules referenced by this
|
|
2303
|
+
# extension must share the same load balancing scheme. Supported values: `
|
|
2304
|
+
# INTERNAL_MANAGED`. For more information, refer to [Backend services overview](
|
|
2305
|
+
# https://cloud.google.com/load-balancing/docs/backend-service).
|
|
2306
|
+
# Corresponds to the JSON property `loadBalancingScheme`
|
|
2307
|
+
# @return [String]
|
|
2308
|
+
attr_accessor :load_balancing_scheme
|
|
2309
|
+
|
|
2310
|
+
# Required. Identifier. Name of the `LbTcpExtension` resource in the following
|
|
2311
|
+
# format: `projects/`project`/locations/`location`/LbTcpExtension/`
|
|
2312
|
+
# lb_tcp_extension``
|
|
2313
|
+
# Corresponds to the JSON property `name`
|
|
2314
|
+
# @return [String]
|
|
2315
|
+
attr_accessor :name
|
|
2316
|
+
|
|
2317
|
+
# Optional. If set, this `LbTcpExtension` resource applies to all `
|
|
2318
|
+
# ForwardingRule` resources in these VPC networks. Values should be relative
|
|
2319
|
+
# resource names identifying VPC networks, for example `projects/*/global/
|
|
2320
|
+
# networks/network-1`. Currently limited to 1 network per resource. Limited to 1
|
|
2321
|
+
# network per resource.
|
|
2322
|
+
# Corresponds to the JSON property `networks`
|
|
2323
|
+
# @return [Array<String>]
|
|
2324
|
+
attr_accessor :networks
|
|
2325
|
+
|
|
2326
|
+
# Output only. The timestamp when the resource was updated.
|
|
2327
|
+
# Corresponds to the JSON property `updateTime`
|
|
2328
|
+
# @return [String]
|
|
2329
|
+
attr_accessor :update_time
|
|
2330
|
+
|
|
2331
|
+
def initialize(**args)
|
|
2332
|
+
update!(**args)
|
|
2333
|
+
end
|
|
2334
|
+
|
|
2335
|
+
# Update properties of this object
|
|
2336
|
+
def update!(**args)
|
|
2337
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2338
|
+
@description = args[:description] if args.key?(:description)
|
|
2339
|
+
@extension_chains = args[:extension_chains] if args.key?(:extension_chains)
|
|
2340
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2341
|
+
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
|
2342
|
+
@name = args[:name] if args.key?(:name)
|
|
2343
|
+
@networks = args[:networks] if args.key?(:networks)
|
|
2344
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
2345
|
+
end
|
|
2346
|
+
end
|
|
2347
|
+
|
|
2263
2348
|
# `LbTrafficExtension` is a resource that lets the extension service modify the
|
|
2264
2349
|
# headers and payloads of both requests and responses without impacting the
|
|
2265
2350
|
# choice of backend services or any other security policies associated with the
|
|
@@ -2619,6 +2704,37 @@ module Google
|
|
|
2619
2704
|
end
|
|
2620
2705
|
end
|
|
2621
2706
|
|
|
2707
|
+
# Message for response to listing `LbTcpExtension` resources.
|
|
2708
|
+
class ListLbTcpExtensionsResponse
|
|
2709
|
+
include Google::Apis::Core::Hashable
|
|
2710
|
+
|
|
2711
|
+
# The list of `LbTcpExtension` resources.
|
|
2712
|
+
# Corresponds to the JSON property `lbTcpExtensions`
|
|
2713
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::LbTcpExtension>]
|
|
2714
|
+
attr_accessor :lb_tcp_extensions
|
|
2715
|
+
|
|
2716
|
+
# A token identifying a page of results that the server returns.
|
|
2717
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2718
|
+
# @return [String]
|
|
2719
|
+
attr_accessor :next_page_token
|
|
2720
|
+
|
|
2721
|
+
# Locations that could not be reached.
|
|
2722
|
+
# Corresponds to the JSON property `unreachable`
|
|
2723
|
+
# @return [Array<String>]
|
|
2724
|
+
attr_accessor :unreachable
|
|
2725
|
+
|
|
2726
|
+
def initialize(**args)
|
|
2727
|
+
update!(**args)
|
|
2728
|
+
end
|
|
2729
|
+
|
|
2730
|
+
# Update properties of this object
|
|
2731
|
+
def update!(**args)
|
|
2732
|
+
@lb_tcp_extensions = args[:lb_tcp_extensions] if args.key?(:lb_tcp_extensions)
|
|
2733
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2734
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2735
|
+
end
|
|
2736
|
+
end
|
|
2737
|
+
|
|
2622
2738
|
# Message for response to listing `LbTrafficExtension` resources.
|
|
2623
2739
|
class ListLbTrafficExtensionsResponse
|
|
2624
2740
|
include Google::Apis::Core::Hashable
|
|
@@ -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.59.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 = "20251015"
|
|
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
|
|
@@ -85,8 +85,8 @@ module Google
|
|
|
85
85
|
# @param [String] name
|
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
|
87
87
|
# @param [Array<String>, String] extra_location_types
|
|
88
|
-
# Optional.
|
|
89
|
-
#
|
|
88
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
89
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
|
90
90
|
# @param [String] filter
|
|
91
91
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
92
92
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -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.59.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.59.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:
|