google-apis-compute_beta 0.101.0 → 0.103.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: ba4141699f7c843ed26df2e7ecb1466ca00bdceef2fc756a9fa8313889b37e86
4
- data.tar.gz: 02c2cdbe147c3fa4a440346a2dd6434c2081b8905c03e5315a951cdb5f81f146
3
+ metadata.gz: cb20b2a9a08904f6ad39ec406cf7d55226c17b5d8951be1567e535a0d4b178d7
4
+ data.tar.gz: 1e1980850eaac250a057daeb6cc8e22c64530d6552a7a7eeab22e8be824d75b3
5
5
  SHA512:
6
- metadata.gz: e949de14639933096633a41d725fe3a5206f262e72bc5b1300067a1218dd2cd939cea32f185f913996dc85fb54cdfe4bbc9796801417df1befc3c94d237236ec
7
- data.tar.gz: 2a84b991e7f0a62a6ade8f05bf52ab003ffa302e9b2cfd97b95e9fb8bd30086493d65e2b44e24931e5b2019b294ccb6d098d12a7a60812bdb8f250c676826b8f
6
+ metadata.gz: 9f63ea7c0a2da27b2fbfd207c0d802cfdfc27ebbee1a0c1ddee0832e1ecef25031e912699fe5deebbe41139392656db74cd1f9348a595a82ba1920867ac1e69f
7
+ data.tar.gz: 4ce842aabec2c2865c2d72e52e3fa49299326e03c1dd88bf244903b59823438462b426ebe9ea323e395cd85df4c77855d27c8c761a2dbb296f2111244e7f7ea3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.103.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240526
6
+
7
+ ### v0.102.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240519
10
+
3
11
  ### v0.101.0 (2024-05-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20240507
@@ -1507,8 +1507,10 @@ module Google
1507
1507
  # the disk or when you attach the disk to a virtual machine instance. If you do
1508
1508
  # not provide an encryption key, then the disk will be encrypted using an
1509
1509
  # automatically generated key and you do not need to provide a key to use the
1510
- # disk later. Instance templates do not store customer-supplied encryption keys,
1511
- # so you cannot use your own keys to encrypt disks in a managed instance group.
1510
+ # disk later. Note: Instance templates do not store customer-supplied encryption
1511
+ # keys, so you cannot use your own keys to encrypt disks in a managed instance
1512
+ # group. You cannot create VMs that have disks with customer-supplied keys using
1513
+ # the bulk insert method.
1512
1514
  # Corresponds to the JSON property `diskEncryptionKey`
1513
1515
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1514
1516
  attr_accessor :disk_encryption_key
@@ -1601,12 +1603,11 @@ module Google
1601
1603
  attr_accessor :shielded_instance_initial_state
1602
1604
 
1603
1605
  # Specifies a valid partial or full URL to an existing Persistent Disk resource.
1604
- # When creating a new instance, one of initializeParams.sourceImage or
1605
- # initializeParams.sourceSnapshot or disks.source is required except for local
1606
- # SSD. If desired, you can also attach existing non-root persistent disks using
1607
- # this property. This field is only applicable for persistent disks. Note that
1608
- # for InstanceTemplate, specify the disk name for zonal disk, and the URL for
1609
- # regional disk.
1606
+ # When creating a new instance boot disk, one of initializeParams.sourceImage or
1607
+ # initializeParams.sourceSnapshot or disks.source is required. If desired, you
1608
+ # can also attach existing non-root persistent disks using this property. This
1609
+ # field is only applicable for persistent disks. Note that for InstanceTemplate,
1610
+ # specify the disk name for zonal disk, and the URL for regional disk.
1610
1611
  # Corresponds to the JSON property `source`
1611
1612
  # @return [String]
1612
1613
  attr_accessor :source
@@ -1777,19 +1778,19 @@ module Google
1777
1778
  # @return [Array<String>]
1778
1779
  attr_accessor :resource_policies
