google-apis-compute_beta 0.38.0 → 0.41.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: fec9bdde942edadfb5d818e873ccc2fb4d976b2da5b4bb3bad71b84ff834622c
4
- data.tar.gz: 35cce0a5f9b58d7e7e3bdb3591c1e9282228b486d3c46f69d18c6d336b6fc2bc
3
+ metadata.gz: 1d4f81c2fc86da5f9bef7f0b1b6bd329f317d1a034eba12dfa04d8b416eaedd5
4
+ data.tar.gz: 99b11bfdc24ad818dd4b63261cee03d2c965a94475f9ec03387635eb7cd43789
5
5
  SHA512:
6
- metadata.gz: 7b9bb9ab9180ec2e3cceba40a48f4b683cff355d8525b37ada807c12cf8015012869ef69ba5164591ea74a473a1218e9ccace9fbed32a983fd4dcff8ab12c707
7
- data.tar.gz: e99640ccecec64618ab9f2ae35fcf8452b64eb3279d45cd242fca1326f1b2530a59648bf47ed7fa8fbb4ad3765b26db10618f276801c7deabd206195e7bc9044
6
+ metadata.gz: a00e876aa7eb2ff4f9c11c330c45d50cc00dd69827e3c0433c2da62e8633a40c29c77bbdaf6734364254f97c5c83f836f880bec6b40ae0790ecd221ef6d68ea4
7
+ data.tar.gz: 38933caad9ac29637bc14ab44f639827f130ba1c1961e73709eadfd2a6d29a27e0e1f684b01dbd128e5207339b0ba58c3c11c0f85acfe096c7d8fc555950728a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.41.0 (2022-07-04)
4
+
5
+ * Regenerated from discovery document revision 20220621
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.40.0 (2022-06-30)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+
12
+ ### v0.39.0 (2022-06-23)
13
+
14
+ * Regenerated from discovery document revision 20220614
15
+ * Regenerated using generator version 0.7.0
16
+
3
17
  ### v0.38.0 (2022-06-14)
4
18
 
5
19
  * Regenerated from discovery document revision 20220607
@@ -1266,6 +1266,12 @@ module Google
1266
1266
  class AttachedDisk
1267
1267
  include Google::Apis::Core::Hashable
1268
1268
 
1269
+ # [Output Only] The architecture of the attached disk. Valid values are ARM64 or
1270
+ # X86_64.
1271
+ # Corresponds to the JSON property `architecture`
1272
+ # @return [String]
1273
+ attr_accessor :architecture
1274
+
1269
1275
  # Specifies whether the disk will be auto-deleted when the instance is deleted (
1270
1276
  # but not when the disk is detached from the instance).
1271
1277
  # Corresponds to the JSON property `autoDelete`
@@ -1409,6 +1415,7 @@ module Google
1409
1415
 
1410
1416
  # Update properties of this object
1411
1417
  def update!(**args)
1418
+ @architecture = args[:architecture] if args.key?(:architecture)
1412
1419
  @auto_delete = args[:auto_delete] if args.key?(:auto_delete)
1413
1420
  @boot = args[:boot] if args.key?(:boot)
1414
1421
  @device_name = args[:device_name] if args.key?(:device_name)
@@ -1438,6 +1445,11 @@ module Google
1438
1445
  class AttachedDiskInitializeParams
1439
1446
  include Google::Apis::Core::Hashable
1440
1447
 
1448
+ # The architecture of the attached disk. Valid values are arm64 or x86_64.
1449
+ # Corresponds to the JSON property `architecture`
1450
+ # @return [String]
1451
+ attr_accessor :architecture
1452
+
1441
1453
  # An optional description. Provide this property when creating the disk.
1442
1454
  # Corresponds to the JSON property `description`
1443
1455
  # @return [String]
@@ -1565,6 +1577,7 @@ module Google
1565
1577
 
1566
1578
  # Update properties of this object
1567
1579
  def update!(**args)
1580
+ @architecture = args[:architecture] if args.key?(:architecture)
1568
1581
  @description = args[:description] if args.key?(:description)
1569
1582
  @disk_name = args[:disk_name] if args.key?(:disk_name)
1570
1583
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@@ -5814,6 +5827,11 @@ module Google
5814
5827
  class Disk
5815
5828
  include Google::Apis::Core::Hashable
5816
5829
 
