google-apis-networkservices_v1beta1 0.51.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/networkservices_v1beta1/classes.rb +32 -1
- data/lib/google/apis/networkservices_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networkservices_v1beta1/representations.rb +16 -0
- data/lib/google/apis/networkservices_v1beta1/service.rb +41 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d9d3deec3446431e82cb042129cc5c5a7e453cff2fd615b21a6e8f52616bc1b
|
4
|
+
data.tar.gz: fba8c29d6a079d1913ee36a5689e986bc2f0cb6702f5306ddc9f9927a1f9077c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adbffe7a774ae6dd566e1980a82f564a70ab53d2cceb3c8e7e93f39d6e4808703a690aad1c43c6d2e634d3ab71965a7e6aad70b1c6a714b15b0b4ef667299d80
|
7
|
+
data.tar.gz: 9f0b9f3650f40bbf414a61a77f9e35ace878082a1a1627639534ebf5f596b95dbcabc21f73c4246b6423ae648d83bc69799591e63ee2f41789e589d4e43bc023
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
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
|
+
|
3
8
|
### v0.51.0 (2025-04-20)
|
4
9
|
|
5
10
|
* 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
|
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
|
|
@@ -450,7 +450,7 @@ module Google
|
|
450
450
|
attr_accessor :supported_events
|
451
451
|
|
452
452
|
# Optional. Specifies the timeout for each individual message on the stream. The
|
453
|
-
# timeout must be between `10`-`
|
453
|
+
# timeout must be between `10`-`10000` milliseconds. Required for callout
|
454
454
|
# extensions. This field is not supported for plugin extensions. Setting it
|
455
455
|
# results in a validation error.
|
456
456
|
# Corresponds to the JSON property `timeout`
|
@@ -3449,6 +3449,11 @@ module Google
|
|
3449
3449
|
# @return [Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig]
|
3450
3450
|
attr_accessor :failover_config
|
3451
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
|
+
|
3452
3457
|
# Optional. Set of label tags associated with the ServiceLbPolicy resource.
|
3453
3458
|
# Corresponds to the JSON property `labels`
|
3454
3459
|
# @return [Hash<String,String>]
|
@@ -3481,6 +3486,7 @@ module Google
|
|
3481
3486
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3482
3487
|
@description = args[:description] if args.key?(:description)
|
3483
3488
|
@failover_config = args[:failover_config] if args.key?(:failover_config)
|
3489
|
+
@isolation_config = args[:isolation_config] if args.key?(:isolation_config)
|
3484
3490
|
@labels = args[:labels] if args.key?(:labels)
|
3485
3491
|
@load_balancing_algorithm = args[:load_balancing_algorithm] if args.key?(:load_balancing_algorithm)
|
3486
3492
|
@name = args[:name] if args.key?(:name)
|
@@ -3537,6 +3543,31 @@ module Google
|
|
3537
3543
|
end
|
3538
3544
|
end
|
3539
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
|
+
|
3540
3571
|
# The `Status` type defines a logical error model that is suitable for different
|
3541
3572
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3542
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.
|
19
|
+
GEM_VERSION = "0.52.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250508"
|
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
|
|
@@ -1398,6 +1404,8 @@ module Google
|
|
1398
1404
|
property :description, as: 'description'
|
1399
1405
|
property :failover_config, as: 'failoverConfig', class: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig, decorator: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyFailoverConfig::Representation
|
1400
1406
|
|
1407
|
+
property :isolation_config, as: 'isolationConfig', class: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyIsolationConfig, decorator: Google::Apis::NetworkservicesV1beta1::ServiceLbPolicyIsolationConfig::Representation
|
1408
|
+
|
1401
1409
|
hash :labels, as: 'labels'
|
1402
1410
|
property :load_balancing_algorithm, as: 'loadBalancingAlgorithm'
|
1403
1411
|
property :name, as: 'name'
|
@@ -1419,6 +1427,14 @@ module Google
|
|
1419
1427
|
end
|
1420
1428
|
end
|
1421
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
|
+
|
1422
1438
|
class Status
|
1423
1439
|
# @private
|
1424
1440
|
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.
|
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:
|
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.
|
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: '
|
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.
|
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: []
|