google-apis-compute_v1 0.15.0 → 0.16.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 +115 -40
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +17 -0
- data/lib/google/apis/compute_v1/service.rb +43 -3
- data/lib/google/apis/compute_v1.rb +3 -3
- 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: bef1c398d389b8e6bd6c7989e0dee52efa2ac3ff6104dfa551039156df544a11
|
4
|
+
data.tar.gz: 8a2f480a1a3fd29c4e7aed2a3bd966d503f6f72981530862d9f8dea08f2a9a77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff39b23679eab2b17666c3671a3928476961eaab589b891a10412d591df2bc5b57e0133fbf5a82b428682ca881824ada5b8cb07c67924cb9fee5bd1d1b56e5a1
|
7
|
+
data.tar.gz: 4c93ce827c9920408df33512f57e8f59455cad3c3a8a1a8fce7eb903e493acee41cfd4d1c2f6e54c72ce08507a8e875d8c1f4273c2176bda264d06f173169ea3
|
data/CHANGELOG.md
CHANGED
@@ -594,8 +594,8 @@ module Google
|
|
594
594
|
|
595
595
|
# Name of the resource. Provided by the client when the resource is created. The
|
596
596
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
597
|
-
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
598
|
-
# z0-9]*[a-z0-9])
|
597
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
598
|
+
# z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all
|
599
599
|
# following characters (except for the last character) must be a dash, lowercase
|
600
600
|
# letter, or digit. The last character must be a lowercase letter or digit.
|
601
601
|
# Corresponds to the JSON property `name`
|
@@ -1170,6 +1170,7 @@ module Google
|
|
1170
1170
|
end
|
1171
1171
|
|
1172
1172
|
# This reservation type allows to pre allocate specific instance configuration.
|
1173
|
+
# Next ID: 5
|
1173
1174
|
class AllocationSpecificSkuReservation
|
1174
1175
|
include Google::Apis::Core::Hashable
|
1175
1176
|
|
@@ -2413,7 +2414,13 @@ module Google
|
|
2413
2414
|
|
2414
2415
|
# Specifies how to determine whether the backend of a load balancer can handle
|
2415
2416
|
# additional traffic or is fully loaded. For usage guidelines, see Connection
|
2416
|
-
# balancing mode.
|
2417
|
+
# balancing mode. Backends must use compatible balancing modes. For more
|
2418
|
+
# information, see Supported balancing modes and target capacity settings and
|
2419
|
+
# Restrictions and guidance for instance groups. Note: Currently, if you use the
|
2420
|
+
# API to configure incompatible balancing modes, the configuration might be
|
2421
|
+
# accepted even though it has no impact and is ignored. Specifically, Backend.
|
2422
|
+
# maxUtilization is ignored when Backend.balancingMode is RATE. In the future,
|
2423
|
+
# this incompatible combination will be rejected.
|
2417
2424
|
# Corresponds to the JSON property `balancingMode`
|
2418
2425
|
# @return [String]
|
2419
2426
|
attr_accessor :balancing_mode
|
@@ -2494,7 +2501,9 @@ module Google
|
|
2494
2501
|
# @return [Float]
|
2495
2502
|
attr_accessor :max_rate_per_instance
|
2496
2503
|
|
2497
|
-
#
|
2504
|
+
# Optional parameter to define a target capacity for the UTILIZATIONbalancing
|
2505
|
+
# mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization
|
2506
|
+
# balancing mode.
|
2498
2507
|
# Corresponds to the JSON property `maxUtilization`
|
2499
2508
|
# @return [Float]
|
2500
2509
|
attr_accessor :max_utilization
|
@@ -4360,6 +4369,14 @@ module Google
|
|
4360
4369
|
# @return [String]
|
4361
4370
|
attr_accessor :status_message
|
4362
4371
|
|
4372
|
+
# The type of commitment, which affects the discount rate and the eligible
|
4373
|
+
# resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply
|
4374
|
+
# to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a
|
4375
|
+
# commitment that will only apply to accelerator optimized machines.
|
4376
|
+
# Corresponds to the JSON property `type`
|
4377
|
+
# @return [String]
|
4378
|
+
attr_accessor :type
|
4379
|
+
|
4363
4380
|
def initialize(**args)
|
4364
4381
|
update!(**args)
|
4365
4382
|
end
|
@@ -4382,6 +4399,7 @@ module Google
|
|
4382
4399
|
@start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
|
4383
4400
|
@status = args[:status] if args.key?(:status)
|
4384
4401
|
@status_message = args[:status_message] if args.key?(:status_message)
|
4402
|
+
@type = args[:type] if args.key?(:type)
|
4385
4403
|
end
|
4386
4404
|
end
|
4387
4405
|
|
@@ -5103,14 +5121,20 @@ module Google
|
|
5103
5121
|
# @return [String]
|
5104
5122
|
attr_accessor :description
|
5105
5123
|
|
5106
|
-
# Encrypts the disk using a customer-supplied encryption key
|
5107
|
-
#
|
5108
|
-
# the disk
|
5109
|
-
#
|
5110
|
-
#
|
5111
|
-
#
|
5112
|
-
#
|
5113
|
-
#
|
5124
|
+
# Encrypts the disk using a customer-supplied encryption key or a customer-
|
5125
|
+
# managed encryption key. Encryption keys do not protect access to metadata of
|
5126
|
+
# the disk. After you encrypt a disk with a customer-supplied key, you must
|
5127
|
+
# provide the same key if you use the disk later. For example, to create a disk
|
5128
|
+
# snapshot, to create a disk image, to create a machine image, or to attach the
|
5129
|
+
# disk to a virtual machine. After you encrypt a disk with a customer-managed
|
5130
|
+
# key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the
|
5131
|
+
# disk is created. The disk is encrypted with this version of the key. In the
|
5132
|
+
# response, diskEncryptionKey.kmsKeyName appears in the following format: "
|
5133
|
+
# diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/
|
5134
|
+
# keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not
|
5135
|
+
# provide an encryption key when creating the disk, then the disk is encrypted
|
5136
|
+
# using an automatically generated key and you don't need to provide a key to
|
5137
|
+
# use the disk later.
|
5114
5138
|
# Corresponds to the JSON property `diskEncryptionKey`
|
5115
5139
|
# @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
|
5116
5140
|
attr_accessor :disk_encryption_key
|
@@ -6925,7 +6949,7 @@ module Google
|
|
6925
6949
|
|
6926
6950
|
# If destination ranges are specified, the firewall rule applies only to traffic
|
6927
6951
|
# that has destination IP address in these ranges. These ranges must be
|
6928
|
-
# expressed in CIDR format.
|
6952
|
+
# expressed in CIDR format. Both IPv4 and IPv6 are supported.
|
6929
6953
|
# Corresponds to the JSON property `destinationRanges`
|
6930
6954
|
# @return [Array<String>]
|
6931
6955
|
attr_accessor :destination_ranges
|
@@ -7005,7 +7029,7 @@ module Google
|
|
7005
7029
|
# fields are set, the rule applies to traffic that has a source IP address
|
7006
7030
|
# within sourceRanges OR a source IP from a resource with a matching tag listed
|
7007
7031
|
# in the sourceTags field. The connection does not need to match both fields for
|
7008
|
-
# the rule to apply.
|
7032
|
+
# the rule to apply. Both IPv4 and IPv6 are supported.
|
7009
7033
|
# Corresponds to the JSON property `sourceRanges`
|
7010
7034
|
# @return [Array<String>]
|
7011
7035
|
attr_accessor :source_ranges
|
@@ -8636,7 +8660,7 @@ module Google
|
|
8636
8660
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
8637
8661
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
8638
8662
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
8639
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
8663
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
8640
8664
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
8641
8665
|
# google.com/iam/docs/).
|
8642
8666
|
# Corresponds to the JSON property `policy`
|
@@ -8733,7 +8757,7 @@ module Google
|
|
8733
8757
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
8734
8758
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
8735
8759
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
8736
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
8760
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
8737
8761
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
8738
8762
|
# google.com/iam/docs/).
|
8739
8763
|
# Corresponds to the JSON property `policy`
|
@@ -11321,10 +11345,12 @@ module Google
|
|
11321
11345
|
# @return [String]
|
11322
11346
|
attr_accessor :source_disk_id
|
11323
11347
|
|
11324
|
-
# URL of the source image used to create this image.
|
11325
|
-
#
|
11326
|
-
#
|
11327
|
-
#
|
11348
|
+
# URL of the source image used to create this image. The following are valid
|
11349
|
+
# formats for the URL: - https://www.googleapis.com/compute/v1/projects/
|
11350
|
+
# project_id/global/ images/image_name - projects/project_id/global/images/
|
11351
|
+
# image_name In order to create an image, you must provide the full or partial
|
11352
|
+
# URL of one of the following: - The rawDisk.source URL - The sourceDisk URL -
|
11353
|
+
# The sourceImage URL - The sourceSnapshot URL
|
11328
11354
|
# Corresponds to the JSON property `sourceImage`
|
11329
11355
|
# @return [String]
|
11330
11356
|
attr_accessor :source_image
|
@@ -11342,10 +11368,12 @@ module Google
|
|
11342
11368
|
# @return [String]
|
11343
11369
|
attr_accessor :source_image_id
|
11344
11370
|
|
11345
|
-
# URL of the source snapshot used to create this image.
|
11346
|
-
#
|
11347
|
-
#
|
11348
|
-
#
|
11371
|
+
# URL of the source snapshot used to create this image. The following are valid
|
11372
|
+
# formats for the URL: - https://www.googleapis.com/compute/v1/projects/
|
11373
|
+
# project_id/global/ snapshots/snapshot_name - projects/project_id/global/
|
11374
|
+
# snapshots/snapshot_name In order to create an image, you must provide the full
|
11375
|
+
# or partial URL of one of the following: - The rawDisk.source URL - The
|
11376
|
+
# sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
|
11349
11377
|
# Corresponds to the JSON property `sourceSnapshot`
|
11350
11378
|
# @return [String]
|
11351
11379
|
attr_accessor :source_snapshot
|
@@ -11439,10 +11467,12 @@ module Google
|
|
11439
11467
|
# @return [String]
|
11440
11468
|
attr_accessor :sha1_checksum
|
11441
11469
|
|
11442
|
-
# The full Google Cloud Storage URL where the disk image is stored.
|
11443
|
-
#
|
11444
|
-
#
|
11445
|
-
#
|
11470
|
+
# The full Google Cloud Storage URL where the raw disk image archive is stored.
|
11471
|
+
# The following are valid formats for the URL: - https://storage.googleapis.com/
|
11472
|
+
# bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/
|
11473
|
+
# folder_name/ image_archive_name In order to create an image, you must provide
|
11474
|
+
# the full or partial URL of one of the following: - The rawDisk.source URL -
|
11475
|
+
# The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
|
11446
11476
|
# Corresponds to the JSON property `source`
|
11447
11477
|
# @return [String]
|
11448
11478
|
attr_accessor :source
|
@@ -11460,6 +11490,26 @@ module Google
|
|
11460
11490
|
end
|
11461
11491
|
end
|
11462
11492
|
|
11493
|
+
#
|
11494
|
+
class ImageFamilyView
|
11495
|
+
include Google::Apis::Core::Hashable
|
11496
|
+
|
11497
|
+
# Represents an Image resource. You can use images to create boot disks for your
|
11498
|
+
# VM instances. For more information, read Images.
|
11499
|
+
# Corresponds to the JSON property `image`
|
11500
|
+
# @return [Google::Apis::ComputeV1::Image]
|
11501
|
+
attr_accessor :image
|
11502
|
+
|
11503
|
+
def initialize(**args)
|
11504
|
+
update!(**args)
|
11505
|
+
end
|
11506
|
+
|
11507
|
+
# Update properties of this object
|
11508
|
+
def update!(**args)
|
11509
|
+
@image = args[:image] if args.key?(:image)
|
11510
|
+
end
|
11511
|
+
end
|
11512
|
+
|
11463
11513
|
# Contains a list of images.
|
11464
11514
|
class ImageList
|
11465
11515
|
include Google::Apis::Core::Hashable
|
@@ -13262,6 +13312,18 @@ module Google
|
|
13262
13312
|
# @return [Array<String>]
|
13263
13313
|
attr_accessor :instances
|
13264
13314
|
|
13315
|
+
# Specifies whether the request should proceed despite the inclusion of
|
13316
|
+
# instances that are not members of the group or that are already in the process
|
13317
|
+
# of being deleted or abandoned. If this field is set to `false` and such an
|
13318
|
+
# instance is specified in the request, the operation fails. The operation
|
13319
|
+
# always fails if the request contains a malformed instance URL or a reference
|
13320
|
+
# to an instance that exists in a zone or region other than the group's zone or
|
13321
|
+
# region.
|
13322
|
+
# Corresponds to the JSON property `skipInstancesOnValidationError`
|
13323
|
+
# @return [Boolean]
|
13324
|
+
attr_accessor :skip_instances_on_validation_error
|
13325
|
+
alias_method :skip_instances_on_validation_error?, :skip_instances_on_validation_error
|
13326
|
+
|
13265
13327
|
def initialize(**args)
|
13266
13328
|
update!(**args)
|
13267
13329
|
end
|
@@ -13269,6 +13331,7 @@ module Google
|
|
13269
13331
|
# Update properties of this object
|
13270
13332
|
def update!(**args)
|
13271
13333
|
@instances = args[:instances] if args.key?(:instances)
|
13334
|
+
@skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
|
13272
13335
|
end
|
13273
13336
|
end
|
13274
13337
|
|
@@ -18113,7 +18176,7 @@ module Google
|
|
18113
18176
|
attr_accessor :kind
|
18114
18177
|
|
18115
18178
|
# Maximum Transmission Unit in bytes. The minimum value for this field is 1460
|
18116
|
-
# and the maximum value is 1500 bytes.
|
18179
|
+
# and the maximum value is 1500 bytes. If unspecified, defaults to 1460.
|
18117
18180
|
# Corresponds to the JSON property `mtu`
|
18118
18181
|
# @return [Fixnum]
|
18119
18182
|
attr_accessor :mtu
|
@@ -19299,9 +19362,8 @@ module Google
|
|
19299
19362
|
alias_method :export_custom_routes?, :export_custom_routes
|
19300
19363
|
|
19301
19364
|
# Whether subnet routes with public IP range are exported. The default value is
|
19302
|
-
# true, all subnet routes are exported.
|
19303
|
-
#
|
19304
|
-
# are not controlled by this field.
|
19365
|
+
# true, all subnet routes are exported. IPv4 special-use ranges are always
|
19366
|
+
# exported to peers and are not controlled by this field.
|
19305
19367
|
# Corresponds to the JSON property `exportSubnetRoutesWithPublicIp`
|
19306
19368
|
# @return [Boolean]
|
19307
19369
|
attr_accessor :export_subnet_routes_with_public_ip
|
@@ -19314,9 +19376,8 @@ module Google
|
|
19314
19376
|
alias_method :import_custom_routes?, :import_custom_routes
|
19315
19377
|
|
19316
19378
|
# Whether subnet routes with public IP range are imported. The default value is
|
19317
|
-
# false.
|
19318
|
-
#
|
19319
|
-
# this field.
|
19379
|
+
# false. IPv4 special-use ranges are always imported from peers and are not
|
19380
|
+
# controlled by this field.
|
19320
19381
|
# Corresponds to the JSON property `importSubnetRoutesWithPublicIp`
|
19321
19382
|
# @return [Boolean]
|
19322
19383
|
attr_accessor :import_subnet_routes_with_public_ip
|
@@ -19556,7 +19617,7 @@ module Google
|
|
19556
19617
|
end
|
19557
19618
|
end
|
19558
19619
|
|
19559
|
-
#
|
19620
|
+
# Represents a sole-tenant Node Group resource. A sole-tenant node is a physical
|
19560
19621
|
# server that is dedicated to hosting VM instances only for your specific
|
19561
19622
|
# project. Use sole-tenant nodes to keep your instances physically separated
|
19562
19623
|
# from instances in other projects, or to group your instances together on the
|
@@ -23083,7 +23144,7 @@ module Google
|
|
23083
23144
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
23084
23145
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
23085
23146
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
23086
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
23147
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
23087
23148
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
23088
23149
|
# google.com/iam/docs/).
|
23089
23150
|
class Policy
|
@@ -25084,6 +25145,18 @@ module Google
|
|
25084
25145
|
# @return [Array<String>]
|
25085
25146
|
attr_accessor :instances
|
25086
25147
|
|
25148
|
+
# Specifies whether the request should proceed despite the inclusion of
|
25149
|
+
# instances that are not members of the group or that are already in the process
|
25150
|
+
# of being deleted or abandoned. If this field is set to `false` and such an
|
25151
|
+
# instance is specified in the request, the operation fails. The operation
|
25152
|
+
# always fails if the request contains a malformed instance URL or a reference
|
25153
|
+
# to an instance that exists in a zone or region other than the group's zone or
|
25154
|
+
# region.
|
25155
|
+
# Corresponds to the JSON property `skipInstancesOnValidationError`
|
25156
|
+
# @return [Boolean]
|
25157
|
+
attr_accessor :skip_instances_on_validation_error
|
25158
|
+
alias_method :skip_instances_on_validation_error?, :skip_instances_on_validation_error
|
25159
|
+
|
25087
25160
|
def initialize(**args)
|
25088
25161
|
update!(**args)
|
25089
25162
|
end
|
@@ -25091,6 +25164,7 @@ module Google
|
|
25091
25164
|
# Update properties of this object
|
25092
25165
|
def update!(**args)
|
25093
25166
|
@instances = args[:instances] if args.key?(:instances)
|
25167
|
+
@skip_instances_on_validation_error = args[:skip_instances_on_validation_error] if args.key?(:skip_instances_on_validation_error)
|
25094
25168
|
end
|
25095
25169
|
end
|
25096
25170
|
|
@@ -25685,7 +25759,7 @@ module Google
|
|
25685
25759
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
25686
25760
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
25687
25761
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
25688
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
25762
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
25689
25763
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
25690
25764
|
# google.com/iam/docs/).
|
25691
25765
|
# Corresponds to the JSON property `policy`
|
@@ -25837,6 +25911,7 @@ module Google
|
|
25837
25911
|
attr_accessor :self_link
|
25838
25912
|
|
25839
25913
|
# This reservation type allows to pre allocate specific instance configuration.
|
25914
|
+
# Next ID: 5
|
25840
25915
|
# Corresponds to the JSON property `specificReservation`
|
25841
25916
|
# @return [Google::Apis::ComputeV1::AllocationSpecificSkuReservation]
|
25842
25917
|
attr_accessor :specific_reservation
|
@@ -29481,7 +29556,7 @@ module Google
|
|
29481
29556
|
# Represents a ServiceAttachment resource. A service attachment represents a
|
29482
29557
|
# service that a producer has exposed. It encapsulates the load balancer which
|
29483
29558
|
# fronts the service runs and a list of NAT IP ranges that the producers uses to
|
29484
|
-
# represent the consumers connecting to the service. next tag =
|
29559
|
+
# represent the consumers connecting to the service. next tag = 20
|
29485
29560
|
class ServiceAttachment
|
29486
29561
|
include Google::Apis::Core::Hashable
|
29487
29562
|
|
@@ -38173,7 +38248,7 @@ module Google
|
|
38173
38248
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
38174
38249
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
38175
38250
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
38176
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
38251
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
38177
38252
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
38178
38253
|
# google.com/iam/docs/).
|
38179
38254
|
# Corresponds to the JSON property `policy`
|
@@ -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.16.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 = "20210820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1366,6 +1366,12 @@ module Google
|
|
1366
1366
|
include Google::Apis::Core::JsonObjectSupport
|
1367
1367
|
end
|
1368
1368
|
|
1369
|
+
class ImageFamilyView
|
1370
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
|
+
|
1372
|
+
include Google::Apis::Core::JsonObjectSupport
|
1373
|
+
end
|
1374
|
+
|
1369
1375
|
class ImageList
|
1370
1376
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
1377
|
|
@@ -6137,6 +6143,7 @@ module Google
|
|
6137
6143
|
property :start_timestamp, as: 'startTimestamp'
|
6138
6144
|
property :status, as: 'status'
|
6139
6145
|
property :status_message, as: 'statusMessage'
|
6146
|
+
property :type, as: 'type'
|
6140
6147
|
end
|
6141
6148
|
end
|
6142
6149
|
|
@@ -7784,6 +7791,14 @@ module Google
|
|
7784
7791
|
end
|
7785
7792
|
end
|
7786
7793
|
|
7794
|
+
class ImageFamilyView
|
7795
|
+
# @private
|
7796
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7797
|
+
property :image, as: 'image', class: Google::Apis::ComputeV1::Image, decorator: Google::Apis::ComputeV1::Image::Representation
|
7798
|
+
|
7799
|
+
end
|
7800
|
+
end
|
7801
|
+
|
7787
7802
|
class ImageList
|
7788
7803
|
# @private
|
7789
7804
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8217,6 +8232,7 @@ module Google
|
|
8217
8232
|
# @private
|
8218
8233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8219
8234
|
collection :instances, as: 'instances'
|
8235
|
+
property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
|
8220
8236
|
end
|
8221
8237
|
end
|
8222
8238
|
|
@@ -11294,6 +11310,7 @@ module Google
|
|
11294
11310
|
# @private
|
11295
11311
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11296
11312
|
collection :instances, as: 'instances'
|
11313
|
+
property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
|
11297
11314
|
end
|
11298
11315
|
end
|
11299
11316
|
|
@@ -7332,6 +7332,46 @@ module Google
|
|
7332
7332
|
execute_or_queue_command(command, &block)
|
7333
7333
|
end
|
7334
7334
|
|
7335
|
+
# Returns the latest image that is part of an image family, is not deprecated
|
7336
|
+
# and is rolled out in the specified zone.
|
7337
|
+
# @param [String] project
|
7338
|
+
# Project ID for this request.
|
7339
|
+
# @param [String] zone
|
7340
|
+
# The name of the zone for this request.
|
7341
|
+
# @param [String] family
|
7342
|
+
# Name of the image family to search for.
|
7343
|
+
# @param [String] fields
|
7344
|
+
# Selector specifying which fields to include in a partial response.
|
7345
|
+
# @param [String] quota_user
|
7346
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7347
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7348
|
+
# @param [String] user_ip
|
7349
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
7350
|
+
# @param [Google::Apis::RequestOptions] options
|
7351
|
+
# Request-specific options
|
7352
|
+
#
|
7353
|
+
# @yield [result, err] Result & error if block supplied
|
7354
|
+
# @yieldparam result [Google::Apis::ComputeV1::ImageFamilyView] parsed result object
|
7355
|
+
# @yieldparam err [StandardError] error object if request failed
|
7356
|
+
#
|
7357
|
+
# @return [Google::Apis::ComputeV1::ImageFamilyView]
|
7358
|
+
#
|
7359
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7360
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7361
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7362
|
+
def get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7363
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/imageFamilyViews/{family}', options)
|
7364
|
+
command.response_representation = Google::Apis::ComputeV1::ImageFamilyView::Representation
|
7365
|
+
command.response_class = Google::Apis::ComputeV1::ImageFamilyView
|
7366
|
+
command.params['project'] = project unless project.nil?
|
7367
|
+
command.params['zone'] = zone unless zone.nil?
|
7368
|
+
command.params['family'] = family unless family.nil?
|
7369
|
+
command.query['fields'] = fields unless fields.nil?
|
7370
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7371
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
7372
|
+
execute_or_queue_command(command, &block)
|
7373
|
+
end
|
7374
|
+
|
7335
7375
|
# Deletes the specified image.
|
7336
7376
|
# @param [String] project
|
7337
7377
|
# Project ID for this request.
|
@@ -14706,9 +14746,9 @@ module Google
|
|
14706
14746
|
execute_or_queue_command(command, &block)
|
14707
14747
|
end
|
14708
14748
|
|
14709
|
-
# Updates the specified network peering with the data included in the request
|
14710
|
-
#
|
14711
|
-
#
|
14749
|
+
# Updates the specified network peering with the data included in the request.
|
14750
|
+
# You can only modify the NetworkPeering.export_custom_routes field and the
|
14751
|
+
# NetworkPeering.import_custom_routes field.
|
14712
14752
|
# @param [String] project
|
14713
14753
|
# Project ID for this request.
|
14714
14754
|
# @param [String] network
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
|
35
35
|
# View and manage your Google Compute Engine resources
|
@@ -38,13 +38,13 @@ module Google
|
|
38
38
|
# View your Google Compute Engine resources
|
39
39
|
AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
|
40
40
|
|
41
|
-
# Manage your data and permissions in
|
41
|
+
# Manage your data and permissions in Cloud Storage and see the email address for your Google Account
|
42
42
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
43
43
|
|
44
44
|
# View your data in Google Cloud Storage
|
45
45
|
AUTH_DEVSTORAGE_READ_ONLY = 'https://www.googleapis.com/auth/devstorage.read_only'
|
46
46
|
|
47
|
-
# Manage your data in
|
47
|
+
# Manage your data in Cloud Storage and see the email address of your Google Account
|
48
48
|
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
49
49
|
end
|
50
50
|
end
|
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.16.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: 2021-
|
11
|
+
date: 2021-09-06 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/master/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.16.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|