5830
+ # The architecture of the disk. Valid values are ARM64 or X86_64.
5831
+ # Corresponds to the JSON property `architecture`
5832
+ # @return [String]
5833
+ attr_accessor :architecture
5834
+
5817
5835
  # [Output Only] Creation timestamp in RFC3339 text format.
5818
5836
  # Corresponds to the JSON property `creationTimestamp`
5819
5837
  # @return [String]
@@ -6139,6 +6157,7 @@ module Google
6139
6157
 
6140
6158
  # Update properties of this object
6141
6159
  def update!(**args)
6160
+ @architecture = args[:architecture] if args.key?(:architecture)
6142
6161
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6143
6162
  @description = args[:description] if args.key?(:description)
6144
6163
  @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
@@ -7178,6 +7197,56 @@ module Google
7178
7197
  end
7179
7198
  end
7180
7199
 
7200
+ # Describes the cause of the error with structured details. Example of an error
7201
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
7202
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
7203
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
7204
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
7205
+ # returned when attempting to create a Spanner instance in a region that is out
7206
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
7207
+ # : ` "availableRegions": "us-central1,us-east2" ` `
7208
+ class ErrorInfo
7209
+ include Google::Apis::Core::Hashable
7210
+
7211
+ # The logical grouping to which the "reason" belongs. The error domain is
7212
+ # typically the registered service name of the tool or product that generates
7213
+ # the error. Example: "pubsub.googleapis.com". If the error is generated by some
7214
+ # common infrastructure, the error domain must be a globally unique value that
7215
+ # identifies the infrastructure. For Google API infrastructure, the error domain
7216
+ # is "googleapis.com".
7217
+ # Corresponds to the JSON property `domain`
7218
+ # @return [String]
7219
+ attr_accessor :domain
7220
+
7221
+ # Additional structured details about this error. Keys should match /[a-zA-Z0-9-
7222
+ # _]/ and be limited to 64 characters in length. When identifying the current
7223
+ # value of an exceeded limit, the units should be contained in the key, not the
7224
+ # value. For example, rather than `"instanceLimit": "100/request"`, should be
7225
+ # returned as, `"instanceLimitPerRequest": "100"`, if the client exceeds the
7226
+ # number of instances that can be created in a single (batch) request.
7227
+ # Corresponds to the JSON property `metadatas`
7228
+ # @return [Hash<String,String>]
7229
+ attr_accessor :metadatas
7230
+
7231
+ # The reason of the error. This is a constant value that identifies the
7232
+ # proximate cause of the error. Error reasons are unique within a particular
7233
+ # domain of errors. This should be at most 63 characters and match /[A-Z0-9_]+/.
7234
+ # Corresponds to the JSON property `reason`
7235
+ # @return [String]
7236
+ attr_accessor :reason
7237
+
7238
+ def initialize(**args)
7239
+ update!(**args)
7240
+ end
7241
+
7242
+ # Update properties of this object
7243
+ def update!(**args)
7244
+ @domain = args[:domain] if args.key?(:domain)
7245
+ @metadatas = args[:metadatas] if args.key?(:metadatas)
7246
+ @reason = args[:reason] if args.key?(:reason)
7247
+ end
7248
+ end
7249
+
7181
7250
  #
7182
7251
  class ExchangedPeeringRoute
7183
7252
  include Google::Apis::Core::Hashable
@@ -8802,8 +8871,7 @@ module Google
8802
8871
  attr_accessor :id
8803
8872
 
8804
8873
  # The IP Version that will be used by this forwarding rule. Valid options are
8805
- # IPV4 or IPV6. This can only be specified for an external global forwarding
8806
- # rule.
8874
+ # IPV4 or IPV6.
8807
8875
  # Corresponds to the JSON property `ipVersion`
8808
8876
  # @return [String]
8809
8877
  attr_accessor :ip_version
@@ -10928,6 +10996,53 @@ module Google
10928
10996
  end
10929
10997
  end
10930
10998
 
