google-apis-networkservices_v1beta1 0.50.0 → 0.52.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eecbc7e6da0d240c910c6ee94f60584ed0d93bd627e16e0c76f56babc010fd5e
4
- data.tar.gz: c122e793274b020c424505dee709e4ff0ccffa3ec9775ec8107845f5490761d4
3
+ metadata.gz: 8d9d3deec3446431e82cb042129cc5c5a7e453cff2fd615b21a6e8f52616bc1b
4
+ data.tar.gz: fba8c29d6a079d1913ee36a5689e986bc2f0cb6702f5306ddc9f9927a1f9077c
5
5
  SHA512:
6
- metadata.gz: 0f7da372d1e08abb2a3459c384ffc8150b8081c1e8f9f2aaab8bb05f42e2f68319390613c13d804541059ad59416c409dac08524c12a7041fe42e166f9acfff0
7
- data.tar.gz: e5569399c8931b2f8239325ab7417b9ae400cdf83d70fabcb2a0fa4cefe6d990f39b988c4bfda03e4d145ce5684851092a3bbeb926bc5dd629cb6bee64442929
6
+ metadata.gz: adbffe7a774ae6dd566e1980a82f564a70ab53d2cceb3c8e7e93f39d6e4808703a690aad1c43c6d2e634d3ab71965a7e6aad70b1c6a714b15b0b4ef667299d80
7
+ data.tar.gz: 9f0b9f3650f40bbf414a61a77f9e35ace878082a1a1627639534ebf5f596b95dbcabc21f73c4246b6423ae648d83bc69799591e63ee2f41789e589d4e43bc023
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-networkservices_v1beta1
2
2
 
3
+ ### v0.52.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250508
6
+ * Regenerated using generator version 0.17.0
7
+
8
+ ### v0.51.0 (2025-04-20)
9
+
10
+ * Regenerated from discovery document revision 20250410
11
+
3
12
  ### v0.50.0 (2025-03-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20250318
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/networking) may provide gui
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -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 is subject to following limitations:
383
- # * The total size of the metadata must be less than 1KiB. * The total number of
384
- # keys in the metadata must be less than 20. * The length of each key must be
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. This field is not supported for
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
@@ -447,7 +450,7 @@ module Google
447
450
  attr_accessor :supported_events
448
451
 
449
452
  # Optional. Specifies the timeout for each individual message on the stream. The
450
- # timeout must be between `10`-`1000` milliseconds. Required for callout
453
+ # timeout must be between `10`-`10000` milliseconds. Required for callout
451
454
  # extensions. This field is not supported for plugin extensions. Setting it
452
455
  # results in a validation error.
453
456
  # Corresponds to the JSON property `timeout`
@@ -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. There can be
2106
- # only one `LbRouteExtension` resource per forwarding rule.
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 is available under the
2130
- # namespace `com.google.lb_route_extension.`. The following variables are
2131
- # supported in the metadata Struct: ``forwarding_rule_id`` - substituted with
2132
- # the forwarding rule's fully qualified resource name. This field is not
2133
- # supported for plugin extensions. Setting it results in a validation error.
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. There can be
2196
- # only one `LBTrafficExtension` resource per forwarding rule.
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 in the `ProcessingRequest.
2218
- # metadata_context.filter_metadata` map field. The metadata is available under
2219
- # the key `com.google.lb_traffic_extension.`. The following variables are
2220
- # supported in the metadata: ``forwarding_rule_id`` - substituted with the
2221
- # forwarding rule's fully qualified resource name. This field is not supported
2222
- # for plugin extensions. Setting it results in a validation error.
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
 
@@ -3329,6 +3449,11 @@ module Google
3329
3449
  # @return [Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig]
3330
3450
  attr_accessor :failover_config
3331
3451
 