1779
1780
 
1780
- # The source image to create this disk. When creating a new instance, one of
1781
- # initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.
1782
- # source is required except for local SSD. To create a disk with one of the
1783
- # public operating system images, specify the image by its family name. For
1784
- # example, specify family/debian-9 to use the latest Debian 9 image: projects/
1785
- # debian-cloud/global/images/family/debian-9 Alternatively, use a specific
1786
- # version of a public operating system image: projects/debian-cloud/global/
1787
- # images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that
1788
- # you created, specify the image name in the following format: global/images/my-
1789
- # custom-image You can also specify a custom image by its image family, which
1790
- # returns the latest version of the image in that family. Replace the image name
1791
- # with family/family-name: global/images/family/my-image-family If the source
1792
- # image is deleted later, this field will not be set.
1781
+ # The source image to create this disk. When creating a new instance boot disk,
1782
+ # one of initializeParams.sourceImage or initializeParams.sourceSnapshot or
1783
+ # disks.source is required. To create a disk with one of the public operating
1784
+ # system images, specify the image by its family name. For example, specify
1785
+ # family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/
1786
+ # images/family/debian-9 Alternatively, use a specific version of a public
1787
+ # operating system image: projects/debian-cloud/global/images/debian-9-stretch-
1788
+ # vYYYYMMDD To create a disk with a custom image that you created, specify the
1789
+ # image name in the following format: global/images/my-custom-image You can also
1790
+ # specify a custom image by its image family, which returns the latest version
1791
+ # of the image in that family. Replace the image name with family/family-name:
1792
+ # global/images/family/my-image-family If the source image is deleted later,
1793
+ # this field will not be set.
1793
1794
  # Corresponds to the JSON property `sourceImage`
1794
1795
  # @return [String]
1795
1796
  attr_accessor :source_image
@@ -1803,23 +1804,21 @@ module Google
1803
1804
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1804
1805
  attr_accessor :source_image_encryption_key
1805
1806
 
1806
- # The source instant-snapshot to create this disk. When creating a new instance,
1807
- # one of initializeParams.sourceSnapshot or initializeParams.
1808
- # sourceInstantSnapshot initializeParams.sourceImage or disks.source is required
1809
- # except for local SSD. To create a disk with a snapshot that you created,
1810
- # specify the snapshot name in the following format: us-central1-a/
1811
- # instantSnapshots/my-backup If the source instant-snapshot is deleted later,
1812
- # this field will not be set.
1807
+ # The source instant-snapshot to create this disk. When creating a new instance
1808
+ # boot disk, one of initializeParams.sourceSnapshot or initializeParams.
1809
+ # sourceInstantSnapshot initializeParams.sourceImage or disks.source is required.
1810
+ # To create a disk with a snapshot that you created, specify the snapshot name
1811
+ # in the following format: us-central1-a/instantSnapshots/my-backup If the
1812
+ # source instant-snapshot is deleted later, this field will not be set.
1813
1813
  # Corresponds to the JSON property `sourceInstantSnapshot`
1814
1814
  # @return [String]
1815
1815
  attr_accessor :source_instant_snapshot
1816
1816
 
1817
- # The source snapshot to create this disk. When creating a new instance, one of
1818
- # initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
1819
- # source is required except for local SSD. To create a disk with a snapshot that
1820
- # you created, specify the snapshot name in the following format: global/
1821
- # snapshots/my-backup If the source snapshot is deleted later, this field will
1822
- # not be set.
1817
+ # The source snapshot to create this disk. When creating a new instance boot
1818
+ # disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage
1819
+ # or disks.source is required. To create a disk with a snapshot that you created,
1820
+ # specify the snapshot name in the following format: global/snapshots/my-backup
1821
+ # If the source snapshot is deleted later, this field will not be set.
1823
1822
  # Corresponds to the JSON property `sourceSnapshot`
1824
1823
  # @return [String]