10999
+ # Provides links to documentation or for performing an out of band action. For
11000
+ # example, if a quota check failed with an error indicating the calling project
11001
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
11002
+ # to the right place in the developer console to flip the bit.
11003
+ class Help
11004
+ include Google::Apis::Core::Hashable
11005
+
11006
+ # URL(s) pointing to additional information on handling the current error.
11007
+ # Corresponds to the JSON property `links`
11008
+ # @return [Array<Google::Apis::ComputeBeta::HelpLink>]
11009
+ attr_accessor :links
11010
+
11011
+ def initialize(**args)
11012
+ update!(**args)
11013
+ end
11014
+
11015
+ # Update properties of this object
11016
+ def update!(**args)
11017
+ @links = args[:links] if args.key?(:links)
11018
+ end
11019
+ end
11020
+
11021
+ # Describes a URL link.
11022
+ class HelpLink
11023
+ include Google::Apis::Core::Hashable
11024
+
11025
+ # Describes what the link offers.
11026
+ # Corresponds to the JSON property `description`
11027
+ # @return [String]
11028
+ attr_accessor :description
11029
+
11030
+ # The URL of the link.
11031
+ # Corresponds to the JSON property `url`
11032
+ # @return [String]
11033
+ attr_accessor :url
11034
+
11035
+ def initialize(**args)
11036
+ update!(**args)
11037
+ end
11038
+
11039
+ # Update properties of this object
11040
+ def update!(**args)
11041
+ @description = args[:description] if args.key?(:description)
11042
+ @url = args[:url] if args.key?(:url)
11043
+ end
11044
+ end
11045
+
10931
11046
  # UrlMaps A host-matching rule for a URL. If matched, will use the named
10932
11047
  # PathMatcher to select the BackendService.
10933
11048
  class HostRule
@@ -12173,6 +12288,11 @@ module Google
12173
12288
  class Image
12174
12289
  include Google::Apis::Core::Hashable
12175
12290
 
12291
+ # The architecture of the image. Valid values are ARM64 or X86_64.
12292
+ # Corresponds to the JSON property `architecture`
12293
+ # @return [String]
12294
+ attr_accessor :architecture
12295
+
12176
12296
  # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
12177
12297
  # Corresponds to the JSON property `archiveSizeBytes`
12178
12298
  # @return [Fixnum]
@@ -12423,6 +12543,7 @@ module Google
12423
12543
 
12424
12544
  # Update properties of this object
12425
12545
  def update!(**args)
12546
+ @architecture = args[:architecture] if args.key?(:architecture)
12426
12547
  @archive_size_bytes = args[:archive_size_bytes] if args.key?(:archive_size_bytes)
12427
12548
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
12428
12549
  @deprecated = args[:deprecated] if args.key?(:deprecated)
@@ -18704,6 +18825,33 @@ module Google
18704
18825
  end
18705
18826
  end
18706
18827
 
18828
+ # Provides a localized error message that is safe to return to the user which
18829
+ # can be attached to an RPC error.
18830
+ class LocalizedMessage
18831
+ include Google::Apis::Core::Hashable
18832
+
18833
+ # The locale used following the specification defined at http://www.rfc-editor.
18834
+ # org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
18835
+ # Corresponds to the JSON property `locale`
18836
+ # @return [String]
18837
+ attr_accessor :locale
18838
+
18839
+ # The localized error message in the above locale.
18840
+ # Corresponds to the JSON property `message`
18841
+ # @return [String]
18842
+ attr_accessor :message
18843
+
18844
+ def initialize(**args)
18845
+ update!(**args)
18846
+ end
18847
+
18848
+ # Update properties of this object
18849
+ def update!(**args)
18850
+ @locale = args[:locale] if args.key?(:locale)
18851
+ @message = args[:message] if args.key?(:message)
18852
+ end
18853
+ end
18854
+
18707
18855
  # Configuration for location policy among multiple possible locations (e.g.
18708
18856
  # preferences for zone selection among zones in a single region).
18709
18857
  class LocationPolicy
@@ -19825,6 +19973,14 @@ module Google
19825
19973
  # @return [String]
19826
19974
  attr_accessor :code
19827
19975
 
19976
+ # [Output Only] An optional list of messages that contain the error details.
19977
+ # There is a set of defined message types to use for providing details.The
19978
+ # syntax depends on the error code. For example, QuotaExceededInfo will have
19979
+ # details when the error code is QUOTA_EXCEEDED.
19980
+ # Corresponds to the JSON property `errorDetails`
19981
+ # @return [Array<Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Errors::Error::ErrorDetail>]
19982
+ attr_accessor :error_details
19983
+
19828
19984
  # [Output Only] Indicates the field in the request that caused the error. This
