google-apis-compute_v1 0.22.0 → 0.23.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 +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/compute_v1/classes.rb +45 -1
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +6 -0
- 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: df41407af9c0b5f9b5084cbe2c24c99d7858bbc6447090bac27f85b4c7a55300
|
4
|
+
data.tar.gz: 805dc11b82f812355cff9f87f77b26c193b6f6a01d23beb1cbc0d085bc47c6a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3daa7c3640f94db568a9e0acbfb1a4c8610cfe28e1e77a1c6039be1a96cd52fd38912364a03fa2033104224799daa07f2ce4984ca739266c3863242a39d3f734
|
7
|
+
data.tar.gz: 50d542af758f5bd96759260a1478ab72b58ba489686cea1a6503c2b8ed111f739ad0954691095b2311931838eb2d57c44f7c8235eb9acda3546ec416dcdc188a
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/compute_v1"
|
|
51
51
|
client = Google::Apis::ComputeV1::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.
|
@@ -1051,6 +1051,12 @@ module Google
|
|
1051
1051
|
attr_accessor :enable_nested_virtualization
|
1052
1052
|
alias_method :enable_nested_virtualization?, :enable_nested_virtualization
|
1053
1053
|
|
1054
|
+
# Whether to enable UEFI networking for instance creation.
|
1055
|
+
# Corresponds to the JSON property `enableUefiNetworking`
|
1056
|
+
# @return [Boolean]
|
1057
|
+
attr_accessor :enable_uefi_networking
|
1058
|
+
alias_method :enable_uefi_networking?, :enable_uefi_networking
|
1059
|
+
|
1054
1060
|
# The number of threads per physical core. To disable simultaneous
|
1055
1061
|
# multithreading (SMT) set this to 1. If unset, the maximum number of threads
|
1056
1062
|
# supported per core by the underlying processor is assumed.
|
@@ -1065,6 +1071,7 @@ module Google
|
|
1065
1071
|
# Update properties of this object
|
1066
1072
|
def update!(**args)
|
1067
1073
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1074
|
+
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
1068
1075
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1069
1076
|
end
|
1070
1077
|
end
|
@@ -13139,6 +13146,30 @@ module Google
|
|
13139
13146
|
# @return [Fixnum]
|
13140
13147
|
attr_accessor :restarting
|
13141
13148
|
|
13149
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13150
|
+
# scheduled to be resumed or are currently being resumed.
|
13151
|
+
# Corresponds to the JSON property `resuming`
|
13152
|
+
# @return [Fixnum]
|
13153
|
+
attr_accessor :resuming
|
13154
|
+
|
13155
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13156
|
+
# scheduled to be started or are currently being started.
|
13157
|
+
# Corresponds to the JSON property `starting`
|
13158
|
+
# @return [Fixnum]
|
13159
|
+
attr_accessor :starting
|
13160
|
+
|
13161
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13162
|
+
# scheduled to be stopped or are currently being stopped.
|
13163
|
+
# Corresponds to the JSON property `stopping`
|
13164
|
+
# @return [Fixnum]
|
13165
|
+
attr_accessor :stopping
|
13166
|
+
|
13167
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13168
|
+
# scheduled to be suspended or are currently being suspended.
|
13169
|
+
# Corresponds to the JSON property `suspending`
|
13170
|
+
# @return [Fixnum]
|
13171
|
+
attr_accessor :suspending
|
13172
|
+
|
13142
13173
|
# [Output Only] The number of instances in the managed instance group that are
|
13143
13174
|
# being verified. See the managedInstances[].currentAction property in the
|
13144
13175
|
# listManagedInstances method documentation.
|
@@ -13160,6 +13191,10 @@ module Google
|
|
13160
13191
|
@recreating = args[:recreating] if args.key?(:recreating)
|
13161
13192
|
@refreshing = args[:refreshing] if args.key?(:refreshing)
|
13162
13193
|
@restarting = args[:restarting] if args.key?(:restarting)
|
13194
|
+
@resuming = args[:resuming] if args.key?(:resuming)
|
13195
|
+
@starting = args[:starting] if args.key?(:starting)
|
13196
|
+
@stopping = args[:stopping] if args.key?(:stopping)
|
13197
|
+
@suspending = args[:suspending] if args.key?(:suspending)
|
13163
13198
|
@verifying = args[:verifying] if args.key?(:verifying)
|
13164
13199
|
end
|
13165
13200
|
end
|
@@ -14932,6 +14967,14 @@ module Google
|
|
14932
14967
|
# @return [Google::Apis::ComputeV1::ReservationAffinity]
|
14933
14968
|
attr_accessor :reservation_affinity
|
14934
14969
|
|
14970
|
+
# Resource manager tags to be bound to the instance. Tag keys and values have
|
14971
|
+
# the same definition as resource manager tags. Keys must be in the format `
|
14972
|
+
# tagKeys/`tag_key_id``, and values are in the format `tagValues/456`. The field
|
14973
|
+
# is ignored (both PUT & PATCH) when empty.
|
14974
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
14975
|
+
# @return [Hash<String,String>]
|
14976
|
+
attr_accessor :resource_manager_tags
|
14977
|
+
|
14935
14978
|
# Resource policies (names, not URLs) applied to instances created from these
|
14936
14979
|
# properties. Note that for MachineImage, this is not supported yet.
|
14937
14980
|
# Corresponds to the JSON property `resourcePolicies`
|
@@ -14981,6 +15024,7 @@ module Google
|
|
14981
15024
|
@network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
|
14982
15025
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
14983
15026
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
15027
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
14984
15028
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
14985
15029
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
14986
15030
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
@@ -17648,7 +17692,7 @@ module Google
|
|
17648
17692
|
class LocationPolicyLocation
|
17649
17693
|
include Google::Apis::Core::Hashable
|
17650
17694
|
|
17651
|
-
# Preference for a given location
|
17695
|
+
# Preference for a given location.
|
17652
17696
|
# Corresponds to the JSON property `preference`
|
17653
17697
|
# @return [String]
|
17654
17698
|
attr_accessor :preference
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211228"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -5602,6 +5602,7 @@ module Google
|
|
5602
5602
|
# @private
|
5603
5603
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5604
5604
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
5605
|
+
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
5605
5606
|
property :threads_per_core, as: 'threadsPerCore'
|
5606
5607
|
end
|
5607
5608
|
end
|
@@ -8327,6 +8328,10 @@ module Google
|
|
8327
8328
|
property :recreating, as: 'recreating'
|
8328
8329
|
property :refreshing, as: 'refreshing'
|
8329
8330
|
property :restarting, as: 'restarting'
|
8331
|
+
property :resuming, as: 'resuming'
|
8332
|
+
property :starting, as: 'starting'
|
8333
|
+
property :stopping, as: 'stopping'
|
8334
|
+
property :suspending, as: 'suspending'
|
8330
8335
|
property :verifying, as: 'verifying'
|
8331
8336
|
end
|
8332
8337
|
end
|
@@ -8835,6 +8840,7 @@ module Google
|
|
8835
8840
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
8836
8841
|
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
|
8837
8842
|
|
8843
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
8838
8844
|
collection :resource_policies, as: 'resourcePolicies'
|
8839
8845
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
|
8840
8846
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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-01-10 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
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.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Compute Engine API V1
|