google-apis-compute_beta 0.102.0 → 0.104.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f1986be6c2ead7fcf26dac26d40a50922acad74fff17f9f6495614e16b04598
|
4
|
+
data.tar.gz: 790deaab49d28cb051e4f7a32411803f5f9bc7a1b9353a128bfe1fcab2b30abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73d1b028b730c411b7449c5985d568f806bae5ab3149ce689ddf0bc45e059ee4fe4ae7023a7b2b6647347870795874865a55565b6c2cf00520bf314bb3d016d7
|
7
|
+
data.tar.gz: 5438ba216f11a17f7c3702acca6e1dfca49c5e217f43f2f77d58796920a6ddf971e52df6234eaa8add4eb21949e5b8d5a646d5e6d77ad11cd10cd628286825ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.104.0 (2024-06-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240604
|
6
|
+
|
7
|
+
### v0.103.0 (2024-06-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240526
|
10
|
+
|
3
11
|
### v0.102.0 (2024-05-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240519
|
@@ -1145,6 +1145,11 @@ module Google
|
|
1145
1145
|
attr_accessor :enable_uefi_networking
|
1146
1146
|
alias_method :enable_uefi_networking?, :enable_uefi_networking
|
1147
1147
|
|
1148
|
+
# Type of Performance Monitoring Unit requested on instance.
|
1149
|
+
# Corresponds to the JSON property `performanceMonitoringUnit`
|
1150
|
+
# @return [String]
|
1151
|
+
attr_accessor :performance_monitoring_unit
|
1152
|
+
|
1148
1153
|
# The number of threads per physical core. To disable simultaneous
|
1149
1154
|
# multithreading (SMT) set this to 1. If unset, the maximum number of threads
|
1150
1155
|
# supported per core by the underlying processor is assumed.
|
@@ -1168,6 +1173,7 @@ module Google
|
|
1168
1173
|
def update!(**args)
|
1169
1174
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1170
1175
|
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
1176
|
+
@performance_monitoring_unit = args[:performance_monitoring_unit] if args.key?(:performance_monitoring_unit)
|
1171
1177
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1172
1178
|
@visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
|
1173
1179
|
end
|
@@ -1603,12 +1609,11 @@ module Google
|
|
1603
1609
|
attr_accessor :shielded_instance_initial_state
|
1604
1610
|
|
1605
1611
|
# 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.
|
1612
|
+
# When creating a new instance boot disk, one of initializeParams.sourceImage or
|
1613
|
+
# initializeParams.sourceSnapshot or disks.source is required. If desired, you
|
1614
|
+
# can also attach existing non-root persistent disks using this property. This
|
1615
|
+
# field is only applicable for persistent disks. Note that for InstanceTemplate,
|
1616
|
+
# specify the disk name for zonal disk, and the URL for regional disk.
|
1612
1617
|
# Corresponds to the JSON property `source`
|
1613
1618
|
# @return [String]
|
1614
1619
|
attr_accessor :source
|
@@ -1779,19 +1784,19 @@ module Google
|
|
1779
1784
|
# @return [Array<String>]
|
1780
1785
|
attr_accessor :resource_policies
|
1781
1786
|
|
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
|
-
#
|
1787
|
+
# The source image to create this disk. When creating a new instance boot disk,
|
1788
|
+
# one of initializeParams.sourceImage or initializeParams.sourceSnapshot or
|
1789
|
+
# disks.source is required. To create a disk with one of the public operating
|
1790
|
+
# system images, specify the image by its family name. For example, specify
|
1791
|
+
# family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/
|
1792
|
+
# images/family/debian-9 Alternatively, use a specific version of a public
|
1793
|
+
# operating system image: projects/debian-cloud/global/images/debian-9-stretch-
|
1794
|
+
# vYYYYMMDD To create a disk with a custom image that you created, specify the
|
1795
|
+
# image name in the following format: global/images/my-custom-image You can also
|
1796
|
+
# specify a custom image by its image family, which returns the latest version
|
1797
|
+
# of the image in that family. Replace the image name with family/family-name:
|
1798
|
+
# global/images/family/my-image-family If the source image is deleted later,
|
1799
|
+
# this field will not be set.
|
1795
1800
|
# Corresponds to the JSON property `sourceImage`
|
1796
1801
|
# @return [String]
|
1797
1802
|
attr_accessor :source_image
|
@@ -1805,23 +1810,21 @@ module Google
|
|
1805
1810
|
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
1806
1811
|
attr_accessor :source_image_encryption_key
|
1807
1812
|
|
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.
|
1813
|
+
# The source instant-snapshot to create this disk. When creating a new instance
|
1814
|
+
# boot disk, one of initializeParams.sourceSnapshot or initializeParams.
|
1815
|
+
# sourceInstantSnapshot initializeParams.sourceImage or disks.source is required.
|
1816
|
+
# To create a disk with a snapshot that you created, specify the snapshot name
|
1817
|
+
# in the following format: us-central1-a/instantSnapshots/my-backup If the
|
1818
|
+
# source instant-snapshot is deleted later, this field will not be set.
|
1815
1819
|
# Corresponds to the JSON property `sourceInstantSnapshot`
|
1816
1820
|
# @return [String]
|
1817
1821
|
attr_accessor :source_instant_snapshot
|
1818
1822
|
|
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.
|
1823
|
+
# The source snapshot to create this disk. When creating a new instance boot
|
1824
|
+
# disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage
|
1825
|
+
# or disks.source is required. To create a disk with a snapshot that you created,
|
1826
|
+
# specify the snapshot name in the following format: global/snapshots/my-backup
|
1827
|
+
# If the source snapshot is deleted later, this field will not be set.
|
1825
1828
|
# Corresponds to the JSON property `sourceSnapshot`
|
1826
1829
|
# @return [String]
|
1827
1830
|
attr_accessor :source_snapshot
|
@@ -15976,6 +15979,18 @@ module Google
|
|
15976
15979
|
# @return [String]
|
15977
15980
|
attr_accessor :region
|
15978
15981
|
|
15982
|
+
# [Output Only] Reserved for future use.
|
15983
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
15984
|
+
# @return [Boolean]
|
15985
|
+
attr_accessor :satisfies_pzi
|
15986
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
15987
|
+
|
15988
|
+
# [Output Only] Reserved for future use.
|
15989
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
15990
|
+
# @return [Boolean]
|
15991
|
+
attr_accessor :satisfies_pzs
|
15992
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
15993
|
+
|
15979
15994
|
# [Output Only] The URL for this managed instance group. The server defines this
|
15980
15995
|
# URL.
|
15981
15996
|
# Corresponds to the JSON property `selfLink`
|
@@ -16083,6 +16098,8 @@ module Google
|
|
16083
16098
|
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
16084
16099
|
@params = args[:params] if args.key?(:params)
|
16085
16100
|
@region = args[:region] if args.key?(:region)
|
16101
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
16102
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
16086
16103
|
@self_link = args[:self_link] if args.key?(:self_link)
|
16087
16104
|
@service_account = args[:service_account] if args.key?(:service_account)
|
16088
16105
|
@standby_policy = args[:standby_policy] if args.key?(:standby_policy)
|
@@ -16403,6 +16420,12 @@ module Google
|
|
16403
16420
|
# @return [Hash<String,Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
|
16404
16421
|
attr_accessor :instance_selections
|
16405
16422
|
|
16423
|
+
# Provisioning model configuration used by this managed instance group to create
|
16424
|
+
# instances.
|
16425
|
+
# Corresponds to the JSON property `provisioningModelMix`
|
16426
|
+
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix]
|
16427
|
+
attr_accessor :provisioning_model_mix
|
16428
|
+
|
16406
16429
|
def initialize(**args)
|
16407
16430
|
update!(**args)
|
16408
16431
|
end
|
@@ -16411,6 +16434,7 @@ module Google
|
|
16411
16434
|
def update!(**args)
|
16412
16435
|
@instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists)
|
16413
16436
|
@instance_selections = args[:instance_selections] if args.key?(:instance_selections)
|
16437
|
+
@provisioning_model_mix = args[:provisioning_model_mix] if args.key?(:provisioning_model_mix)
|
16414
16438
|
end
|
16415
16439
|
end
|
16416
16440
|
|
@@ -16442,6 +16466,36 @@ module Google
|
|
16442
16466
|
end
|
16443
16467
|
end
|
16444
16468
|
|
16469
|
+
#
|
16470
|
+
class InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix
|
16471
|
+
include Google::Apis::Core::Hashable
|
16472
|
+
|
16473
|
+
# The base capacity that will always use Standard VMs to avoid risk of more
|
16474
|
+
# preemption than the minimum capacity user needs. MIG will create only Standard
|
16475
|
+
# VMs until it reaches standard_capacity_base and only then will start using
|
16476
|
+
# standard_capacity_percent_above_base to mix Spot with Standard VMs.
|
16477
|
+
# Corresponds to the JSON property `standardCapacityBase`
|
16478
|
+
# @return [Fixnum]
|
16479
|
+
attr_accessor :standard_capacity_base
|
16480
|
+
|
16481
|
+
# The percentage of target capacity that should use Standard VM. The remaining
|
16482
|
+
# percentage will use Spot VMs. The percentage applies only to the capacity
|
16483
|
+
# above standard_capacity_base.
|
16484
|
+
# Corresponds to the JSON property `standardCapacityPercentAboveBase`
|
16485
|
+
# @return [Fixnum]
|
16486
|
+
attr_accessor :standard_capacity_percent_above_base
|
16487
|
+
|
16488
|
+
def initialize(**args)
|
16489
|
+
update!(**args)
|
16490
|
+
end
|
16491
|
+
|
16492
|
+
# Update properties of this object
|
16493
|
+
def update!(**args)
|
16494
|
+
@standard_capacity_base = args[:standard_capacity_base] if args.key?(:standard_capacity_base)
|
16495
|
+
@standard_capacity_percent_above_base = args[:standard_capacity_percent_above_base] if args.key?(:standard_capacity_percent_above_base)
|
16496
|
+
end
|
16497
|
+
end
|
16498
|
+
|
16445
16499
|
#
|
16446
16500
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
16447
16501
|
include Google::Apis::Core::Hashable
|
@@ -24624,6 +24678,11 @@ module Google
|
|
24624
24678
|
# @return [String]
|
24625
24679
|
attr_accessor :machine_type
|
24626
24680
|
|
24681
|
+
# The provisioning model to be used for this instance.
|
24682
|
+
# Corresponds to the JSON property `provisioningModel`
|
24683
|
+
# @return [String]
|
24684
|
+
attr_accessor :provisioning_model
|
24685
|
+
|
24627
24686
|
def initialize(**args)
|
24628
24687
|
update!(**args)
|
24629
24688
|
end
|
@@ -24631,6 +24690,7 @@ module Google
|
|
24631
24690
|
# Update properties of this object
|
24632
24691
|
def update!(**args)
|
24633
24692
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
24693
|
+
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
24634
24694
|
end
|
24635
24695
|
end
|
24636
24696
|
|
@@ -52499,7 +52559,9 @@ module Google
|
|
52499
52559
|
# selection of a backend service is determined only for new traffic. Once a user'
|
52500
52560
|
# s request has been directed to a backend service, subsequent requests are sent
|
52501
52561
|
# to the same backend service as determined by the backend service's session
|
52502
|
-
# affinity policy.
|
52562
|
+
# affinity policy. Don't configure session affinity if you're using weighted
|
52563
|
+
# traffic splitting. If you do, the weighted traffic splitting configuration
|
52564
|
+
# takes precedence. The value must be from 0 to 1000.
|
52503
52565
|
# Corresponds to the JSON property `weight`
|
52504
52566
|
# @return [Fixnum]
|
52505
52567
|
attr_accessor :weight
|
@@ -52661,7 +52723,7 @@ module Google
|
|
52661
52723
|
end
|
52662
52724
|
|
52663
52725
|
# 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-
|
52726
|
+
# areas are subsets of a region. For example the zone us-east1-b is located in
|
52665
52727
|
# the us-east1 region. For more information, read Regions and Zones.
|
52666
52728
|
class Zone
|
52667
52729
|
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.104.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 = "20240604"
|
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
|
|
@@ -7225,6 +7231,7 @@ module Google
|
|
7225
7231
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7226
7232
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
7227
7233
|
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
7234
|
+
property :performance_monitoring_unit, as: 'performanceMonitoringUnit'
|
7228
7235
|
property :threads_per_core, as: 'threadsPerCore'
|
7229
7236
|
property :visible_core_count, as: 'visibleCoreCount'
|
7230
7237
|
end
|
@@ -10559,6 +10566,8 @@ module Google
|
|
10559
10566
|
property :params, as: 'params', class: Google::Apis::ComputeBeta::InstanceGroupManagerParams, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerParams::Representation
|
10560
10567
|
|
10561
10568
|
property :region, as: 'region'
|
10569
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
10570
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
10562
10571
|
property :self_link, as: 'selfLink'
|
10563
10572
|
property :service_account, as: 'serviceAccount'
|
10564
10573
|
property :standby_policy, as: 'standbyPolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerStandbyPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStandbyPolicy::Representation
|
@@ -10654,6 +10663,8 @@ module Google
|
|
10654
10663
|
|
10655
10664
|
hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
|
10656
10665
|
|
10666
|
+
property :provisioning_model_mix, as: 'provisioningModelMix', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix::Representation
|
10667
|
+
|
10657
10668
|
end
|
10658
10669
|
end
|
10659
10670
|
|
@@ -10665,6 +10676,14 @@ module Google
|
|
10665
10676
|
end
|
10666
10677
|
end
|
10667
10678
|
|
10679
|
+
class InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix
|
10680
|
+
# @private
|
10681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10682
|
+
property :standard_capacity_base, as: 'standardCapacityBase'
|
10683
|
+
property :standard_capacity_percent_above_base, as: 'standardCapacityPercentAboveBase'
|
10684
|
+
end
|
10685
|
+
end
|
10686
|
+
|
10668
10687
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
10669
10688
|
# @private
|
10670
10689
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12811,6 +12830,7 @@ module Google
|
|
12811
12830
|
# @private
|
12812
12831
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12813
12832
|
property :machine_type, as: 'machineType'
|
12833
|
+
property :provisioning_model, as: 'provisioningModel'
|
12814
12834
|
end
|
12815
12835
|
end
|
12816
12836
|
|
@@ -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.104.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-16 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.104.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: []
|