19829
19985
  # property is optional.
19830
19986
  # Corresponds to the JSON property `location`
@@ -19843,9 +19999,52 @@ module Google
19843
19999
  # Update properties of this object
19844
20000
  def update!(**args)
19845
20001
  @code = args[:code] if args.key?(:code)
20002
+ @error_details = args[:error_details] if args.key?(:error_details)
19846
20003
  @location = args[:location] if args.key?(:location)
19847
20004
  @message = args[:message] if args.key?(:message)
19848
20005
  end
20006
+
20007
+ #
20008
+ class ErrorDetail
20009
+ include Google::Apis::Core::Hashable
20010
+
20011
+ # Describes the cause of the error with structured details. Example of an error
20012
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
20013
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
20014
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
20015
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
20016
+ # returned when attempting to create a Spanner instance in a region that is out
20017
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
20018
+ # : ` "availableRegions": "us-central1,us-east2" ` `
20019
+ # Corresponds to the JSON property `errorInfo`
20020
+ # @return [Google::Apis::ComputeBeta::ErrorInfo]
20021
+ attr_accessor :error_info
20022
+
20023
+ # Provides links to documentation or for performing an out of band action. For
20024
+ # example, if a quota check failed with an error indicating the calling project
20025
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
20026
+ # to the right place in the developer console to flip the bit.
20027
+ # Corresponds to the JSON property `help`
20028
+ # @return [Google::Apis::ComputeBeta::Help]
20029
+ attr_accessor :help
20030
+
20031
+ # Provides a localized error message that is safe to return to the user which
20032
+ # can be attached to an RPC error.
20033
+ # Corresponds to the JSON property `localizedMessage`
20034
+ # @return [Google::Apis::ComputeBeta::LocalizedMessage]
20035
+ attr_accessor :localized_message
20036
+
20037
+ def initialize(**args)
20038
+ update!(**args)
20039
+ end
20040
+
20041
+ # Update properties of this object
20042
+ def update!(**args)
20043
+ @error_info = args[:error_info] if args.key?(:error_info)
20044
+ @help = args[:help] if args.key?(:help)
20045
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
20046
+ end
20047
+ end
19849
20048
  end
19850
20049
  end
19851
20050
  end
@@ -24267,6 +24466,14 @@ module Google
24267
24466
  # @return [String]
24268
24467
  attr_accessor :code
24269
24468
 
24469
+ # [Output Only] An optional list of messages that contain the error details.
24470
+ # There is a set of defined message types to use for providing details.The
24471
+ # syntax depends on the error code. For example, QuotaExceededInfo will have
24472
+ # details when the error code is QUOTA_EXCEEDED.
24473
+ # Corresponds to the JSON property `errorDetails`
24474
+ # @return [Array<Google::Apis::ComputeBeta::Operation::Error::Error::ErrorDetail>]
24475
+ attr_accessor :error_details
24476
+
24270
24477
  # [Output Only] Indicates the field in the request that caused the error. This
24271
24478
  # property is optional.
24272
24479
  # Corresponds to the JSON property `location`
@@ -24285,9 +24492,52 @@ module Google
24285
24492
  # Update properties of this object
24286
24493
  def update!(**args)
24287
24494
  @code = args[:code] if args.key?(:code)
24495
+ @error_details = args[:error_details] if args.key?(:error_details)
24288
24496
  @location = args[:location] if args.key?(:location)
24289
24497
  @message = args[:message] if args.key?(:message)
24290
24498
  end
