google-apis-compute_beta 0.102.0 → 0.103.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: cb20b2a9a08904f6ad39ec406cf7d55226c17b5d8951be1567e535a0d4b178d7
|
4
|
+
data.tar.gz: 1e1980850eaac250a057daeb6cc8e22c64530d6552a7a7eeab22e8be824d75b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f63ea7c0a2da27b2fbfd207c0d802cfdfc27ebbee1a0c1ddee0832e1ecef25031e912699fe5deebbe41139392656db74cd1f9348a595a82ba1920867ac1e69f
|
7
|
+
data.tar.gz: 4ce842aabec2c2865c2d72e52e3fa49299326e03c1dd88bf244903b59823438462b426ebe9ea323e395cd85df4c77855d27c8c761a2dbb296f2111244e7f7ea3
|
data/CHANGELOG.md
CHANGED
@@ -1603,12 +1603,11 @@ module Google
|
|
1603
1603
|
attr_accessor :shielded_instance_initial_state
|
1604
1604
|
|
1605
1605
|
# Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
1606
|
-
# When creating a new instance, one of initializeParams.sourceImage or
|
1607
|
-
# initializeParams.sourceSnapshot or disks.source is required
|
1608
|
-
#
|
1609
|
-
#
|
1610
|
-
#
|
1611
|
-
# 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.
|
1612
1611
|
# Corresponds to the JSON property `source`
|
1613
1612
|
# @return [String]
|
1614
1613
|
attr_accessor :source
|
@@ -1779,19 +1778,19 @@ module Google
|
|
1779
1778
|
# @return [Array<String>]
|
1780
1779
|
attr_accessor :resource_policies
|
1781
1780
|
|
1782
|
-
# The source image to create this disk. When creating a new instance
|
1783
|
-
# initializeParams.sourceImage or initializeParams.sourceSnapshot or
|
1784
|
-
# source is required
|
1785
|
-
#
|
1786
|
-
#
|
1787
|
-
#
|
1788
|
-
#
|
1789
|
-
#
|
1790
|
-
#
|
1791
|
-
#
|
1792
|
-
#
|
1793
|
-
#
|
1794
|
-
#
|
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.
|
1795
1794
|
# Corresponds to the JSON property `sourceImage`
|
1796
1795
|
# @return [String]
|
1797
1796
|
attr_accessor :source_image
|
@@ -1805,23 +1804,21 @@ module Google
|
|
1805
1804
|
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
1806
1805
|
attr_accessor :source_image_encryption_key
|
1807
1806
|
|
1808
|
-
# The source instant-snapshot to create this disk. When creating a new instance
|
1809
|
-
# one of initializeParams.sourceSnapshot or initializeParams.
|
1810
|
-
# sourceInstantSnapshot initializeParams.sourceImage or disks.source is required
|
1811
|
-
#
|
1812
|
-
#
|
1813
|
-
#
|
1814
|
-
# 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.
|
1815
1813
|
# Corresponds to the JSON property `sourceInstantSnapshot`
|
1816
1814
|
# @return [String]
|
1817
1815
|
attr_accessor :source_instant_snapshot
|
1818
1816
|
|
1819
|
-
# The source snapshot to create this disk. When creating a new instance
|
1820
|
-
# initializeParams.sourceSnapshot or initializeParams.sourceImage
|
1821
|
-
# source is required
|
1822
|
-
#
|
1823
|
-
#
|
1824
|
-
# 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.
|
1825
1822
|
# Corresponds to the JSON property `sourceSnapshot`
|
1826
1823
|
# @return [String]
|
1827
1824
|
attr_accessor :source_snapshot
|
@@ -15976,6 +15973,18 @@ module Google
|
|
15976
15973
|
# @return [String]
|
15977
15974
|
attr_accessor :region
|
15978
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
|
+
|
15979
15988
|
# [Output Only] The URL for this managed instance group. The server defines this
|
15980
15989
|
# URL.
|
15981
15990
|
# Corresponds to the JSON property `selfLink`
|
@@ -16083,6 +16092,8 @@ module Google
|
|
16083
16092
|
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
16084
16093
|
@params = args[:params] if args.key?(:params)
|
16085
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)
|
16086
16097
|
@self_link = args[:self_link] if args.key?(:self_link)
|
16087
16098
|
@service_account = args[:service_account] if args.key?(:service_account)
|
16088
16099
|
@standby_policy = args[:standby_policy] if args.key?(:standby_policy)
|
@@ -16403,6 +16414,12 @@ module Google
|
|
16403
16414
|
# @return [Hash<String,Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
|
16404
16415
|
attr_accessor :instance_selections
|
16405
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
|
+
|
16406
16423
|
def initialize(**args)
|
16407
16424
|
update!(**args)
|
16408
16425
|
end
|
@@ -16411,6 +16428,7 @@ module Google
|
|
16411
16428
|
def update!(**args)
|
16412
16429
|
@instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists)
|
16413
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)
|
16414
16432
|
end
|
16415
16433
|
end
|
16416
16434
|
|
@@ -16442,6 +16460,36 @@ module Google
|
|
16442
16460
|
end
|
16443
16461
|
end
|
16444
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
|
+
|
16445
16493
|
#
|
16446
16494
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
16447
16495
|
include Google::Apis::Core::Hashable
|
@@ -24624,6 +24672,11 @@ module Google
|
|
24624
24672
|
# @return [String]
|
24625
24673
|
attr_accessor :machine_type
|
24626
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
|
+
|
24627
24680
|
def initialize(**args)
|
24628
24681
|
update!(**args)
|
24629
24682
|
end
|
@@ -24631,6 +24684,7 @@ module Google
|
|
24631
24684
|
# Update properties of this object
|
24632
24685
|
def update!(**args)
|
24633
24686
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
24687
|
+
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
24634
24688
|
end
|
24635
24689
|
end
|
24636
24690
|
|
@@ -52661,7 +52715,7 @@ module Google
|
|
52661
52715
|
end
|
52662
52716
|
|
52663
52717
|
# Represents a Zone resource. A zone is a deployment area. These deployment
|
52664
|
-
# areas are subsets of a region. For example the zone us-east1-
|
52718
|
+
# areas are subsets of a region. For example the zone us-east1-b is located in
|
52665
52719
|
# the us-east1 region. For more information, read Regions and Zones.
|
52666
52720
|
class Zone
|
52667
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.
|
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 = "
|
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
|
|
@@ -10559,6 +10565,8 @@ module Google
|
|
10559
10565
|
property :params, as: 'params', class: Google::Apis::ComputeBeta::InstanceGroupManagerParams, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerParams::Representation
|
10560
10566
|
|
10561
10567
|
property :region, as: 'region'
|
10568
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
10569
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
10562
10570
|
property :self_link, as: 'selfLink'
|
10563
10571
|
property :service_account, as: 'serviceAccount'
|
10564
10572
|
property :standby_policy, as: 'standbyPolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerStandbyPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStandbyPolicy::Representation
|
@@ -10654,6 +10662,8 @@ module Google
|
|
10654
10662
|
|
10655
10663
|
hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
|
10656
10664
|
|
10665
|
+
property :provisioning_model_mix, as: 'provisioningModelMix', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix::Representation
|
10666
|
+
|
10657
10667
|
end
|
10658
10668
|
end
|
10659
10669
|
|
@@ -10665,6 +10675,14 @@ module Google
|
|
10665
10675
|
end
|
10666
10676
|
end
|
10667
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
|
+
|
10668
10686
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
10669
10687
|
# @private
|
10670
10688
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12811,6 +12829,7 @@ module Google
|
|
12811
12829
|
# @private
|
12812
12830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12813
12831
|
property :machine_type, as: 'machineType'
|
12832
|
+
property :provisioning_model, as: 'provisioningModel'
|
12814
12833
|
end
|
12815
12834
|
end
|
12816
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
|
21804
|
-
#
|
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
|
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.
|
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-
|
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.
|
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: []
|