google-apis-compute_v1 0.37.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 +5 -0
- data/lib/google/apis/compute_v1/classes.rb +59 -6
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +6 -0
- data/lib/google/apis/compute_v1/service.rb +4154 -2626
- metadata +5 -5
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,10 @@
|
|
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
|
+
|
3
8
|
### v0.37.0 (2022-05-25)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220517
|
@@ -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
|
|
@@ -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
|
@@ -27512,7 +27512,7 @@ module Google
|
|
27512
27512
|
attr_accessor :share_settings
|
27513
27513
|
|
27514
27514
|
# This reservation type allows to pre allocate specific instance configuration.
|
27515
|
-
# Next ID:
|
27515
|
+
# Next ID: 6
|
27516
27516
|
# Corresponds to the JSON property `specificReservation`
|
27517
27517
|
# @return [Google::Apis::ComputeV1::AllocationSpecificSkuReservation]
|
27518
27518
|
attr_accessor :specific_reservation
|
@@ -39123,21 +39123,68 @@ module Google
|
|
39123
39123
|
class UsableSubnetwork
|
39124
39124
|
include Google::Apis::Core::Hashable
|
39125
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
|
+
|
39126
39138
|
# The range of internal addresses that are owned by this subnetwork.
|
39127
39139
|
# Corresponds to the JSON property `ipCidrRange`
|
39128
39140
|
# @return [String]
|
39129
39141
|
attr_accessor :ip_cidr_range
|
39130
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
|
+
|
39131
39150
|
# Network URL.
|
39132
39151
|
# Corresponds to the JSON property `network`
|
39133
39152
|
# @return [String]
|
39134
39153
|
attr_accessor :network
|
39135
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
|
+
|
39136
39175
|
# Secondary IP ranges.
|
39137
39176
|
# Corresponds to the JSON property `secondaryIpRanges`
|
39138
39177
|
# @return [Array<Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange>]
|
39139
39178
|
attr_accessor :secondary_ip_ranges
|
39140
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
|
+
|
39141
39188
|
# Subnetwork URL.
|
39142
39189
|
# Corresponds to the JSON property `subnetwork`
|
39143
39190
|
# @return [String]
|
@@ -39149,9 +39196,15 @@ module Google
|
|
39149
39196
|
|
39150
39197
|
# Update properties of this object
|
39151
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)
|
39152
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)
|
39153
39203
|
@network = args[:network] if args.key?(:network)
|
39204
|
+
@purpose = args[:purpose] if args.key?(:purpose)
|
39205
|
+
@role = args[:role] if args.key?(:role)
|
39154
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)
|
39155
39208
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
39156
39209
|
end
|
39157
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
|
@@ -15101,10 +15101,16 @@ module Google
|
|
15101
15101
|
class UsableSubnetwork
|
15102
15102
|
# @private
|
15103
15103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15104
|
+
property :external_ipv6_prefix, as: 'externalIpv6Prefix'
|
15105
|
+
property :internal_ipv6_prefix, as: 'internalIpv6Prefix'
|
15104
15106
|
property :ip_cidr_range, as: 'ipCidrRange'
|
15107
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
15105
15108
|
property :network, as: 'network'
|
15109
|
+
property :purpose, as: 'purpose'
|
15110
|
+
property :role, as: 'role'
|
15106
15111
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange::Representation
|
15107
15112
|
|
15113
|
+
property :stack_type, as: 'stackType'
|
15108
15114
|
property :subnetwork, as: 'subnetwork'
|
15109
15115
|
end
|
15110
15116
|
end
|