24499
+
24500
+ #
24501
+ class ErrorDetail
24502
+ include Google::Apis::Core::Hashable
24503
+
24504
+ # Describes the cause of the error with structured details. Example of an error
24505
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
24506
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
24507
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
24508
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
24509
+ # returned when attempting to create a Spanner instance in a region that is out
24510
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
24511
+ # : ` "availableRegions": "us-central1,us-east2" ` `
24512
+ # Corresponds to the JSON property `errorInfo`
24513
+ # @return [Google::Apis::ComputeBeta::ErrorInfo]
24514
+ attr_accessor :error_info
24515
+
24516
+ # Provides links to documentation or for performing an out of band action. For
24517
+ # example, if a quota check failed with an error indicating the calling project
24518
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
24519
+ # to the right place in the developer console to flip the bit.
24520
+ # Corresponds to the JSON property `help`
24521
+ # @return [Google::Apis::ComputeBeta::Help]
24522
+ attr_accessor :help
24523
+
24524
+ # Provides a localized error message that is safe to return to the user which
24525
+ # can be attached to an RPC error.
24526
+ # Corresponds to the JSON property `localizedMessage`
24527
+ # @return [Google::Apis::ComputeBeta::LocalizedMessage]
24528
+ attr_accessor :localized_message
24529
+
24530
+ def initialize(**args)
24531
+ update!(**args)
24532
+ end
24533
+
24534
+ # Update properties of this object
24535
+ def update!(**args)
24536
+ @error_info = args[:error_info] if args.key?(:error_info)
24537
+ @help = args[:help] if args.key?(:help)
24538
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
24539
+ end
24540
+ end
24291
24541
  end
24292
24542
  end
24293
24543
 
@@ -32175,6 +32425,11 @@ module Google
32175
32425
  class SavedDisk
32176
32426
  include Google::Apis::Core::Hashable
32177
32427
 
32428
+ # [Output Only] The architecture of the attached disk.
32429
+ # Corresponds to the JSON property `architecture`
32430
+ # @return [String]
32431
+ attr_accessor :architecture
32432
+
32178
32433
  # [Output Only] Type of the resource. Always compute#savedDisk for attached
32179
32434
  # disks.
32180
32435
  # Corresponds to the JSON property `kind`
@@ -32205,6 +32460,7 @@ module Google
32205
32460
 
32206
32461
  # Update properties of this object
32207
32462
  def update!(**args)
32463
+ @architecture = args[:architecture] if args.key?(:architecture)
32208
32464
  @kind = args[:kind] if args.key?(:kind)
32209
32465
  @source_disk = args[:source_disk] if args.key?(:source_disk)
32210
32466
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
@@ -34606,6 +34862,12 @@ module Google
34606
34862
  class Snapshot
34607
34863
  include Google::Apis::Core::Hashable
34608
34864
 
34865
+ # [Output Only] The architecture of the snapshot. Valid values are ARM64 or
34866
+ # X86_64.
34867
+ # Corresponds to the JSON property `architecture`
34868
+ # @return [String]
34869
+ attr_accessor :architecture
34870
+
34609
34871
  # [Output Only] Set to true if snapshots are automatically created by applying
34610
34872
  # resource policy on the target disk.
34611
34873
  # Corresponds to the JSON property `autoCreated`
@@ -34799,6 +35061,7 @@ module Google
34799
35061
 
34800
35062
  # Update properties of this object
34801
35063
  def update!(**args)
35064
+ @architecture = args[:architecture] if args.key?(:architecture)
34802
35065
  @auto_created = args[:auto_created] if args.key?(:auto_created)
34803
35066
  @chain_name = args[:chain_name] if args.key?(:chain_name)
34804
35067
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220607"
25
+ REVISION = "20220621"
26
26
  end
27
27
  end
28
28
  end
@@ -850,6 +850,12 @@ module Google
850
850
  include Google::Apis::Core::JsonObjectSupport
851
851
  end
852
852
 
853
+ class ErrorInfo
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
853
859
  class ExchangedPeeringRoute
854
860
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
861
 
@@ -1288,6 +1294,18 @@ module Google
1288
1294
  include Google::Apis::Core::JsonObjectSupport
1289
1295
  end
1290
1296
 
1297
+ class Help
1298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1299
+
1300
+ include Google::Apis::Core::JsonObjectSupport
1301
+ end
1302
+
1303
+ class HelpLink
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1291
1309
  class HostRule
1292
1310
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1311
 
@@ -2266,6 +2284,12 @@ module Google
2266
2284
  include Google::Apis::Core::JsonObjectSupport
2267
2285
  end
2268
2286
 
2287
+ class LocalizedMessage
2288
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2289
+
2290
+ include Google::Apis::Core::JsonObjectSupport
2291
+ end
2292
+
2269
2293
  class LocationPolicy
2270
2294
  class Representation < Google::Apis::Core::JsonRepresentation; end
2271
2295
 
@@ -2430,6 +2454,12 @@ module Google
2430
2454
 
2431
2455
  class Error
2432
2456
  class Representation < Google::Apis::Core::JsonRepresentation; end