3452
+ # Configuration to provide isolation support for the associated Backend Service.
3453
+ # Corresponds to the JSON property `isolationConfig`
3454
+ # @return [Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyIsolationConfig]
3455
+ attr_accessor :isolation_config
3456
+
3332
3457
  # Optional. Set of label tags associated with the ServiceLbPolicy resource.
3333
3458
  # Corresponds to the JSON property `labels`
3334
3459
  # @return [Hash<String,String>]
@@ -3361,6 +3486,7 @@ module Google
3361
3486
  @create_time = args[:create_time] if args.key?(:create_time)
3362
3487
  @description = args[:description] if args.key?(:description)
3363
3488
  @failover_config = args[:failover_config] if args.key?(:failover_config)
3489
+ @isolation_config = args[:isolation_config] if args.key?(:isolation_config)
3364
3490
  @labels = args[:labels] if args.key?(:labels)
3365
3491
  @load_balancing_algorithm = args[:load_balancing_algorithm] if args.key?(:load_balancing_algorithm)
3366
3492
  @name = args[:name] if args.key?(:name)
@@ -3417,6 +3543,31 @@ module Google
3417
3543
  end
3418
3544
  end
3419
3545
 
3546
+ # Configuration to provide isolation support for the associated Backend Service.
3547
+ class ServiceLbPolicyIsolationConfig
3548
+ include Google::Apis::Core::Hashable
3549
+
3550
+ # Optional. The isolation granularity of the load balancer.
3551
+ # Corresponds to the JSON property `isolationGranularity`
3552
+ # @return [String]
3553
+ attr_accessor :isolation_granularity
3554
+
3555
+ # Optional. The isolation mode of the load balancer.
3556
+ # Corresponds to the JSON property `isolationMode`
3557
+ # @return [String]
3558
+ attr_accessor :isolation_mode
3559
+
3560
+ def initialize(**args)
3561
+ update!(**args)
3562
+ end
3563
+
3564
+ # Update properties of this object
3565
+ def update!(**args)
3566
+ @isolation_granularity = args[:isolation_granularity] if args.key?(:isolation_granularity)
3567
+ @isolation_mode = args[:isolation_mode] if args.key?(:isolation_mode)
3568
+ end
3569
+ end
3570
+
3420
3571
  # The `Status` type defines a logical error model that is suitable for different
3421
3572
  # programming environments, including REST APIs and RPC APIs. It is used by [
3422
3573
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250318"
25
+ REVISION = "20250508"
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
 
@@ -466,6 +478,12 @@ module Google
466
478
  include Google::Apis::Core::JsonObjectSupport
467
479
  end
468
480
 
481
+ class ServiceLbPolicyIsolationConfig
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
469
487
  class Status
470
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
489
 
@@ -1037,6 +1055,21 @@ module Google
1037
1055
  end
1038
1056
  end
1039
1057
 
1058
+ class LbEdgeExtension
1059
+ # @private
1060
+ class Representation < Google::Apis::Core::JsonRepresentation
1061
+ property :create_time, as: 'createTime'
1062
+ property :description, as: 'description'
1063
+ collection :extension_chains, as: 'extensionChains', class: Google::Apis::NetworkservicesV1beta1::ExtensionChain, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionChain::Representation
1064
+
1065
+ collection :forwarding_rules, as: 'forwardingRules'
1066
+ hash :labels, as: 'labels'
1067
+ property :load_balancing_scheme, as: 'loadBalancingScheme'
1068
+ property :name, as: 'name'
1069
+ property :update_time, as: 'updateTime'
1070
+ end
1071
+ end
1072
+
1040
1073
  class LbRouteExtension
1041
1074
  # @private
1042
1075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1129,6 +1162,16 @@ module Google
1129
1162
  end
1130
1163
  end
1131
1164
 