1825
1824
  attr_accessor :source_snapshot
@@ -6647,6 +6646,16 @@ module Google
6647
6646
  class Disk
6648
6647
  include Google::Apis::Core::Hashable
6649
6648
 
6649
+ # The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode,
6650
+ # means the disk can be attached to single instance in RW mode. -
6651
+ # READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple
6652
+ # instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be
6653
+ # attached to multiple instances in RO mode. The AccessMode is only valid for
6654
+ # Hyperdisk disk types.
6655
+ # Corresponds to the JSON property `accessMode`
6656
+ # @return [String]
6657
+ attr_accessor :access_mode
6658
+
6650
6659
  # The architecture of the disk. Valid values are ARM64 or X86_64.
6651
6660
  # Corresponds to the JSON property `architecture`
6652
6661
  # @return [String]
@@ -7056,6 +7065,7 @@ module Google
7056
7065
 
7057
7066
  # Update properties of this object
7058
7067
  def update!(**args)
7068
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
7059
7069
  @architecture = args[:architecture] if args.key?(:architecture)
7060
7070
  @async_primary_disk = args[:async_primary_disk] if args.key?(:async_primary_disk)
7061
7071
  @async_secondary_disks = args[:async_secondary_disks] if args.key?(:async_secondary_disks)
@@ -15963,6 +15973,18 @@ module Google
15963
15973
  # @return [String]
15964
15974
  attr_accessor :region
15965
15975
 
15976
+ # [Output Only] Reserved for future use.
15977
+ # Corresponds to the JSON property `satisfiesPzi`
15978
+ # @return [Boolean]
15979
+ attr_accessor :satisfies_pzi
15980
+ alias_method :satisfies_pzi?, :satisfies_pzi
15981
+
15982
+ # [Output Only] Reserved for future use.
15983
+ # Corresponds to the JSON property `satisfiesPzs`
15984
+ # @return [Boolean]
15985
+ attr_accessor :satisfies_pzs
15986
+ alias_method :satisfies_pzs?, :satisfies_pzs
15987
+
15966
15988
  # [Output Only] The URL for this managed instance group. The server defines this
15967
15989
  # URL.
15968
15990
  # Corresponds to the JSON property `selfLink`
@@ -16070,6 +16092,8 @@ module Google
16070
16092
  @named_ports = args[:named_ports] if args.key?(:named_ports)
16071
16093
  @params = args[:params] if args.key?(:params)
16072
16094
  @region = args[:region] if args.key?(:region)
16095
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
16096
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
16073
16097
  @self_link = args[:self_link] if args.key?(:self_link)
16074
16098
  @service_account = args[:service_account] if args.key?(:service_account)
16075
16099
  @standby_policy = args[:standby_policy] if args.key?(:standby_policy)
@@ -16390,6 +16414,12 @@ module Google
16390
16414
  # @return [Hash<String,Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
16391
16415
  attr_accessor :instance_selections
16392
16416
 
16417
+ # Provisioning model configuration used by this managed instance group to create
16418
+ # instances.
16419
+ # Corresponds to the JSON property `provisioningModelMix`
16420
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix]
16421
+ attr_accessor :provisioning_model_mix
16422
+
16393
16423
  def initialize(**args)
16394
16424
  update!(**args)
16395
16425
  end
@@ -16398,6 +16428,7 @@ module Google
16398
16428
  def update!(**args)
16399
16429
  @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists)
16400
16430
  @instance_selections = args[:instance_selections] if args.key?(:instance_selections)
16431
+ @provisioning_model_mix = args[:provisioning_model_mix] if args.key?(:provisioning_model_mix)
16401
16432
  end
16402
16433
  end
16403
16434
 
@@ -16429,6 +16460,36 @@ module Google
16429
16460
  end
16430
16461
  end
16431
16462
 