2457
+
2458
+ class ErrorDetail
2459
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2460
+
2461
+ include Google::Apis::Core::JsonObjectSupport
2462
+ end
2433
2463
 
2434
2464
  include Google::Apis::Core::JsonObjectSupport
2435
2465
  end
@@ -3024,6 +3054,12 @@ module Google
3024
3054
 
3025
3055
  class Error
3026
3056
  class Representation < Google::Apis::Core::JsonRepresentation; end
3057
+
3058
+ class ErrorDetail
3059
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3060
+
3061
+ include Google::Apis::Core::JsonObjectSupport
3062
+ end
3027
3063
 
3028
3064
  include Google::Apis::Core::JsonObjectSupport
3029
3065
  end
@@ -6045,6 +6081,7 @@ module Google
6045
6081
  class AttachedDisk
6046
6082
  # @private
6047
6083
  class Representation < Google::Apis::Core::JsonRepresentation
6084
+ property :architecture, as: 'architecture'
6048
6085
  property :auto_delete, as: 'autoDelete'
6049
6086
  property :boot, as: 'boot'
6050
6087
  property :device_name, as: 'deviceName'
@@ -6072,6 +6109,7 @@ module Google
6072
6109
  class AttachedDiskInitializeParams
6073
6110
  # @private
6074
6111
  class Representation < Google::Apis::Core::JsonRepresentation
6112
+ property :architecture, as: 'architecture'
6075
6113
  property :description, as: 'description'
6076
6114
  property :disk_name, as: 'diskName'
6077
6115
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
@@ -7036,6 +7074,7 @@ module Google
7036
7074
  class Disk
7037
7075
  # @private
7038
7076
  class Representation < Google::Apis::Core::JsonRepresentation
7077
+ property :architecture, as: 'architecture'
7039
7078
  property :creation_timestamp, as: 'creationTimestamp'
7040
7079
  property :description, as: 'description'
7041
7080
  property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
@@ -7359,6 +7398,15 @@ module Google
7359
7398
  end
7360
7399
  end
7361
7400
 
7401
+ class ErrorInfo
7402
+ # @private
7403
+ class Representation < Google::Apis::Core::JsonRepresentation
7404
+ property :domain, as: 'domain'
7405
+ hash :metadatas, as: 'metadatas'
7406
+ property :reason, as: 'reason'
7407
+ end
7408
+ end
7409
+
7362
7410
  class ExchangedPeeringRoute
7363
7411
  # @private
7364
7412
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8209,6 +8257,22 @@ module Google
8209
8257
  end
8210
8258
  end
8211
8259
 
8260
+ class Help
8261
+ # @private
8262
+ class Representation < Google::Apis::Core::JsonRepresentation
8263
+ collection :links, as: 'links', class: Google::Apis::ComputeBeta::HelpLink, decorator: Google::Apis::ComputeBeta::HelpLink::Representation
8264
+
8265
+ end
8266
+ end
8267
+
8268
+ class HelpLink
8269
+ # @private
8270
+ class Representation < Google::Apis::Core::JsonRepresentation
8271
+ property :description, as: 'description'
8272
+ property :url, as: 'url'
8273
+ end
8274
+ end
8275
+
8212
8276
  class HostRule
8213
8277
  # @private
8214
8278
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8486,6 +8550,7 @@ module Google
8486
8550
  class Image
8487
8551
  # @private
8488
8552
  class Representation < Google::Apis::Core::JsonRepresentation
8553
+ property :architecture, as: 'architecture'
8489
8554
  property :archive_size_bytes, :numeric_string => true, as: 'archiveSizeBytes'
8490
8555
  property :creation_timestamp, as: 'creationTimestamp'
8491
8556
  property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation
@@ -10114,6 +10179,14 @@ module Google
10114
10179
  end
10115
10180
  end
10116
10181
 
10182
+ class LocalizedMessage
10183
+ # @private
10184
+ class Representation < Google::Apis::Core::JsonRepresentation
10185
+ property :locale, as: 'locale'
10186
+ property :message, as: 'message'
10187
+ end
10188
+ end
10189
+
10117
10190
  class LocationPolicy
10118
10191
  # @private
10119
10192
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10423,9 +10496,23 @@ module Google
10423
10496
  # @private
10424
10497
  class Representation < Google::Apis::Core::JsonRepresentation
10425
10498
  property :code, as: 'code'
