google-apis-networkservices_v1beta1 0.51.0 → 0.53.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: 76a03a465814dd69b63eaf8f6c813905410c170c16c150af65565bdb8601a009
4
- data.tar.gz: eb2f3cbbd56d6e4dbb4204f6c93302917d8398365ade3bb067f9053fabd481f7
3
+ metadata.gz: 70972b1ec24d9808eb89363738fbebd7be9c47ee23942aa67f38ac8bb433c5c3
4
+ data.tar.gz: 360ce6f782068a40cb34b4b005547a92cdc7efb38e2c4c73de8a9013a5054234
5
5
  SHA512:
6
- metadata.gz: 4e7b831e47d0897a9c011ccf61670f640cba7498e8b9c468dd650431f384bec7e5a0fc2edcf697440814b026917f01440ee9631d8135cf70d88d7c801cf216aa
7
- data.tar.gz: 977573432b231430c536bbafbcf99bebab1bedd41e8dc0287974e0d5f80200681d8ca1a30769dad129424ecbf6173959e2be3bd6c31dcc03a7c23e713ba3cf58
6
+ metadata.gz: 1e5ebe17bad404945193956d87d35050172feee9a53e76482eb2666ef10058e1b247a8a36236a298f2de058cc1f7a4edc91d3440cc0c7a2bb71b9888337dce47
7
+ data.tar.gz: '08cc63a961ce2cd763ddebb52034c5c6a09dba9589368257369cf7c021744010a99e971dbe733eb4c8e5856cf7e822cadb68388156320ccd7588392f874ff9cc'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-networkservices_v1beta1
2
2
 
3
+ ### v0.53.0 (2025-06-01)
4
+
5
+ * Regenerated from discovery document revision 20250521
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.52.0 (2025-05-18)
9
+
10
+ * Regenerated from discovery document revision 20250508
11
+ * Regenerated using generator version 0.17.0
12
+
3
13
  ### v0.51.0 (2025-04-20)
4
14
 
5
15
  * Regenerated from discovery document revision 20250410
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
 
@@ -249,6 +249,14 @@ module Google
249
249
  # @return [String]
250
250
  attr_accessor :name
251
251
 
252
+ # Optional. A URL referring to a SecurityPolicy resource. SecurityPolicy is used
253
+ # to enforce rate limiting policy on the inbound traffic at the identified
254
+ # backends. If this field is not set, rate limiting is disabled for this
255
+ # endpoint.
256
+ # Corresponds to the JSON property `securityPolicy`
257
+ # @return [String]
258
+ attr_accessor :security_policy
259
+
252
260
  # Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used
253
261
  # to determine the authentication policy to be applied to terminate the inbound
254
262
  # traffic at the identified backends. If this field is not set, authentication
@@ -286,6 +294,7 @@ module Google
286
294
  @endpoint_matcher = args[:endpoint_matcher] if args.key?(:endpoint_matcher)
287
295
  @labels = args[:labels] if args.key?(:labels)
288
296
  @name = args[:name] if args.key?(:name)
297
+ @security_policy = args[:security_policy] if args.key?(:security_policy)
289
298
  @server_tls_policy = args[:server_tls_policy] if args.key?(:server_tls_policy)
290
299
  @traffic_port_selector = args[:traffic_port_selector] if args.key?(:traffic_port_selector)
291
300
  @type = args[:type] if args.key?(:type)
@@ -450,7 +459,7 @@ module Google
450
459
  attr_accessor :supported_events
451
460
 
452
461
  # Optional. Specifies the timeout for each individual message on the stream. The
453
- # timeout must be between `10`-`1000` milliseconds. Required for callout
462
+ # timeout must be between `10`-`10000` milliseconds. Required for callout
454
463
  # extensions. This field is not supported for plugin extensions. Setting it
455
464
  # results in a validation error.
456
465
  # Corresponds to the JSON property `timeout`
@@ -1752,7 +1761,8 @@ module Google
1752
1761
  # Specifies the policy on how requests are shadowed to a separate mirrored
1753
1762
  # destination service. The proxy does not wait for responses from the shadow
1754
1763
  # service. Prior to sending traffic to the shadow service, the host/authority
1755
- # header is suffixed with -shadow.
1764
+ # header is suffixed with -shadow. Mirroring is currently not supported for
1765
+ # Cloud Run destinations.
1756
1766
  class HttpRouteRequestMirrorPolicy
1757
1767
  include Google::Apis::Core::Hashable
1758
1768
 
@@ -1871,7 +1881,8 @@ module Google
1871
1881
  # Specifies the policy on how requests are shadowed to a separate mirrored
1872
1882
  # destination service. The proxy does not wait for responses from the shadow
1873
1883
  # service. Prior to sending traffic to the shadow service, the host/authority
1874
- # header is suffixed with -shadow.
1884
+ # header is suffixed with -shadow. Mirroring is currently not supported for
1885
+ # Cloud Run destinations.
1875
1886
  # Corresponds to the JSON property `requestMirrorPolicy`
