google-apis-networkservices_v1beta1 0.49.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networkservices_v1beta1/classes.rb +172 -25
- data/lib/google/apis/networkservices_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networkservices_v1beta1/representations.rb +39 -0
- data/lib/google/apis/networkservices_v1beta1/service.rb +226 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76a03a465814dd69b63eaf8f6c813905410c170c16c150af65565bdb8601a009
|
4
|
+
data.tar.gz: eb2f3cbbd56d6e4dbb4204f6c93302917d8398365ade3bb067f9053fabd481f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e7b831e47d0897a9c011ccf61670f640cba7498e8b9c468dd650431f384bec7e5a0fc2edcf697440814b026917f01440ee9631d8135cf70d88d7c801cf216aa
|
7
|
+
data.tar.gz: 977573432b231430c536bbafbcf99bebab1bedd41e8dc0287974e0d5f80200681d8ca1a30769dad129424ecbf6173959e2be3bd6c31dcc03a7c23e713ba3cf58
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkservices_v1beta1
|
2
2
|
|
3
|
+
### v0.51.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250410
|
6
|
+
|
7
|
+
### v0.50.0 (2025-03-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250318
|
10
|
+
|
3
11
|
### v0.49.0 (2025-03-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250311
|
@@ -379,12 +379,15 @@ module Google
|
|
379
379
|
# namespace `com.google....`. For example: `com.google.lb_traffic_extension.
|
380
380
|
# lbtrafficextension1.chain1.ext1`. The following variables are supported in the
|
381
381
|
# metadata: ``forwarding_rule_id`` - substituted with the forwarding rule's
|
382
|
-
# fully qualified resource name. This field
|
383
|
-
#
|
384
|
-
#
|
382
|
+
# fully qualified resource name. This field must not be set for plugin
|
383
|
+
# extensions. Setting it results in a validation error. You can set metadata at
|
384
|
+
# either the resource level or the extension level. The extension level metadata
|
385
|
+
# is recommended because you can pass a different set of metadata through each
|
386
|
+
# extension to the backend. This field is subject to following limitations: *
|
387
|
+
# The total size of the metadata must be less than 1KiB. * The total number of
|
388
|
+
# keys in the metadata must be less than 16. * The length of each key must be
|
385
389
|
# less than 64 characters. * The length of each value must be less than 1024
|
386
|
-
# characters. * All values must be strings.
|
387
|
-
# plugin extensions. Setting it results in a validation error.
|
390
|
+
# characters. * All values must be strings.
|
388
391
|
# Corresponds to the JSON property `metadata`
|
389
392
|
# @return [Hash<String,Object>]
|
390
393
|
attr_accessor :metadata
|
@@ -398,6 +401,29 @@ module Google
|
|
398
401
|
# @return [String]
|
399
402
|
attr_accessor :name
|
400
403
|
|
404
|
+
# Optional. Configures the send mode for request body processing. The field can
|
405
|
+
# only be set if `supported_events` includes `REQUEST_BODY`. If `
|
406
|
+
# supported_events` includes `REQUEST_BODY`, but `request_body_send_mode` is
|
407
|
+
# unset, the default value `STREAMED` is used. When this field is set to `
|
408
|
+
# FULL_DUPLEX_STREAMED`, `supported_events` must include both `REQUEST_BODY` and
|
409
|
+
# `REQUEST_TRAILERS`. This field can be set only for `LbTrafficExtension` and `
|
410
|
+
# LbRouteExtension` resources, and only when the `service` field of the
|
411
|
+
# extension points to a `BackendService`. Only `FULL_DUPLEX_STREAMED` mode is
|
412
|
+
# supported for `LbRouteExtension` resources.
|
413
|
+
# Corresponds to the JSON property `requestBodySendMode`
|
414
|
+
# @return [String]
|
415
|
+
attr_accessor :request_body_send_mode
|
416
|
+
|
417
|
+
# Optional. Configures the send mode for response processing. If unspecified,
|
418
|
+
# the default value `STREAMED` is used. When this field is set to `
|
419
|
+
# FULL_DUPLEX_STREAMED`, `supported_events` must include both `RESPONSE_BODY`
|
420
|
+
# and `RESPONSE_TRAILERS`. This field can be set only for `LbTrafficExtension`
|
421
|
+
# resources, and only when the `service` field of the extension points to a `
|
422
|
+
# BackendService`.
|
423
|
+
# Corresponds to the JSON property `responseBodySendMode`
|
424
|
+
# @return [String]
|
425
|
+
attr_accessor :response_body_send_mode
|
426
|
+
|
401
427
|
# Required. The reference to the service that runs the extension. To configure a
|
402
428
|
# callout extension, `service` must be a fully-qualified reference to a [backend
|
403
429
|
# service](https://cloud.google.com/compute/docs/reference/rest/v1/
|
@@ -443,6 +469,8 @@ module Google
|
|
443
469
|
@forward_headers = args[:forward_headers] if args.key?(:forward_headers)
|
444
470
|
@metadata = args[:metadata] if args.key?(:metadata)
|
445
471
|
@name = args[:name] if args.key?(:name)
|
472
|
+
@request_body_send_mode = args[:request_body_send_mode] if args.key?(:request_body_send_mode)
|
473
|
+
@response_body_send_mode = args[:response_body_send_mode] if args.key?(:response_body_send_mode)
|
446
474
|
@service = args[:service] if args.key?(:service)
|
447
475
|
@supported_events = args[:supported_events] if args.key?(:supported_events)
|
448
476
|
@timeout = args[:timeout] if args.key?(:timeout)
|
@@ -1132,8 +1160,9 @@ module Google
|
|
1132
1160
|
include Google::Apis::Core::Hashable
|
1133
1161
|
|
1134
1162
|
# Required. The cookie TTL value for the Set-Cookie header generated by the data
|
1135
|
-
# plane. The lifetime of the cookie may be set to a value from
|
1136
|
-
# seconds (24 hours) inclusive.
|
1163
|
+
# plane. The lifetime of the cookie may be set to a value from 0 to 86400
|
1164
|
+
# seconds (24 hours) inclusive. Set this to 0s to use a session cookie and
|
1165
|
+
# disable cookie expiration.
|
1137
1166
|
# Corresponds to the JSON property `cookieTtl`
|
1138
1167
|
# @return [String]
|
1139
1168
|
attr_accessor :cookie_ttl
|
@@ -2006,8 +2035,9 @@ module Google
|
|
2006
2035
|
include Google::Apis::Core::Hashable
|
2007
2036
|
|
2008
2037
|
# Required. The cookie TTL value for the Set-Cookie header generated by the data
|
2009
|
-
# plane. The lifetime of the cookie may be set to a value from
|
2010
|
-
# seconds (24 hours) inclusive.
|
2038
|
+
# plane. The lifetime of the cookie may be set to a value from 0 to 86400
|
2039
|
+
# seconds (24 hours) inclusive. Set this to 0s to use a session cookie and
|
2040
|
+
# disable cookie expiration.
|
2011
2041
|
# Corresponds to the JSON property `cookieTtl`
|
2012
2042
|
# @return [String]
|
2013
2043
|
attr_accessor :cookie_ttl
|
@@ -2050,6 +2080,82 @@ module Google
|
|
2050
2080
|
end
|
2051
2081
|
end
|
2052
2082
|
|
2083
|
+
# `LbEdgeExtension` is a resource that lets the extension service influence the
|
2084
|
+
# Backend Service selection or Cloud CDN cache keys by modifying the request
|
2085
|
+
# headers.
|
2086
|
+
class LbEdgeExtension
|
2087
|
+
include Google::Apis::Core::Hashable
|
2088
|
+
|
2089
|
+
# Output only. The timestamp when the resource was created.
|
2090
|
+
# Corresponds to the JSON property `createTime`
|
2091
|
+
# @return [String]
|
2092
|
+
attr_accessor :create_time
|
2093
|
+
|
2094
|
+
# Optional. A human-readable description of the resource.
|
2095
|
+
# Corresponds to the JSON property `description`
|
2096
|
+
# @return [String]
|
2097
|
+
attr_accessor :description
|
2098
|
+
|
2099
|
+
# Required. A set of ordered extension chains that contain the match conditions
|
2100
|
+
# and extensions to execute. Match conditions for each extension chain are
|
2101
|
+
# evaluated in sequence for a given request. The first extension chain that has
|
2102
|
+
# a condition that matches the request is executed. Any subsequent extension
|
2103
|
+
# chains do not execute. Limited to 5 extension chains per resource.
|
2104
|
+
# Corresponds to the JSON property `extensionChains`
|
2105
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionChain>]
|
2106
|
+
attr_accessor :extension_chains
|
2107
|
+
|
2108
|
+
# Required. A list of references to the forwarding rules to which this service
|
2109
|
+
# extension is attached. At least one forwarding rule is required. Only one `
|
2110
|
+
# LbEdgeExtension` resource can be associated with a forwarding rule.
|
2111
|
+
# Corresponds to the JSON property `forwardingRules`
|
2112
|
+
# @return [Array<String>]
|
2113
|
+
attr_accessor :forwarding_rules
|
2114
|
+
|
2115
|
+
# Optional. Set of labels associated with the `LbEdgeExtension` resource. The
|
2116
|
+
# format must comply with [the requirements for labels](https://cloud.google.com/
|
2117
|
+
# compute/docs/labeling-resources#requirements) for Google Cloud resources.
|
2118
|
+
# Corresponds to the JSON property `labels`
|
2119
|
+
# @return [Hash<String,String>]
|
2120
|
+
attr_accessor :labels
|
2121
|
+
|
2122
|
+
# Required. All backend services and forwarding rules referenced by this
|
2123
|
+
# extension must share the same load balancing scheme. Supported values: `
|
2124
|
+
# EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](
|
2125
|
+
# https://cloud.google.com/load-balancing/docs/backend-service).
|
2126
|
+
# Corresponds to the JSON property `loadBalancingScheme`
|
2127
|
+
# @return [String]
|
2128
|
+
attr_accessor :load_balancing_scheme
|
2129
|
+
|
2130
|
+
# Required. Identifier. Name of the `LbEdgeExtension` resource in the following
|
2131
|
+
# format: `projects/`project`/locations/`location`/lbEdgeExtensions/`
|
2132
|
+
# lb_edge_extension``.
|
2133
|
+
# Corresponds to the JSON property `name`
|
2134
|
+
# @return [String]
|
2135
|
+
attr_accessor :name
|
2136
|
+
|
2137
|
+
# Output only. The timestamp when the resource was updated.
|
2138
|
+
# Corresponds to the JSON property `updateTime`
|
2139
|
+
# @return [String]
|
2140
|
+
attr_accessor :update_time
|
2141
|
+
|
2142
|
+
def initialize(**args)
|
2143
|
+
update!(**args)
|
2144
|
+
end
|
2145
|
+
|
2146
|
+
# Update properties of this object
|
2147
|
+
def update!(**args)
|
2148
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2149
|
+
@description = args[:description] if args.key?(:description)
|
2150
|
+
@extension_chains = args[:extension_chains] if args.key?(:extension_chains)
|
2151
|
+
@forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules)
|
2152
|
+
@labels = args[:labels] if args.key?(:labels)
|
2153
|
+
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
2154
|
+
@name = args[:name] if args.key?(:name)
|
2155
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2156
|
+
end
|
2157
|
+
end
|
2158
|
+
|
2053
2159
|
# `LbRouteExtension` is a resource that lets you control where traffic is routed
|
2054
2160
|
# to for a given request.
|
2055
2161
|
class LbRouteExtension
|
@@ -2075,8 +2181,8 @@ module Google
|
|
2075
2181
|
attr_accessor :extension_chains
|
2076
2182
|
|
2077
2183
|
# Required. A list of references to the forwarding rules to which this service
|
2078
|
-
# extension is attached. At least one forwarding rule is required.
|
2079
|
-
#
|
2184
|
+
# extension is attached. At least one forwarding rule is required. Only one `
|
2185
|
+
# LbRouteExtension` resource can be associated with a forwarding rule.
|
2080
2186
|
# Corresponds to the JSON property `forwardingRules`
|
2081
2187
|
# @return [Array<String>]
|
2082
2188
|
attr_accessor :forwarding_rules
|
@@ -2099,11 +2205,15 @@ module Google
|
|
2099
2205
|
|
2100
2206
|
# Optional. The metadata provided here is included as part of the `
|
2101
2207
|
# metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest`
|
2102
|
-
# message sent to the extension server. The metadata
|
2103
|
-
#
|
2104
|
-
#
|
2105
|
-
# the
|
2106
|
-
#
|
2208
|
+
# message sent to the extension server. The metadata applies to all extensions
|
2209
|
+
# in all extensions chains in this resource. The metadata is available under the
|
2210
|
+
# key `com.google.lb_route_extension.`. The following variables are supported in
|
2211
|
+
# the metadata: ``forwarding_rule_id`` - substituted with the forwarding rule's
|
2212
|
+
# fully qualified resource name. This field must not be set if at least one of
|
2213
|
+
# the extension chains contains plugin extensions. Setting it results in a
|
2214
|
+
# validation error. You can set metadata at either the resource level or the
|
2215
|
+
# extension level. The extension level metadata is recommended because you can
|
2216
|
+
# pass a different set of metadata through each extension to the backend.
|
2107
2217
|
# Corresponds to the JSON property `metadata`
|
2108
2218
|
# @return [Hash<String,Object>]
|
2109
2219
|
attr_accessor :metadata
|
@@ -2165,8 +2275,8 @@ module Google
|
|
2165
2275
|
attr_accessor :extension_chains
|
2166
2276
|
|
2167
2277
|
# Optional. A list of references to the forwarding rules to which this service
|
2168
|
-
# extension is attached. At least one forwarding rule is required.
|
2169
|
-
#
|
2278
|
+
# extension is attached. At least one forwarding rule is required. Only one `
|
2279
|
+
# LbTrafficExtension` resource can be associated with a forwarding rule.
|
2170
2280
|
# Corresponds to the JSON property `forwardingRules`
|
2171
2281
|
# @return [Array<String>]
|
2172
2282
|
attr_accessor :forwarding_rules
|
@@ -2187,12 +2297,17 @@ module Google
|
|
2187
2297
|
# @return [String]
|
2188
2298
|
attr_accessor :load_balancing_scheme
|
2189
2299
|
|
2190
|
-
# Optional. The metadata provided here is included
|
2191
|
-
# metadata_context
|
2192
|
-
# the
|
2193
|
-
#
|
2194
|
-
#
|
2195
|
-
#
|
2300
|
+
# Optional. The metadata provided here is included as part of the `
|
2301
|
+
# metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest`
|
2302
|
+
# message sent to the extension server. The metadata applies to all extensions
|
2303
|
+
# in all extensions chains in this resource. The metadata is available under the
|
2304
|
+
# key `com.google.lb_traffic_extension.`. The following variables are supported
|
2305
|
+
# in the metadata: ``forwarding_rule_id`` - substituted with the forwarding rule'
|
2306
|
+
# s fully qualified resource name. This field must not be set if at least one of
|
2307
|
+
# the extension chains contains plugin extensions. Setting it results in a
|
2308
|
+
# validation error. You can set metadata at either the resource level or the
|
2309
|
+
# extension level. The extension level metadata is recommended because you can
|
2310
|
+
# pass a different set of metadata through each extension to the backend.
|
2196
2311
|
# Corresponds to the JSON property `metadata`
|
2197
2312
|
# @return [Hash<String,Object>]
|
2198
2313
|
attr_accessor :metadata
|
@@ -2430,6 +2545,37 @@ module Google
|
|
2430
2545
|
end
|
2431
2546
|
end
|
2432
2547
|
|
2548
|
+
# Message for response to listing `LbEdgeExtension` resources.
|
2549
|
+
class ListLbEdgeExtensionsResponse
|
2550
|
+
include Google::Apis::Core::Hashable
|
2551
|
+
|
2552
|
+
# The list of `LbEdgeExtension` resources.
|
2553
|
+
# Corresponds to the JSON property `lbEdgeExtensions`
|
2554
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::LbEdgeExtension>]
|
2555
|
+
attr_accessor :lb_edge_extensions
|
2556
|
+
|
2557
|
+
# A token identifying a page of results that the server returns.
|
2558
|
+
# Corresponds to the JSON property `nextPageToken`
|
2559
|
+
# @return [String]
|
2560
|
+
attr_accessor :next_page_token
|
2561
|
+
|
2562
|
+
# Locations that could not be reached.
|
2563
|
+
# Corresponds to the JSON property `unreachable`
|
2564
|
+
# @return [Array<String>]
|
2565
|
+
attr_accessor :unreachable
|
2566
|
+
|
2567
|
+
def initialize(**args)
|
2568
|
+
update!(**args)
|
2569
|
+
end
|
2570
|
+
|
2571
|
+
# Update properties of this object
|
2572
|
+
def update!(**args)
|
2573
|
+
@lb_edge_extensions = args[:lb_edge_extensions] if args.key?(:lb_edge_extensions)
|
2574
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2575
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2576
|
+
end
|
2577
|
+
end
|
2578
|
+
|
2433
2579
|
# Message for response to listing `LbRouteExtension` resources.
|
2434
2580
|
class ListLbRouteExtensionsResponse
|
2435
2581
|
include Google::Apis::Core::Hashable
|
@@ -3213,7 +3359,8 @@ module Google
|
|
3213
3359
|
# ServiceBinding can be used to: - Bind a Service Directory Service to be used
|
3214
3360
|
# in a BackendService resource. This feature will be deprecated soon. - Bind a
|
3215
3361
|
# Private Service Connect producer service to be used in consumer Cloud Service
|
3216
|
-
# Mesh or Application Load Balancers.
|
3362
|
+
# Mesh or Application Load Balancers. - Bind a Cloud Run service to be used in
|
3363
|
+
# consumer Cloud Service Mesh or Application Load Balancers.
|
3217
3364
|
class ServiceBinding
|
3218
3365
|
include Google::Apis::Core::Hashable
|
3219
3366
|
|
@@ -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.51.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250410"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -268,6 +268,12 @@ module Google
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
269
269
|
end
|
270
270
|
|
271
|
+
class LbEdgeExtension
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
271
277
|
class LbRouteExtension
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
279
|
|
@@ -316,6 +322,12 @@ module Google
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
317
323
|
end
|
318
324
|
|
325
|
+
class ListLbEdgeExtensionsResponse
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
319
331
|
class ListLbRouteExtensionsResponse
|
320
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
333
|
|
@@ -646,6 +658,8 @@ module Google
|
|
646
658
|
collection :forward_headers, as: 'forwardHeaders'
|
647
659
|
hash :metadata, as: 'metadata'
|
648
660
|
property :name, as: 'name'
|
661
|
+
property :request_body_send_mode, as: 'requestBodySendMode'
|
662
|
+
property :response_body_send_mode, as: 'responseBodySendMode'
|
649
663
|
property :service, as: 'service'
|
650
664
|
collection :supported_events, as: 'supportedEvents'
|
651
665
|
property :timeout, as: 'timeout'
|
@@ -1035,6 +1049,21 @@ module Google
|
|
1035
1049
|
end
|
1036
1050
|
end
|
1037
1051
|
|
1052
|
+
class LbEdgeExtension
|
1053
|
+
# @private
|
1054
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1055
|
+
property :create_time, as: 'createTime'
|
1056
|
+
property :description, as: 'description'
|
1057
|
+
collection :extension_chains, as: 'extensionChains', class: Google::Apis::NetworkservicesV1beta1::ExtensionChain, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionChain::Representation
|
1058
|
+
|
1059
|
+
collection :forwarding_rules, as: 'forwardingRules'
|
1060
|
+
hash :labels, as: 'labels'
|
1061
|
+
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
1062
|
+
property :name, as: 'name'
|
1063
|
+
property :update_time, as: 'updateTime'
|
1064
|
+
end
|
1065
|
+
end
|
1066
|
+
|
1038
1067
|
class LbRouteExtension
|
1039
1068
|
# @private
|
1040
1069
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1127,6 +1156,16 @@ module Google
|
|
1127
1156
|
end
|
1128
1157
|
end
|
1129
1158
|
|
1159
|
+
class ListLbEdgeExtensionsResponse
|
1160
|
+
# @private
|
1161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1162
|
+
collection :lb_edge_extensions, as: 'lbEdgeExtensions', class: Google::Apis::NetworkservicesV1beta1::LbEdgeExtension, decorator: Google::Apis::NetworkservicesV1beta1::LbEdgeExtension::Representation
|
1163
|
+
|
1164
|
+
property :next_page_token, as: 'nextPageToken'
|
1165
|
+
collection :unreachable, as: 'unreachable'
|
1166
|
+
end
|
1167
|
+
end
|
1168
|
+
|
1130
1169
|
class ListLbRouteExtensionsResponse
|
1131
1170
|
# @private
|
1132
1171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -84,6 +84,9 @@ module Google
|
|
84
84
|
# Lists information about the supported locations for this service.
|
85
85
|
# @param [String] name
|
86
86
|
# The resource that owns the locations collection, if applicable.
|
87
|
+
# @param [Array<String>, String] extra_location_types
|
88
|
+
# Optional. A list of extra location types that should be used as conditions for
|
89
|
+
# controlling the visibility of the locations.
|
87
90
|
# @param [String] filter
|
88
91
|
# A filter to narrow down results to a preferred subset. The filtering language
|
89
92
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -111,11 +114,12 @@ module Google
|
|
111
114
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
112
115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
115
118
|
command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
|
116
119
|
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListLocationsResponse::Representation
|
117
120
|
command.response_class = Google::Apis::NetworkservicesV1beta1::ListLocationsResponse
|
118
121
|
command.params['name'] = name unless name.nil?
|
122
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
119
123
|
command.query['filter'] = filter unless filter.nil?
|
120
124
|
command.query['pageSize'] = page_size unless page_size.nil?
|
121
125
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1147,6 +1151,227 @@ module Google
|
|
1147
1151
|
execute_or_queue_command(command, &block)
|
1148
1152
|
end
|
1149
1153
|
|
1154
|
+
# Creates a new `LbEdgeExtension` resource in a given project and location.
|
1155
|
+
# @param [String] parent
|
1156
|
+
# Required. The parent resource of the `LbEdgeExtension` resource. Must be in
|
1157
|
+
# the format `projects/`project`/locations/`location``.
|
1158
|
+
# @param [Google::Apis::NetworkservicesV1beta1::LbEdgeExtension] lb_edge_extension_object
|
1159
|
+
# @param [String] lb_edge_extension_id
|
1160
|
+
# Required. User-provided ID of the `LbEdgeExtension` resource to be created.
|
1161
|
+
# @param [String] request_id
|
1162
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1163
|
+
# request ID so that if you must retry your request, the server can ignore the
|
1164
|
+
# request if it has already been completed. The server guarantees that for 60
|
1165
|
+
# minutes since the first request. For example, consider a situation where you
|
1166
|
+
# make an initial request and the request times out. If you make the request
|
1167
|
+
# again with the same request ID, the server ignores the second request This
|
1168
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
1169
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
1170
|
+
# 00000000-0000-0000-0000-000000000000).
|
1171
|
+
# @param [String] fields
|
1172
|
+
# Selector specifying which fields to include in a partial response.
|
1173
|
+
# @param [String] quota_user
|
1174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1176
|
+
# @param [Google::Apis::RequestOptions] options
|
1177
|
+
# Request-specific options
|
1178
|
+
#
|
1179
|
+
# @yield [result, err] Result & error if block supplied
|
1180
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
1181
|
+
# @yieldparam err [StandardError] error object if request failed
|
1182
|
+
#
|
1183
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
1184
|
+
#
|
1185
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1186
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1187
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1188
|
+
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)
|
1189
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/lbEdgeExtensions', options)
|
1190
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::LbEdgeExtension::Representation
|
1191
|
+
command.request_object = lb_edge_extension_object
|
1192
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
1193
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
1194
|
+
command.params['parent'] = parent unless parent.nil?
|
1195
|
+
command.query['lbEdgeExtensionId'] = lb_edge_extension_id unless lb_edge_extension_id.nil?
|
1196
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1197
|
+
command.query['fields'] = fields unless fields.nil?
|
1198
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1199
|
+
execute_or_queue_command(command, &block)
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# Deletes the specified `LbEdgeExtension` resource.
|
1203
|
+
# @param [String] name
|
1204
|
+
# Required. The name of the `LbEdgeExtension` resource to delete. Must be in the
|
1205
|
+
# format `projects/`project`/locations/`location`/lbEdgeExtensions/`
|
1206
|
+
# lb_edge_extension``.
|
1207
|
+
# @param [String] request_id
|
1208
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1209
|
+
# request ID so that if you must retry your request, the server can ignore the
|
1210
|
+
# request if it has already been completed. The server guarantees that for 60
|
1211
|
+
# minutes after the first request. For example, consider a situation where you
|
1212
|
+
# make an initial request and the request times out. If you make the request
|
1213
|
+
# again with the same request ID, the server ignores the second request This
|
1214
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
1215
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
1216
|
+
# 00000000-0000-0000-0000-000000000000).
|
1217
|
+
# @param [String] fields
|
1218
|
+
# Selector specifying which fields to include in a partial response.
|
1219
|
+
# @param [String] quota_user
|
1220
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1221
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1222
|
+
# @param [Google::Apis::RequestOptions] options
|
1223
|
+
# Request-specific options
|
1224
|
+
#
|
1225
|
+
# @yield [result, err] Result & error if block supplied
|
1226
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
1227
|
+
# @yieldparam err [StandardError] error object if request failed
|
1228
|
+
#
|
1229
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
1230
|
+
#
|
1231
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1232
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1233
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1234
|
+
def delete_project_location_lb_edge_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1235
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1236
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
1237
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
1238
|
+
command.params['name'] = name unless name.nil?
|
1239
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1240
|
+
command.query['fields'] = fields unless fields.nil?
|
1241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1242
|
+
execute_or_queue_command(command, &block)
|
1243
|
+
end
|
1244
|
+
|
1245
|
+
# Gets details of the specified `LbEdgeExtension` resource.
|
1246
|
+
# @param [String] name
|
1247
|
+
# Required. A name of the `LbEdgeExtension` resource to get. Must be in the
|
1248
|
+
# format `projects/`project`/locations/`location`/lbEdgeExtensions/`
|
1249
|
+
# lb_edge_extension``.
|
1250
|
+
# @param [String] fields
|
1251
|
+
# Selector specifying which fields to include in a partial response.
|
1252
|
+
# @param [String] quota_user
|
1253
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1254
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1255
|
+
# @param [Google::Apis::RequestOptions] options
|
1256
|
+
# Request-specific options
|
1257
|
+
#
|
1258
|
+
# @yield [result, err] Result & error if block supplied
|
1259
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::LbEdgeExtension] parsed result object
|
1260
|
+
# @yieldparam err [StandardError] error object if request failed
|
1261
|
+
#
|
1262
|
+
# @return [Google::Apis::NetworkservicesV1beta1::LbEdgeExtension]
|
1263
|
+
#
|
1264
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1265
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1266
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1267
|
+
def get_project_location_lb_edge_extension(name, fields: nil, quota_user: nil, options: nil, &block)
|
1268
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1269
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::LbEdgeExtension::Representation
|
1270
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::LbEdgeExtension
|
1271
|
+
command.params['name'] = name unless name.nil?
|
1272
|
+
command.query['fields'] = fields unless fields.nil?
|
1273
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1274
|
+
execute_or_queue_command(command, &block)
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
# Lists `LbEdgeExtension` resources in a given project and location.
|
1278
|
+
# @param [String] parent
|
1279
|
+
# Required. The project and location from which the `LbEdgeExtension` resources
|
1280
|
+
# are listed. These values are specified in the following format: `projects/`
|
1281
|
+
# project`/locations/`location``.
|
1282
|
+
# @param [String] filter
|
1283
|
+
# Optional. Filtering results.
|
1284
|
+
# @param [String] order_by
|
1285
|
+
# Optional. Hint about how to order the results.
|
1286
|
+
# @param [Fixnum] page_size
|
1287
|
+
# Optional. Requested page size. The server might return fewer items than
|
1288
|
+
# requested. If unspecified, the server picks an appropriate default.
|
1289
|
+
# @param [String] page_token
|
1290
|
+
# Optional. A token identifying a page of results that the server returns.
|
1291
|
+
# @param [String] fields
|
1292
|
+
# Selector specifying which fields to include in a partial response.
|
1293
|
+
# @param [String] quota_user
|
1294
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1295
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1296
|
+
# @param [Google::Apis::RequestOptions] options
|
1297
|
+
# Request-specific options
|
1298
|
+
#
|
1299
|
+
# @yield [result, err] Result & error if block supplied
|
1300
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::ListLbEdgeExtensionsResponse] parsed result object
|
1301
|
+
# @yieldparam err [StandardError] error object if request failed
|
1302
|
+
#
|
1303
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ListLbEdgeExtensionsResponse]
|
1304
|
+
#
|
1305
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1306
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1307
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1308
|
+
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)
|
1309
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/lbEdgeExtensions', options)
|
1310
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListLbEdgeExtensionsResponse::Representation
|
1311
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::ListLbEdgeExtensionsResponse
|
1312
|
+
command.params['parent'] = parent unless parent.nil?
|
1313
|
+
command.query['filter'] = filter unless filter.nil?
|
1314
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1315
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1316
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1317
|
+
command.query['fields'] = fields unless fields.nil?
|
1318
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1319
|
+
execute_or_queue_command(command, &block)
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# Updates the parameters of the specified `LbEdgeExtension` resource.
|
1323
|
+
# @param [String] name
|
1324
|
+
# Required. Identifier. Name of the `LbEdgeExtension` resource in the following
|
1325
|
+
# format: `projects/`project`/locations/`location`/lbEdgeExtensions/`
|
1326
|
+
# lb_edge_extension``.
|
1327
|
+
# @param [Google::Apis::NetworkservicesV1beta1::LbEdgeExtension] lb_edge_extension_object
|
1328
|
+
# @param [String] request_id
|
1329
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1330
|
+
# request ID so that if you must retry your request, the server can ignore the
|
1331
|
+
# request if it has already been completed. The server guarantees that for 60
|
1332
|
+
# minutes since the first request. For example, consider a situation where you
|
1333
|
+
# make an initial request and the request times out. If you make the request
|
1334
|
+
# again with the same request ID, the server ignores the second request This
|
1335
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
1336
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
1337
|
+
# 00000000-0000-0000-0000-000000000000).
|
1338
|
+
# @param [String] update_mask
|
1339
|
+
# Optional. Used to specify the fields to be overwritten in the `LbEdgeExtension`
|
1340
|
+
# resource by the update. The fields specified in the `update_mask` are
|
1341
|
+
# relative to the resource, not the full request. A field is overwritten if it
|
1342
|
+
# is in the mask. If the user does not specify a mask, then all fields are
|
1343
|
+
# overwritten.
|
1344
|
+
# @param [String] fields
|
1345
|
+
# Selector specifying which fields to include in a partial response.
|
1346
|
+
# @param [String] quota_user
|
1347
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1348
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1349
|
+
# @param [Google::Apis::RequestOptions] options
|
1350
|
+
# Request-specific options
|
1351
|
+
#
|
1352
|
+
# @yield [result, err] Result & error if block supplied
|
1353
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
1354
|
+
# @yieldparam err [StandardError] error object if request failed
|
1355
|
+
#
|
1356
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
1357
|
+
#
|
1358
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1359
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1360
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1361
|
+
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)
|
1362
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1363
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::LbEdgeExtension::Representation
|
1364
|
+
command.request_object = lb_edge_extension_object
|
1365
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
1366
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
1367
|
+
command.params['name'] = name unless name.nil?
|
1368
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1369
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1370
|
+
command.query['fields'] = fields unless fields.nil?
|
1371
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1372
|
+
execute_or_queue_command(command, &block)
|
1373
|
+
end
|
1374
|
+
|
1150
1375
|
# Creates a new `LbRouteExtension` resource in a given project and location.
|
1151
1376
|
# @param [String] parent
|
1152
1377
|
# Required. The parent resource of the `LbRouteExtension` resource. Must be in
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.51.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.51.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:
|