10499
+ collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Errors::Error::ErrorDetail, decorator: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Errors::Error::ErrorDetail::Representation
10500
+
10426
10501
  property :location, as: 'location'
10427
10502
  property :message, as: 'message'
10428
10503
  end
10504
+
10505
+ class ErrorDetail
10506
+ # @private
10507
+ class Representation < Google::Apis::Core::JsonRepresentation
10508
+ property :error_info, as: 'errorInfo', class: Google::Apis::ComputeBeta::ErrorInfo, decorator: Google::Apis::ComputeBeta::ErrorInfo::Representation
10509
+
10510
+ property :help, as: 'help', class: Google::Apis::ComputeBeta::Help, decorator: Google::Apis::ComputeBeta::Help::Representation
10511
+
10512
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeBeta::LocalizedMessage, decorator: Google::Apis::ComputeBeta::LocalizedMessage::Representation
10513
+
10514
+ end
10515
+ end
10429
10516
  end
10430
10517
  end
10431
10518
  end
@@ -11541,9 +11628,23 @@ module Google
11541
11628
  # @private
11542
11629
  class Representation < Google::Apis::Core::JsonRepresentation
11543
11630
  property :code, as: 'code'
11631
+ collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeBeta::Operation::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeBeta::Operation::Error::Error::ErrorDetail::Representation
11632
+
11544
11633
  property :location, as: 'location'
11545
11634
  property :message, as: 'message'
11546
11635
  end
11636
+
11637
+ class ErrorDetail
11638
+ # @private
11639
+ class Representation < Google::Apis::Core::JsonRepresentation
11640
+ property :error_info, as: 'errorInfo', class: Google::Apis::ComputeBeta::ErrorInfo, decorator: Google::Apis::ComputeBeta::ErrorInfo::Representation
11641
+
11642
+ property :help, as: 'help', class: Google::Apis::ComputeBeta::Help, decorator: Google::Apis::ComputeBeta::Help::Representation
11643
+
11644
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeBeta::LocalizedMessage, decorator: Google::Apis::ComputeBeta::LocalizedMessage::Representation
11645
+
11646
+ end
11647
+ end
11547
11648
  end
11548
11649
  end
11549
11650
 
@@ -13574,6 +13675,7 @@ module Google
13574
13675
  class SavedDisk
13575
13676
  # @private
13576
13677
  class Representation < Google::Apis::Core::JsonRepresentation
13678
+ property :architecture, as: 'architecture'
13577
13679
  property :kind, as: 'kind'
13578
13680
  property :source_disk, as: 'sourceDisk'
13579
13681
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
@@ -14207,6 +14309,7 @@ module Google
14207
14309
  class Snapshot
14208
14310
  # @private
14209
14311
  class Representation < Google::Apis::Core::JsonRepresentation
14312
+ property :architecture, as: 'architecture'
14210
14313
  property :auto_created, as: 'autoCreated'
14211
14314
  property :chain_name, as: 'chainName'
14212
14315
  property :creation_timestamp, as: 'creationTimestamp'
@@ -9911,7 +9911,9 @@ module Google
9911
9911
  # group is performing on the instance. For example, if the group is still
9912
9912
  # creating an instance, the currentAction is CREATING. If a previous action
9913
9913
  # failed, the list displays the errors for that failed action. The orderBy query
9914
- # parameter is not supported.
9914
+ # parameter is not supported. The `pageToken` query parameter is supported only
9915
+ # in the alpha and beta API and only if the group's `listManagedInstancesResults`
9916
+ # field is set to `PAGINATED`.
9915
9917
  # @param [String] project
9916
9918
  # Project ID for this request.
9917
9919
  # @param [String] zone
@@ -26100,6 +26102,9 @@ module Google
26100
26102
  # Lists the instances in the managed instance group and instances that are
26101
26103
  # scheduled to be created. The list includes any current actions that the group
26102
26104
  # has scheduled for its instances. The orderBy query parameter is not supported.
26105
+ # The `pageToken` query parameter is supported only in the alpha and beta API
26106
+ # and only if the group's `listManagedInstancesResults` field is set to `
26107
+ # PAGINATED`.
26103
26108
  # @param [String] project
26104
26109
  # Project ID for this request.
26105
26110
  # @param [String] region
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.41.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-06-20 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
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.5'
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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []