google-apis-compute_v1 0.41.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: 3dfc4a9548dde971345a4c075416463091671226e9260ad2035cef2779afcea4
4
- data.tar.gz: e148262c83d736788cb94863779ed0522121dd613d6a46dc1972c51abfb1ca87
3
+ metadata.gz: 046241150730fc542c267f928147b09393497170c1b32dbe695d89e1f232afc5
4
+ data.tar.gz: 20928357ca5597f90840a653a9169dd8d03649c533cc5998a60638deb42525a7
5
5
  SHA512:
6
- metadata.gz: e5a3faec1ee9fbdc93bec1143efd31ec1f299c93b281db07cc7a8c17b70d474553a3b7e4698307af282052bf4912cf5b01f16bbaed4551ebfe1081a879940717
7
- data.tar.gz: 406ddbf9b8ecf8e0c900b2b55d70812d7f72e1b245be907b11b0d570fafb37b5031e46fcadafa2f4fde68531dbf7208e9c6bcc8f3988ac252256cf09c0937733
6
+ metadata.gz: f9f14e9dd5631eb8b34f354a9f65999e4406f2c695529d8fd39fa1e88c9e3cf71f2e65b2804d700d2ee013dffeee7ff5202360e1f1d43a9e43194bd0530cf540
7
+ data.tar.gz: a911d9aced8fcb12cf019bc4509268d8ed4600adb2acad7e6a626fba0e3e1bc5b7d04d43d5ac8b8df93fa3835712a9951d9d53a1af1977fed17a581dfad1ba04
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.41.0 (2022-06-30)
4
9
 
5
10
  * Regenerated using generator version 0.8.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
@@ -10648,6 +10717,53 @@ module Google
10648
10717
  end
10649
10718
  end
10650
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
+
10651
10767
  # UrlMaps A host-matching rule for a URL. If matched, will use the named
10652
10768
  # PathMatcher to select the BackendService.
10653
10769
  class HostRule
@@ -11835,6 +11951,11 @@ module Google
11835
11951
  class Image
11836
11952
  include Google::Apis::Core::Hashable
11837
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
+
11838
11959
  # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
11839
11960
  # Corresponds to the JSON property `archiveSizeBytes`
11840
11961
  # @return [Fixnum]
@@ -12053,6 +12174,7 @@ module Google
12053
12174
 
12054
12175
  # Update properties of this object
12055
12176
  def update!(**args)
12177
+ @architecture = args[:architecture] if args.key?(:architecture)
12056
12178
  @archive_size_bytes = args[:archive_size_bytes] if args.key?(:archive_size_bytes)
12057
12179
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
12058
12180
  @deprecated = args[:deprecated] if args.key?(:deprecated)
@@ -17905,6 +18027,33 @@ module Google
17905
18027
  end
17906
18028
  end
17907
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
+
17908
18057
  # Configuration for location policy among multiple possible locations (e.g.
17909
18058
  # preferences for zone selection among zones in a single region).
17910
18059
  class LocationPolicy
@@ -19031,6 +19180,14 @@ module Google
19031
19180
  # @return [String]
19032
19181
  attr_accessor :code
19033
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
+
19034
19191
  # [Output Only] Indicates the field in the request that caused the error. This
19035
19192
  # property is optional.
19036
19193
  # Corresponds to the JSON property `location`
@@ -19049,9 +19206,52 @@ module Google
19049
19206
  # Update properties of this object
19050
19207
  def update!(**args)
19051
19208
  @code = args[:code] if args.key?(:code)
19209
+ @error_details = args[:error_details] if args.key?(:error_details)
19052
19210
  @location = args[:location] if args.key?(:location)
19053
19211
  @message = args[:message] if args.key?(:message)
19054
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
19055
19255
  end
19056
19256
  end
19057
19257
  end
@@ -23284,6 +23484,14 @@ module Google
23284
23484
  # @return [String]
23285
23485
  attr_accessor :code
23286
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
+
23287
23495
  # [Output Only] Indicates the field in the request that caused the error. This
23288
23496
  # property is optional.
23289
23497
  # Corresponds to the JSON property `location`
@@ -23302,9 +23510,52 @@ module Google
23302
23510
  # Update properties of this object
23303
23511
  def update!(**args)
23304
23512
  @code = args[:code] if args.key?(:code)
23513
+ @error_details = args[:error_details] if args.key?(:error_details)
23305
23514
  @location = args[:location] if args.key?(:location)
23306
23515
  @message = args[:message] if args.key?(:message)
23307
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
23308
23559
  end
23309
23560
  end
23310
23561
 
@@ -30925,6 +31176,11 @@ module Google
30925
31176
  class SavedDisk
30926
31177
  include Google::Apis::Core::Hashable
30927
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
+
30928
31184
  # [Output Only] Type of the resource. Always compute#savedDisk for attached
30929
31185
  # disks.
30930
31186
  # Corresponds to the JSON property `kind`
@@ -30955,6 +31211,7 @@ module Google
30955
31211
 
30956
31212
  # Update properties of this object
30957
31213
  def update!(**args)
31214
+ @architecture = args[:architecture] if args.key?(:architecture)
30958
31215
  @kind = args[:kind] if args.key?(:kind)
30959
31216
  @source_disk = args[:source_disk] if args.key?(:source_disk)
30960
31217
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
@@ -32975,6 +33232,12 @@ module Google
32975
33232
  class Snapshot
32976
33233
  include Google::Apis::Core::Hashable
32977
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
+
32978
33241
  # [Output Only] Set to true if snapshots are automatically created by applying
32979
33242
  # resource policy on the target disk.
32980
33243
  # Corresponds to the JSON property `autoCreated`
@@ -33145,6 +33408,7 @@ module Google
33145
33408
 
33146
33409
  # Update properties of this object
33147
33410
  def update!(**args)
33411
+ @architecture = args[:architecture] if args.key?(:architecture)
33148
33412
  @auto_created = args[:auto_created] if args.key?(:auto_created)
33149
33413
  @chain_name = args[:chain_name] if args.key?(:chain_name)
33150
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.41.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.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220614"
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'
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.41.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-07-04 00:00:00.000000000 Z
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
@@ -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.41.0
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: []