1876
1887
  # @return [Google::Apis::NetworkservicesV1beta1::HttpRouteRequestMirrorPolicy]
1877
1888
  attr_accessor :request_mirror_policy
@@ -3449,6 +3460,11 @@ module Google
3449
3460
  # @return [Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig]
3450
3461
  attr_accessor :failover_config
3451
3462
 
3463
+ # Configuration to provide isolation support for the associated Backend Service.
3464
+ # Corresponds to the JSON property `isolationConfig`
3465
+ # @return [Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyIsolationConfig]
3466
+ attr_accessor :isolation_config
3467
+
3452
3468
  # Optional. Set of label tags associated with the ServiceLbPolicy resource.
3453
3469
  # Corresponds to the JSON property `labels`
3454
3470
  # @return [Hash<String,String>]
@@ -3481,6 +3497,7 @@ module Google
3481
3497
  @create_time = args[:create_time] if args.key?(:create_time)
3482
3498
  @description = args[:description] if args.key?(:description)
3483
3499
  @failover_config = args[:failover_config] if args.key?(:failover_config)
3500
+ @isolation_config = args[:isolation_config] if args.key?(:isolation_config)
3484
3501
  @labels = args[:labels] if args.key?(:labels)
3485
3502
  @load_balancing_algorithm = args[:load_balancing_algorithm] if args.key?(:load_balancing_algorithm)
3486
3503
  @name = args[:name] if args.key?(:name)
@@ -3537,6 +3554,31 @@ module Google
3537
3554
  end
3538
3555
  end
3539
3556
 
3557
+ # Configuration to provide isolation support for the associated Backend Service.
3558
+ class ServiceLbPolicyIsolationConfig
3559
+ include Google::Apis::Core::Hashable
3560
+
3561
+ # Optional. The isolation granularity of the load balancer.
3562
+ # Corresponds to the JSON property `isolationGranularity`
3563
+ # @return [String]
3564
+ attr_accessor :isolation_granularity
3565
+
3566
+ # Optional. The isolation mode of the load balancer.
3567
+ # Corresponds to the JSON property `isolationMode`
3568
+ # @return [String]
3569
+ attr_accessor :isolation_mode
3570
+
3571
+ def initialize(**args)
3572
+ update!(**args)
3573
+ end
3574
+
3575
+ # Update properties of this object
3576
+ def update!(**args)
3577
+ @isolation_granularity = args[:isolation_granularity] if args.key?(:isolation_granularity)
3578
+ @isolation_mode = args[:isolation_mode] if args.key?(:isolation_mode)
3579
+ end
3580
+ end
3581
+
3540
3582
  # The `Status` type defines a logical error model that is suitable for different
3541
3583
  # programming environments, including REST APIs and RPC APIs. It is used by [
3542
3584
  # 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.51.0"
19
+ GEM_VERSION = "0.53.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.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250410"
25
+ REVISION = "20250521"
26
26
  end
27
27
  end
28
28
  end
@@ -478,6 +478,12 @@ module Google
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
+ class ServiceLbPolicyIsolationConfig
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
481
487
  class Status
482
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
489
 
@@ -630,6 +636,7 @@ module Google
630
636
 
631
637
  hash :labels, as: 'labels'
632
638
  property :name, as: 'name'
639
+ property :security_policy, as: 'securityPolicy'
633
640
  property :server_tls_policy, as: 'serverTlsPolicy'
634
641
  property :traffic_port_selector, as: 'trafficPortSelector', class: Google::Apis::NetworkservicesV1beta1::TrafficPortSelector, decorator: Google::Apis::NetworkservicesV1beta1::TrafficPortSelector::Representation
635
642
 
@@ -1398,6 +1405,8 @@ module Google
1398
1405
  property :description, as: 'description'
1399
1406
  property :failover_config, as: 'failoverConfig', class: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig, decorator: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig::Representation
1400
1407
 
1408
+ property :isolation_config, as: 'isolationConfig', class: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyIsolationConfig, decorator: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyIsolationConfig::Representation
1409
+
1401
1410
  hash :labels, as: 'labels'
1402
1411
  property :load_balancing_algorithm, as: 'loadBalancingAlgorithm'
1403
1412
  property :name, as: 'name'
@@ -1419,6 +1428,14 @@ module Google
1419
1428
  end
1420
1429
  end
1421
1430
 
1431
+ class ServiceLbPolicyIsolationConfig
1432
+ # @private
1433
+ class Representation < Google::Apis::Core::JsonRepresentation
1434
+ property :isolation_granularity, as: 'isolationGranularity'
1435
+ property :isolation_mode, as: 'isolationMode'
1436
+ end
1437
+ end
1438
+
1422
1439
  class Status
1423
1440
  # @private
1424
1441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2350,6 +2350,47 @@ module Google
2350
2350
  execute_or_queue_command(command, &block)
2351
2351
  end
2352
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
+
2353
2394
  # Creates a new ServiceLbPolicy in a given project and location.
2354
2395
  # @param [String] parent
2355
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.51.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-20 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.51.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.53.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.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Network Services API V1beta1
79
79
  test_files: []