google-apis-networkservices_v1beta1 0.57.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 +4 -0
- data/lib/google/apis/networkservices_v1beta1/classes.rb +110 -0
- 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
@@ -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
|
@@ -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:
|