google-apis-compute_beta 0.22.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/compute_beta/classes.rb +44 -3
- data/lib/google/apis/compute_beta/gem_version.rb +3 -3
- data/lib/google/apis/compute_beta/representations.rb +6 -0
- data/lib/google/apis/compute_beta/service.rb +10 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7018a8e0bbddbf8449477ac34fb3344191a7d64df9d4ac659e031e89bd51e0e
|
4
|
+
data.tar.gz: 8b235e27f405e7ad2d5810598257e2f4bc446581928d2f38bb9d29e609fa2f86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d496efb4397cdf433752390f52c8883413623415602e0fc3101f5031f7d42ecd4d520b43f728b87d74fc2ed581123ed4ee3b578cebada5a294903cbc22ceff7
|
7
|
+
data.tar.gz: c8b2cb41365f9956125fc47fb498ef9f9a76f017a5b188a8e11456d86c6519c60d1e60fa29c779afa8d2646f09d02232b877aeb639b555a7411f466952e3c4a8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.26.0 (2022-02-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220215
|
6
|
+
|
7
|
+
### v0.25.0 (2022-02-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220206
|
10
|
+
|
11
|
+
### v0.24.0 (2022-01-29)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220112
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.23.0 (2022-01-08)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211228
|
19
|
+
* Unspecified changes
|
20
|
+
|
3
21
|
### v0.22.0 (2021-12-11)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20211208
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/compute_beta"
|
|
51
51
|
client = Google::Apis::ComputeBeta::ComputeService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -1072,6 +1072,12 @@ module Google
|
|
1072
1072
|
attr_accessor :enable_nested_virtualization
|
1073
1073
|
alias_method :enable_nested_virtualization?, :enable_nested_virtualization
|
1074
1074
|
|
1075
|
+
# Whether to enable UEFI networking for instance creation.
|
1076
|
+
# Corresponds to the JSON property `enableUefiNetworking`
|
1077
|
+
# @return [Boolean]
|
1078
|
+
attr_accessor :enable_uefi_networking
|
1079
|
+
alias_method :enable_uefi_networking?, :enable_uefi_networking
|
1080
|
+
|
1075
1081
|
# The number of threads per physical core. To disable simultaneous
|
1076
1082
|
# multithreading (SMT) set this to 1. If unset, the maximum number of threads
|
1077
1083
|
# supported per core by the underlying processor is assumed.
|
@@ -1086,6 +1092,7 @@ module Google
|
|
1086
1092
|
# Update properties of this object
|
1087
1093
|
def update!(**args)
|
1088
1094
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1095
|
+
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
1089
1096
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1090
1097
|
end
|
1091
1098
|
end
|
@@ -1213,6 +1220,11 @@ module Google
|
|
1213
1220
|
class AllocationSpecificSkuReservation
|
1214
1221
|
include Google::Apis::Core::Hashable
|
1215
1222
|
|
1223
|
+
# [Output Only] Indicates how many instances are actually usable currently.
|
1224
|
+
# Corresponds to the JSON property `assuredCount`
|
1225
|
+
# @return [Fixnum]
|
1226
|
+
attr_accessor :assured_count
|
1227
|
+
|
1216
1228
|
# Specifies the number of resources that are allocated.
|
1217
1229
|
# Corresponds to the JSON property `count`
|
1218
1230
|
# @return [Fixnum]
|
@@ -1234,6 +1246,7 @@ module Google
|
|
1234
1246
|
|
1235
1247
|
# Update properties of this object
|
1236
1248
|
def update!(**args)
|
1249
|
+
@assured_count = args[:assured_count] if args.key?(:assured_count)
|
1237
1250
|
@count = args[:count] if args.key?(:count)
|
1238
1251
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
1239
1252
|
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
@@ -13522,6 +13535,30 @@ module Google
|
|
13522
13535
|
# @return [Fixnum]
|
13523
13536
|
attr_accessor :restarting
|
13524
13537
|
|
13538
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13539
|
+
# scheduled to be resumed or are currently being resumed.
|
13540
|
+
# Corresponds to the JSON property `resuming`
|
13541
|
+
# @return [Fixnum]
|
13542
|
+
attr_accessor :resuming
|
13543
|
+
|
13544
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13545
|
+
# scheduled to be started or are currently being started.
|
13546
|
+
# Corresponds to the JSON property `starting`
|
13547
|
+
# @return [Fixnum]
|
13548
|
+
attr_accessor :starting
|
13549
|
+
|
13550
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13551
|
+
# scheduled to be stopped or are currently being stopped.
|
13552
|
+
# Corresponds to the JSON property `stopping`
|
13553
|
+
# @return [Fixnum]
|
13554
|
+
attr_accessor :stopping
|
13555
|
+
|
13556
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13557
|
+
# scheduled to be suspended or are currently being suspended.
|
13558
|
+
# Corresponds to the JSON property `suspending`
|
13559
|
+
# @return [Fixnum]
|
13560
|
+
attr_accessor :suspending
|
13561
|
+
|
13525
13562
|
# [Output Only] The number of instances in the managed instance group that are
|
13526
13563
|
# being verified. See the managedInstances[].currentAction property in the
|
13527
13564
|
# listManagedInstances method documentation.
|
@@ -13543,6 +13580,10 @@ module Google
|
|
13543
13580
|
@recreating = args[:recreating] if args.key?(:recreating)
|
13544
13581
|
@refreshing = args[:refreshing] if args.key?(:refreshing)
|
13545
13582
|
@restarting = args[:restarting] if args.key?(:restarting)
|
13583
|
+
@resuming = args[:resuming] if args.key?(:resuming)
|
13584
|
+
@starting = args[:starting] if args.key?(:starting)
|
13585
|
+
@stopping = args[:stopping] if args.key?(:stopping)
|
13586
|
+
@suspending = args[:suspending] if args.key?(:suspending)
|
13546
13587
|
@verifying = args[:verifying] if args.key?(:verifying)
|
13547
13588
|
end
|
13548
13589
|
end
|
@@ -18296,7 +18337,7 @@ module Google
|
|
18296
18337
|
class LocationPolicyLocation
|
18297
18338
|
include Google::Apis::Core::Hashable
|
18298
18339
|
|
18299
|
-
# Preference for a given location
|
18340
|
+
# Preference for a given location.
|
18300
18341
|
# Corresponds to the JSON property `preference`
|
18301
18342
|
# @return [String]
|
18302
18343
|
attr_accessor :preference
|
@@ -31296,8 +31337,8 @@ module Google
|
|
31296
31337
|
|
31297
31338
|
# Defines the maintenance behavior for this instance. For standard instances,
|
31298
31339
|
# the default behavior is MIGRATE. For preemptible instances, the default and
|
31299
|
-
# only possible behavior is TERMINATE. For more information, see
|
31300
|
-
#
|
31340
|
+
# only possible behavior is TERMINATE. For more information, see Set VM
|
31341
|
+
# availability policies.
|
31301
31342
|
# Corresponds to the JSON property `onHostMaintenance`
|
31302
31343
|
# @return [String]
|
31303
31344
|
attr_accessor :on_host_maintenance
|
@@ -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.26.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220215"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -5778,6 +5778,7 @@ module Google
|
|
5778
5778
|
# @private
|
5779
5779
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5780
5780
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
5781
|
+
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
5781
5782
|
property :threads_per_core, as: 'threadsPerCore'
|
5782
5783
|
end
|
5783
5784
|
end
|
@@ -5816,6 +5817,7 @@ module Google
|
|
5816
5817
|
class AllocationSpecificSkuReservation
|
5817
5818
|
# @private
|
5818
5819
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5820
|
+
property :assured_count, :numeric_string => true, as: 'assuredCount'
|
5819
5821
|
property :count, :numeric_string => true, as: 'count'
|
5820
5822
|
property :in_use_count, :numeric_string => true, as: 'inUseCount'
|
5821
5823
|
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationReservedInstanceProperties, decorator: Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationReservedInstanceProperties::Representation
|
@@ -8565,6 +8567,10 @@ module Google
|
|
8565
8567
|
property :recreating, as: 'recreating'
|
8566
8568
|
property :refreshing, as: 'refreshing'
|
8567
8569
|
property :restarting, as: 'restarting'
|
8570
|
+
property :resuming, as: 'resuming'
|
8571
|
+
property :starting, as: 'starting'
|
8572
|
+
property :stopping, as: 'stopping'
|
8573
|
+
property :suspending, as: 'suspending'
|
8568
8574
|
property :verifying, as: 'verifying'
|
8569
8575
|
end
|
8570
8576
|
end
|
@@ -13000,7 +13000,9 @@ module Google
|
|
13000
13000
|
|
13001
13001
|
# Sets an instance's scheduling options. You can only call this method on a
|
13002
13002
|
# stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
|
13003
|
-
# Instance Life Cycle for more information on the possible instance states.
|
13003
|
+
# Instance Life Cycle for more information on the possible instance states. For
|
13004
|
+
# more information about setting scheduling options for a VM, see Set VM
|
13005
|
+
# availability policies.
|
13004
13006
|
# @param [String] project
|
13005
13007
|
# Project ID for this request.
|
13006
13008
|
# @param [String] zone
|
@@ -13271,7 +13273,8 @@ module Google
|
|
13271
13273
|
execute_or_queue_command(command, &block)
|
13272
13274
|
end
|
13273
13275
|
|
13274
|
-
# Simulates a maintenance event on
|
13276
|
+
# Simulates a host maintenance event on a VM. For more information, see Simulate
|
13277
|
+
# a host maintenance event.
|
13275
13278
|
# @param [String] project
|
13276
13279
|
# Project ID for this request.
|
13277
13280
|
# @param [String] zone
|
@@ -13471,10 +13474,11 @@ module Google
|
|
13471
13474
|
|
13472
13475
|
# This method suspends a running instance, saving its state to persistent
|
13473
13476
|
# storage, and allows you to resume the instance at a later time. Suspended
|
13474
|
-
# instances
|
13475
|
-
#
|
13476
|
-
# disks and static IP addresses, will
|
13477
|
-
#
|
13477
|
+
# instances have no compute costs (cores or RAM), and incur only storage charges
|
13478
|
+
# for the saved VM memory and localSSD data. Any charged resources the virtual
|
13479
|
+
# machine was using, such as persistent disks and static IP addresses, will
|
13480
|
+
# continue to be charged while the instance is suspended. For more information,
|
13481
|
+
# see Suspending and resuming an instance.
|
13478
13482
|
# @param [String] project
|
13479
13483
|
# Project ID for this request.
|
13480
13484
|
# @param [String] zone
|
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.26.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:
|
11
|
+
date: 2022-02-21 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.26.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Compute Engine API Beta
|