16463
+ #
16464
+ class InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix
16465
+ include Google::Apis::Core::Hashable
16466
+
16467
+ # The base capacity that will always use Standard VMs to avoid risk of more
16468
+ # preemption than the minimum capacity user needs. MIG will create only Standard
16469
+ # VMs until it reaches standard_capacity_base and only then will start using
16470
+ # standard_capacity_percent_above_base to mix Spot with Standard VMs.
16471
+ # Corresponds to the JSON property `standardCapacityBase`
16472
+ # @return [Fixnum]
16473
+ attr_accessor :standard_capacity_base
16474
+
16475
+ # The percentage of target capacity that should use Standard VM. The remaining
16476
+ # percentage will use Spot VMs. The percentage applies only to the capacity
16477
+ # above standard_capacity_base.
16478
+ # Corresponds to the JSON property `standardCapacityPercentAboveBase`
16479
+ # @return [Fixnum]
16480
+ attr_accessor :standard_capacity_percent_above_base
16481
+
16482
+ def initialize(**args)
16483
+ update!(**args)
16484
+ end
16485
+
16486
+ # Update properties of this object
16487
+ def update!(**args)
16488
+ @standard_capacity_base = args[:standard_capacity_base] if args.key?(:standard_capacity_base)
16489
+ @standard_capacity_percent_above_base = args[:standard_capacity_percent_above_base] if args.key?(:standard_capacity_percent_above_base)
16490
+ end
16491
+ end
16492
+
16432
16493
  #
16433
16494
  class InstanceGroupManagerInstanceLifecyclePolicy
16434
16495
  include Google::Apis::Core::Hashable
@@ -18829,6 +18890,9 @@ module Google
18829
18890
  attr_accessor :labels
18830
18891
 
18831
18892
  # The machine type to use for instances that are created from these properties.
18893
+ # This field only accept machine types name. e.g. n2-standard-4 and does not
18894
+ # accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/
18895
+ # us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR.
18832
18896
  # Corresponds to the JSON property `machineType`
18833
18897
  # @return [String]
18834
18898
  attr_accessor :machine_type
@@ -24608,6 +24672,11 @@ module Google
24608
24672
  # @return [String]
24609
24673
  attr_accessor :machine_type
24610
24674
 
24675
+ # The provisioning model to be used for this instance.
24676
+ # Corresponds to the JSON property `provisioningModel`
24677
+ # @return [String]
24678
+ attr_accessor :provisioning_model
24679
+
24611
24680
  def initialize(**args)
24612
24681
  update!(**args)
24613
24682
  end
@@ -24615,6 +24684,7 @@ module Google
24615
24684
  # Update properties of this object
24616
24685
  def update!(**args)
24617
24686
  @machine_type = args[:machine_type] if args.key?(:machine_type)
24687
+ @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
24618
24688
  end
24619
24689
  end
24620
24690
 
@@ -52645,7 +52715,7 @@ module Google
52645
52715
  end
52646
52716
 
52647
52717
  # Represents a Zone resource. A zone is a deployment area. These deployment
52648
- # areas are subsets of a region. For example the zone us-east1-a is located in
52718
+ # areas are subsets of a region. For example the zone us-east1-b is located in
52649
52719
  # the us-east1 region. For more information, read Regions and Zones.
52650
52720
  class Zone
52651
52721
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.101.0"
19
+ GEM_VERSION = "0.103.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240507"
25
+ REVISION = "20240526"
26
26
  end
27
27
  end
28
28
  end
@@ -1858,6 +1858,12 @@ module Google
1858
1858
  include Google::Apis::Core::JsonObjectSupport
1859
1859
  end
1860
1860
 
1861
+ class InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix
1862
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1863
+
1864
+ include Google::Apis::Core::JsonObjectSupport
1865
+ end
1866
+
1861
1867
  class InstanceGroupManagerInstanceLifecyclePolicy
1862
1868
  class Representation < Google::Apis::Core::JsonRepresentation; end
1863
1869
 
