google-apis-compute_v1 0.41.0 → 0.44.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3dfc4a9548dde971345a4c075416463091671226e9260ad2035cef2779afcea4
4
- data.tar.gz: e148262c83d736788cb94863779ed0522121dd613d6a46dc1972c51abfb1ca87
3
+ metadata.gz: ddff7e5b1142e03673bc9f26fc69a0c96cc0d293edb29b7083ff4d9415cdadd3
4
+ data.tar.gz: ad3b697e0125b376fa81f7c1676b02c89020948942b7eb35fd4ef24bca4ef60a
5
5
  SHA512:
6
- metadata.gz: e5a3faec1ee9fbdc93bec1143efd31ec1f299c93b281db07cc7a8c17b70d474553a3b7e4698307af282052bf4912cf5b01f16bbaed4551ebfe1081a879940717
7
- data.tar.gz: 406ddbf9b8ecf8e0c900b2b55d70812d7f72e1b245be907b11b0d570fafb37b5031e46fcadafa2f4fde68531dbf7208e9c6bcc8f3988ac252256cf09c0937733
6
+ metadata.gz: 9a2d84babb61c84e1733fe6a00c53e6c5f2e53dad6acfd15b9624c6f66964159ca2c3eeda206ad84791df27c48154c325673c2ef9d303a1f8045844370d6e5a5
7
+ data.tar.gz: 8a25293d3440a6152d885ec7483ecd119e41afbf0abd080b694ff42e36a5a20d4336350ec30974c351c1b2af116b61bcb62570e0951e99963cf1c80aa35f24da
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.44.0 (2022-07-20)
4
+
5
+ * Regenerated from discovery document revision 20220714
6
+
7
+ ### v0.43.0 (2022-07-13)
8
+
9
+ * Regenerated from discovery document revision 20220705
10
+
11
+ ### v0.42.0 (2022-07-04)
12
+
13
+ * Regenerated from discovery document revision 20220621
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.41.0 (2022-06-30)
4
17
 
5
18
  * 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)
@@ -2527,7 +2540,7 @@ module Google
2527
2540
  # @return [Float]
2528
2541
  attr_accessor :max_rate_per_instance
2529
2542
 
2530
- # Optional parameter to define a target capacity for the UTILIZATIONbalancing
2543
+ # Optional parameter to define a target capacity for the UTILIZATION balancing
2531
2544
  # mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization
2532
2545
  # balancing mode.
2533
2546
  # Corresponds to the JSON property `maxUtilization`
@@ -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
@@ -17942,7 +18091,7 @@ module Google
17942
18091
  # @return [Google::Apis::ComputeV1::LocationPolicyLocationConstraints]
17943
18092
  attr_accessor :constraints
17944
18093
 
17945
- # Preference for a given location.
18094
+ # Preference for a given location. Set to either ALLOW or DENY.
17946
18095
  # Corresponds to the JSON property `preference`
17947
18096
  # @return [String]
17948
18097
  attr_accessor :preference
@@ -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
@@ -19290,6 +19490,11 @@ module Google
19290
19490
  attr_accessor :enable_ula_internal_ipv6
19291
19491
  alias_method :enable_ula_internal_ipv6?, :enable_ula_internal_ipv6
19292
19492
 
19493
+ # [Output Only] URL of the firewall policy the network is associated with.
19494
+ # Corresponds to the JSON property `firewallPolicy`
19495
+ # @return [String]
19496
+ attr_accessor :firewall_policy
19497
+
19293
19498
  # [Output Only] The gateway address for default routing out of the network,
19294
19499
  # selected by GCP.
19295
19500
  # Corresponds to the JSON property `gatewayIPv4`
@@ -19379,6 +19584,7 @@ module Google
19379
19584
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
19380
19585
  @description = args[:description] if args.key?(:description)
19381
19586
  @enable_ula_internal_ipv6 = args[:enable_ula_internal_ipv6] if args.key?(:enable_ula_internal_ipv6)
19587
+ @firewall_policy = args[:firewall_policy] if args.key?(:firewall_policy)
19382
19588
  @gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
19383
19589
  @id = args[:id] if args.key?(:id)
19384
19590
  @internal_ipv6_range = args[:internal_ipv6_range] if args.key?(:internal_ipv6_range)
@@ -20051,9 +20257,9 @@ module Google
20051
20257
  # allows for routing to multiple App Engine services without having to create
20052
20258
  # multiple Network Endpoint Groups and backend services. For example, the
20053
20259
  # request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.
20054
- # com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.
20055
- # appspot.com/". The URL mask will parse them to ` service = "foo1", version = "
20056
- # v1" ` and ` service = "foo1", version = "v2" ` respectively.
20260
+ # com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-
20261
+ # appname.appspot.com/<version>". The URL mask will parse them to ` service = "
20262
+ # foo1", version = "v1" ` and ` service = "foo1", version = "v2" ` respectively.
20057
20263
  # Corresponds to the JSON property `urlMask`
