google-apis-compute_beta 0.40.0 → 0.43.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: f371d27835dcfe356326cebbf7238d8c7a8b1c330607888723e127aaf61b497e
4
- data.tar.gz: f62f336f74a657995ed32fd53ac12b73fb20ae81d1740818e0c941d1d697590b
3
+ metadata.gz: 4d7578da3e8dc3c7d8ec94a74163ecc8447143238307618c408262af37227283
4
+ data.tar.gz: 37b431f74539ecd88f2eb4c4983b1689ebd3cbd949cbed04e282aec996b8aba0
5
5
  SHA512:
6
- metadata.gz: cab73bd944224c102c19af9a2addd054293553085e73160417ad95d9bd8f83491f16532ccce9c30bd6d909b02886013a208bb09f4ec44a0752a9b59d2769114a
7
- data.tar.gz: c375d9da48fe37b0fa64c22a5b53c286fd1997e1646dac2f5aebb865dee6f73d230c927b255532003c98ebe3f4cb53e91d506a1ffb2701ab0f0e7176e4e1403a
6
+ metadata.gz: 56296dee260c8951439acf467dd96e0dfd7634e9991699f800f683163061bc9ba8eade5a8871e943d60e30f1f6d5cfd9a62ab40a300ad9964f328faf198b1fa9
7
+ data.tar.gz: 22fa455e9a0f7a449c5e596f556f522870e5304b9383e7dd55e1d10bd45002a888f95d2eea1576cb6f6aaa2960246b23250d745db7947a3c5dd81f903b89aa69
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.43.0 (2022-07-20)
4
+
5
+ * Regenerated from discovery document revision 20220714
6
+
7
+ ### v0.42.0 (2022-07-14)
8
+
9
+ * Regenerated from discovery document revision 20220705
10
+
11
+ ### v0.41.0 (2022-07-04)
12
+
13
+ * Regenerated from discovery document revision 20220621
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.40.0 (2022-06-30)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -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)
@@ -2644,7 +2657,7 @@ module Google
2644
2657
  # @return [Float]
2645
2658
  attr_accessor :max_rate_per_instance
2646
2659
 
2647
- # Optional parameter to define a target capacity for the UTILIZATIONbalancing
2660
+ # Optional parameter to define a target capacity for the UTILIZATION balancing
2648
2661
  # mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization
2649
2662
  # balancing mode.
2650
2663
  # Corresponds to the JSON property `maxUtilization`
@@ -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
@@ -10927,6 +10996,53 @@ module Google
10927
10996
  end
10928
10997
  end
10929
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
+
10930
11046
  # UrlMaps A host-matching rule for a URL. If matched, will use the named
10931
11047
  # PathMatcher to select the BackendService.
10932
11048
  class HostRule
@@ -12172,6 +12288,11 @@ module Google
12172
12288
  class Image
12173
12289
  include Google::Apis::Core::Hashable
12174
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
+
12175
12296
  # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
12176
12297
  # Corresponds to the JSON property `archiveSizeBytes`
12177
12298
  # @return [Fixnum]
@@ -12422,6 +12543,7 @@ module Google
12422
12543
 
12423
12544
  # Update properties of this object
12424
12545
  def update!(**args)
12546
+ @architecture = args[:architecture] if args.key?(:architecture)
12425
12547
  @archive_size_bytes = args[:archive_size_bytes] if args.key?(:archive_size_bytes)
12426
12548
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
12427
12549
  @deprecated = args[:deprecated] if args.key?(:deprecated)
@@ -18703,6 +18825,33 @@ module Google
18703
18825
  end
18704
18826
  end
18705
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
+
18706
18855
  # Configuration for location policy among multiple possible locations (e.g.
18707
18856
  # preferences for zone selection among zones in a single region).
18708
18857
  class LocationPolicy
@@ -18740,7 +18889,7 @@ module Google
18740
18889
  # @return [Google::Apis::ComputeBeta::LocationPolicyLocationConstraints]
18741
18890
  attr_accessor :constraints
