google-apis-compute_alpha 0.36.0 → 0.37.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: 7e83b220a31860cb869f0897b403f05aed787798e6aab1e7943133bb08d3f4f9
4
- data.tar.gz: 0bc2de067861220d70d10bd73be5c27a0a51886702c4ac38239480eafc521b9c
3
+ metadata.gz: 39611c94e21b8d055f7fbb53f8d77be42afb8a57f3711d78463c7d10909bbe39
4
+ data.tar.gz: 5ab6cf86e01423a6a7bc10fdb1cb917af9bd9d43c52c9d80de7c61cef00cbcfb
5
5
  SHA512:
6
- metadata.gz: fd44cc36176791c3748979ca88a0cf2e67f9b58cedb0bb0cf92b3535548eb687d98a4940acbb01eb80e01eda30c07108350994cdd9b9386c586c15716820b2e7
7
- data.tar.gz: a7102c11d200624a43d851f2e354472abeb57b8b4f1847481f9e4f41110c48b5da476e3e9ea579869d2c0432639a83659f75d7762b3eec5411eec55d44d97b75
6
+ metadata.gz: eccb2a6da84d48b41fac4587c0f381e64d542f53febf1cc3b8753c17552657ffabbc5c3bd9838284f125be9384df34a2b36898345ffb4446f4e00891e24e74e7
7
+ data.tar.gz: 1604f2c8477b8a7dd4afb2ffa37271864f1ea6e78d91ce9e065ebcd81fd0380db5b321ddb677869033b5e80c2309c7e02628b20d3582d0f3538ef38fc1520af4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.37.0 (2022-06-10)
4
+
5
+ * Regenerated from discovery document revision 20220531
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.36.0 (2022-05-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20220517
@@ -1265,7 +1265,7 @@ module Google
1265
1265
  end
1266
1266
 
1267
1267
  # This reservation type allows to pre allocate specific instance configuration.
1268
- # Next ID: 5
1268
+ # Next ID: 6
1269
1269
  class AllocationSpecificSkuReservation
1270
1270
  include Google::Apis::Core::Hashable
1271
1271
 
@@ -3636,6 +3636,17 @@ module Google
3636
3636
  # @return [Fixnum]
3637
3637
  attr_accessor :timeout_sec
3638
3638
 
3639
+ # The network scope of the backends that can be added to the backend service.
3640
+ # This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend
3641
+ # service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have
3642
+ # backends in global VPC networks. When the VPC scope is set to
3643
+ # REGIONAL_VPC_NETWORK the backend service is only allowed to have backends in
3644
+ # regional networks in the same scope as the backend service. Note: if not
3645
+ # specified then GLOBAL_VPC_NETWORK will be used.
3646
+ # Corresponds to the JSON property `vpcNetworkScope`
3647
+ # @return [String]
3648
+ attr_accessor :vpc_network_scope
3649
+
3639
3650
  def initialize(**args)
3640
3651
  update!(**args)
3641
3652
  end
@@ -3683,6 +3694,7 @@ module Google
3683
3694
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
3684
3695
  @subsetting = args[:subsetting] if args.key?(:subsetting)
3685
3696
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
3697
+ @vpc_network_scope = args[:vpc_network_scope] if args.key?(:vpc_network_scope)
3686
3698
  end
3687
3699
  end
3688
3700
 
@@ -4469,7 +4481,7 @@ module Google
4469
4481
  # service. The value of the field must be in [0, 1]. This configures the
4470
4482
  # sampling rate of requests to the load balancer where 1.0 means all logged
4471
4483
  # requests are reported and 0.0 means no logged requests are reported. The
4472
- # default value is 1.0.
4484
+ # default value is 0.0.
4473
4485
  # Corresponds to the JSON property `sampleRate`
4474
4486
  # @return [Float]
4475
4487
  attr_accessor :sample_rate
@@ -11444,9 +11456,9 @@ module Google
11444
11456
  # @return [Fixnum]
11445
11457
  attr_accessor :timeout_sec
11446
11458
 
11447
- # Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
11448
- # Exactly one of the protocol-specific health check field must be specified,
11449
- # which must match type field.
11459
+ # Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or
11460
+ # GRPC. Exactly one of the protocol-specific health check fields must be
11461
+ # specified, which must match type field.
11450
11462
  # Corresponds to the JSON property `type`
11451
11463
  # @return [String]
11452
11464
  attr_accessor :type
@@ -15316,8 +15328,8 @@ module Google
15316
15328
  # @return [String]
15317
15329
  attr_accessor :kind
15318
15330
 
15319
- # Pagination behavior of listManagedInstances API method for this Managed
15320
- # Instance Group.
15331
+ # Pagination behavior of the listManagedInstances API method for this managed
15332
+ # instance group.
15321
15333
  # Corresponds to the JSON property `listManagedInstancesResults`
15322
15334
  # @return [String]
15323
15335
  attr_accessor :list_managed_instances_results
@@ -32844,7 +32856,7 @@ module Google
32844
32856
  attr_accessor :share_settings
32845
32857
 
32846
32858
  # This reservation type allows to pre allocate specific instance configuration.
32847
- # Next ID: 5
32859
+ # Next ID: 6
32848
32860
  # Corresponds to the JSON property `specificReservation`
32849
32861
  # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation]
32850
32862
  attr_accessor :specific_reservation
@@ -33447,6 +33459,11 @@ module Google
33447
33459
  # @return [String]
33448
33460
  attr_accessor :description
33449
33461
 
33462
+ # Resource policy for disk consistency groups.
33463
+ # Corresponds to the JSON property `diskConsistencyGroupPolicy`
33464
+ # @return [Google::Apis::ComputeAlpha::ResourcePolicyDiskConsistencyGroupPolicy]
33465
+ attr_accessor :disk_consistency_group_policy
33466
+
33450
33467
  # A GroupPlacementPolicy specifies resource placement configuration. It
33451
33468
  # specifies the failure bucket separation as well as network locality
33452
33469
  # Corresponds to the JSON property `groupPlacementPolicy`
@@ -33529,6 +33546,7 @@ module Google
33529
33546
  def update!(**args)
33530
33547
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
33531
33548
  @description = args[:description] if args.key?(:description)
33549
+ @disk_consistency_group_policy = args[:disk_consistency_group_policy] if args.key?(:disk_consistency_group_policy)
33532
33550
  @group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
33533
33551
  @id = args[:id] if args.key?(:id)
33534
33552
  @instance_schedule_policy = args[:instance_schedule_policy] if args.key?(:instance_schedule_policy)
@@ -33708,6 +33726,19 @@ module Google
33708
33726
  end
33709
33727
  end
33710
33728
 
33729
+ # Resource policy for disk consistency groups.
33730
+ class ResourcePolicyDiskConsistencyGroupPolicy
33731
+ include Google::Apis::Core::Hashable
33732
+
33733
+ def initialize(**args)
33734
+ update!(**args)
33735
+ end
33736
+
33737
+ # Update properties of this object
33738
+ def update!(**args)
33739
+ end
33740
+ end
33741
+
33711
33742
  # A GroupPlacementPolicy specifies resource placement configuration. It
33712
33743
  # specifies the failure bucket separation as well as network locality
33713
33744
  class ResourcePolicyGroupPlacementPolicy
@@ -41243,16 +41274,6 @@ module Google
41243
41274
  # @return [String]
41244
41275
  attr_accessor :private_ipv6_google_access
41245
41276
 
41246
- # Deprecated in favor of enable PrivateIpv6GoogleAccess on instance directly.
41247
- # The service accounts can be used to selectively turn on Private IPv6 Google
41248
- # Access only on the VMs primary service account matching the value. This value
41249
- # only takes effect when PrivateIpv6GoogleAccess is
41250
- # ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE_FOR_SERVICE_ACCOUNTS or
41251
- # ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE_FOR_SERVICE_ACCOUNTS.
41252
- # Corresponds to the JSON property `privateIpv6GoogleAccessServiceAccounts`
41253
- # @return [Array<String>]
41254
- attr_accessor :private_ipv6_google_access_service_accounts
41255
-
41256
41277
  # The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
41257
41278
  # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
41258
41279
  # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
@@ -41357,7 +41378,6 @@ module Google
41357
41378
  @network = args[:network] if args.key?(:network)
41358
41379
  @private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
41359
41380
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
41360
- @private_ipv6_google_access_service_accounts = args[:private_ipv6_google_access_service_accounts] if args.key?(:private_ipv6_google_access_service_accounts)
41361
41381
  @purpose = args[:purpose] if args.key?(:purpose)
41362
41382
  @region = args[:region] if args.key?(:region)
41363
41383
  @reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
@@ -46399,21 +46419,68 @@ module Google
46399
46419
  class UsableSubnetwork
46400
46420
  include Google::Apis::Core::Hashable
46401
46421
 
46422
+ # [Output Only] The external IPv6 address range that is assigned to this
46423
+ # subnetwork.
46424
+ # Corresponds to the JSON property `externalIpv6Prefix`
46425
+ # @return [String]
46426
+ attr_accessor :external_ipv6_prefix
46427
+
46428
+ # [Output Only] The internal IPv6 address range that is assigned to this
46429
+ # subnetwork.
46430
+ # Corresponds to the JSON property `internalIpv6Prefix`
46431
+ # @return [String]
46432
+ attr_accessor :internal_ipv6_prefix
46433
+
46402
46434
  # The range of internal addresses that are owned by this subnetwork.
46403
46435
  # Corresponds to the JSON property `ipCidrRange`
46404
46436
  # @return [String]
46405
46437
  attr_accessor :ip_cidr_range
46406
46438
 
46439
+ # The access type of IPv6 address this subnet holds. It's immutable and can only
46440
+ # be specified during creation or the first time the subnet is updated into
46441
+ # IPV4_IPV6 dual stack.
46442
+ # Corresponds to the JSON property `ipv6AccessType`
46443
+ # @return [String]
46444
+ attr_accessor :ipv6_access_type
46445
+
46407
46446
  # Network URL.
46408
46447
  # Corresponds to the JSON property `network`
46409
46448
  # @return [String]
46410
46449
  attr_accessor :network
46411
46450
 
46451
+ # The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
46452
+ # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
46453
+ # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
46454
+ # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
46455
+ # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
46456
+ # field set to INTERNAL_HTTPS_LOAD_BALANCER.
46457
+ # Corresponds to the JSON property `purpose`
46458
+ # @return [String]
46459
+ attr_accessor :purpose
46460
+
46461
+ # The role of subnetwork. Currently, this field is only used when purpose =
46462
+ # INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
46463
+ # ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
46464
+ # Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
46465
+ # ACTIVE or is currently draining. This field can be updated with a patch
46466
+ # request.
46467
+ # Corresponds to the JSON property `role`
46468
+ # @return [String]
46469
+ attr_accessor :role
46470
+
46412
46471
  # Secondary IP ranges.
46413
46472
  # Corresponds to the JSON property `secondaryIpRanges`
46414
46473
  # @return [Array<Google::Apis::ComputeAlpha::UsableSubnetworkSecondaryRange>]
46415
46474
  attr_accessor :secondary_ip_ranges
46416
46475
 
46476
+ # The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
46477
+ # assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
46478
+ # be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
46479
+ # This field can be both set at resource creation time and updated using patch.
46480
+ # Corresponds to the JSON property `stackType`
46481
+ # @return [String]
46482
+ attr_accessor :stack_type
46483
+
46417
46484
  # Subnetwork URL.
46418
46485
  # Corresponds to the JSON property `subnetwork`
46419
46486
  # @return [String]
@@ -46425,9 +46492,15 @@ module Google
46425
46492
 
46426
46493
  # Update properties of this object
46427
46494
  def update!(**args)
46495
+ @external_ipv6_prefix = args[:external_ipv6_prefix] if args.key?(:external_ipv6_prefix)
46496
+ @internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
46428
46497
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
46498
+ @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
46429
46499
  @network = args[:network] if args.key?(:network)
46500
+ @purpose = args[:purpose] if args.key?(:purpose)
46501
+ @role = args[:role] if args.key?(:role)
46430
46502
  @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
46503
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
46431
46504
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
46432
46505
  end
46433
46506
  end
@@ -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.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220517"
25
+ REVISION = "20220531"
26
26
  end
27
27
  end
28
28
  end
@@ -4408,6 +4408,12 @@ module Google
4408
4408
  include Google::Apis::Core::JsonObjectSupport
4409
4409
  end
4410
4410
 
4411
+ class ResourcePolicyDiskConsistencyGroupPolicy
4412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4413
+
4414
+ include Google::Apis::Core::JsonObjectSupport
4415
+ end
4416
+
4411
4417
  class ResourcePolicyGroupPlacementPolicy
4412
4418
  class Representation < Google::Apis::Core::JsonRepresentation; end
4413
4419
 
@@ -7207,6 +7213,7 @@ module Google
7207
7213
  property :subsetting, as: 'subsetting', class: Google::Apis::ComputeAlpha::Subsetting, decorator: Google::Apis::ComputeAlpha::Subsetting::Representation
7208
7214
 
7209
7215
  property :timeout_sec, as: 'timeoutSec'
7216
+ property :vpc_network_scope, as: 'vpcNetworkScope'
7210
7217
  end
7211
7218
  end
7212
7219
 
@@ -14613,6 +14620,8 @@ module Google
14613
14620
  class Representation < Google::Apis::Core::JsonRepresentation
14614
14621
  property :creation_timestamp, as: 'creationTimestamp'
14615
14622
  property :description, as: 'description'
14623
+ property :disk_consistency_group_policy, as: 'diskConsistencyGroupPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyDiskConsistencyGroupPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyDiskConsistencyGroupPolicy::Representation
14624
+
14616
14625
  property :group_placement_policy, as: 'groupPlacementPolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyGroupPlacementPolicy::Representation
14617
14626
 
14618
14627
  property :id, :numeric_string => true, as: 'id'
@@ -14676,6 +14685,12 @@ module Google
14676
14685
  end
14677
14686
  end
14678
14687
 
14688
+ class ResourcePolicyDiskConsistencyGroupPolicy
14689
+ # @private
14690
+ class Representation < Google::Apis::Core::JsonRepresentation
14691
+ end
14692
+ end
14693
+
14679
14694
  class ResourcePolicyGroupPlacementPolicy
14680
14695
  # @private
14681
14696
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -16539,7 +16554,6 @@ module Google
16539
16554
  property :network, as: 'network'
16540
16555
  property :private_ip_google_access, as: 'privateIpGoogleAccess'
16541
16556
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
16542
- collection :private_ipv6_google_access_service_accounts, as: 'privateIpv6GoogleAccessServiceAccounts'
16543
16557
  property :purpose, as: 'purpose'
16544
16558
  property :region, as: 'region'
16545
16559
  property :reserved_internal_range, as: 'reservedInternalRange'
@@ -17827,10 +17841,16 @@ module Google
17827
17841
  class UsableSubnetwork
17828
17842
  # @private
17829
17843
  class Representation < Google::Apis::Core::JsonRepresentation
17844
+ property :external_ipv6_prefix, as: 'externalIpv6Prefix'
17845
+ property :internal_ipv6_prefix, as: 'internalIpv6Prefix'
17830
17846
  property :ip_cidr_range, as: 'ipCidrRange'
17847
+ property :ipv6_access_type, as: 'ipv6AccessType'
17831
17848
  property :network, as: 'network'
17849
+ property :purpose, as: 'purpose'
17850
+ property :role, as: 'role'
17832
17851
  collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeAlpha::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ComputeAlpha::UsableSubnetworkSecondaryRange::Representation
17833
17852
 
17853
+ property :stack_type, as: 'stackType'
17834
17854
  property :subnetwork, as: 'subnetwork'
17835
17855
  end
17836
17856
  end