20058
20264
  # @return [String]
20059
20265
  attr_accessor :url_mask
@@ -20092,8 +20298,8 @@ module Google
20092
20298
  # routing to multiple Cloud Functions without having to create multiple Network
20093
20299
  # Endpoint Groups and backend services. For example, request URLs " mydomain.com/
20094
20300
  # function1" and "mydomain.com/function2" can be backed by the same Serverless
20095
- # NEG with URL mask "/". The URL mask will parse them to ` function = "function1"
20096
- # ` and ` function = "function2" ` respectively.
20301
+ # NEG with URL mask "/<function>". The URL mask will parse them to ` function = "
20302
+ # function1" ` and ` function = "function2" ` respectively.
20097
20303
  # Corresponds to the JSON property `urlMask`
20098
20304
  # @return [String]
20099
20305
  attr_accessor :url_mask
@@ -23284,6 +23490,14 @@ module Google
23284
23490
  # @return [String]
23285
23491
  attr_accessor :code
23286
23492
 
23493
+ # [Output Only] An optional list of messages that contain the error details.
23494
+ # There is a set of defined message types to use for providing details.The
23495
+ # syntax depends on the error code. For example, QuotaExceededInfo will have
23496
+ # details when the error code is QUOTA_EXCEEDED.
23497
+ # Corresponds to the JSON property `errorDetails`
23498
+ # @return [Array<Google::Apis::ComputeV1::Operation::Error::Error::ErrorDetail>]
23499
+ attr_accessor :error_details
23500
+
23287
23501
  # [Output Only] Indicates the field in the request that caused the error. This
23288
23502
  # property is optional.
23289
23503
  # Corresponds to the JSON property `location`
@@ -23302,9 +23516,52 @@ module Google
23302
23516
  # Update properties of this object
23303
23517
  def update!(**args)
23304
23518
  @code = args[:code] if args.key?(:code)
23519
+ @error_details = args[:error_details] if args.key?(:error_details)
23305
23520
  @location = args[:location] if args.key?(:location)
23306
23521
  @message = args[:message] if args.key?(:message)
23307
23522
  end
23523
+
23524
+ #
23525
+ class ErrorDetail
23526
+ include Google::Apis::Core::Hashable
23527
+
23528
+ # Describes the cause of the error with structured details. Example of an error
23529
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
23530
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
23531
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
23532
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
23533
+ # returned when attempting to create a Spanner instance in a region that is out
23534
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
23535
+ # : ` "availableRegions": "us-central1,us-east2" ` `
23536
+ # Corresponds to the JSON property `errorInfo`
23537
+ # @return [Google::Apis::ComputeV1::ErrorInfo]
23538
+ attr_accessor :error_info
23539
+
23540
+ # Provides links to documentation or for performing an out of band action. For
23541
+ # example, if a quota check failed with an error indicating the calling project
23542
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
23543
+ # to the right place in the developer console to flip the bit.
23544
+ # Corresponds to the JSON property `help`
23545
+ # @return [Google::Apis::ComputeV1::Help]
23546
+ attr_accessor :help
23547
+
23548
+ # Provides a localized error message that is safe to return to the user which
23549
+ # can be attached to an RPC error.
23550
+ # Corresponds to the JSON property `localizedMessage`
23551
+ # @return [Google::Apis::ComputeV1::LocalizedMessage]
23552
+ attr_accessor :localized_message
23553
+
23554
+ def initialize(**args)
23555
+ update!(**args)
23556
+ end
23557
+
23558
+ # Update properties of this object
23559
+ def update!(**args)
23560
+ @error_info = args[:error_info] if args.key?(:error_info)
23561
+ @help = args[:help] if args.key?(:help)
23562
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
23563
+ end
23564
+ end
23308
23565
  end
23309
23566
  end
23310
23567
 
@@ -27418,7 +27675,7 @@ module Google
27418
27675
  include Google::Apis::Core::Hashable
27419
27676
 
27420
27677
  # New set of SslCertificate resources to associate with this TargetHttpsProxy
27421
- # resource. Currently exactly one SslCertificate resource must be specified.
27678
+ # resource.
27422
27679
  # Corresponds to the JSON property `sslCertificates`
27423
27680
  # @return [Array<String>]
27424
27681
  attr_accessor :ssl_certificates
@@ -27473,7 +27730,11 @@ module Google
27473
27730
  class RequestMirrorPolicy
27474
27731
  include Google::Apis::Core::Hashable
27475
27732
 