18742
18891
 
18743
- # Preference for a given location.
18892
+ # Preference for a given location. Set to either ALLOW or DENY.
18744
18893
  # Corresponds to the JSON property `preference`
18745
18894
  # @return [String]
18746
18895
  attr_accessor :preference
@@ -19824,6 +19973,14 @@ module Google
19824
19973
  # @return [String]
19825
19974
  attr_accessor :code
19826
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
+
19827
19984
  # [Output Only] Indicates the field in the request that caused the error. This
19828
19985
  # property is optional.
19829
19986
  # Corresponds to the JSON property `location`
@@ -19842,9 +19999,52 @@ module Google
19842
19999
  # Update properties of this object
19843
20000
  def update!(**args)
19844
20001
  @code = args[:code] if args.key?(:code)
20002
+ @error_details = args[:error_details] if args.key?(:error_details)
19845
20003
  @location = args[:location] if args.key?(:location)
19846
20004
  @message = args[:message] if args.key?(:message)
19847
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
19848
20048
  end
19849
20049
  end
19850
20050
  end
@@ -20083,6 +20283,11 @@ module Google
20083
20283
  attr_accessor :enable_ula_internal_ipv6
20084
20284
  alias_method :enable_ula_internal_ipv6?, :enable_ula_internal_ipv6
20085
20285
 
20286
+ # [Output Only] URL of the firewall policy the network is associated with.
20287
+ # Corresponds to the JSON property `firewallPolicy`
20288
+ # @return [String]
20289
+ attr_accessor :firewall_policy
20290
+
20086
20291
  # [Output Only] The gateway address for default routing out of the network,
20087
20292
  # selected by GCP.
20088
20293
  # Corresponds to the JSON property `gatewayIPv4`
@@ -20172,6 +20377,7 @@ module Google
20172
20377
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
20173
20378
  @description = args[:description] if args.key?(:description)
20174
20379
  @enable_ula_internal_ipv6 = args[:enable_ula_internal_ipv6] if args.key?(:enable_ula_internal_ipv6)
20380
+ @firewall_policy = args[:firewall_policy] if args.key?(:firewall_policy)
20175
20381
  @gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
20176
20382
  @id = args[:id] if args.key?(:id)
20177
20383
  @internal_ipv6_range = args[:internal_ipv6_range] if args.key?(:internal_ipv6_range)
@@ -20858,9 +21064,9 @@ module Google
20858
21064
  # allows for routing to multiple App Engine services without having to create
20859
21065
  # multiple Network Endpoint Groups and backend services. For example, the
20860
21066
  # request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.
20861
- # com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.
20862
- # appspot.com/". The URL mask will parse them to ` service = "foo1", version = "
20863
- # v1" ` and ` service = "foo1", version = "v2" ` respectively.
21067
+ # com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-
21068
+ # appname.appspot.com/<version>". The URL mask will parse them to ` service = "
21069
+ # foo1", version = "v1" ` and ` service = "foo1", version = "v2" ` respectively.
20864
21070
  # Corresponds to the JSON property `urlMask`
20865
21071
  # @return [String]
20866
21072
  attr_accessor :url_mask
@@ -20899,8 +21105,8 @@ module Google
20899
21105
  # routing to multiple Cloud Functions without having to create multiple Network
20900
21106
  # Endpoint Groups and backend services. For example, request URLs " mydomain.com/
20901
21107
  # function1" and "mydomain.com/function2" can be backed by the same Serverless
20902
- # NEG with URL mask "/". The URL mask will parse them to ` function = "function1"
20903
- # ` and ` function = "function2" ` respectively.
21108
+ # NEG with URL mask "/<function>". The URL mask will parse them to ` function = "
21109
+ # function1" ` and ` function = "function2" ` respectively.
20904
21110
  # Corresponds to the JSON property `urlMask`
20905
21111
  # @return [String]
20906
21112
  attr_accessor :url_mask
@@ -24266,6 +24472,14 @@ module Google
24266
24472
  # @return [String]
