google-apis-compute_v1 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98ed004a22e26dae08d4b24e10776f198f1f1f838a01a77e27d05aec05cac01c
4
- data.tar.gz: 0cbd32785a097d4d85dce803ffda39c2aaa33b0d07f9e0cbaa6468dbf9d20412
3
+ metadata.gz: 9918855bfee13cae1fcf354ec4e5b61e4b89cac3b6eb829d94c04b44cc186610
4
+ data.tar.gz: ef9eeb775e5ef8018f65c22f3ce90b030787ea284ce0f19b700ea5f8b64ac068
5
5
  SHA512:
6
- metadata.gz: 48ec3a871456f61e3cfc77c5d69b8bb46eb2ae418d4efc7c650e1f5307a390d3f4d3b174ad4764b3f49fc2a3583b68e9c77642183fc60fffe4a7da5c29ee3309
7
- data.tar.gz: 8bd9f719316bae10d68cc2363123eb70f1d6368559181cc31c8eaacb890bf79df56cfb587505f0d5f038c88115cfd81401a3691fee8df0cb230b8101aaad3b0e
6
+ metadata.gz: b6816dc91fa5101bcc1d5c41852a320700734fe651e599d3774b9d7af86038d8c248df55aa4f2cc4d3ba9969ceae695c480d1673cc049b65cf9ed0b6f532610b
7
+ data.tar.gz: 351739d80292f4314da5cdf07d1aca19580880ca4c14911a2f936af2e9eddfa7d568cd500daff14213e1d0e0eec864bee4b7734c55a9a41704357eec325499d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.31.0 (2022-03-30)
4
+
5
+ * Regenerated from discovery document revision 20220322
6
+
3
7
  ### v0.30.0 (2022-03-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20220315
@@ -3145,6 +3145,15 @@ module Google
3145
3145
  # @return [String]
3146
3146
  attr_accessor :load_balancing_scheme
3147
3147
 
3148
+ # A list of locality load balancing policies to be used in order of preference.
3149
+ # Either the policy or the customPolicy field should be set. Overrides any value
3150
+ # set in the localityLbPolicy field. localityLbPolicies is only supported when
3151
+ # the BackendService is referenced by a URL Map that is referenced by a target
3152
+ # gRPC proxy that has the validateForProxyless field set to true.
3153
+ # Corresponds to the JSON property `localityLbPolicies`
3154
+ # @return [Array<Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfig>]
3155
+ attr_accessor :locality_lb_policies
3156
+
3148
3157
  # The load balancing algorithm used within the scope of the locality. The
3149
3158
  # possible values are: - ROUND_ROBIN: This is a simple policy in which each
3150
3159
  # healthy backend is selected in round robin order. This is the default. -
@@ -3313,6 +3322,7 @@ module Google
3313
3322
  @id = args[:id] if args.key?(:id)
3314
3323
  @kind = args[:kind] if args.key?(:kind)
3315
3324
  @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
3325
+ @locality_lb_policies = args[:locality_lb_policies] if args.key?(:locality_lb_policies)
3316
3326
  @locality_lb_policy = args[:locality_lb_policy] if args.key?(:locality_lb_policy)
3317
3327
  @log_config = args[:log_config] if args.key?(:log_config)
3318
3328
  @max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
@@ -3978,6 +3988,88 @@ module Google
3978
3988
  end
3979
3989
  end
3980
3990
 