1165
+ class ListLbEdgeExtensionsResponse
1166
+ # @private
1167
+ class Representation < Google::Apis::Core::JsonRepresentation
1168
+ collection :lb_edge_extensions, as: 'lbEdgeExtensions', class: Google::Apis::NetworkservicesV1beta1::LbEdgeExtension, decorator: Google::Apis::NetworkservicesV1beta1::LbEdgeExtension::Representation
1169
+
1170
+ property :next_page_token, as: 'nextPageToken'
1171
+ collection :unreachable, as: 'unreachable'
1172
+ end
1173
+ end
1174
+
1132
1175
  class ListLbRouteExtensionsResponse
1133
1176
  # @private
1134
1177
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1361,6 +1404,8 @@ module Google
1361
1404
  property :description, as: 'description'
1362
1405
  property :failover_config, as: 'failoverConfig', class: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig, decorator: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig::Representation
1363
1406
 
1407
+ property :isolation_config, as: 'isolationConfig', class: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyIsolationConfig, decorator: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyIsolationConfig::Representation
1408
+
1364
1409
  hash :labels, as: 'labels'
1365
1410
  property :load_balancing_algorithm, as: 'loadBalancingAlgorithm'
1366
1411
  property :name, as: 'name'
@@ -1382,6 +1427,14 @@ module Google
1382
1427
  end
1383
1428
  end
1384
1429
 
1430
+ class ServiceLbPolicyIsolationConfig
1431
+ # @private
1432
+ class Representation < Google::Apis::Core::JsonRepresentation
1433
+ property :isolation_granularity, as: 'isolationGranularity'
1434
+ property :isolation_mode, as: 'isolationMode'
1435
+ end
1436
+ end
1437
+
1385
1438
  class Status
1386
1439
  # @private
1387
1440
  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
@@ -2125,6 +2350,47 @@ module Google
2125
2350
  execute_or_queue_command(command, &block)
2126
2351
  end
2127
2352
 
2353
+ # Updates the parameters of a single ServiceBinding.
2354
+ # @param [String] name
2355
+ # Identifier. Name of the ServiceBinding resource. It matches pattern `projects/*
2356
+ # /locations/*/serviceBindings/`.
2357
+ # @param [Google::Apis::NetworkservicesV1beta1::ServiceBinding] service_binding_object
2358
+ # @param [String] update_mask
2359
+ # Optional. Field mask is used to specify the fields to be overwritten in the
2360
+ # ServiceBinding resource by the update. The fields specified in the update_mask
2361
+ # are relative to the resource, not the full request. A field will be
2362
+ # overwritten if it is in the mask. If the user does not provide a mask then all
2363
+ # fields will be overwritten.
2364
+ # @param [String] fields
2365
+ # Selector specifying which fields to include in a partial response.
2366
+ # @param [String] quota_user
2367
+ # Available to use for quota purposes for server-side applications. Can be any
2368
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2369
+ # @param [Google::Apis::RequestOptions] options
2370
+ # Request-specific options
2371
+ #
2372
+ # @yield [result, err] Result & error if block supplied
2373
+ # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
2374
+ # @yieldparam err [StandardError] error object if request failed
2375
+ #
2376
+ # @return [Google::Apis::NetworkservicesV1beta1::Operation]
2377
+ #
2378
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2379
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2380
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2381
+ def patch_project_location_service_binding(name, service_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2382
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
2383
+ command.request_representation = Google::Apis::NetworkservicesV1beta1::ServiceBinding::Representation
2384
+ command.request_object = service_binding_object
2385
+ command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
2386
+ command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
2387
+ command.params['name'] = name unless name.nil?
2388
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2389
+ command.query['fields'] = fields unless fields.nil?
2390
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2391
+ execute_or_queue_command(command, &block)
2392
+ end
2393
+
2128
2394
  # Creates a new ServiceLbPolicy in a given project and location.
2129
2395
  # @param [String] parent
2130
2396
  # Required. The parent resource of the ServiceLbPolicy. Must be in the format `
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.50.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-30 00:00:00.000000000 Z
10
+ date: 1980-01-02 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.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.52.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:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Network Services API V1beta1
79
79
  test_files: []