24267
24473
  attr_accessor :code
24268
24474
 
24475
+ # [Output Only] An optional list of messages that contain the error details.
24476
+ # There is a set of defined message types to use for providing details.The
24477
+ # syntax depends on the error code. For example, QuotaExceededInfo will have
24478
+ # details when the error code is QUOTA_EXCEEDED.
24479
+ # Corresponds to the JSON property `errorDetails`
24480
+ # @return [Array<Google::Apis::ComputeBeta::Operation::Error::Error::ErrorDetail>]
24481
+ attr_accessor :error_details
24482
+
24269
24483
  # [Output Only] Indicates the field in the request that caused the error. This
24270
24484
  # property is optional.
24271
24485
  # Corresponds to the JSON property `location`
@@ -24284,9 +24498,52 @@ module Google
24284
24498
  # Update properties of this object
24285
24499
  def update!(**args)
24286
24500
  @code = args[:code] if args.key?(:code)
24501
+ @error_details = args[:error_details] if args.key?(:error_details)
24287
24502
  @location = args[:location] if args.key?(:location)
24288
24503
  @message = args[:message] if args.key?(:message)
24289
24504
  end
24505
+
24506
+ #
24507
+ class ErrorDetail
24508
+ include Google::Apis::Core::Hashable
24509
+
24510
+ # Describes the cause of the error with structured details. Example of an error
24511
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
24512
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
24513
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
24514
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
24515
+ # returned when attempting to create a Spanner instance in a region that is out
24516
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
24517
+ # : ` "availableRegions": "us-central1,us-east2" ` `
24518
+ # Corresponds to the JSON property `errorInfo`
24519
+ # @return [Google::Apis::ComputeBeta::ErrorInfo]
24520
+ attr_accessor :error_info
24521
+
24522
+ # Provides links to documentation or for performing an out of band action. For
24523
+ # example, if a quota check failed with an error indicating the calling project
24524
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
24525
+ # to the right place in the developer console to flip the bit.
24526
+ # Corresponds to the JSON property `help`
24527
+ # @return [Google::Apis::ComputeBeta::Help]
24528
+ attr_accessor :help
24529
+
24530
+ # Provides a localized error message that is safe to return to the user which
24531
+ # can be attached to an RPC error.
24532
+ # Corresponds to the JSON property `localizedMessage`
24533
+ # @return [Google::Apis::ComputeBeta::LocalizedMessage]
24534
+ attr_accessor :localized_message
24535
+
24536
+ def initialize(**args)
24537
+ update!(**args)
24538
+ end
24539
+
24540
+ # Update properties of this object
24541
+ def update!(**args)
24542
+ @error_info = args[:error_info] if args.key?(:error_info)
24543
+ @help = args[:help] if args.key?(:help)
24544
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
24545
+ end
24546
+ end
24290
24547
  end
24291
24548
  end
24292
24549
 
@@ -28574,7 +28831,7 @@ module Google
28574
28831
  include Google::Apis::Core::Hashable
28575
28832
 
28576
28833
  # New set of SslCertificate resources to associate with this TargetHttpsProxy
28577
- # resource. Currently exactly one SslCertificate resource must be specified.
28834
+ # resource.
28578
28835
  # Corresponds to the JSON property `sslCertificates`
28579
28836
  # @return [Array<String>]
28580
28837
  attr_accessor :ssl_certificates
@@ -28629,7 +28886,11 @@ module Google
28629
28886
  class RequestMirrorPolicy
28630
28887
  include Google::Apis::Core::Hashable
28631
28888
 
28632
- # The full or partial URL to the BackendService resource being mirrored to.
28889
+ # The full or partial URL to the BackendService resource being mirrored to. The
28890
+ # backend service configured for a mirroring policy must reference backends that
28891
+ # are of the same type as the original backend service matched in the URL map.
28892
+ # Serverless NEG backends are not currently supported as a mirrored backend
28893
+ # service.
28633
28894
  # Corresponds to the JSON property `backendService`
28634
28895
  # @return [String]