3991
+ # Container for either a built-in LB policy supported by gRPC or Envoy or a
3992
+ # custom one implemented by the end user.
3993
+ class BackendServiceLocalityLoadBalancingPolicyConfig
3994
+ include Google::Apis::Core::Hashable
3995
+
3996
+ # The configuration for a custom policy implemented by the user and deployed
3997
+ # with the client.
3998
+ # Corresponds to the JSON property `customPolicy`
3999
+ # @return [Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy]
4000
+ attr_accessor :custom_policy
4001
+
4002
+ # The configuration for a built-in load balancing policy.
4003
+ # Corresponds to the JSON property `policy`
4004
+ # @return [Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigPolicy]
4005
+ attr_accessor :policy
4006
+
4007
+ def initialize(**args)
4008
+ update!(**args)
4009
+ end
4010
+
4011
+ # Update properties of this object
4012
+ def update!(**args)
4013
+ @custom_policy = args[:custom_policy] if args.key?(:custom_policy)
4014
+ @policy = args[:policy] if args.key?(:policy)
4015
+ end
4016
+ end
4017
+
4018
+ # The configuration for a custom policy implemented by the user and deployed
4019
+ # with the client.
4020
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
4021
+ include Google::Apis::Core::Hashable
4022
+
4023
+ # An optional, arbitrary JSON object with configuration data, understood by a
4024
+ # locally installed custom policy implementation.
4025
+ # Corresponds to the JSON property `data`
4026
+ # @return [String]
4027
+ attr_accessor :data
4028
+
4029
+ # Identifies the custom policy. The value should match the type the custom
4030
+ # implementation is registered with on the gRPC clients. It should follow
4031
+ # protocol buffer message naming conventions and include the full path (e.g.
4032
+ # myorg.CustomLbPolicy). The maximum length is 256 characters. Note that
4033
+ # specifying the same custom policy more than once for a backend is not a valid
4034
+ # configuration and will be rejected.
4035
+ # Corresponds to the JSON property `name`
4036
+ # @return [String]
4037
+ attr_accessor :name
4038
+
4039
+ def initialize(**args)
4040
+ update!(**args)
4041
+ end
4042
+
4043
+ # Update properties of this object
4044
+ def update!(**args)
4045
+ @data = args[:data] if args.key?(:data)
4046
+ @name = args[:name] if args.key?(:name)
4047
+ end
4048
+ end
4049
+
4050
+ # The configuration for a built-in load balancing policy.
4051
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
4052
+ include Google::Apis::Core::Hashable
4053
+
4054
+ # The name of a locality load balancer policy to be used. The value should be
4055
+ # one of the predefined ones as supported by localityLbPolicy, although at the
4056
+ # moment only ROUND_ROBIN is supported. This field should only be populated when
4057
+ # the customPolicy field is not used. Note that specifying the same policy more
4058
+ # than once for a backend is not a valid configuration and will be rejected.
4059
+ # Corresponds to the JSON property `name`
4060
+ # @return [String]
4061
+ attr_accessor :name
4062
+
4063
+ def initialize(**args)
4064
+ update!(**args)
4065
+ end
4066
+
4067
+ # Update properties of this object
4068
+ def update!(**args)
4069
+ @name = args[:name] if args.key?(:name)
4070
+ end
4071
+ end
4072
+
3981
4073
  # The available logging options for the load balancer traffic served by this
3982
4074
  # backend service.
3983
4075
  class BackendServiceLogConfig
@@ -8149,6 +8241,12 @@ module Google
8149
8241
  # @return [Fixnum]
8150
8242
  attr_accessor :priority
8151
8243
 
8244
+ # An optional name for the rule. This field is not a unique identifier and can
8245
+ # be updated.
8246
+ # Corresponds to the JSON property `ruleName`
8247
+ # @return [String]
8248
+ attr_accessor :rule_name
8249
+
8152
8250
  # [Output Only] Calculation of the complexity of a single firewall policy rule.
8153
8251
  # Corresponds to the JSON property `ruleTupleCount`
8154
8252
  # @return [Fixnum]
@@ -8193,6 +8291,7 @@ module Google
8193
8291
  @kind = args[:kind] if args.key?(:kind)
8194
8292
  @match = args[:match] if args.key?(:match)
8195
8293
  @priority = args[:priority] if args.key?(:priority)
8294
+ @rule_name = args[:rule_name] if args.key?(:rule_name)
8196
8295
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
8197
8296
  @target_resources = args[:target_resources] if args.key?(:target_resources)
8198
8297
  @target_secure_tags = args[:target_secure_tags] if args.key?(:target_secure_tags)
@@ -34197,7 +34296,7 @@ module Google
34197
34296
  attr_accessor :enable_flow_logs
34198
34297
  alias_method :enable_flow_logs?, :enable_flow_logs
34199
34298
 
34200
- # [Output Only] The range of external IPv6 addresses that are owned by this
34299
+ # [Output Only] The external IPv6 address range that is assigned to this
34201
34300
  # subnetwork.
34202
34301
  # Corresponds to the JSON property `externalIpv6Prefix`
34203
34302
  # @return [String]
@@ -34226,9 +34325,8 @@ module Google
34226
34325
  # @return [Fixnum]
34227
34326
  attr_accessor :id
34228
34327
 
34229
- # [Output Only] The range of internal IPv6 addresses that are owned by this
34230
- # subnetwork. Note this is for general VM to VM communication, not to be
34231
- # confused with the ipv6_cidr_range field.
34328
+ # [Output Only] The internal IPv6 address range that is assigned to this
34329
+ # subnetwork.
34232
34330
  # Corresponds to the JSON property `internalIpv6Prefix`
34233
34331
  # @return [String]
