google-apis-networkservices_v1 0.63.0 → 0.64.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_v1/classes.rb +113 -0
- data/lib/google/apis/networkservices_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkservices_v1/representations.rb +38 -0
- data/lib/google/apis/networkservices_v1/service.rb +232 -3
- 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: b33773f95caec9948e219911a9fbd6b50cadebe687a236ac257779ffa06bf28d
|
|
4
|
+
data.tar.gz: f12cf5bbd1d94a1219ad012817c21b0996d7e52d3f2df616bba58b231e713f35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 04e0dcbc5995ce2631ea720bfe92f898949b7a7821d2d182a2b0410d6cdbbddf8106e0ca353f789f9b02683ad28e7165d5f5d5b78d6f0612b3f1cf391b6cb374
|
|
7
|
+
data.tar.gz: 057d4e86e595690512c34887b73edb272f484e7663124a7aa1d0cd7f69add54fbd5bd7fd667446c826c0d04f8920396b0c25f6c56aacf29bd2dcb7fac6d24b3f
|
data/CHANGELOG.md
CHANGED
|
@@ -2372,6 +2372,80 @@ module Google
|
|
|
2372
2372
|
end
|
|
2373
2373
|
end
|
|
2374
2374
|
|
|
2375
|
+
# `LbEdgeExtension` is a resource that lets the extension service influence the
|
|
2376
|
+
# selection of backend services and Cloud CDN cache keys by modifying request
|
|
2377
|
+
# headers.
|
|
2378
|
+
class LbEdgeExtension
|
|
2379
|
+
include Google::Apis::Core::Hashable
|
|
2380
|
+
|
|
2381
|
+
# Output only. The timestamp when the resource was created.
|
|
2382
|
+
# Corresponds to the JSON property `createTime`
|
|
2383
|
+
# @return [String]
|
|
2384
|
+
attr_accessor :create_time
|
|
2385
|
+
|
|
2386
|
+
# Optional. A human-readable description of the resource.
|
|
2387
|
+
# Corresponds to the JSON property `description`
|
|
2388
|
+
# @return [String]
|
|
2389
|
+
attr_accessor :description
|
|
2390
|
+
|
|
2391
|
+
# Required. A set of ordered extension chains that contain the match conditions
|
|
2392
|
+
# and extensions to execute. Match conditions for each extension chain are
|
|
2393
|
+
# evaluated in sequence for a given request. The first extension chain that has
|
|
2394
|
+
# a condition that matches the request is executed. Any subsequent extension
|
|
2395
|
+
# chains do not execute. Limited to 5 extension chains per resource.
|
|
2396
|
+
# Corresponds to the JSON property `extensionChains`
|
|
2397
|
+
# @return [Array<Google::Apis::NetworkservicesV1::ExtensionChain>]
|
|
2398
|
+
attr_accessor :extension_chains
|
|
2399
|
+
|
|
2400
|
+
# Required. A list of references to the forwarding rules to which this service
|
|
2401
|
+
# extension is attached. At least one forwarding rule is required. Only one `
|
|
2402
|
+
# LbEdgeExtension` resource can be associated with a forwarding rule.
|
|
2403
|
+
# Corresponds to the JSON property `forwardingRules`
|
|
2404
|
+
# @return [Array<String>]
|
|
2405
|
+
attr_accessor :forwarding_rules
|
|
2406
|
+
|
|
2407
|
+
# Optional. Set of labels associated with the `LbEdgeExtension` resource. The
|
|
2408
|
+
# format must comply with [the requirements for labels](https://cloud.google.com/
|
|
2409
|
+
# compute/docs/labeling-resources#requirements) for Google Cloud resources.
|
|
2410
|
+
# Corresponds to the JSON property `labels`
|
|
2411
|
+
# @return [Hash<String,String>]
|
|
2412
|
+
attr_accessor :labels
|
|
2413
|
+
|
|
2414
|
+
# Required. All forwarding rules referenced by this extension must share the
|
|
2415
|
+
# same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
|
|
2416
|
+
# Corresponds to the JSON property `loadBalancingScheme`
|
|
2417
|
+
# @return [String]
|
|
2418
|
+
attr_accessor :load_balancing_scheme
|
|
2419
|
+
|
|
2420
|
+
# Required. Identifier. Name of the `LbEdgeExtension` resource in the following
|
|
2421
|
+
# format: `projects/`project`/locations/`location`/lbEdgeExtensions/`
|
|
2422
|
+
# lb_edge_extension``.
|
|
2423
|
+
# Corresponds to the JSON property `name`
|
|
2424
|
+
# @return [String]
|
|
2425
|
+
attr_accessor :name
|
|
2426
|
+
|
|
2427
|
+
# Output only. The timestamp when the resource was updated.
|
|
2428
|
+
# Corresponds to the JSON property `updateTime`
|
|
2429
|
+
# @return [String]
|
|
2430
|
+
attr_accessor :update_time
|
|
2431
|
+
|
|
2432
|
+
def initialize(**args)
|
|
2433
|
+
update!(**args)
|
|
2434
|
+
end
|
|
2435
|
+
|
|
2436
|
+
# Update properties of this object
|
|
2437
|
+
def update!(**args)
|
|
2438
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2439
|
+
@description = args[:description] if args.key?(:description)
|
|
2440
|
+
@extension_chains = args[:extension_chains] if args.key?(:extension_chains)
|
|
2441
|
+
@forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules)
|
|
2442
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2443
|
+
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
|
2444
|
+
@name = args[:name] if args.key?(:name)
|
|
2445
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
2446
|
+
end
|
|
2447
|
+
end
|
|
2448
|
+
|
|
2375
2449
|
# `LbRouteExtension` is a resource that lets you control where traffic is routed
|
|
2376
2450
|
# to for a given request.
|
|
2377
2451
|
class LbRouteExtension
|
|
@@ -2761,6 +2835,37 @@ module Google
|
|
|
2761
2835
|
end
|
|
2762
2836
|
end
|
|
2763
2837
|
|
|
2838
|
+
# Message for response to listing `LbEdgeExtension` resources.
|
|
2839
|
+
class ListLbEdgeExtensionsResponse
|
|
2840
|
+
include Google::Apis::Core::Hashable
|
|
2841
|
+
|
|
2842
|
+
# The list of `LbEdgeExtension` resources.
|
|
2843
|
+
# Corresponds to the JSON property `lbEdgeExtensions`
|
|
2844
|
+
# @return [Array<Google::Apis::NetworkservicesV1::LbEdgeExtension>]
|
|
2845
|
+
attr_accessor :lb_edge_extensions
|
|
2846
|
+
|
|
2847
|
+
# A token identifying a page of results that the server returns.
|
|
2848
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2849
|
+
# @return [String]
|
|
2850
|
+
attr_accessor :next_page_token
|
|
2851
|
+
|
|
2852
|
+
# Locations that could not be reached.
|
|
2853
|
+
# Corresponds to the JSON property `unreachable`
|
|
2854
|
+
# @return [Array<String>]
|
|
2855
|
+
attr_accessor :unreachable
|
|
2856
|
+
|
|
2857
|
+
def initialize(**args)
|
|
2858
|
+
update!(**args)
|
|
2859
|
+
end
|
|
2860
|
+
|
|
2861
|
+
# Update properties of this object
|
|
2862
|
+
def update!(**args)
|
|
2863
|
+
@lb_edge_extensions = args[:lb_edge_extensions] if args.key?(:lb_edge_extensions)
|
|
2864
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2865
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2866
|
+
end
|
|
2867
|
+
end
|
|
2868
|
+
|
|
2764
2869
|
# Message for response to listing `LbRouteExtension` resources.
|
|
2765
2870
|
class ListLbRouteExtensionsResponse
|
|
2766
2871
|
include Google::Apis::Core::Hashable
|
|
@@ -2931,6 +3036,13 @@ module Google
|
|
|
2931
3036
|
# @return [Array<Google::Apis::NetworkservicesV1::Operation>]
|
|
2932
3037
|
attr_accessor :operations
|
|
2933
3038
|
|
|
3039
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
3040
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
3041
|
+
# when attempting to list all resources across all supported locations.
|
|
3042
|
+
# Corresponds to the JSON property `unreachable`
|
|
3043
|
+
# @return [Array<String>]
|
|
3044
|
+
attr_accessor :unreachable
|
|
3045
|
+
|
|
2934
3046
|
def initialize(**args)
|
|
2935
3047
|
update!(**args)
|
|
2936
3048
|
end
|
|
@@ -2939,6 +3051,7 @@ module Google
|
|
|
2939
3051
|
def update!(**args)
|
|
2940
3052
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2941
3053
|
@operations = args[:operations] if args.key?(:operations)
|
|
3054
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2942
3055
|
end
|
|
2943
3056
|
end
|
|
2944
3057
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module NetworkservicesV1
|
|
18
18
|
# Version of the google-apis-networkservices_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.64.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 = "20251017"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -304,6 +304,12 @@ module Google
|
|
|
304
304
|
include Google::Apis::Core::JsonObjectSupport
|
|
305
305
|
end
|
|
306
306
|
|
|
307
|
+
class LbEdgeExtension
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
307
313
|
class LbRouteExtension
|
|
308
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
315
|
|
|
@@ -352,6 +358,12 @@ module Google
|
|
|
352
358
|
include Google::Apis::Core::JsonObjectSupport
|
|
353
359
|
end
|
|
354
360
|
|
|
361
|
+
class ListLbEdgeExtensionsResponse
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
355
367
|
class ListLbRouteExtensionsResponse
|
|
356
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
369
|
|
|
@@ -1144,6 +1156,21 @@ module Google
|
|
|
1144
1156
|
end
|
|
1145
1157
|
end
|
|
1146
1158
|
|
|
1159
|
+
class LbEdgeExtension
|
|
1160
|
+
# @private
|
|
1161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1162
|
+
property :create_time, as: 'createTime'
|
|
1163
|
+
property :description, as: 'description'
|
|
1164
|
+
collection :extension_chains, as: 'extensionChains', class: Google::Apis::NetworkservicesV1::ExtensionChain, decorator: Google::Apis::NetworkservicesV1::ExtensionChain::Representation
|
|
1165
|
+
|
|
1166
|
+
collection :forwarding_rules, as: 'forwardingRules'
|
|
1167
|
+
hash :labels, as: 'labels'
|
|
1168
|
+
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
|
1169
|
+
property :name, as: 'name'
|
|
1170
|
+
property :update_time, as: 'updateTime'
|
|
1171
|
+
end
|
|
1172
|
+
end
|
|
1173
|
+
|
|
1147
1174
|
class LbRouteExtension
|
|
1148
1175
|
# @private
|
|
1149
1176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1236,6 +1263,16 @@ module Google
|
|
|
1236
1263
|
end
|
|
1237
1264
|
end
|
|
1238
1265
|
|
|
1266
|
+
class ListLbEdgeExtensionsResponse
|
|
1267
|
+
# @private
|
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1269
|
+
collection :lb_edge_extensions, as: 'lbEdgeExtensions', class: Google::Apis::NetworkservicesV1::LbEdgeExtension, decorator: Google::Apis::NetworkservicesV1::LbEdgeExtension::Representation
|
|
1270
|
+
|
|
1271
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1272
|
+
collection :unreachable, as: 'unreachable'
|
|
1273
|
+
end
|
|
1274
|
+
end
|
|
1275
|
+
|
|
1239
1276
|
class ListLbRouteExtensionsResponse
|
|
1240
1277
|
# @private
|
|
1241
1278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1291,6 +1328,7 @@ module Google
|
|
|
1291
1328
|
property :next_page_token, as: 'nextPageToken'
|
|
1292
1329
|
collection :operations, as: 'operations', class: Google::Apis::NetworkservicesV1::Operation, decorator: Google::Apis::NetworkservicesV1::Operation::Representation
|
|
1293
1330
|
|
|
1331
|
+
collection :unreachable, as: 'unreachable'
|
|
1294
1332
|
end
|
|
1295
1333
|
end
|
|
1296
1334
|
|
|
@@ -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. Unless explicitly documented otherwise, don't use this unsupported
|
|
89
|
+
# field which is primarily intended 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
|
|
@@ -1513,6 +1513,227 @@ module Google
|
|
|
1513
1513
|
execute_or_queue_command(command, &block)
|
|
1514
1514
|
end
|
|
1515
1515
|
|
|
1516
|
+
# Creates a new `LbEdgeExtension` resource in a given project and location.
|
|
1517
|
+
# @param [String] parent
|
|
1518
|
+
# Required. The parent resource of the `LbEdgeExtension` resource. Must be in
|
|
1519
|
+
# the format `projects/`project`/locations/`location``.
|
|
1520
|
+
# @param [Google::Apis::NetworkservicesV1::LbEdgeExtension] lb_edge_extension_object
|
|
1521
|
+
# @param [String] lb_edge_extension_id
|
|
1522
|
+
# Required. User-provided ID of the `LbEdgeExtension` resource to be created.
|
|
1523
|
+
# @param [String] request_id
|
|
1524
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
1525
|
+
# request ID so that if you must retry your request, the server can ignore the
|
|
1526
|
+
# request if it has already been completed. The server guarantees that for 60
|
|
1527
|
+
# minutes since the first request. For example, consider a situation where you
|
|
1528
|
+
# make an initial request and the request times out. If you make the request
|
|
1529
|
+
# again with the same request ID, the server ignores the second request This
|
|
1530
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
|
1531
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
|
1532
|
+
# 00000000-0000-0000-0000-000000000000).
|
|
1533
|
+
# @param [String] fields
|
|
1534
|
+
# Selector specifying which fields to include in a partial response.
|
|
1535
|
+
# @param [String] quota_user
|
|
1536
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1537
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1538
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1539
|
+
# Request-specific options
|
|
1540
|
+
#
|
|
1541
|
+
# @yield [result, err] Result & error if block supplied
|
|
1542
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
|
|
1543
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1544
|
+
#
|
|
1545
|
+
# @return [Google::Apis::NetworkservicesV1::Operation]
|
|
1546
|
+
#
|
|
1547
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1548
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1549
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1550
|
+
def create_project_location_lb_edge_extension(parent, lb_edge_extension_object = nil, lb_edge_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1551
|
+
command = make_simple_command(:post, 'v1/{+parent}/lbEdgeExtensions', options)
|
|
1552
|
+
command.request_representation = Google::Apis::NetworkservicesV1::LbEdgeExtension::Representation
|
|
1553
|
+
command.request_object = lb_edge_extension_object
|
|
1554
|
+
command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
|
|
1555
|
+
command.response_class = Google::Apis::NetworkservicesV1::Operation
|
|
1556
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1557
|
+
command.query['lbEdgeExtensionId'] = lb_edge_extension_id unless lb_edge_extension_id.nil?
|
|
1558
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
1559
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1560
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1561
|
+
execute_or_queue_command(command, &block)
|
|
1562
|
+
end
|
|
1563
|
+
|
|
1564
|
+
# Deletes the specified `LbEdgeExtension` resource.
|
|
1565
|
+
# @param [String] name
|
|
1566
|
+
# Required. The name of the `LbEdgeExtension` resource to delete. Must be in the
|
|
1567
|
+
# format `projects/`project`/locations/`location`/lbEdgeExtensions/`
|
|
1568
|
+
# lb_edge_extension``.
|
|
1569
|
+
# @param [String] request_id
|
|
1570
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
1571
|
+
# request ID so that if you must retry your request, the server can ignore the
|
|
1572
|
+
# request if it has already been completed. The server guarantees that for 60
|
|
1573
|
+
# minutes after the first request. For example, consider a situation where you
|
|
1574
|
+
# make an initial request and the request times out. If you make the request
|
|
1575
|
+
# again with the same request ID, the server ignores the second request This
|
|
1576
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
|
1577
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
|
1578
|
+
# 00000000-0000-0000-0000-000000000000).
|
|
1579
|
+
# @param [String] fields
|
|
1580
|
+
# Selector specifying which fields to include in a partial response.
|
|
1581
|
+
# @param [String] quota_user
|
|
1582
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1583
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1584
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1585
|
+
# Request-specific options
|
|
1586
|
+
#
|
|
1587
|
+
# @yield [result, err] Result & error if block supplied
|
|
1588
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
|
|
1589
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1590
|
+
#
|
|
1591
|
+
# @return [Google::Apis::NetworkservicesV1::Operation]
|
|
1592
|
+
#
|
|
1593
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1594
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1595
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1596
|
+
def delete_project_location_lb_edge_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1597
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1598
|
+
command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
|
|
1599
|
+
command.response_class = Google::Apis::NetworkservicesV1::Operation
|
|
1600
|
+
command.params['name'] = name unless name.nil?
|
|
1601
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
1602
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1603
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1604
|
+
execute_or_queue_command(command, &block)
|
|
1605
|
+
end
|
|
1606
|
+
|
|
1607
|
+
# Gets details of the specified `LbEdgeExtension` resource.
|
|
1608
|
+
# @param [String] name
|
|
1609
|
+
# Required. A name of the `LbEdgeExtension` resource to get. Must be in the
|
|
1610
|
+
# format `projects/`project`/locations/`location`/lbEdgeExtensions/`
|
|
1611
|
+
# lb_edge_extension``.
|
|
1612
|
+
# @param [String] fields
|
|
1613
|
+
# Selector specifying which fields to include in a partial response.
|
|
1614
|
+
# @param [String] quota_user
|
|
1615
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1616
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1617
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1618
|
+
# Request-specific options
|
|
1619
|
+
#
|
|
1620
|
+
# @yield [result, err] Result & error if block supplied
|
|
1621
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1::LbEdgeExtension] parsed result object
|
|
1622
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1623
|
+
#
|
|
1624
|
+
# @return [Google::Apis::NetworkservicesV1::LbEdgeExtension]
|
|
1625
|
+
#
|
|
1626
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1627
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1628
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1629
|
+
def get_project_location_lb_edge_extension(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1630
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1631
|
+
command.response_representation = Google::Apis::NetworkservicesV1::LbEdgeExtension::Representation
|
|
1632
|
+
command.response_class = Google::Apis::NetworkservicesV1::LbEdgeExtension
|
|
1633
|
+
command.params['name'] = name unless name.nil?
|
|
1634
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1635
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1636
|
+
execute_or_queue_command(command, &block)
|
|
1637
|
+
end
|
|
1638
|
+
|
|
1639
|
+
# Lists `LbEdgeExtension` resources in a given project and location.
|
|
1640
|
+
# @param [String] parent
|
|
1641
|
+
# Required. The project and location from which the `LbEdgeExtension` resources
|
|
1642
|
+
# are listed. These values are specified in the following format: `projects/`
|
|
1643
|
+
# project`/locations/`location``.
|
|
1644
|
+
# @param [String] filter
|
|
1645
|
+
# Optional. Filtering results.
|
|
1646
|
+
# @param [String] order_by
|
|
1647
|
+
# Optional. Hint about how to order the results.
|
|
1648
|
+
# @param [Fixnum] page_size
|
|
1649
|
+
# Optional. Requested page size. The server might return fewer items than
|
|
1650
|
+
# requested. If unspecified, the server picks an appropriate default.
|
|
1651
|
+
# @param [String] page_token
|
|
1652
|
+
# Optional. A token identifying a page of results that the server returns.
|
|
1653
|
+
# @param [String] fields
|
|
1654
|
+
# Selector specifying which fields to include in a partial response.
|
|
1655
|
+
# @param [String] quota_user
|
|
1656
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1657
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1658
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1659
|
+
# Request-specific options
|
|
1660
|
+
#
|
|
1661
|
+
# @yield [result, err] Result & error if block supplied
|
|
1662
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1::ListLbEdgeExtensionsResponse] parsed result object
|
|
1663
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1664
|
+
#
|
|
1665
|
+
# @return [Google::Apis::NetworkservicesV1::ListLbEdgeExtensionsResponse]
|
|
1666
|
+
#
|
|
1667
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1668
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1669
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1670
|
+
def list_project_location_lb_edge_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1671
|
+
command = make_simple_command(:get, 'v1/{+parent}/lbEdgeExtensions', options)
|
|
1672
|
+
command.response_representation = Google::Apis::NetworkservicesV1::ListLbEdgeExtensionsResponse::Representation
|
|
1673
|
+
command.response_class = Google::Apis::NetworkservicesV1::ListLbEdgeExtensionsResponse
|
|
1674
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1675
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1676
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1677
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1678
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1679
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1680
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1681
|
+
execute_or_queue_command(command, &block)
|
|
1682
|
+
end
|
|
1683
|
+
|
|
1684
|
+
# Updates the parameters of the specified `LbEdgeExtension` resource.
|
|
1685
|
+
# @param [String] name
|
|
1686
|
+
# Required. Identifier. Name of the `LbEdgeExtension` resource in the following
|
|
1687
|
+
# format: `projects/`project`/locations/`location`/lbEdgeExtensions/`
|
|
1688
|
+
# lb_edge_extension``.
|
|
1689
|
+
# @param [Google::Apis::NetworkservicesV1::LbEdgeExtension] lb_edge_extension_object
|
|
1690
|
+
# @param [String] request_id
|
|
1691
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
1692
|
+
# request ID so that if you must retry your request, the server can ignore the
|
|
1693
|
+
# request if it has already been completed. The server guarantees that for 60
|
|
1694
|
+
# minutes since the first request. For example, consider a situation where you
|
|
1695
|
+
# make an initial request and the request times out. If you make the request
|
|
1696
|
+
# again with the same request ID, the server ignores the second request This
|
|
1697
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
|
1698
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
|
1699
|
+
# 00000000-0000-0000-0000-000000000000).
|
|
1700
|
+
# @param [String] update_mask
|
|
1701
|
+
# Optional. Used to specify the fields to be overwritten in the `LbEdgeExtension`
|
|
1702
|
+
# resource by the update. The fields specified in the `update_mask` are
|
|
1703
|
+
# relative to the resource, not the full request. A field is overwritten if it
|
|
1704
|
+
# is in the mask. If the user does not specify a mask, then all fields are
|
|
1705
|
+
# overwritten.
|
|
1706
|
+
# @param [String] fields
|
|
1707
|
+
# Selector specifying which fields to include in a partial response.
|
|
1708
|
+
# @param [String] quota_user
|
|
1709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1711
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1712
|
+
# Request-specific options
|
|
1713
|
+
#
|
|
1714
|
+
# @yield [result, err] Result & error if block supplied
|
|
1715
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
|
|
1716
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1717
|
+
#
|
|
1718
|
+
# @return [Google::Apis::NetworkservicesV1::Operation]
|
|
1719
|
+
#
|
|
1720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1723
|
+
def patch_project_location_lb_edge_extension(name, lb_edge_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1724
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
1725
|
+
command.request_representation = Google::Apis::NetworkservicesV1::LbEdgeExtension::Representation
|
|
1726
|
+
command.request_object = lb_edge_extension_object
|
|
1727
|
+
command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
|
|
1728
|
+
command.response_class = Google::Apis::NetworkservicesV1::Operation
|
|
1729
|
+
command.params['name'] = name unless name.nil?
|
|
1730
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
1731
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1732
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1733
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1734
|
+
execute_or_queue_command(command, &block)
|
|
1735
|
+
end
|
|
1736
|
+
|
|
1516
1737
|
# Creates a new `LbRouteExtension` resource in a given project and location.
|
|
1517
1738
|
# @param [String] parent
|
|
1518
1739
|
# Required. The parent resource of the `LbRouteExtension` resource. Must be in
|
|
@@ -2323,6 +2544,13 @@ module Google
|
|
|
2323
2544
|
# The standard list page size.
|
|
2324
2545
|
# @param [String] page_token
|
|
2325
2546
|
# The standard list page token.
|
|
2547
|
+
# @param [Boolean] return_partial_success
|
|
2548
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
2549
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
2550
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
2551
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
2552
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
2553
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
2326
2554
|
# @param [String] fields
|
|
2327
2555
|
# Selector specifying which fields to include in a partial response.
|
|
2328
2556
|
# @param [String] quota_user
|
|
@@ -2340,7 +2568,7 @@ module Google
|
|
|
2340
2568
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2341
2569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2342
2570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2343
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2571
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2344
2572
|
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
2345
2573
|
command.response_representation = Google::Apis::NetworkservicesV1::ListOperationsResponse::Representation
|
|
2346
2574
|
command.response_class = Google::Apis::NetworkservicesV1::ListOperationsResponse
|
|
@@ -2348,6 +2576,7 @@ module Google
|
|
|
2348
2576
|
command.query['filter'] = filter unless filter.nil?
|
|
2349
2577
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2350
2578
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2579
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
2351
2580
|
command.query['fields'] = fields unless fields.nil?
|
|
2352
2581
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2353
2582
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-networkservices_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.64.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1/v0.64.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|