google-apis-compute_v1 0.39.0 → 0.42.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 046241150730fc542c267f928147b09393497170c1b32dbe695d89e1f232afc5
|
4
|
+
data.tar.gz: 20928357ca5597f90840a653a9169dd8d03649c533cc5998a60638deb42525a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9f14e9dd5631eb8b34f354a9f65999e4406f2c695529d8fd39fa1e88c9e3cf71f2e65b2804d700d2ee013dffeee7ff5202360e1f1d43a9e43194bd0530cf540
|
7
|
+
data.tar.gz: a911d9aced8fcb12cf019bc4509268d8ed4600adb2acad7e6a626fba0e3e1bc5b7d04d43d5ac8b8df93fa3835712a9951d9d53a1af1977fed17a581dfad1ba04
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.42.0 (2022-07-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220621
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.41.0 (2022-06-30)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.8.0
|
11
|
+
|
12
|
+
### v0.40.0 (2022-06-23)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220614
|
15
|
+
|
3
16
|
### v0.39.0 (2022-06-18)
|
4
17
|
|
5
18
|
* Regenerated using generator version 0.7.0
|
@@ -1222,6 +1222,12 @@ module Google
|
|
1222
1222
|
class AttachedDisk
|
1223
1223
|
include Google::Apis::Core::Hashable
|
1224
1224
|
|
1225
|
+
# [Output Only] The architecture of the attached disk. Valid values are ARM64 or
|
1226
|
+
# X86_64.
|
1227
|
+
# Corresponds to the JSON property `architecture`
|
1228
|
+
# @return [String]
|
1229
|
+
attr_accessor :architecture
|
1230
|
+
|
1225
1231
|
# Specifies whether the disk will be auto-deleted when the instance is deleted (
|
1226
1232
|
# but not when the disk is detached from the instance).
|
1227
1233
|
# Corresponds to the JSON property `autoDelete`
|
@@ -1347,6 +1353,7 @@ module Google
|
|
1347
1353
|
|
1348
1354
|
# Update properties of this object
|
1349
1355
|
def update!(**args)
|
1356
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1350
1357
|
@auto_delete = args[:auto_delete] if args.key?(:auto_delete)
|
1351
1358
|
@boot = args[:boot] if args.key?(:boot)
|
1352
1359
|
@device_name = args[:device_name] if args.key?(:device_name)
|
@@ -1374,6 +1381,11 @@ module Google
|
|
1374
1381
|
class AttachedDiskInitializeParams
|
1375
1382
|
include Google::Apis::Core::Hashable
|
1376
1383
|
|
1384
|
+
# The architecture of the attached disk. Valid values are arm64 or x86_64.
|
1385
|
+
# Corresponds to the JSON property `architecture`
|
1386
|
+
# @return [String]
|
1387
|
+
attr_accessor :architecture
|
1388
|
+
|
1377
1389
|
# An optional description. Provide this property when creating the disk.
|
1378
1390
|
# Corresponds to the JSON property `description`
|
1379
1391
|
# @return [String]
|
@@ -1486,6 +1498,7 @@ module Google
|
|
1486
1498
|
|
1487
1499
|
# Update properties of this object
|
1488
1500
|
def update!(**args)
|
1501
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
1489
1502
|
@description = args[:description] if args.key?(:description)
|
1490
1503
|
@disk_name = args[:disk_name] if args.key?(:disk_name)
|
1491
1504
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
@@ -5668,6 +5681,11 @@ module Google
|
|
5668
5681
|
class Disk
|
5669
5682
|
include Google::Apis::Core::Hashable
|
5670
5683
|
|
5684
|
+
# The architecture of the disk. Valid values are ARM64 or X86_64.
|
5685
|
+
# Corresponds to the JSON property `architecture`
|
5686
|
+
# @return [String]
|
5687
|
+
attr_accessor :architecture
|
5688
|
+
|
5671
5689
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
5672
5690
|
# Corresponds to the JSON property `creationTimestamp`
|
5673
5691
|
# @return [String]
|
@@ -5943,6 +5961,7 @@ module Google
|
|
5943
5961
|
|
5944
5962
|
# Update properties of this object
|
5945
5963
|
def update!(**args)
|
5964
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
5946
5965
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
5947
5966
|
@description = args[:description] if args.key?(:description)
|
5948
5967
|
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
|
@@ -6976,6 +6995,56 @@ module Google
|
|
6976
6995
|
end
|
6977
6996
|
end
|
6978
6997
|
|
6998
|
+
# Describes the cause of the error with structured details. Example of an error
|
6999
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
7000
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
7001
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
7002
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
7003
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
7004
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
7005
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
7006
|
+
class ErrorInfo
|
7007
|
+
include Google::Apis::Core::Hashable
|
7008
|
+
|
7009
|
+
# The logical grouping to which the "reason" belongs. The error domain is
|
7010
|
+
# typically the registered service name of the tool or product that generates
|
7011
|
+
# the error. Example: "pubsub.googleapis.com". If the error is generated by some
|
7012
|
+
# common infrastructure, the error domain must be a globally unique value that
|
7013
|
+
# identifies the infrastructure. For Google API infrastructure, the error domain
|
7014
|
+
# is "googleapis.com".
|
7015
|
+
# Corresponds to the JSON property `domain`
|
7016
|
+
# @return [String]
|
7017
|
+
attr_accessor :domain
|
7018
|
+
|
7019
|
+
# Additional structured details about this error. Keys should match /[a-zA-Z0-9-
|
7020
|
+
# _]/ and be limited to 64 characters in length. When identifying the current
|
7021
|
+
# value of an exceeded limit, the units should be contained in the key, not the
|
7022
|
+
# value. For example, rather than `"instanceLimit": "100/request"`, should be
|
7023
|
+
# returned as, `"instanceLimitPerRequest": "100"`, if the client exceeds the
|
7024
|
+
# number of instances that can be created in a single (batch) request.
|
7025
|
+
# Corresponds to the JSON property `metadatas`
|
7026
|
+
# @return [Hash<String,String>]
|
7027
|
+
attr_accessor :metadatas
|
7028
|
+
|
7029
|
+
# The reason of the error. This is a constant value that identifies the
|
7030
|
+
# proximate cause of the error. Error reasons are unique within a particular
|
7031
|
+
# domain of errors. This should be at most 63 characters and match /[A-Z0-9_]+/.
|
7032
|
+
# Corresponds to the JSON property `reason`
|
7033
|
+
# @return [String]
|
7034
|
+
attr_accessor :reason
|
7035
|
+
|
7036
|
+
def initialize(**args)
|
7037
|
+
update!(**args)
|
7038
|
+
end
|
7039
|
+
|
7040
|
+
# Update properties of this object
|
7041
|
+
def update!(**args)
|
7042
|
+
@domain = args[:domain] if args.key?(:domain)
|
7043
|
+
@metadatas = args[:metadatas] if args.key?(:metadatas)
|
7044
|
+
@reason = args[:reason] if args.key?(:reason)
|
7045
|
+
end
|
7046
|
+
end
|
7047
|
+
|
6979
7048
|
#
|
6980
7049
|
class ExchangedPeeringRoute
|
6981
7050
|
include Google::Apis::Core::Hashable
|
@@ -8546,8 +8615,7 @@ module Google
|
|
8546
8615
|
attr_accessor :id
|
8547
8616
|
|
8548
8617
|
# The IP Version that will be used by this forwarding rule. Valid options are
|
8549
|
-
# IPV4 or IPV6.
|
8550
|
-
# rule.
|
8618
|
+
# IPV4 or IPV6.
|
8551
8619
|
# Corresponds to the JSON property `ipVersion`
|
8552
8620
|
# @return [String]
|
8553
8621
|
attr_accessor :ip_version
|
@@ -10649,6 +10717,53 @@ module Google
|
|
10649
10717
|
end
|
10650
10718
|
end
|
10651
10719
|
|
10720
|
+
# Provides links to documentation or for performing an out of band action. For
|
10721
|
+
# example, if a quota check failed with an error indicating the calling project
|
10722
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
10723
|
+
# to the right place in the developer console to flip the bit.
|
10724
|
+
class Help
|
10725
|
+
include Google::Apis::Core::Hashable
|
10726
|
+
|
10727
|
+
# URL(s) pointing to additional information on handling the current error.
|
10728
|
+
# Corresponds to the JSON property `links`
|
10729
|
+
# @return [Array<Google::Apis::ComputeV1::HelpLink>]
|
10730
|
+
attr_accessor :links
|
10731
|
+
|
10732
|
+
def initialize(**args)
|
10733
|
+
update!(**args)
|
10734
|
+
end
|
10735
|
+
|
10736
|
+
# Update properties of this object
|
10737
|
+
def update!(**args)
|
10738
|
+
@links = args[:links] if args.key?(:links)
|
10739
|
+
end
|
10740
|
+
end
|
10741
|
+
|
10742
|
+
# Describes a URL link.
|
10743
|
+
class HelpLink
|
10744
|
+
include Google::Apis::Core::Hashable
|
10745
|
+
|
10746
|
+
# Describes what the link offers.
|
10747
|
+
# Corresponds to the JSON property `description`
|
10748
|
+
# @return [String]
|
10749
|
+
attr_accessor :description
|
10750
|
+
|
10751
|
+
# The URL of the link.
|
10752
|
+
# Corresponds to the JSON property `url`
|
10753
|
+
# @return [String]
|
10754
|
+
attr_accessor :url
|
10755
|
+
|
10756
|
+
def initialize(**args)
|
10757
|
+
update!(**args)
|
10758
|
+
end
|
10759
|
+
|
10760
|
+
# Update properties of this object
|
10761
|
+
def update!(**args)
|
10762
|
+
@description = args[:description] if args.key?(:description)
|
10763
|
+
@url = args[:url] if args.key?(:url)
|
10764
|
+
end
|
10765
|
+
end
|
10766
|
+
|
10652
10767
|
# UrlMaps A host-matching rule for a URL. If matched, will use the named
|
10653
10768
|
# PathMatcher to select the BackendService.
|
10654
10769
|
class HostRule
|
@@ -11836,6 +11951,11 @@ module Google
|
|
11836
11951
|
class Image
|
11837
11952
|
include Google::Apis::Core::Hashable
|
11838
11953
|
|
11954
|
+
# The architecture of the image. Valid values are ARM64 or X86_64.
|
11955
|
+
# Corresponds to the JSON property `architecture`
|
11956
|
+
# @return [String]
|
11957
|
+
attr_accessor :architecture
|
11958
|
+
|
11839
11959
|
# Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
|
11840
11960
|
# Corresponds to the JSON property `archiveSizeBytes`
|
11841
11961
|
# @return [Fixnum]
|
@@ -12054,6 +12174,7 @@ module Google
|
|
12054
12174
|
|
12055
12175
|
# Update properties of this object
|
12056
12176
|
def update!(**args)
|
12177
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
12057
12178
|
@archive_size_bytes = args[:archive_size_bytes] if args.key?(:archive_size_bytes)
|
12058
12179
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
12059
12180
|
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
@@ -17906,6 +18027,33 @@ module Google
|
|
17906
18027
|
end
|
17907
18028
|
end
|
17908
18029
|
|
18030
|
+
# Provides a localized error message that is safe to return to the user which
|
18031
|
+
# can be attached to an RPC error.
|
18032
|
+
class LocalizedMessage
|
18033
|
+
include Google::Apis::Core::Hashable
|
18034
|
+
|
18035
|
+
# The locale used following the specification defined at http://www.rfc-editor.
|
18036
|
+
# org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
|
18037
|
+
# Corresponds to the JSON property `locale`
|
18038
|
+
# @return [String]
|
18039
|
+
attr_accessor :locale
|
18040
|
+
|
18041
|
+
# The localized error message in the above locale.
|
18042
|
+
# Corresponds to the JSON property `message`
|
18043
|
+
# @return [String]
|
18044
|
+
attr_accessor :message
|
18045
|
+
|
18046
|
+
def initialize(**args)
|
18047
|
+
update!(**args)
|
18048
|
+
end
|
18049
|
+
|
18050
|
+
# Update properties of this object
|
18051
|
+
def update!(**args)
|
18052
|
+
@locale = args[:locale] if args.key?(:locale)
|
18053
|
+
@message = args[:message] if args.key?(:message)
|
18054
|
+
end
|
18055
|
+
end
|
18056
|
+
|
17909
18057
|
# Configuration for location policy among multiple possible locations (e.g.
|
17910
18058
|
# preferences for zone selection among zones in a single region).
|
17911
18059
|
class LocationPolicy
|
@@ -19032,6 +19180,14 @@ module Google
|
|
19032
19180
|
# @return [String]
|
19033
19181
|
attr_accessor :code
|
19034
19182
|
|
19183
|
+
# [Output Only] An optional list of messages that contain the error details.
|
19184
|
+
# There is a set of defined message types to use for providing details.The
|
19185
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
19186
|
+
# details when the error code is QUOTA_EXCEEDED.
|
19187
|
+
# Corresponds to the JSON property `errorDetails`
|
19188
|
+
# @return [Array<Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors::Error::ErrorDetail>]
|
19189
|
+
attr_accessor :error_details
|
19190
|
+
|
19035
19191
|
# [Output Only] Indicates the field in the request that caused the error. This
|
19036
19192
|
# property is optional.
|
19037
19193
|
# Corresponds to the JSON property `location`
|
@@ -19050,9 +19206,52 @@ module Google
|
|
19050
19206
|
# Update properties of this object
|
19051
19207
|
def update!(**args)
|
19052
19208
|
@code = args[:code] if args.key?(:code)
|
19209
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
19053
19210
|
@location = args[:location] if args.key?(:location)
|
19054
19211
|
@message = args[:message] if args.key?(:message)
|
19055
19212
|
end
|
19213
|
+
|
19214
|
+
#
|
19215
|
+
class ErrorDetail
|
19216
|
+
include Google::Apis::Core::Hashable
|
19217
|
+
|
19218
|
+
# Describes the cause of the error with structured details. Example of an error
|
19219
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
19220
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
19221
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
19222
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
19223
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
19224
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
19225
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
19226
|
+
# Corresponds to the JSON property `errorInfo`
|
19227
|
+
# @return [Google::Apis::ComputeV1::ErrorInfo]
|
19228
|
+
attr_accessor :error_info
|
19229
|
+
|
19230
|
+
# Provides links to documentation or for performing an out of band action. For
|
19231
|
+
# example, if a quota check failed with an error indicating the calling project
|
19232
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
19233
|
+
# to the right place in the developer console to flip the bit.
|
19234
|
+
# Corresponds to the JSON property `help`
|
19235
|
+
# @return [Google::Apis::ComputeV1::Help]
|
19236
|
+
attr_accessor :help
|
19237
|
+
|
19238
|
+
# Provides a localized error message that is safe to return to the user which
|
19239
|
+
# can be attached to an RPC error.
|
19240
|
+
# Corresponds to the JSON property `localizedMessage`
|
19241
|
+
# @return [Google::Apis::ComputeV1::LocalizedMessage]
|
19242
|
+
attr_accessor :localized_message
|
19243
|
+
|
19244
|
+
def initialize(**args)
|
19245
|
+
update!(**args)
|
19246
|
+
end
|
19247
|
+
|
19248
|
+
# Update properties of this object
|
19249
|
+
def update!(**args)
|
19250
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
19251
|
+
@help = args[:help] if args.key?(:help)
|
19252
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
19253
|
+
end
|
19254
|
+
end
|
19056
19255
|
end
|
19057
19256
|
end
|
19058
19257
|
end
|
@@ -23285,6 +23484,14 @@ module Google
|
|
23285
23484
|
# @return [String]
|
23286
23485
|
attr_accessor :code
|
23287
23486
|
|
23487
|
+
# [Output Only] An optional list of messages that contain the error details.
|
23488
|
+
# There is a set of defined message types to use for providing details.The
|
23489
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
23490
|
+
# details when the error code is QUOTA_EXCEEDED.
|
23491
|
+
# Corresponds to the JSON property `errorDetails`
|
23492
|
+
# @return [Array<Google::Apis::ComputeV1::Operation::Error::Error::ErrorDetail>]
|
23493
|
+
attr_accessor :error_details
|
23494
|
+
|
23288
23495
|
# [Output Only] Indicates the field in the request that caused the error. This
|
23289
23496
|
# property is optional.
|
23290
23497
|
# Corresponds to the JSON property `location`
|
@@ -23303,9 +23510,52 @@ module Google
|
|
23303
23510
|
# Update properties of this object
|
23304
23511
|
def update!(**args)
|
23305
23512
|
@code = args[:code] if args.key?(:code)
|
23513
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
23306
23514
|
@location = args[:location] if args.key?(:location)
|
23307
23515
|
@message = args[:message] if args.key?(:message)
|
23308
23516
|
end
|
23517
|
+
|
23518
|
+
#
|
23519
|
+
class ErrorDetail
|
23520
|
+
include Google::Apis::Core::Hashable
|
23521
|
+
|
23522
|
+
# Describes the cause of the error with structured details. Example of an error
|
23523
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
23524
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
23525
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
23526
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
23527
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
23528
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
23529
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
23530
|
+
# Corresponds to the JSON property `errorInfo`
|
23531
|
+
# @return [Google::Apis::ComputeV1::ErrorInfo]
|
23532
|
+
attr_accessor :error_info
|
23533
|
+
|
23534
|
+
# Provides links to documentation or for performing an out of band action. For
|
23535
|
+
# example, if a quota check failed with an error indicating the calling project
|
23536
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
23537
|
+
# to the right place in the developer console to flip the bit.
|
23538
|
+
# Corresponds to the JSON property `help`
|
23539
|
+
# @return [Google::Apis::ComputeV1::Help]
|
23540
|
+
attr_accessor :help
|
23541
|
+
|
23542
|
+
# Provides a localized error message that is safe to return to the user which
|
23543
|
+
# can be attached to an RPC error.
|
23544
|
+
# Corresponds to the JSON property `localizedMessage`
|
23545
|
+
# @return [Google::Apis::ComputeV1::LocalizedMessage]
|
23546
|
+
attr_accessor :localized_message
|
23547
|
+
|
23548
|
+
def initialize(**args)
|
23549
|
+
update!(**args)
|
23550
|
+
end
|
23551
|
+
|
23552
|
+
# Update properties of this object
|
23553
|
+
def update!(**args)
|
23554
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
23555
|
+
@help = args[:help] if args.key?(:help)
|
23556
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
23557
|
+
end
|
23558
|
+
end
|
23309
23559
|
end
|
23310
23560
|
end
|
23311
23561
|
|
@@ -30926,6 +31176,11 @@ module Google
|
|
30926
31176
|
class SavedDisk
|
30927
31177
|
include Google::Apis::Core::Hashable
|
30928
31178
|
|
31179
|
+
# [Output Only] The architecture of the attached disk.
|
31180
|
+
# Corresponds to the JSON property `architecture`
|
31181
|
+
# @return [String]
|
31182
|
+
attr_accessor :architecture
|
31183
|
+
|
30929
31184
|
# [Output Only] Type of the resource. Always compute#savedDisk for attached
|
30930
31185
|
# disks.
|
30931
31186
|
# Corresponds to the JSON property `kind`
|
@@ -30956,6 +31211,7 @@ module Google
|
|
30956
31211
|
|
30957
31212
|
# Update properties of this object
|
30958
31213
|
def update!(**args)
|
31214
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
30959
31215
|
@kind = args[:kind] if args.key?(:kind)
|
30960
31216
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
30961
31217
|
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
@@ -32976,6 +33232,12 @@ module Google
|
|
32976
33232
|
class Snapshot
|
32977
33233
|
include Google::Apis::Core::Hashable
|
32978
33234
|
|
33235
|
+
# [Output Only] The architecture of the snapshot. Valid values are ARM64 or
|
33236
|
+
# X86_64.
|
33237
|
+
# Corresponds to the JSON property `architecture`
|
33238
|
+
# @return [String]
|
33239
|
+
attr_accessor :architecture
|
33240
|
+
|
32979
33241
|
# [Output Only] Set to true if snapshots are automatically created by applying
|
32980
33242
|
# resource policy on the target disk.
|
32981
33243
|
# Corresponds to the JSON property `autoCreated`
|
@@ -33146,6 +33408,7 @@ module Google
|
|
33146
33408
|
|
33147
33409
|
# Update properties of this object
|
33148
33410
|
def update!(**args)
|
33411
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
33149
33412
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
33150
33413
|
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
33151
33414
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -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.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220621"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -844,6 +844,12 @@ module Google
|
|
844
844
|
include Google::Apis::Core::JsonObjectSupport
|
845
845
|
end
|
846
846
|
|
847
|
+
class ErrorInfo
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
|
+
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
851
|
+
end
|
852
|
+
|
847
853
|
class ExchangedPeeringRoute
|
848
854
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
855
|
|
@@ -1282,6 +1288,18 @@ module Google
|
|
1282
1288
|
include Google::Apis::Core::JsonObjectSupport
|
1283
1289
|
end
|
1284
1290
|
|
1291
|
+
class Help
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
|
+
|
1294
|
+
include Google::Apis::Core::JsonObjectSupport
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
class HelpLink
|
1298
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1299
|
+
|
1300
|
+
include Google::Apis::Core::JsonObjectSupport
|
1301
|
+
end
|
1302
|
+
|
1285
1303
|
class HostRule
|
1286
1304
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
1305
|
|
@@ -2194,6 +2212,12 @@ module Google
|
|
2194
2212
|
include Google::Apis::Core::JsonObjectSupport
|
2195
2213
|
end
|
2196
2214
|
|
2215
|
+
class LocalizedMessage
|
2216
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2217
|
+
|
2218
|
+
include Google::Apis::Core::JsonObjectSupport
|
2219
|
+
end
|
2220
|
+
|
2197
2221
|
class LocationPolicy
|
2198
2222
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2199
2223
|
|
@@ -2358,6 +2382,12 @@ module Google
|
|
2358
2382
|
|
2359
2383
|
class Error
|
2360
2384
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2385
|
+
|
2386
|
+
class ErrorDetail
|
2387
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2388
|
+
|
2389
|
+
include Google::Apis::Core::JsonObjectSupport
|
2390
|
+
end
|
2361
2391
|
|
2362
2392
|
include Google::Apis::Core::JsonObjectSupport
|
2363
2393
|
end
|
@@ -2928,6 +2958,12 @@ module Google
|
|
2928
2958
|
|
2929
2959
|
class Error
|
2930
2960
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2961
|
+
|
2962
|
+
class ErrorDetail
|
2963
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2964
|
+
|
2965
|
+
include Google::Apis::Core::JsonObjectSupport
|
2966
|
+
end
|
2931
2967
|
|
2932
2968
|
include Google::Apis::Core::JsonObjectSupport
|
2933
2969
|
end
|
@@ -5800,6 +5836,7 @@ module Google
|
|
5800
5836
|
class AttachedDisk
|
5801
5837
|
# @private
|
5802
5838
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5839
|
+
property :architecture, as: 'architecture'
|
5803
5840
|
property :auto_delete, as: 'autoDelete'
|
5804
5841
|
property :boot, as: 'boot'
|
5805
5842
|
property :device_name, as: 'deviceName'
|
@@ -5825,6 +5862,7 @@ module Google
|
|
5825
5862
|
class AttachedDiskInitializeParams
|
5826
5863
|
# @private
|
5827
5864
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5865
|
+
property :architecture, as: 'architecture'
|
5828
5866
|
property :description, as: 'description'
|
5829
5867
|
property :disk_name, as: 'diskName'
|
5830
5868
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
@@ -6769,6 +6807,7 @@ module Google
|
|
6769
6807
|
class Disk
|
6770
6808
|
# @private
|
6771
6809
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6810
|
+
property :architecture, as: 'architecture'
|
6772
6811
|
property :creation_timestamp, as: 'creationTimestamp'
|
6773
6812
|
property :description, as: 'description'
|
6774
6813
|
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
@@ -7086,6 +7125,15 @@ module Google
|
|
7086
7125
|
end
|
7087
7126
|
end
|
7088
7127
|
|
7128
|
+
class ErrorInfo
|
7129
|
+
# @private
|
7130
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7131
|
+
property :domain, as: 'domain'
|
7132
|
+
hash :metadatas, as: 'metadatas'
|
7133
|
+
property :reason, as: 'reason'
|
7134
|
+
end
|
7135
|
+
end
|
7136
|
+
|
7089
7137
|
class ExchangedPeeringRoute
|
7090
7138
|
# @private
|
7091
7139
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7927,6 +7975,22 @@ module Google
|
|
7927
7975
|
end
|
7928
7976
|
end
|
7929
7977
|
|
7978
|
+
class Help
|
7979
|
+
# @private
|
7980
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7981
|
+
collection :links, as: 'links', class: Google::Apis::ComputeV1::HelpLink, decorator: Google::Apis::ComputeV1::HelpLink::Representation
|
7982
|
+
|
7983
|
+
end
|
7984
|
+
end
|
7985
|
+
|
7986
|
+
class HelpLink
|
7987
|
+
# @private
|
7988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7989
|
+
property :description, as: 'description'
|
7990
|
+
property :url, as: 'url'
|
7991
|
+
end
|
7992
|
+
end
|
7993
|
+
|
7930
7994
|
class HostRule
|
7931
7995
|
# @private
|
7932
7996
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8191,6 +8255,7 @@ module Google
|
|
8191
8255
|
class Image
|
8192
8256
|
# @private
|
8193
8257
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8258
|
+
property :architecture, as: 'architecture'
|
8194
8259
|
property :archive_size_bytes, :numeric_string => true, as: 'archiveSizeBytes'
|
8195
8260
|
property :creation_timestamp, as: 'creationTimestamp'
|
8196
8261
|
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
|
@@ -9703,6 +9768,14 @@ module Google
|
|
9703
9768
|
end
|
9704
9769
|
end
|
9705
9770
|
|
9771
|
+
class LocalizedMessage
|
9772
|
+
# @private
|
9773
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9774
|
+
property :locale, as: 'locale'
|
9775
|
+
property :message, as: 'message'
|
9776
|
+
end
|
9777
|
+
end
|
9778
|
+
|
9706
9779
|
class LocationPolicy
|
9707
9780
|
# @private
|
9708
9781
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10013,9 +10086,23 @@ module Google
|
|
10013
10086
|
# @private
|
10014
10087
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10015
10088
|
property :code, as: 'code'
|
10089
|
+
collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors::Error::ErrorDetail, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors::Error::ErrorDetail::Representation
|
10090
|
+
|
10016
10091
|
property :location, as: 'location'
|
10017
10092
|
property :message, as: 'message'
|
10018
10093
|
end
|
10094
|
+
|
10095
|
+
class ErrorDetail
|
10096
|
+
# @private
|
10097
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10098
|
+
property :error_info, as: 'errorInfo', class: Google::Apis::ComputeV1::ErrorInfo, decorator: Google::Apis::ComputeV1::ErrorInfo::Representation
|
10099
|
+
|
10100
|
+
property :help, as: 'help', class: Google::Apis::ComputeV1::Help, decorator: Google::Apis::ComputeV1::Help::Representation
|
10101
|
+
|
10102
|
+
property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
|
10103
|
+
|
10104
|
+
end
|
10105
|
+
end
|
10019
10106
|
end
|
10020
10107
|
end
|
10021
10108
|
end
|
@@ -11078,9 +11165,23 @@ module Google
|
|
11078
11165
|
# @private
|
11079
11166
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11080
11167
|
property :code, as: 'code'
|
11168
|
+
collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeV1::Operation::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeV1::Operation::Error::Error::ErrorDetail::Representation
|
11169
|
+
|
11081
11170
|
property :location, as: 'location'
|
11082
11171
|
property :message, as: 'message'
|
11083
11172
|
end
|
11173
|
+
|
11174
|
+
class ErrorDetail
|
11175
|
+
# @private
|
11176
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11177
|
+
property :error_info, as: 'errorInfo', class: Google::Apis::ComputeV1::ErrorInfo, decorator: Google::Apis::ComputeV1::ErrorInfo::Representation
|
11178
|
+
|
11179
|
+
property :help, as: 'help', class: Google::Apis::ComputeV1::Help, decorator: Google::Apis::ComputeV1::Help::Representation
|
11180
|
+
|
11181
|
+
property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
|
11182
|
+
|
11183
|
+
end
|
11184
|
+
end
|
11084
11185
|
end
|
11085
11186
|
end
|
11086
11187
|
|
@@ -13035,6 +13136,7 @@ module Google
|
|
13035
13136
|
class SavedDisk
|
13036
13137
|
# @private
|
13037
13138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13139
|
+
property :architecture, as: 'architecture'
|
13038
13140
|
property :kind, as: 'kind'
|
13039
13141
|
property :source_disk, as: 'sourceDisk'
|
13040
13142
|
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
@@ -13581,6 +13683,7 @@ module Google
|
|
13581
13683
|
class Snapshot
|
13582
13684
|
# @private
|
13583
13685
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13686
|
+
property :architecture, as: 'architecture'
|
13584
13687
|
property :auto_created, as: 'autoCreated'
|
13585
13688
|
property :chain_name, as: 'chainName'
|
13586
13689
|
property :creation_timestamp, as: 'creationTimestamp'
|
@@ -9159,7 +9159,9 @@ module Google
|
|
9159
9159
|
# group is performing on the instance. For example, if the group is still
|
9160
9160
|
# creating an instance, the currentAction is CREATING. If a previous action
|
9161
9161
|
# failed, the list displays the errors for that failed action. The orderBy query
|
9162
|
-
# parameter is not supported.
|
9162
|
+
# parameter is not supported. The `pageToken` query parameter is supported only
|
9163
|
+
# in the alpha and beta API and only if the group's `listManagedInstancesResults`
|
9164
|
+
# field is set to `PAGINATED`.
|
9163
9165
|
# @param [String] project
|
9164
9166
|
# Project ID for this request.
|
9165
9167
|
# @param [String] zone
|
@@ -23548,6 +23550,9 @@ module Google
|
|
23548
23550
|
# Lists the instances in the managed instance group and instances that are
|
23549
23551
|
# scheduled to be created. The list includes any current actions that the group
|
23550
23552
|
# has scheduled for its instances. The orderBy query parameter is not supported.
|
23553
|
+
# The `pageToken` query parameter is supported only in the alpha and beta API
|
23554
|
+
# and only if the group's `listManagedInstancesResults` field is set to `
|
23555
|
+
# PAGINATED`.
|
23551
23556
|
# @param [String] project
|
23552
23557
|
# Project ID for this request.
|
23553
23558
|
# @param [String] region
|
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.42.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: 2022-
|
11
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.42.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: []
|