28635
28896
  attr_accessor :backend_service
@@ -32174,6 +32435,11 @@ module Google
32174
32435
  class SavedDisk
32175
32436
  include Google::Apis::Core::Hashable
32176
32437
 
32438
+ # [Output Only] The architecture of the attached disk.
32439
+ # Corresponds to the JSON property `architecture`
32440
+ # @return [String]
32441
+ attr_accessor :architecture
32442
+
32177
32443
  # [Output Only] Type of the resource. Always compute#savedDisk for attached
32178
32444
  # disks.
32179
32445
  # Corresponds to the JSON property `kind`
@@ -32204,6 +32470,7 @@ module Google
32204
32470
 
32205
32471
  # Update properties of this object
32206
32472
  def update!(**args)
32473
+ @architecture = args[:architecture] if args.key?(:architecture)
32207
32474
  @kind = args[:kind] if args.key?(:kind)
32208
32475
  @source_disk = args[:source_disk] if args.key?(:source_disk)
32209
32476
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
@@ -34605,6 +34872,12 @@ module Google
34605
34872
  class Snapshot
34606
34873
  include Google::Apis::Core::Hashable
34607
34874
 
34875
+ # [Output Only] The architecture of the snapshot. Valid values are ARM64 or
34876
+ # X86_64.
34877
+ # Corresponds to the JSON property `architecture`
34878
+ # @return [String]
34879
+ attr_accessor :architecture
34880
+
34608
34881
  # [Output Only] Set to true if snapshots are automatically created by applying
34609
34882
  # resource policy on the target disk.
34610
34883
  # Corresponds to the JSON property `autoCreated`
@@ -34622,6 +34895,11 @@ module Google
34622
34895
  # @return [String]
34623
34896
  attr_accessor :chain_name
34624
34897
 
34898
+ # [Output Only] Size in bytes of the snapshot at creation time.
34899
+ # Corresponds to the JSON property `creationSizeBytes`
34900
+ # @return [Fixnum]
34901
+ attr_accessor :creation_size_bytes
34902
+
34625
34903
  # [Output Only] Creation timestamp in RFC3339 text format.
34626
34904
  # Corresponds to the JSON property `creationTimestamp`
34627
34905
  # @return [String]
@@ -34732,6 +35010,11 @@ module Google
34732
35010
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
34733
35011
  attr_accessor :snapshot_encryption_key
34734
35012
 
35013
+ # Indicates the type of the snapshot.
35014
+ # Corresponds to the JSON property `snapshotType`
35015
+ # @return [String]
35016
+ attr_accessor :snapshot_type
35017
+
34735
35018
  # The source disk used to create this snapshot.
34736
35019
  # Corresponds to the JSON property `sourceDisk`
34737
35020
  # @return [String]
@@ -34798,8 +35081,10 @@ module Google
34798
35081
 
34799
35082
  # Update properties of this object
34800
35083
  def update!(**args)
35084
+ @architecture = args[:architecture] if args.key?(:architecture)
34801
35085
  @auto_created = args[:auto_created] if args.key?(:auto_created)
34802
35086
  @chain_name = args[:chain_name] if args.key?(:chain_name)
35087
+ @creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
34803
35088
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
34804
35089
  @description = args[:description] if args.key?(:description)
34805
35090
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@@ -34816,6 +35101,7 @@ module Google
34816
35101
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
34817
35102
  @self_link = args[:self_link] if args.key?(:self_link)
34818
35103
  @snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
35104
+ @snapshot_type = args[:snapshot_type] if args.key?(:snapshot_type)
34819
35105
  @source_disk = args[:source_disk] if args.key?(:source_disk)
34820
35106
  @source_disk_encryption_key = args[:source_disk_encryption_key] if args.key?(:source_disk_encryption_key)
34821
35107
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
@@ -38441,8 +38727,9 @@ module Google
38441
38727
  # @return [String]
38442
38728
  attr_accessor :name
38443
38729
 
