google-apis-compute_v1 0.78.0 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_v1/classes.rb +117 -12
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +50 -0
- data/lib/google/apis/compute_v1/service.rb +3996 -3848
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25fa8f00b4caaac8b041e5a4cc7428b044d6694bdb10311f255cda2108ca6f85
|
4
|
+
data.tar.gz: 3fdf4c892421b0806d94a1bf921e024167937f4741d0a29ec20060a7d052d9b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77e7462e35eee5c3db54923128fba41a72846695e7b4b8493029e52c01808ef69db5415c03f79d6cd7b9b1be09b7e62a8e1952dd390681c719ef6a04f833d25c
|
7
|
+
data.tar.gz: 5bc9c7dc122362332fb888cae093453a3229cd15cd2cc697d89eb64a5744d436724843d69c4b0fea5c64154bbe236366d98d499f622c6d8c5406da6a15ebaa43
|
data/CHANGELOG.md
CHANGED
@@ -4079,8 +4079,7 @@ module Google
|
|
4079
4079
|
include Google::Apis::Core::Hashable
|
4080
4080
|
|
4081
4081
|
# Whether the serving infrastructure will authenticate and authorize all
|
4082
|
-
# incoming requests.
|
4083
|
-
# must be non-empty.
|
4082
|
+
# incoming requests.
|
4084
4083
|
# Corresponds to the JSON property `enabled`
|
4085
4084
|
# @return [Boolean]
|
4086
4085
|
attr_accessor :enabled
|
@@ -5221,7 +5220,7 @@ module Google
|
|
5221
5220
|
# @return [String]
|
5222
5221
|
attr_accessor :region
|
5223
5222
|
|
5224
|
-
# List of
|
5223
|
+
# List of create-on-create reseravtions for this commitment.
|
5225
5224
|
# Corresponds to the JSON property `reservations`
|
5226
5225
|
# @return [Array<Google::Apis::ComputeV1::Reservation>]
|
5227
5226
|
attr_accessor :reservations
|
@@ -9339,13 +9338,13 @@ module Google
|
|
9339
9338
|
# @return [String]
|
9340
9339
|
attr_accessor :name
|
9341
9340
|
|
9342
|
-
# This field is not used for external load balancing. For Internal TCP/
|
9343
|
-
# Balancing, this field identifies the network that the load balanced
|
9344
|
-
# belong to for this Forwarding Rule. If the subnetwork is specified,
|
9345
|
-
# network of the subnetwork will be used. If neither subnetwork nor this
|
9346
|
-
# is specified, the default network will be used. For Private Service
|
9347
|
-
# forwarding rules that forward traffic to Google APIs, a network must
|
9348
|
-
# provided.
|
9341
|
+
# This field is not used for global external load balancing. For Internal TCP/
|
9342
|
+
# UDP Load Balancing, this field identifies the network that the load balanced
|
9343
|
+
# IP should belong to for this Forwarding Rule. If the subnetwork is specified,
|
9344
|
+
# the network of the subnetwork will be used. If neither subnetwork nor this
|
9345
|
+
# field is specified, the default network will be used. For Private Service
|
9346
|
+
# Connect forwarding rules that forward traffic to Google APIs, a network must
|
9347
|
+
# be provided.
|
9349
9348
|
# Corresponds to the JSON property `network`
|
9350
9349
|
# @return [String]
|
9351
9350
|
attr_accessor :network
|
@@ -27477,6 +27476,18 @@ module Google
|
|
27477
27476
|
# @return [Hash<String,Google::Apis::ComputeV1::PreservedStatePreservedDisk>]
|
27478
27477
|
attr_accessor :disks
|
27479
27478
|
|
27479
|
+
# Preserved external IPs defined for this instance. This map is keyed with the
|
27480
|
+
# name of the network interface.
|
27481
|
+
# Corresponds to the JSON property `externalIPs`
|
27482
|
+
# @return [Hash<String,Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp>]
|
27483
|
+
attr_accessor :external_i_ps
|
27484
|
+
|
27485
|
+
# Preserved internal IPs defined for this instance. This map is keyed with the
|
27486
|
+
# name of the network interface.
|
27487
|
+
# Corresponds to the JSON property `internalIPs`
|
27488
|
+
# @return [Hash<String,Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp>]
|
27489
|
+
attr_accessor :internal_i_ps
|
27490
|
+
|
27480
27491
|
# Preserved metadata defined for this instance.
|
27481
27492
|
# Corresponds to the JSON property `metadata`
|
27482
27493
|
# @return [Hash<String,String>]
|
@@ -27489,6 +27500,8 @@ module Google
|
|
27489
27500
|
# Update properties of this object
|
27490
27501
|
def update!(**args)
|
27491
27502
|
@disks = args[:disks] if args.key?(:disks)
|
27503
|
+
@external_i_ps = args[:external_i_ps] if args.key?(:external_i_ps)
|
27504
|
+
@internal_i_ps = args[:internal_i_ps] if args.key?(:internal_i_ps)
|
27492
27505
|
@metadata = args[:metadata] if args.key?(:metadata)
|
27493
27506
|
end
|
27494
27507
|
end
|
@@ -27530,6 +27543,60 @@ module Google
|
|
27530
27543
|
end
|
27531
27544
|
end
|
27532
27545
|
|
27546
|
+
#
|
27547
|
+
class PreservedStatePreservedNetworkIp
|
27548
|
+
include Google::Apis::Core::Hashable
|
27549
|
+
|
27550
|
+
# These stateful IPs will never be released during autohealing, update or VM
|
27551
|
+
# instance recreate operations. This flag is used to configure if the IP
|
27552
|
+
# reservation should be deleted after it is no longer used by the group, e.g.
|
27553
|
+
# when the given instance or the whole group is deleted.
|
27554
|
+
# Corresponds to the JSON property `autoDelete`
|
27555
|
+
# @return [String]
|
27556
|
+
attr_accessor :auto_delete
|
27557
|
+
|
27558
|
+
# Ip address representation
|
27559
|
+
# Corresponds to the JSON property `ipAddress`
|
27560
|
+
# @return [Google::Apis::ComputeV1::PreservedStatePreservedNetworkIpIpAddress]
|
27561
|
+
attr_accessor :ip_address
|
27562
|
+
|
27563
|
+
def initialize(**args)
|
27564
|
+
update!(**args)
|
27565
|
+
end
|
27566
|
+
|
27567
|
+
# Update properties of this object
|
27568
|
+
def update!(**args)
|
27569
|
+
@auto_delete = args[:auto_delete] if args.key?(:auto_delete)
|
27570
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
27571
|
+
end
|
27572
|
+
end
|
27573
|
+
|
27574
|
+
#
|
27575
|
+
class PreservedStatePreservedNetworkIpIpAddress
|
27576
|
+
include Google::Apis::Core::Hashable
|
27577
|
+
|
27578
|
+
# The URL of the reservation for this IP address.
|
27579
|
+
# Corresponds to the JSON property `address`
|
27580
|
+
# @return [String]
|
27581
|
+
attr_accessor :address
|
27582
|
+
|
27583
|
+
# An IPv4 internal network address to assign to the instance for this network
|
27584
|
+
# interface.
|
27585
|
+
# Corresponds to the JSON property `literal`
|
27586
|
+
# @return [String]
|
27587
|
+
attr_accessor :literal
|
27588
|
+
|
27589
|
+
def initialize(**args)
|
27590
|
+
update!(**args)
|
27591
|
+
end
|
27592
|
+
|
27593
|
+
# Update properties of this object
|
27594
|
+
def update!(**args)
|
27595
|
+
@address = args[:address] if args.key?(:address)
|
27596
|
+
@literal = args[:literal] if args.key?(:literal)
|
27597
|
+
end
|
27598
|
+
end
|
27599
|
+
|
27533
27600
|
# Represents a Project resource. A project is used to organize resources in a
|
27534
27601
|
# Google Cloud Platform environment. For more information, read about the
|
27535
27602
|
# Resource Hierarchy.
|
@@ -33142,8 +33209,8 @@ module Google
|
|
33142
33209
|
# "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.
|
33143
33210
|
# 0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The
|
33144
33211
|
# following example is a valid match expression for private NAT: "nexthop.hub ==
|
33145
|
-
# '
|
33146
|
-
#
|
33212
|
+
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
33213
|
+
# hubs/hub-1'"
|
33147
33214
|
# Corresponds to the JSON property `match`
|
33148
33215
|
# @return [String]
|
33149
33216
|
attr_accessor :match
|
@@ -38137,6 +38204,20 @@ module Google
|
|
38137
38204
|
# @return [Hash<String,Google::Apis::ComputeV1::StatefulPolicyPreservedStateDiskDevice>]
|
38138
38205
|
attr_accessor :disks
|
38139
38206
|
|
38207
|
+
# External network IPs assigned to the instances that will be preserved on
|
38208
|
+
# instance delete, update, etc. This map is keyed with the network interface
|
38209
|
+
# name.
|
38210
|
+
# Corresponds to the JSON property `externalIPs`
|
38211
|
+
# @return [Hash<String,Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp>]
|
38212
|
+
attr_accessor :external_i_ps
|
38213
|
+
|
38214
|
+
# Internal network IPs assigned to the instances that will be preserved on
|
38215
|
+
# instance delete, update, etc. This map is keyed with the network interface
|
38216
|
+
# name.
|
38217
|
+
# Corresponds to the JSON property `internalIPs`
|
38218
|
+
# @return [Hash<String,Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp>]
|
38219
|
+
attr_accessor :internal_i_ps
|
38220
|
+
|
38140
38221
|
def initialize(**args)
|
38141
38222
|
update!(**args)
|
38142
38223
|
end
|
@@ -38144,6 +38225,8 @@ module Google
|
|
38144
38225
|
# Update properties of this object
|
38145
38226
|
def update!(**args)
|
38146
38227
|
@disks = args[:disks] if args.key?(:disks)
|
38228
|
+
@external_i_ps = args[:external_i_ps] if args.key?(:external_i_ps)
|
38229
|
+
@internal_i_ps = args[:internal_i_ps] if args.key?(:internal_i_ps)
|
38147
38230
|
end
|
38148
38231
|
end
|
38149
38232
|
|
@@ -38170,6 +38253,28 @@ module Google
|
|
38170
38253
|
end
|
38171
38254
|
end
|
38172
38255
|
|
38256
|
+
#
|
38257
|
+
class StatefulPolicyPreservedStateNetworkIp
|
38258
|
+
include Google::Apis::Core::Hashable
|
38259
|
+
|
38260
|
+
# These stateful IPs will never be released during autohealing, update or VM
|
38261
|
+
# instance recreate operations. This flag is used to configure if the IP
|
38262
|
+
# reservation should be deleted after it is no longer used by the group, e.g.
|
38263
|
+
# when the given instance or the whole group is deleted.
|
38264
|
+
# Corresponds to the JSON property `autoDelete`
|
38265
|
+
# @return [String]
|
38266
|
+
attr_accessor :auto_delete
|
38267
|
+
|
38268
|
+
def initialize(**args)
|
38269
|
+
update!(**args)
|
38270
|
+
end
|
38271
|
+
|
38272
|
+
# Update properties of this object
|
38273
|
+
def update!(**args)
|
38274
|
+
@auto_delete = args[:auto_delete] if args.key?(:auto_delete)
|
38275
|
+
end
|
38276
|
+
end
|
38277
|
+
|
38173
38278
|
# The `Status` type defines a logical error model that is suitable for different
|
38174
38279
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
38175
38280
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -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.79.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230912"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3490,6 +3490,18 @@ module Google
|
|
3490
3490
|
include Google::Apis::Core::JsonObjectSupport
|
3491
3491
|
end
|
3492
3492
|
|
3493
|
+
class PreservedStatePreservedNetworkIp
|
3494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3495
|
+
|
3496
|
+
include Google::Apis::Core::JsonObjectSupport
|
3497
|
+
end
|
3498
|
+
|
3499
|
+
class PreservedStatePreservedNetworkIpIpAddress
|
3500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3501
|
+
|
3502
|
+
include Google::Apis::Core::JsonObjectSupport
|
3503
|
+
end
|
3504
|
+
|
3493
3505
|
class Project
|
3494
3506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3495
3507
|
|
@@ -4996,6 +5008,12 @@ module Google
|
|
4996
5008
|
include Google::Apis::Core::JsonObjectSupport
|
4997
5009
|
end
|
4998
5010
|
|
5011
|
+
class StatefulPolicyPreservedStateNetworkIp
|
5012
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5013
|
+
|
5014
|
+
include Google::Apis::Core::JsonObjectSupport
|
5015
|
+
end
|
5016
|
+
|
4999
5017
|
class Status
|
5000
5018
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5001
5019
|
|
@@ -12620,6 +12638,10 @@ module Google
|
|
12620
12638
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12621
12639
|
hash :disks, as: 'disks', class: Google::Apis::ComputeV1::PreservedStatePreservedDisk, decorator: Google::Apis::ComputeV1::PreservedStatePreservedDisk::Representation
|
12622
12640
|
|
12641
|
+
hash :external_i_ps, as: 'externalIPs', class: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp, decorator: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp::Representation
|
12642
|
+
|
12643
|
+
hash :internal_i_ps, as: 'internalIPs', class: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp, decorator: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIp::Representation
|
12644
|
+
|
12623
12645
|
hash :metadata, as: 'metadata'
|
12624
12646
|
end
|
12625
12647
|
end
|
@@ -12633,6 +12655,23 @@ module Google
|
|
12633
12655
|
end
|
12634
12656
|
end
|
12635
12657
|
|
12658
|
+
class PreservedStatePreservedNetworkIp
|
12659
|
+
# @private
|
12660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12661
|
+
property :auto_delete, as: 'autoDelete'
|
12662
|
+
property :ip_address, as: 'ipAddress', class: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIpIpAddress, decorator: Google::Apis::ComputeV1::PreservedStatePreservedNetworkIpIpAddress::Representation
|
12663
|
+
|
12664
|
+
end
|
12665
|
+
end
|
12666
|
+
|
12667
|
+
class PreservedStatePreservedNetworkIpIpAddress
|
12668
|
+
# @private
|
12669
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12670
|
+
property :address, as: 'address'
|
12671
|
+
property :literal, as: 'literal'
|
12672
|
+
end
|
12673
|
+
end
|
12674
|
+
|
12636
12675
|
class Project
|
12637
12676
|
# @private
|
12638
12677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15344,6 +15383,10 @@ module Google
|
|
15344
15383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15345
15384
|
hash :disks, as: 'disks', class: Google::Apis::ComputeV1::StatefulPolicyPreservedStateDiskDevice, decorator: Google::Apis::ComputeV1::StatefulPolicyPreservedStateDiskDevice::Representation
|
15346
15385
|
|
15386
|
+
hash :external_i_ps, as: 'externalIPs', class: Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp, decorator: Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp::Representation
|
15387
|
+
|
15388
|
+
hash :internal_i_ps, as: 'internalIPs', class: Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp, decorator: Google::Apis::ComputeV1::StatefulPolicyPreservedStateNetworkIp::Representation
|
15389
|
+
|
15347
15390
|
end
|
15348
15391
|
end
|
15349
15392
|
|
@@ -15354,6 +15397,13 @@ module Google
|
|
15354
15397
|
end
|
15355
15398
|
end
|
15356
15399
|
|
15400
|
+
class StatefulPolicyPreservedStateNetworkIp
|
15401
|
+
# @private
|
15402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15403
|
+
property :auto_delete, as: 'autoDelete'
|
15404
|
+
end
|
15405
|
+
end
|
15406
|
+
|
15357
15407
|
class Status
|
15358
15408
|
# @private
|
15359
15409
|
class Representation < Google::Apis::Core::JsonRepresentation
|