google-apis-networkservices_v1beta1 0.50.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 +4 -0
- data/lib/google/apis/networkservices_v1beta1/classes.rb +141 -21
- 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 +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
@@ -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
|
@@ -2077,6 +2080,82 @@ module Google
|
|
2077
2080
|
end
|
2078
2081
|
end
|
2079
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
|
+
|
2080
2159
|
# `LbRouteExtension` is a resource that lets you control where traffic is routed
|
2081
2160
|
# to for a given request.
|
2082
2161
|
class LbRouteExtension
|
@@ -2102,8 +2181,8 @@ module Google
|
|
2102
2181
|
attr_accessor :extension_chains
|
2103
2182
|
|
2104
2183
|
# Required. A list of references to the forwarding rules to which this service
|
2105
|
-
# extension is attached. At least one forwarding rule is required.
|
2106
|
-
#
|
2184
|
+
# extension is attached. At least one forwarding rule is required. Only one `
|
2185
|
+
# LbRouteExtension` resource can be associated with a forwarding rule.
|
2107
2186
|
# Corresponds to the JSON property `forwardingRules`
|
2108
2187
|
# @return [Array<String>]
|
2109
2188
|
attr_accessor :forwarding_rules
|
@@ -2126,11 +2205,15 @@ module Google
|
|
2126
2205
|
|
2127
2206
|
# Optional. The metadata provided here is included as part of the `
|
2128
2207
|
# metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest`
|
2129
|
-
# message sent to the extension server. The metadata
|
2130
|
-
#
|
2131
|
-
#
|
2132
|
-
# the
|
2133
|
-
#
|
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.
|
2134
2217
|
# Corresponds to the JSON property `metadata`
|
2135
2218
|
# @return [Hash<String,Object>]
|
2136
2219
|
attr_accessor :metadata
|
@@ -2192,8 +2275,8 @@ module Google
|
|
2192
2275
|
attr_accessor :extension_chains
|
2193
2276
|
|
2194
2277
|
# Optional. A list of references to the forwarding rules to which this service
|
2195
|
-
# extension is attached. At least one forwarding rule is required.
|
2196
|
-
#
|
2278
|
+
# extension is attached. At least one forwarding rule is required. Only one `
|
2279
|
+
# LbTrafficExtension` resource can be associated with a forwarding rule.
|
2197
2280
|
# Corresponds to the JSON property `forwardingRules`
|
2198
2281
|
# @return [Array<String>]
|
2199
2282
|
attr_accessor :forwarding_rules
|
@@ -2214,12 +2297,17 @@ module Google
|
|
2214
2297
|
# @return [String]
|
2215
2298
|
attr_accessor :load_balancing_scheme
|
2216
2299
|
|
2217
|
-
# Optional. The metadata provided here is included
|
2218
|
-
# metadata_context
|
2219
|
-
# the
|
2220
|
-
#
|
2221
|
-
#
|
2222
|
-
#
|
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.
|
2223
2311
|
# Corresponds to the JSON property `metadata`
|
2224
2312
|
# @return [Hash<String,Object>]
|
2225
2313
|
attr_accessor :metadata
|
@@ -2457,6 +2545,37 @@ module Google
|
|
2457
2545
|
end
|
2458
2546
|
end
|
2459
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
|
+
|
2460
2579
|
# Message for response to listing `LbRouteExtension` resources.
|
2461
2580
|
class ListLbRouteExtensionsResponse
|
2462
2581
|
include Google::Apis::Core::Hashable
|
@@ -3240,7 +3359,8 @@ module Google
|
|
3240
3359
|
# ServiceBinding can be used to: - Bind a Service Directory Service to be used
|
3241
3360
|
# in a BackendService resource. This feature will be deprecated soon. - Bind a
|
3242
3361
|
# Private Service Connect producer service to be used in consumer Cloud Service
|
3243
|
-
# 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.
|
3244
3364
|
class ServiceBinding
|
3245
3365
|
include Google::Apis::Core::Hashable
|
3246
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
|
|
@@ -1037,6 +1049,21 @@ module Google
|
|
1037
1049
|
end
|
1038
1050
|
end
|
1039
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
|
+
|
1040
1067
|
class LbRouteExtension
|
1041
1068
|
# @private
|
1042
1069
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1129,6 +1156,16 @@ module Google
|
|
1129
1156
|
end
|
1130
1157
|
end
|
1131
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
|
+
|
1132
1169
|
class ListLbRouteExtensionsResponse
|
1133
1170
|
# @private
|
1134
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:
|