@@ -8438,6 +8444,7 @@ module Google
8438
8444
  class Disk
8439
8445
  # @private
8440
8446
  class Representation < Google::Apis::Core::JsonRepresentation
8447
+ property :access_mode, as: 'accessMode'
8441
8448
  property :architecture, as: 'architecture'
8442
8449
  property :async_primary_disk, as: 'asyncPrimaryDisk', class: Google::Apis::ComputeBeta::DiskAsyncReplication, decorator: Google::Apis::ComputeBeta::DiskAsyncReplication::Representation
8443
8450
 
@@ -10558,6 +10565,8 @@ module Google
10558
10565
  property :params, as: 'params', class: Google::Apis::ComputeBeta::InstanceGroupManagerParams, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerParams::Representation
10559
10566
 
10560
10567
  property :region, as: 'region'
10568
+ property :satisfies_pzi, as: 'satisfiesPzi'
10569
+ property :satisfies_pzs, as: 'satisfiesPzs'
10561
10570
  property :self_link, as: 'selfLink'
10562
10571
  property :service_account, as: 'serviceAccount'
10563
10572
  property :standby_policy, as: 'standbyPolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerStandbyPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStandbyPolicy::Representation
@@ -10653,6 +10662,8 @@ module Google
10653
10662
 
10654
10663
  hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
10655
10664
 
10665
+ property :provisioning_model_mix, as: 'provisioningModelMix', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix::Representation
10666
+
10656
10667
  end
10657
10668
  end
10658
10669
 
@@ -10664,6 +10675,14 @@ module Google
10664
10675
  end
10665
10676
  end
10666
10677
 
10678
+ class InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix
10679
+ # @private
10680
+ class Representation < Google::Apis::Core::JsonRepresentation
10681
+ property :standard_capacity_base, as: 'standardCapacityBase'
10682
+ property :standard_capacity_percent_above_base, as: 'standardCapacityPercentAboveBase'
10683
+ end
10684
+ end
10685
+
10667
10686
  class InstanceGroupManagerInstanceLifecyclePolicy
10668
10687
  # @private
10669
10688
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12810,6 +12829,7 @@ module Google
12810
12829
  # @private
12811
12830
  class Representation < Google::Apis::Core::JsonRepresentation
12812
12831
  property :machine_type, as: 'machineType'
12832
+ property :provisioning_model, as: 'provisioningModel'
12813
12833
  end
12814
12834
  end
12815
12835
 
@@ -21800,8 +21800,8 @@ module Google
21800
21800
  execute_or_queue_command(command, &block)
21801
21801
  end
21802
21802
 
21803
- # Patches the specified network with the data included in the request. Only the
21804
- # following fields can be modified: routingConfig.routingMode.
21803
+ # Patches the specified network with the data included in the request. Only
21804
+ # routingConfig can be modified.
21805
21805
  # @param [String] project
21806
21806
  # Project ID for this request.
21807
21807
  # @param [String] network
@@ -37059,7 +37059,13 @@ module Google
37059
37059
  # To exclude one or more fields, set your request's `fields` query parameter to
37060
37060
  # only include the fields you need. For example, to only include the `id` and `
37061
37061
  # selfLink` fields, add the query parameter `?fields=id,selfLink` to your
37062
- # request.
37062
+ # request. This method fails if the quota information is unavailable for the
37063
+ # region and if the organization policy constraint compute.
37064
+ # requireBasicQuotaInResponse is enforced. This constraint, when enforced,
37065
+ # disables the fail-open behaviour when quota information (the `items.quotas`
37066
+ # field) is unavailable for the region. It is recommended to use the default
37067
+ # setting for the constraint unless your application requires the fail-closed
37068
+ # behaviour for this method.
37063
37069
  # @param [String] project
37064
37070
  # Project ID for this request.
37065
37071
  # @param [String] filter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.101.0
4
+ version: 0.103.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: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-06-02 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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.101.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.103.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []