google-apis-compute_v1 0.40.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88363b660d92f0a8cc0d48ea5994b931c295713f863e053f4f5faa0e801a275a
|
4
|
+
data.tar.gz: 8b0c1ff63f3fe2f201ab89d34470a2c3583894a44d6e85238a8a4eb87b1e5b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1acca9ab53c3032dc3db792e701d198c448a6897bedbd825182771076e40d5910515ec65ba703876ddce5a99e01b4180db41eeaf81708048b1bd8dc91317455
|
7
|
+
data.tar.gz: 1dde1e60ce959847a4ade9d8d5678e554476e32f004e2a405874b6cf28877005819e82f8c2978f842ecf9eb74addec87ca6a6f223597fc1ec0a6ff8beb91fd97
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.43.0 (2022-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220705
|
6
|
+
|
7
|
+
### v0.42.0 (2022-07-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220621
|
10
|
+
* Regenerated using generator version 0.9.0
|
11
|
+
|
12
|
+
### v0.41.0 (2022-06-30)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.8.0
|
15
|
+
|
3
16
|
### v0.40.0 (2022-06-23)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220614
|
@@ -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
|
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)
|
@@ -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
|
|
@@ -30925,6 +31182,11 @@ module Google
|
|
30925
31182
|
class SavedDisk
|
30926
31183
|
include Google::Apis::Core::Hashable
|
30927
31184
|
|
31185
|
+
# [Output Only] The architecture of the attached disk.
|
31186
|
+
# Corresponds to the JSON property `architecture`
|
31187
|
+
# @return [String]
|
31188
|
+
attr_accessor :architecture
|
31189
|
+
|
30928
31190
|
# [Output Only] Type of the resource. Always compute#savedDisk for attached
|
30929
31191
|
# disks.
|
30930
31192
|
# Corresponds to the JSON property `kind`
|
@@ -30955,6 +31217,7 @@ module Google
|
|
30955
31217
|
|
30956
31218
|
# Update properties of this object
|
30957
31219
|
def update!(**args)
|
31220
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
30958
31221
|
@kind = args[:kind] if args.key?(:kind)
|
30959
31222
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
30960
31223
|
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
@@ -32975,6 +33238,12 @@ module Google
|
|
32975
33238
|
class Snapshot
|
32976
33239
|
include Google::Apis::Core::Hashable
|
32977
33240
|
|
33241
|
+
# [Output Only] The architecture of the snapshot. Valid values are ARM64 or
|
33242
|
+
# X86_64.
|
33243
|
+
# Corresponds to the JSON property `architecture`
|
33244
|
+
# @return [String]
|
33245
|
+
attr_accessor :architecture
|
33246
|
+
|
32978
33247
|
# [Output Only] Set to true if snapshots are automatically created by applying
|
32979
33248
|
# resource policy on the target disk.
|
32980
33249
|
# Corresponds to the JSON property `autoCreated`
|
@@ -33113,6 +33382,16 @@ module Google
|
|
33113
33382
|
# @return [String]
|
33114
33383
|
attr_accessor :source_disk_id
|
33115
33384
|
|
33385
|
+
# [Output Only] URL of the resource policy which created this scheduled snapshot.
|
33386
|
+
# Corresponds to the JSON property `sourceSnapshotSchedulePolicy`
|
33387
|
+
# @return [String]
|
33388
|
+
attr_accessor :source_snapshot_schedule_policy
|
33389
|
+
|
33390
|
+
# [Output Only] ID of the resource policy which created this scheduled snapshot.
|
33391
|
+
# Corresponds to the JSON property `sourceSnapshotSchedulePolicyId`
|
33392
|
+
# @return [String]
|
33393
|
+
attr_accessor :source_snapshot_schedule_policy_id
|
33394
|
+
|
33116
33395
|
# [Output Only] The status of the snapshot. This can be CREATING, DELETING,
|
33117
33396
|
# FAILED, READY, or UPLOADING.
|
33118
33397
|
# Corresponds to the JSON property `status`
|
@@ -33145,6 +33424,7 @@ module Google
|
|
33145
33424
|
|
33146
33425
|
# Update properties of this object
|
33147
33426
|
def update!(**args)
|
33427
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
33148
33428
|
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
33149
33429
|
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
33150
33430
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -33165,6 +33445,8 @@ module Google
|
|
33165
33445
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
33166
33446
|
@source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
|
33167
33447
|
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
33448
|
+
@source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
|
33449
|
+
@source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
|
33168
33450
|
@status = args[:status] if args.key?(:status)
|
33169
33451
|
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
33170
33452
|
@storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220705"
|
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,6 +13684,7 @@ 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'
|
13586
13690
|
property :creation_timestamp, as: 'creationTimestamp'
|
@@ -13603,6 +13707,8 @@ module Google
|
|
13603
13707
|
property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
13604
13708
|
|
13605
13709
|
property :source_disk_id, as: 'sourceDiskId'
|
13710
|
+
property :source_snapshot_schedule_policy, as: 'sourceSnapshotSchedulePolicy'
|
13711
|
+
property :source_snapshot_schedule_policy_id, as: 'sourceSnapshotSchedulePolicyId'
|
13606
13712
|
property :status, as: 'status'
|
13607
13713
|
property :storage_bytes, :numeric_string => true, as: 'storageBytes'
|
13608
13714
|
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.
|
4
|
+
version: 0.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.43.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: []
|