27476
- # The full or partial URL to the BackendService resource being mirrored to.
27733
+ # The full or partial URL to the BackendService resource being mirrored to. The
27734
+ # backend service configured for a mirroring policy must reference backends that
27735
+ # are of the same type as the original backend service matched in the URL map.
27736
+ # Serverless NEG backends are not currently supported as a mirrored backend
27737
+ # service.
27477
27738
  # Corresponds to the JSON property `backendService`
27478
27739
  # @return [String]
27479
27740
  attr_accessor :backend_service
@@ -30925,6 +31186,11 @@ module Google
30925
31186
  class SavedDisk
30926
31187
  include Google::Apis::Core::Hashable
30927
31188
 
31189
+ # [Output Only] The architecture of the attached disk.
31190
+ # Corresponds to the JSON property `architecture`
31191
+ # @return [String]
31192
+ attr_accessor :architecture
31193
+
30928
31194
  # [Output Only] Type of the resource. Always compute#savedDisk for attached
30929
31195
  # disks.
30930
31196
  # Corresponds to the JSON property `kind`
@@ -30955,6 +31221,7 @@ module Google
30955
31221
 
30956
31222
  # Update properties of this object
30957
31223
  def update!(**args)
31224
+ @architecture = args[:architecture] if args.key?(:architecture)
30958
31225
  @kind = args[:kind] if args.key?(:kind)
30959
31226
  @source_disk = args[:source_disk] if args.key?(:source_disk)
30960
31227
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
@@ -32975,6 +33242,12 @@ module Google
32975
33242
  class Snapshot
32976
33243
  include Google::Apis::Core::Hashable
32977
33244
 
33245
+ # [Output Only] The architecture of the snapshot. Valid values are ARM64 or
33246
+ # X86_64.
33247
+ # Corresponds to the JSON property `architecture`
33248
+ # @return [String]
33249
+ attr_accessor :architecture
33250
+
32978
33251
  # [Output Only] Set to true if snapshots are automatically created by applying
32979
33252
  # resource policy on the target disk.
32980
33253
  # Corresponds to the JSON property `autoCreated`
@@ -32992,6 +33265,11 @@ module Google
32992
33265
  # @return [String]
32993
33266
  attr_accessor :chain_name
32994
33267
 
33268
+ # [Output Only] Size in bytes of the snapshot at creation time.
33269
+ # Corresponds to the JSON property `creationSizeBytes`
33270
+ # @return [Fixnum]
33271
+ attr_accessor :creation_size_bytes
33272
+
32995
33273
  # [Output Only] Creation timestamp in RFC3339 text format.
32996
33274
  # Corresponds to the JSON property `creationTimestamp`
32997
33275
  # @return [String]
@@ -33095,6 +33373,11 @@ module Google
33095
33373
  # @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
33096
33374
  attr_accessor :snapshot_encryption_key
33097
33375
 
33376
+ # Indicates the type of the snapshot.
33377
+ # Corresponds to the JSON property `snapshotType`
33378
+ # @return [String]
33379
+ attr_accessor :snapshot_type
33380
+
33098
33381
  # The source disk used to create this snapshot.
33099
33382
  # Corresponds to the JSON property `sourceDisk`
33100
33383
  # @return [String]
@@ -33113,6 +33396,16 @@ module Google
33113
33396
  # @return [String]
33114
33397
  attr_accessor :source_disk_id
33115
33398
 
33399
+ # [Output Only] URL of the resource policy which created this scheduled snapshot.
33400
+ # Corresponds to the JSON property `sourceSnapshotSchedulePolicy`
33401
+ # @return [String]
33402
+ attr_accessor :source_snapshot_schedule_policy
33403
+
33404
+ # [Output Only] ID of the resource policy which created this scheduled snapshot.
33405
+ # Corresponds to the JSON property `sourceSnapshotSchedulePolicyId`
33406
+ # @return [String]
33407
+ attr_accessor :source_snapshot_schedule_policy_id
33408
+
33116
33409
  # [Output Only] The status of the snapshot. This can be CREATING, DELETING,
33117
33410
  # FAILED, READY, or UPLOADING.
33118
33411
  # Corresponds to the JSON property `status`
@@ -33145,8 +33438,10 @@ module Google
33145
33438
 
33146
33439
  # Update properties of this object
33147
33440
  def update!(**args)
33441
+ @architecture = args[:architecture] if args.key?(:architecture)
33148
33442
  @auto_created = args[:auto_created] if args.key?(:auto_created)
33149
33443
  @chain_name = args[:chain_name] if args.key?(:chain_name)
33444
+ @creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
33150
33445
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
33151
33446
  @description = args[:description] if args.key?(:description)
33152
33447
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@@ -33162,9 +33457,12 @@ module Google
33162
33457
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
33163
33458
  @self_link = args[:self_link] if args.key?(:self_link)
33164
33459
  @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