38444
- # NAT option controlling how IPs are NAT'ed to the instance. Currently only
38445
- # NO_NAT (default value) is supported.
38730
+ # Must have a value of NO_NAT. Protocol forwarding delivers packets while
38731
+ # preserving the destination IP address of the forwarding rule referencing the
38732
+ # target instance.
38446
38733
  # Corresponds to the JSON property `natPolicy`
38447
38734
  # @return [String]
38448
38735
  attr_accessor :nat_policy
@@ -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.40.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.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
@@ -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
@@ -10489,6 +10576,7 @@ module Google
10489
10576
  property :creation_timestamp, as: 'creationTimestamp'
10490
10577
  property :description, as: 'description'
10491
10578
  property :enable_ula_internal_ipv6, as: 'enableUlaInternalIpv6'
10579
+ property :firewall_policy, as: 'firewallPolicy'
10492
10580
  property :gateway_i_pv4, as: 'gatewayIPv4'
10493
10581
  property :id, :numeric_string => true, as: 'id'
10494
10582
  property :internal_ipv6_range, as: 'internalIpv6Range'
@@ -11541,9 +11629,23 @@ module Google
11541
11629
  # @private
11542
11630
  class Representation < Google::Apis::Core::JsonRepresentation
11543
11631
  property :code, as: 'code'
11632
+ collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeBeta::Operation::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeBeta::Operation::Error::Error::ErrorDetail::Representation
11633
+
11544
11634
  property :location, as: 'location'
11545
11635
  property :message, as: 'message'
11546
11636
  end
11637
+
11638
+ class ErrorDetail
11639
+ # @private
11640
+ class Representation < Google::Apis::Core::JsonRepresentation
11641
+ property :error_info, as: 'errorInfo', class: Google::Apis::ComputeBeta::ErrorInfo, decorator: Google::Apis::ComputeBeta::ErrorInfo::Representation
11642
+
11643
+ property :help, as: 'help', class: Google::Apis::ComputeBeta::Help, decorator: Google::Apis::ComputeBeta::Help::Representation
11644
+
11645
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeBeta::LocalizedMessage, decorator: Google::Apis::ComputeBeta::LocalizedMessage::Representation
11646
+
11647
+ end
11648
+ end
11547
11649
  end
11548
11650
  end
11549
11651
 
@@ -13574,6 +13676,7 @@ module Google
13574
13676
  class SavedDisk
13575
13677
  # @private
13576
13678
  class Representation < Google::Apis::Core::JsonRepresentation
13679
+ property :architecture, as: 'architecture'
13577
13680
  property :kind, as: 'kind'
13578
13681
  property :source_disk, as: 'sourceDisk'
13579
13682
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
@@ -14207,8 +14310,10 @@ module Google
14207
14310
  class Snapshot
14208
14311
  # @private
14209
14312
  class Representation < Google::Apis::Core::JsonRepresentation
14313
+ property :architecture, as: 'architecture'
14210
14314
  property :auto_created, as: 'autoCreated'
14211
14315
  property :chain_name, as: 'chainName'
14316
+ property :creation_size_bytes, :numeric_string => true, as: 'creationSizeBytes'
14212
14317
  property :creation_timestamp, as: 'creationTimestamp'
14213
14318
  property :description, as: 'description'
14214
14319
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
@@ -14226,6 +14331,7 @@ module Google
14226
14331
  property :self_link, as: 'selfLink'
14227
14332
  property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
14228
14333
 
14334
+ property :snapshot_type, as: 'snapshotType'
14229
14335
  property :source_disk, as: 'sourceDisk'
14230
14336
  property :source_disk_encryption_key, as: 'sourceDiskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
14231
14337
 
@@ -11997,6 +11997,7 @@ module Google
11997
11997
  end
11998
11998
 
11999
11999
  # Creates multiple instances. Count specifies the number of instances to create.
12000
+ # For more information, see About bulk creation of VMs.
12000
12001
  # @param [String] project
12001
12002
  # Project ID for this request.
12002
12003
  # @param [String] zone
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.40.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-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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.43.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: []