34234
34332
  attr_accessor :internal_ipv6_prefix
@@ -34245,14 +34343,12 @@ module Google
34245
34343
 
34246
34344
  # The access type of IPv6 address this subnet holds. It's immutable and can only
34247
34345
  # be specified during creation or the first time the subnet is updated into
34248
- # IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot
34249
- # enable direct path.
34346
+ # IPV4_IPV6 dual stack.
34250
34347
  # Corresponds to the JSON property `ipv6AccessType`
34251
34348
  # @return [String]
34252
34349
  attr_accessor :ipv6_access_type
34253
34350
 
34254
- # [Output Only] The range of internal IPv6 addresses that are owned by this
34255
- # subnetwork. Note this will be for private google access only eventually.
34351
+ # [Output Only] This field is for internal use.
34256
34352
  # Corresponds to the JSON property `ipv6CidrRange`
34257
34353
  # @return [String]
34258
34354
  attr_accessor :ipv6_cidr_range
@@ -34293,10 +34389,8 @@ module Google
34293
34389
  attr_accessor :private_ip_google_access
34294
34390
  alias_method :private_ip_google_access?, :private_ip_google_access
34295
34391
 
34296
- # The private IPv6 google access type for the VMs in this subnet. This is an
34297
- # expanded field of enablePrivateV6Access. If both fields are set,
34298
- # privateIpv6GoogleAccess will take priority. This field can be both set at
34299
- # resource creation time and updated using patch.
34392
+ # This field is for internal use. This field can be both set at resource
34393
+ # creation time and updated using patch.
34300
34394
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
34301
34395
  # @return [String]
34302
34396
  attr_accessor :private_ipv6_google_access
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.30.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 = "20220315"
25
+ REVISION = "20220322"
26
26
  end
27
27
  end
28
28
  end
@@ -454,6 +454,24 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
456
 
457
+ class BackendServiceLocalityLoadBalancingPolicyConfig
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
457
475
  class BackendServiceLogConfig
458
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
477
 
@@ -6161,6 +6179,8 @@ module Google
6161
6179
  property :id, :numeric_string => true, as: 'id'
6162
6180
  property :kind, as: 'kind'
6163
6181
  property :load_balancing_scheme, as: 'loadBalancingScheme'
6182
+ collection :locality_lb_policies, as: 'localityLbPolicies', class: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfig, decorator: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfig::Representation
6183
+
6164
6184
  property :locality_lb_policy, as: 'localityLbPolicy'
6165
6185
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::BackendServiceLogConfig, decorator: Google::Apis::ComputeV1::BackendServiceLogConfig::Representation
6166
6186
 
@@ -6325,6 +6345,31 @@ module Google
6325
6345
  end
6326
6346
  end
6327
6347
 
6348
+ class BackendServiceLocalityLoadBalancingPolicyConfig
6349
+ # @private
6350
+ class Representation < Google::Apis::Core::JsonRepresentation
6351
+ property :custom_policy, as: 'customPolicy', class: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, decorator: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy::Representation
6352
+
6353
+ property :policy, as: 'policy', class: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigPolicy, decorator: Google::Apis::ComputeV1::BackendServiceLocalityLoadBalancingPolicyConfigPolicy::Representation
6354
+
6355
+ end
6356
+ end
6357
+
6358
+ class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
6359
+ # @private
6360
+ class Representation < Google::Apis::Core::JsonRepresentation
6361
+ property :data, as: 'data'
6362
+ property :name, as: 'name'
6363
+ end
6364
+ end
6365
+
6366
+ class BackendServiceLocalityLoadBalancingPolicyConfigPolicy
6367
+ # @private
6368
+ class Representation < Google::Apis::Core::JsonRepresentation
6369
+ property :name, as: 'name'
6370
+ end
6371
+ end
6372
+
6328
6373
  class BackendServiceLogConfig
6329
6374
  # @private
6330
6375
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7305,6 +7350,7 @@ module Google
7305
7350
  property :match, as: 'match', class: Google::Apis::ComputeV1::FirewallPolicyRuleMatcher, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleMatcher::Representation
7306
7351
 
7307
7352
  property :priority, as: 'priority'
7353
+ property :rule_name, as: 'ruleName'
7308
7354
  property :rule_tuple_count, as: 'ruleTupleCount'
7309
7355
  collection :target_resources, as: 'targetResources'
7310
7356
  collection :target_secure_tags, as: 'targetSecureTags', class: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.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-03-28 00:00:00.000000000 Z
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.31.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
63
  post_install_message:
64
64
  rdoc_options: []