33460
+ @snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type)
33165
33461
  @source_disk = args[:source_disk] if args.key?(:source_disk)
33166
33462
  @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
33167
33463
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
33464
+ @source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
33465
+ @source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
33168
33466
  @status = args[:status] if args.key?(:status)
33169
33467
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
33170
33468
  @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
@@ -36364,8 +36662,9 @@ module Google
36364
36662
  # @return [String]
36365
36663
  attr_accessor :name
36366
36664
 
36367
- # NAT option controlling how IPs are NAT'ed to the instance. Currently only
36368
- # NO_NAT (default value) is supported.
36665
+ # Must have a value of NO_NAT. Protocol forwarding delivers packets while
36666
+ # preserving the destination IP address of the forwarding rule referencing the
36667
+ # target instance.
36369
36668
  # Corresponds to the JSON property `natPolicy`
36370
36669
  # @return [String]
36371
36670
  attr_accessor :nat_policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.44.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 = "20220714"
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
@@ -10079,6 +10166,7 @@ module Google
10079
10166
  property :creation_timestamp, as: 'creationTimestamp'
10080
10167
  property :description, as: 'description'
10081
10168
  property :enable_ula_internal_ipv6, as: 'enableUlaInternalIpv6'
10169
+ property :firewall_policy, as: 'firewallPolicy'
10082
10170
  property :gateway_i_pv4, as: 'gatewayIPv4'
10083
10171
  property :id, :numeric_string => true, as: 'id'
10084
10172
  property :internal_ipv6_range, as: 'internalIpv6Range'
@@ -11078,9 +11166,23 @@ module Google
11078
11166
  # @private
11079
11167
  class Representation < Google::Apis::Core::JsonRepresentation
11080
11168
  property :code, as: 'code'
11169
+ collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeV1::Operation::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeV1::Operation::Error::Error::ErrorDetail::Representation
11170
+
11081
11171
  property :location, as: 'location'
11082
11172
  property :message, as: 'message'
11083
11173
  end
11174
+
11175
+ class ErrorDetail
11176
+ # @private
11177
+ class Representation < Google::Apis::Core::JsonRepresentation
11178
+ property :error_info, as: 'errorInfo', class: Google::Apis::ComputeV1::ErrorInfo, decorator: Google::Apis::ComputeV1::ErrorInfo::Representation
11179
+
11180
+ property :help, as: 'help', class: Google::Apis::ComputeV1::Help, decorator: Google::Apis::ComputeV1::Help::Representation
11181
+
11182
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
11183
+
11184
+ end
11185
+ end
11084
11186
  end
11085
11187
  end
11086
11188
 
@@ -13035,6 +13137,7 @@ module Google
13035
13137
  class SavedDisk
13036
13138
  # @private
13037
13139
  class Representation < Google::Apis::Core::JsonRepresentation
13140
+ property :architecture, as: 'architecture'
13038
13141
  property :kind, as: 'kind'
13039
13142
  property :source_disk, as: 'sourceDisk'
13040
13143
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
@@ -13581,8 +13684,10 @@ module Google
13581
13684
  class Snapshot
13582
13685
  # @private
13583
13686
  class Representation < Google::Apis::Core::JsonRepresentation
13687
+ property :architecture, as: 'architecture'
13584
13688
  property :auto_created, as: 'autoCreated'
13585
13689
  property :chain_name, as: 'chainName'
13690
+ property :creation_size_bytes, :numeric_string => true, as: 'creationSizeBytes'
13586
13691
  property :creation_timestamp, as: 'creationTimestamp'
13587
13692
  property :description, as: 'description'
13588
13693
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
@@ -13599,10 +13704,13 @@ module Google
13599
13704
  property :self_link, as: 'selfLink'
13600
13705
  property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
13601
13706
 
13707
+ property :snapshot_type, as: 'snapshotType'
13602
13708
  property :source_disk, as: 'sourceDisk'
13603
13709
  property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
13604
13710
 
13605
13711
  property :source_disk_id, as: 'sourceDiskId'
13712
+ property :source_snapshot_schedule_policy, as: 'sourceSnapshotSchedulePolicy'
13713
+ property :source_snapshot_schedule_policy_id, as: 'sourceSnapshotSchedulePolicyId'
13606
13714
  property :status, as: 'status'
13607
13715
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
13608
13716
  property :storage_bytes_status, as: 'storageBytesStatus'
@@ -10981,6 +10981,7 @@ module Google
10981
10981
  end
10982
10982
 
10983
10983
  # Creates multiple instances. Count specifies the number of instances to create.
10984
+ # For more information, see About bulk creation of VMs.
10984
10985
  # @param [String] project
10985
10986
  # Project ID for this request.
10986
10987
  # @param [String] zone
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.44.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-25 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.44.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: []