google-apis-compute_alpha 0.30.0 → 0.31.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf3e0f258664d9bbe34a6d34e0eaa582bacc07ade20b406ab1a64d0ae1c099da
|
4
|
+
data.tar.gz: fefc1035246c1905d2ce5df7eb759adb4c4193fdea6a6d4a51e897f6fb9735e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a62817847f8899eacc323be4dc0feeedc1d5a5914914c1c8cbb3eb1b29b7f2655c839faf10e7c073258396e04bd1483745df3a1339a7bc9bb55399980cdc0af7
|
7
|
+
data.tar.gz: c3c891a7b6a215dcddb433e157a784b9c97ab6aabea15c2717c524052462e505b658c3348da428568c446e8a89e9a3b22f36de545fa413a607d236bdc1345da7
|
data/CHANGELOG.md
CHANGED
@@ -3463,6 +3463,15 @@ module Google
|
|
3463
3463
|
# @return [String]
|
3464
3464
|
attr_accessor :load_balancing_scheme
|
3465
3465
|
|
3466
|
+
# A list of locality load balancing policies to be used in order of preference.
|
3467
|
+
# Either the policy or the customPolicy field should be set. Overrides any value
|
3468
|
+
# set in the localityLbPolicy field. localityLbPolicies is only supported when
|
3469
|
+
# the BackendService is referenced by a URL Map that is referenced by a target
|
3470
|
+
# gRPC proxy that has the validateForProxyless field set to true.
|
3471
|
+
# Corresponds to the JSON property `localityLbPolicies`
|
3472
|
+
# @return [Array<Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig>]
|
3473
|
+
attr_accessor :locality_lb_policies
|
3474
|
+
|
3466
3475
|
# The load balancing algorithm used within the scope of the locality. The
|
3467
3476
|
# possible values are: - ROUND_ROBIN: This is a simple policy in which each
|
3468
3477
|
# healthy backend is selected in round robin order. This is the default. -
|
@@ -3652,6 +3661,7 @@ module Google
|
|
3652
3661
|
@id = args[:id] if args.key?(:id)
|
3653
3662
|
@kind = args[:kind] if args.key?(:kind)
|
3654
3663
|
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
3664
|
+
@locality_lb_policies = args[:locality_lb_policies] if args.key?(:locality_lb_policies)
|
3655
3665
|
@locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy)
|
3656
3666
|
@log_config = args[:log_config] if args.key?(:log_config)
|
3657
3667
|
@max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
|
@@ -4359,6 +4369,88 @@ module Google
|
|
4359
4369
|
end
|
4360
4370
|
end
|
4361
4371
|
|
4372
|
+
# Container for either a built-in LB policy supported by gRPC or Envoy or a
|
4373
|
+
# custom one implemented by the end user.
|
4374
|
+
class BackendServiceLocalityLoadBalancingPolicyConfig
|
4375
|
+
include Google::Apis::Core::Hashable
|
4376
|
+
|
4377
|
+
# The configuration for a custom policy implemented by the user and deployed
|
4378
|
+
# with the client.
|
4379
|
+
# Corresponds to the JSON property `customPolicy`
|
4380
|
+
# @return [Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]
|
4381
|
+
attr_accessor :custom_policy
|
4382
|
+
|
4383
|
+
# The configuration for a built-in load balancing policy.
|
4384
|
+
# Corresponds to the JSON property `policy`
|
4385
|
+
# @return [Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy]
|
4386
|
+
attr_accessor :policy
|
4387
|
+
|
4388
|
+
def initialize(**args)
|
4389
|
+
update!(**args)
|
4390
|
+
end
|
4391
|
+
|
4392
|
+
# Update properties of this object
|
4393
|
+
def update!(**args)
|
4394
|
+
@custom_policy = args[:custom_policy] if args.key?(:custom_policy)
|
4395
|
+
@policy = args[:policy] if args.key?(:policy)
|
4396
|
+
end
|
4397
|
+
end
|
4398
|
+
|
4399
|
+
# The configuration for a custom policy implemented by the user and deployed
|
4400
|
+
# with the client.
|
4401
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
|
4402
|
+
include Google::Apis::Core::Hashable
|
4403
|
+
|
4404
|
+
# An optional, arbitrary JSON object with configuration data, understood by a
|
4405
|
+
# locally installed custom policy implementation.
|
4406
|
+
# Corresponds to the JSON property `data`
|
4407
|
+
# @return [String]
|
4408
|
+
attr_accessor :data
|
4409
|
+
|
4410
|
+
# Identifies the custom policy. The value should match the type the custom
|
4411
|
+
# implementation is registered with on the gRPC clients. It should follow
|
4412
|
+
# protocol buffer message naming conventions and include the full path (e.g.
|
4413
|
+
# myorg.CustomLbPolicy). The maximum length is 256 characters. Note that
|
4414
|
+
# specifying the same custom policy more than once for a backend is not a valid
|
4415
|
+
# configuration and will be rejected.
|
4416
|
+
# Corresponds to the JSON property `name`
|
4417
|
+
# @return [String]
|
4418
|
+
attr_accessor :name
|
4419
|
+
|
4420
|
+
def initialize(**args)
|
4421
|
+
update!(**args)
|
4422
|
+
end
|
4423
|
+
|
4424
|
+
# Update properties of this object
|
4425
|
+
def update!(**args)
|
4426
|
+
@data = args[:data] if args.key?(:data)
|
4427
|
+
@name = args[:name] if args.key?(:name)
|
4428
|
+
end
|
4429
|
+
end
|
4430
|
+
|
4431
|
+
# The configuration for a built-in load balancing policy.
|
4432
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
4433
|
+
include Google::Apis::Core::Hashable
|
4434
|
+
|
4435
|
+
# The name of a locality load balancer policy to be used. The value should be
|
4436
|
+
# one of the predefined ones as supported by localityLbPolicy, although at the
|
4437
|
+
# moment only ROUND_ROBIN is supported. This field should only be populated when
|
4438
|
+
# the customPolicy field is not used. Note that specifying the same policy more
|
4439
|
+
# than once for a backend is not a valid configuration and will be rejected.
|
4440
|
+
# Corresponds to the JSON property `name`
|
4441
|
+
# @return [String]
|
4442
|
+
attr_accessor :name
|
4443
|
+
|
4444
|
+
def initialize(**args)
|
4445
|
+
update!(**args)
|
4446
|
+
end
|
4447
|
+
|
4448
|
+
# Update properties of this object
|
4449
|
+
def update!(**args)
|
4450
|
+
@name = args[:name] if args.key?(:name)
|
4451
|
+
end
|
4452
|
+
end
|
4453
|
+
|
4362
4454
|
# The available logging options for the load balancer traffic served by this
|
4363
4455
|
# backend service.
|
4364
4456
|
class BackendServiceLogConfig
|
@@ -14261,7 +14353,8 @@ module Google
|
|
14261
14353
|
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
14262
14354
|
attr_accessor :instance_encryption_key
|
14263
14355
|
|
14264
|
-
# KeyRevocationActionType of the instance.
|
14356
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
14357
|
+
# NONE". The default value is "NONE" if it is not specified.
|
14265
14358
|
# Corresponds to the JSON property `keyRevocationActionType`
|
14266
14359
|
# @return [String]
|
14267
14360
|
attr_accessor :key_revocation_action_type
|
@@ -17576,7 +17669,8 @@ module Google
|
|
17576
17669
|
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
17577
17670
|
attr_accessor :guest_accelerators
|
17578
17671
|
|
17579
|
-
# KeyRevocationActionType of the instance.
|
17672
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
17673
|
+
# NONE". The default value is "NONE" if it is not specified.
|
17580
17674
|
# Corresponds to the JSON property `keyRevocationActionType`
|
17581
17675
|
# @return [String]
|
17582
17676
|
attr_accessor :key_revocation_action_type
|
@@ -39580,7 +39674,8 @@ module Google
|
|
39580
39674
|
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
39581
39675
|
attr_accessor :guest_accelerators
|
39582
39676
|
|
39583
|
-
# KeyRevocationActionType of the instance.
|
39677
|
+
# KeyRevocationActionType of the instance. Supported options are "STOP" and "
|
39678
|
+
# NONE". The default value is "NONE" if it is not specified.
|
39584
39679
|
# Corresponds to the JSON property `keyRevocationActionType`
|
39585
39680
|
# @return [String]
|
39586
39681
|
attr_accessor :key_revocation_action_type
|
@@ -40923,7 +41018,7 @@ module Google
|
|
40923
41018
|
attr_accessor :enable_private_v6_access
|
40924
41019
|
alias_method :enable_private_v6_access?, :enable_private_v6_access
|
40925
41020
|
|
40926
|
-
# [Output Only] The
|
41021
|
+
# [Output Only] The external IPv6 address range that is assigned to this
|
40927
41022
|
# subnetwork.
|
40928
41023
|
# Corresponds to the JSON property `externalIpv6Prefix`
|
40929
41024
|
# @return [String]
|
@@ -40961,9 +41056,8 @@ module Google
|
|
40961
41056
|
# @return [Fixnum]
|
40962
41057
|
attr_accessor :id
|
40963
41058
|
|
40964
|
-
# [Output Only] The
|
40965
|
-
# subnetwork.
|
40966
|
-
# confused with the ipv6_cidr_range field.
|
41059
|
+
# [Output Only] The internal IPv6 address range that is assigned to this
|
41060
|
+
# subnetwork.
|
40967
41061
|
# Corresponds to the JSON property `internalIpv6Prefix`
|
40968
41062
|
# @return [String]
|
40969
41063
|
attr_accessor :internal_ipv6_prefix
|
@@ -40980,14 +41074,12 @@ module Google
|
|
40980
41074
|
|
40981
41075
|
# The access type of IPv6 address this subnet holds. It's immutable and can only
|
40982
41076
|
# be specified during creation or the first time the subnet is updated into
|
40983
|
-
# IPV4_IPV6 dual stack.
|
40984
|
-
# enable direct path.
|
41077
|
+
# IPV4_IPV6 dual stack.
|
40985
41078
|
# Corresponds to the JSON property `ipv6AccessType`
|
40986
41079
|
# @return [String]
|
40987
41080
|
attr_accessor :ipv6_access_type
|
40988
41081
|
|
40989
|
-
# [Output Only]
|
40990
|
-
# subnetwork. Note this will be for private google access only eventually.
|
41082
|
+
# [Output Only] This field is for internal use.
|
40991
41083
|
# Corresponds to the JSON property `ipv6CidrRange`
|
40992
41084
|
# @return [String]
|
40993
41085
|
attr_accessor :ipv6_cidr_range
|
@@ -41036,10 +41128,8 @@ module Google
|
|
41036
41128
|
attr_accessor :private_ip_google_access
|
41037
41129
|
alias_method :private_ip_google_access?, :private_ip_google_access
|
41038
41130
|
|
41039
|
-
#
|
41040
|
-
#
|
41041
|
-
# privateIpv6GoogleAccess will take priority. This field can be both set at
|
41042
|
-
# resource creation time and updated using patch.
|
41131
|
+
# This field is for internal use. This field can be both set at resource
|
41132
|
+
# creation time and updated using patch.
|
41043
41133
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
41044
41134
|
# @return [String]
|
41045
41135
|
attr_accessor :private_ipv6_google_access
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeAlpha
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220322"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -478,6 +478,24 @@ module Google
|
|
478
478
|
include Google::Apis::Core::JsonObjectSupport
|
479
479
|
end
|
480
480
|
|
481
|
+
class BackendServiceLocalityLoadBalancingPolicyConfig
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
493
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
481
499
|
class BackendServiceLogConfig
|
482
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
501
|
|
@@ -7157,6 +7175,8 @@ module Google
|
|
7157
7175
|
property :id, :numeric_string => true, as: 'id'
|
7158
7176
|
property :kind, as: 'kind'
|
7159
7177
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
7178
|
+
collection :locality_lb_policies, as: 'localityLbPolicies', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfig::Representation
|
7179
|
+
|
7160
7180
|
property :locality_lb_policy, as: 'localityLbPolicy'
|
7161
7181
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::BackendServiceLogConfig, decorator: Google::Apis::ComputeAlpha::BackendServiceLogConfig::Representation
|
7162
7182
|
|
@@ -7335,6 +7355,31 @@ module Google
|
|
7335
7355
|
end
|
7336
7356
|
end
|
7337
7357
|
|
7358
|
+
class BackendServiceLocalityLoadBalancingPolicyConfig
|
7359
|
+
# @private
|
7360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7361
|
+
property :custom_policy, as: 'customPolicy', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy::Representation
|
7362
|
+
|
7363
|
+
property :policy, as: 'policy', class: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceLocalityLoadBalancingPolicyConfigPolicy::Representation
|
7364
|
+
|
7365
|
+
end
|
7366
|
+
end
|
7367
|
+
|
7368
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
|
7369
|
+
# @private
|
7370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7371
|
+
property :data, as: 'data'
|
7372
|
+
property :name, as: 'name'
|
7373
|
+
end
|
7374
|
+
end
|
7375
|
+
|
7376
|
+
class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
|
7377
|
+
# @private
|
7378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7379
|
+
property :name, as: 'name'
|
7380
|
+
end
|
7381
|
+
end
|
7382
|
+
|
7338
7383
|
class BackendServiceLogConfig
|
7339
7384
|
# @private
|
7340
7385
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|