google-apis-compute_v1 0.35.0 → 0.38.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 +13 -0
- data/lib/google/apis/compute_v1/classes.rb +72 -13
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +7 -0
- data/lib/google/apis/compute_v1/service.rb +4156 -2628
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfa7b2d16f639e4032c643ea4b538645881a54434d05474305846f518e27a9ac
|
4
|
+
data.tar.gz: 3c1781e6f94b96289b89b3d3dbb6ebc658783443dc38a3b466dd10c59cfa00c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11e8c2feceda95cdb288e8d559c21438e38887232cd709a63935f7f23784c694c2bd3674dce4c3749383a985cfe2fd5895401973c543f506a49c1ccb3c5ae916
|
7
|
+
data.tar.gz: 1ff0d1b6c5739f0ef56f0e68a0d8b6b0f04f36dda3b214bd5ecc3503213dd8949bcd8aa0537ac58f6b6843c6847e634706d2f1b3e52214d0479b2deeda55d9d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2022-06-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220526
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
8
|
+
### v0.37.0 (2022-05-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220517
|
11
|
+
|
12
|
+
### v0.36.0 (2022-05-18)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220510
|
15
|
+
|
3
16
|
### v0.35.0 (2022-05-11)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220506
|
@@ -1181,7 +1181,7 @@ module Google
|
|
1181
1181
|
end
|
1182
1182
|
|
1183
1183
|
# This reservation type allows to pre allocate specific instance configuration.
|
1184
|
-
# Next ID:
|
1184
|
+
# Next ID: 6
|
1185
1185
|
class AllocationSpecificSkuReservation
|
1186
1186
|
include Google::Apis::Core::Hashable
|
1187
1187
|
|
@@ -3013,9 +3013,9 @@ module Google
|
|
3013
3013
|
# internal HTTP(S) load balancers and Traffic Director and requires
|
3014
3014
|
# GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is
|
3015
3015
|
# non-persistent and lasts only until the end of the browser session (or
|
3016
|
-
# equivalent). The maximum allowed value is
|
3017
|
-
# the backend service is referenced by a URL map that is bound to target
|
3018
|
-
# proxy that has validateForProxyless field set to true.
|
3016
|
+
# equivalent). The maximum allowed value is two weeks (1,209,600). Not supported
|
3017
|
+
# when the backend service is referenced by a URL map that is bound to target
|
3018
|
+
# gRPC proxy that has validateForProxyless field set to true.
|
3019
3019
|
# Corresponds to the JSON property `affinityCookieTtlSec`
|
3020
3020
|
# @return [Fixnum]
|
3021
3021
|
attr_accessor :affinity_cookie_ttl_sec
|
@@ -4096,7 +4096,7 @@ module Google
|
|
4096
4096
|
# service. The value of the field must be in [0, 1]. This configures the
|
4097
4097
|
# sampling rate of requests to the load balancer where 1.0 means all logged
|
4098
4098
|
# requests are reported and 0.0 means no logged requests are reported. The
|
4099
|
-
# default value is
|
4099
|
+
# default value is 0.0.
|
4100
4100
|
# Corresponds to the JSON property `sampleRate`
|
4101
4101
|
# @return [Float]
|
4102
4102
|
attr_accessor :sample_rate
|
@@ -9849,9 +9849,9 @@ module Google
|
|
9849
9849
|
# @return [Fixnum]
|
9850
9850
|
attr_accessor :timeout_sec
|
9851
9851
|
|
9852
|
-
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or
|
9853
|
-
# Exactly one of the protocol-specific health check
|
9854
|
-
# which must match type field.
|
9852
|
+
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or
|
9853
|
+
# GRPC. Exactly one of the protocol-specific health check fields must be
|
9854
|
+
# specified, which must match type field.
|
9855
9855
|
# Corresponds to the JSON property `type`
|
9856
9856
|
# @return [String]
|
9857
9857
|
attr_accessor :type
|
@@ -12028,8 +12028,8 @@ module Google
|
|
12028
12028
|
# @return [String]
|
12029
12029
|
attr_accessor :source_snapshot_id
|
12030
12030
|
|
12031
|
-
# The type of the image used to create this disk. The default and only
|
12032
|
-
# RAW
|
12031
|
+
# The type of the image used to create this disk. The default and only valid
|
12032
|
+
# value is RAW.
|
12033
12033
|
# Corresponds to the JSON property `sourceType`
|
12034
12034
|
# @return [String]
|
12035
12035
|
attr_accessor :source_type
|
@@ -17904,6 +17904,11 @@ module Google
|
|
17904
17904
|
# @return [Hash<String,Google::Apis::ComputeV1::LocationPolicyLocation>]
|
17905
17905
|
attr_accessor :locations
|
17906
17906
|
|
17907
|
+
# Strategy for distributing VMs across zones in a region.
|
17908
|
+
# Corresponds to the JSON property `targetShape`
|
17909
|
+
# @return [String]
|
17910
|
+
attr_accessor :target_shape
|
17911
|
+
|
17907
17912
|
def initialize(**args)
|
17908
17913
|
update!(**args)
|
17909
17914
|
end
|
@@ -17911,6 +17916,7 @@ module Google
|
|
17911
17916
|
# Update properties of this object
|
17912
17917
|
def update!(**args)
|
17913
17918
|
@locations = args[:locations] if args.key?(:locations)
|
17919
|
+
@target_shape = args[:target_shape] if args.key?(:target_shape)
|
17914
17920
|
end
|
17915
17921
|
end
|
17916
17922
|
|
@@ -27506,7 +27512,7 @@ module Google
|
|
27506
27512
|
attr_accessor :share_settings
|
27507
27513
|
|
27508
27514
|
# This reservation type allows to pre allocate specific instance configuration.
|
27509
|
-
# Next ID:
|
27515
|
+
# Next ID: 6
|
27510
27516
|
# Corresponds to the JSON property `specificReservation`
|
27511
27517
|
# @return [Google::Apis::ComputeV1::AllocationSpecificSkuReservation]
|
27512
27518
|
attr_accessor :specific_reservation
|
@@ -30991,8 +30997,8 @@ module Google
|
|
30991
30997
|
|
30992
30998
|
# Defines the maintenance behavior for this instance. For standard instances,
|
30993
30999
|
# the default behavior is MIGRATE. For preemptible instances, the default and
|
30994
|
-
# only possible behavior is TERMINATE. For more information, see Set VM
|
30995
|
-
#
|
31000
|
+
# only possible behavior is TERMINATE. For more information, see Set VM host
|
31001
|
+
# maintenance policy.
|
30996
31002
|
# Corresponds to the JSON property `onHostMaintenance`
|
30997
31003
|
# @return [String]
|
30998
31004
|
attr_accessor :on_host_maintenance
|
@@ -39117,21 +39123,68 @@ module Google
|
|
39117
39123
|
class UsableSubnetwork
|
39118
39124
|
include Google::Apis::Core::Hashable
|
39119
39125
|
|
39126
|
+
# [Output Only] The external IPv6 address range that is assigned to this
|
39127
|
+
# subnetwork.
|
39128
|
+
# Corresponds to the JSON property `externalIpv6Prefix`
|
39129
|
+
# @return [String]
|
39130
|
+
attr_accessor :external_ipv6_prefix
|
39131
|
+
|
39132
|
+
# [Output Only] The internal IPv6 address range that is assigned to this
|
39133
|
+
# subnetwork.
|
39134
|
+
# Corresponds to the JSON property `internalIpv6Prefix`
|
39135
|
+
# @return [String]
|
39136
|
+
attr_accessor :internal_ipv6_prefix
|
39137
|
+
|
39120
39138
|
# The range of internal addresses that are owned by this subnetwork.
|
39121
39139
|
# Corresponds to the JSON property `ipCidrRange`
|
39122
39140
|
# @return [String]
|
39123
39141
|
attr_accessor :ip_cidr_range
|
39124
39142
|
|
39143
|
+
# The access type of IPv6 address this subnet holds. It's immutable and can only
|
39144
|
+
# be specified during creation or the first time the subnet is updated into
|
39145
|
+
# IPV4_IPV6 dual stack.
|
39146
|
+
# Corresponds to the JSON property `ipv6AccessType`
|
39147
|
+
# @return [String]
|
39148
|
+
attr_accessor :ipv6_access_type
|
39149
|
+
|
39125
39150
|
# Network URL.
|
39126
39151
|
# Corresponds to the JSON property `network`
|
39127
39152
|
# @return [String]
|
39128
39153
|
attr_accessor :network
|
39129
39154
|
|
39155
|
+
# The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
|
39156
|
+
# INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
|
39157
|
+
# INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
|
39158
|
+
# Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
|
39159
|
+
# PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
|
39160
|
+
# field set to INTERNAL_HTTPS_LOAD_BALANCER.
|
39161
|
+
# Corresponds to the JSON property `purpose`
|
39162
|
+
# @return [String]
|
39163
|
+
attr_accessor :purpose
|
39164
|
+
|
39165
|
+
# The role of subnetwork. Currently, this field is only used when purpose =
|
39166
|
+
# INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
|
39167
|
+
# ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
|
39168
|
+
# Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
|
39169
|
+
# ACTIVE or is currently draining. This field can be updated with a patch
|
39170
|
+
# request.
|
39171
|
+
# Corresponds to the JSON property `role`
|
39172
|
+
# @return [String]
|
39173
|
+
attr_accessor :role
|
39174
|
+
|
39130
39175
|
# Secondary IP ranges.
|
39131
39176
|
# Corresponds to the JSON property `secondaryIpRanges`
|
39132
39177
|
# @return [Array<Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange>]
|
39133
39178
|
attr_accessor :secondary_ip_ranges
|
39134
39179
|
|
39180
|
+
# The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
|
39181
|
+
# assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
|
39182
|
+
# be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
|
39183
|
+
# This field can be both set at resource creation time and updated using patch.
|
39184
|
+
# Corresponds to the JSON property `stackType`
|
39185
|
+
# @return [String]
|
39186
|
+
attr_accessor :stack_type
|
39187
|
+
|
39135
39188
|
# Subnetwork URL.
|
39136
39189
|
# Corresponds to the JSON property `subnetwork`
|
39137
39190
|
# @return [String]
|
@@ -39143,9 +39196,15 @@ module Google
|
|
39143
39196
|
|
39144
39197
|
# Update properties of this object
|
39145
39198
|
def update!(**args)
|
39199
|
+
@external_ipv6_prefix = args[:external_ipv6_prefix] if args.key?(:external_ipv6_prefix)
|
39200
|
+
@internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
|
39146
39201
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
39202
|
+
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
39147
39203
|
@network = args[:network] if args.key?(:network)
|
39204
|
+
@purpose = args[:purpose] if args.key?(:purpose)
|
39205
|
+
@role = args[:role] if args.key?(:role)
|
39148
39206
|
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
39207
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
39149
39208
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
39150
39209
|
end
|
39151
39210
|
end
|
@@ -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.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220526"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -9694,6 +9694,7 @@ module Google
|
|
9694
9694
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9695
9695
|
hash :locations, as: 'locations', class: Google::Apis::ComputeV1::LocationPolicyLocation, decorator: Google::Apis::ComputeV1::LocationPolicyLocation::Representation
|
9696
9696
|
|
9697
|
+
property :target_shape, as: 'targetShape'
|
9697
9698
|
end
|
9698
9699
|
end
|
9699
9700
|
|
@@ -15100,10 +15101,16 @@ module Google
|
|
15100
15101
|
class UsableSubnetwork
|
15101
15102
|
# @private
|
15102
15103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15104
|
+
property :external_ipv6_prefix, as: 'externalIpv6Prefix'
|
15105
|
+
property :internal_ipv6_prefix, as: 'internalIpv6Prefix'
|
15103
15106
|
property :ip_cidr_range, as: 'ipCidrRange'
|
15107
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
15104
15108
|
property :network, as: 'network'
|
15109
|
+
property :purpose, as: 'purpose'
|
15110
|
+
property :role, as: 'role'
|
15105
15111
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange::Representation
|
15106
15112
|
|
15113
|
+
property :stack_type, as: 'stackType'
|
15107
15114
|
property :subnetwork, as: 'subnetwork'
|
15108
15115
|
end
|
15109
15116
|
end
|