google-apis-compute_beta 0.71.0 → 0.72.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: e1f6f87734b1cde6b8c951eea8ee441849caf3dc124494662dc01ef02549ebe8
4
- data.tar.gz: e29ff676d8051e6ee54dabdd73b28e66d699f7196f5edb19a387edcc435864d4
3
+ metadata.gz: 5cf631befab362f4c49019cb13bd6a937659c553d85f651a84d1d703729d483e
4
+ data.tar.gz: ba94bb07e960d2a9b309fc808dd85b343d7530bf5715d9e96ae3be5f4b7af93b
5
5
  SHA512:
6
- metadata.gz: 123fcdfdbcfaad35dba9023052886b2ea11af2103dc0beaa012802bdf0a6673ba9c8d50c5d20207201051a4150fd0612dd7218fbfe7371c702d506e277ae400d
7
- data.tar.gz: a328611901c46237673fc0b378442199045dd0db79d0d2a9c6946539fc1f8ff69ad00e977b9b5ff13b77977d81521b93f1d8384d1fdb96b2dcd80392bfca7a92
6
+ metadata.gz: f7fb4b1ccb22dd2d31c3bda446fc13fb255b8de3a14167bf4dfab28e3ae6178af2f42b3ee768dfc98302f3290512b6e2732ca2818a313a7969db0b1bd74c9418
7
+ data.tar.gz: 82aa8bb704399314ba5caeedb2b24f8608ac85a0a0262245fac7b3cd1de0356741b3d68aad22c309467eeb91c092ec3f2b5ac25bbc6722108970487cd603706a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.72.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230610
6
+
3
7
  ### v0.71.0 (2023-06-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20230606
@@ -645,7 +645,7 @@ module Google
645
645
  attr_accessor :id
646
646
 
647
647
  # The IP version that will be used by this address. Valid options are IPV4 or
648
- # IPV6. This can only be specified for a global address.
648
+ # IPV6.
649
649
  # Corresponds to the JSON property `ipVersion`
650
650
  # @return [String]
651
651
  attr_accessor :ip_version
@@ -1714,6 +1714,17 @@ module Google
1714
1714
  # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
1715
1715
  attr_accessor :source_image_encryption_key
1716
1716
 
1717
+ # The source instant-snapshot to create this disk. When creating a new instance,
1718
+ # one of initializeParams.sourceSnapshot or initializeParams.
1719
+ # sourceInstantSnapshot initializeParams.sourceImage or disks.source is required
1720
+ # except for local SSD. To create a disk with a snapshot that you created,
1721
+ # specify the snapshot name in the following format: us-central1-a/
1722
+ # instantSnapshots/my-backup If the source instant-snapshot is deleted later,
1723
+ # this field will not be set.
1724
+ # Corresponds to the JSON property `sourceInstantSnapshot`
1725
+ # @return [String]
1726
+ attr_accessor :source_instant_snapshot
1727
+
1717
1728
  # The source snapshot to create this disk. When creating a new instance, one of
1718
1729
  # initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.
1719
1730
  # source is required except for local SSD. To create a disk with a snapshot that
@@ -1752,6 +1763,7 @@ module Google
1752
1763
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
1753
1764
  @source_image = args[:source_image] if args.key?(:source_image)
1754
1765
  @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
1766
+ @source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
1755
1767
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
1756
1768
  @source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
1757
1769
  end
@@ -15047,6 +15059,15 @@ module Google
15047
15059
  class InstanceGroupManagerInstanceLifecyclePolicy
15048
15060
  include Google::Apis::Core::Hashable
15049
15061
 
15062
+ # The action that a MIG performs on a failed or an unhealthy VM. A VM is marked
15063
+ # as unhealthy when the application running on that VM fails a health check.
15064
+ # Valid values are - REPAIR (default): MIG automatically repairs a failed or an
15065
+ # unhealthy VM by recreating it. For more information, see About repairing VMs
15066
+ # in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
15067
+ # Corresponds to the JSON property `defaultActionOnFailure`
15068
+ # @return [String]
15069
+ attr_accessor :default_action_on_failure
15070
+
15050
15071
  # A bit indicating whether to forcefully apply the group's latest configuration
15051
15072
  # when repairing a VM. Valid options are: - NO (default): If configuration
15052
15073
  # updates are available, they are not forcefully applied during repair. Instead,
@@ -15062,6 +15083,7 @@ module Google
15062
15083
 
15063
15084
  # Update properties of this object
15064
15085
  def update!(**args)
15086
+ @default_action_on_failure = args[:default_action_on_failure] if args.key?(:default_action_on_failure)
15065
15087
  @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
15066
15088
  end
15067
15089
  end
@@ -15394,12 +15416,12 @@ module Google
15394
15416
  attr_accessor :minimal_action
15395
15417
 
15396
15418
  # Most disruptive action that is allowed to be taken on an instance. You can
15397
- # specify either NONE to forbid any actions, REFRESH to allow actions that do
15398
- # not need instance restart, RESTART to allow actions that can be applied
15399
- # without instance replacing or REPLACE to allow all possible actions. If the
15400
- # Updater determines that the minimal update action needed is more disruptive
15401
- # than most disruptive allowed action you specify it will not perform the update
15402
- # at all.
15419
+ # specify either NONE to forbid any actions, REFRESH to avoid restarting the VM
15420
+ # and to limit disruption as much as possible. RESTART to allow actions that can
15421
+ # be applied without instance replacing or REPLACE to allow all possible actions.
15422
+ # If the Updater determines that the minimal update action needed is more
15423
+ # disruptive than most disruptive allowed action you specify it will not perform
15424
+ # the update at all.
15403
15425
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
15404
15426
  # @return [String]
15405
15427
  attr_accessor :most_disruptive_allowed_action
@@ -15513,20 +15535,22 @@ module Google
15513
15535
 
15514
15536
  # The minimal action that you want to perform on each instance during the update:
15515
15537
  # - REPLACE: At minimum, delete the instance and create it again. - RESTART:
15516
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
15517
- # NONE: Do not disrupt the instance at all. By default, the minimum action is
15518
- # NONE. If your update requires a more disruptive action than you set with this
15519
- # flag, the necessary action is performed to execute the update.
15538
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
15539
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
15540
+ # all. By default, the minimum action is NONE. If your update requires a more
15541
+ # disruptive action than you set with this flag, the necessary action is
15542
+ # performed to execute the update.
15520
15543
  # Corresponds to the JSON property `minimalAction`
15521
15544
  # @return [String]
15522
15545
  attr_accessor :minimal_action
15523
15546
 
15524
15547
  # The most disruptive action that you want to perform on each instance during
15525
15548
  # the update: - REPLACE: Delete the instance and create it again. - RESTART:
15526
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
15527
- # NONE: Do not disrupt the instance at all. By default, the most disruptive
15528
- # allowed action is REPLACE. If your update requires a more disruptive action
15529
- # than you set with this flag, the update request will fail.
15549
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
15550
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
15551
+ # all. By default, the most disruptive allowed action is REPLACE. If your update
15552
+ # requires a more disruptive action than you set with this flag, the update
15553
+ # request will fail.
15530
15554
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
15531
15555
  # @return [String]
15532
15556
  attr_accessor :most_disruptive_allowed_action
@@ -18133,55 +18157,6 @@ module Google
18133
18157
  end
18134
18158
  end
18135
18159
 
18136
- #
18137
- class InstantSnapshotExportParams
18138
- include Google::Apis::Core::Hashable
18139
-
18140
- # An optional base instant snapshot that this resource is compared against. If
18141
- # not specified, all blocks of this resource are exported. The base instant
18142
- # snapshot and this resource must be created from the same disk. The base
18143
- # instant snapshot must be created earlier in time than this resource.
18144
- # Corresponds to the JSON property `baseInstantSnapshot`
18145
- # @return [String]
18146
- attr_accessor :base_instant_snapshot
18147
-
18148
- # The name of an existing bucket in Cloud Storage where the changed blocks will
18149
- # be stored. The Google Service Account must have read and write access to this
18150
- # bucket. The bucket has to be in the same region as this resource.
18151
- # Corresponds to the JSON property `bucketName`
18152
- # @return [String]
18153
- attr_accessor :bucket_name
18154
-
18155
- # Encryption key used to encrypt the instant snapshot.
18156
- # Corresponds to the JSON property `encryptionKey`
18157
- # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
18158
- attr_accessor :encryption_key
18159
-
18160
- # Name of the output Bigstore object storing the changed blocks. Object name
18161
- # must be less than 1024 bytes in length.
18162
- # Corresponds to the JSON property `objectName`
18163
- # @return [String]
18164
- attr_accessor :object_name
18165
-
18166
- # The format of the output file.
18167
- # Corresponds to the JSON property `outputType`
18168
- # @return [String]
18169
- attr_accessor :output_type
18170
-
18171
- def initialize(**args)
18172
- update!(**args)
18173
- end
18174
-
18175
- # Update properties of this object
18176
- def update!(**args)
18177
- @base_instant_snapshot = args[:base_instant_snapshot] if args.key?(:base_instant_snapshot)
18178
- @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
18179
- @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
18180
- @object_name = args[:object_name] if args.key?(:object_name)
18181
- @output_type = args[:output_type] if args.key?(:output_type)
18182
- end
18183
- end
18184
-
18185
18160
  # Contains a list of InstantSnapshot resources.
18186
18161
  class InstantSnapshotList
18187
18162
  include Google::Apis::Core::Hashable
@@ -18318,25 +18293,6 @@ module Google
18318
18293
  end
18319
18294
  end
18320
18295
 
18321
- #
18322
- class InstantSnapshotsExportRequest
18323
- include Google::Apis::Core::Hashable
18324
-
18325
- # Parameters to export the changed blocks.
18326
- # Corresponds to the JSON property `exportParams`
18327
- # @return [Google::Apis::ComputeBeta::InstantSnapshotExportParams]
18328
- attr_accessor :export_params
18329
-
18330
- def initialize(**args)
18331
- update!(**args)
18332
- end
18333
-
18334
- # Update properties of this object
18335
- def update!(**args)
18336
- @export_params = args[:export_params] if args.key?(:export_params)
18337
- end
18338
- end
18339
-
18340
18296
  #
18341
18297
  class InstantSnapshotsScopedList
18342
18298
  include Google::Apis::Core::Hashable
@@ -29210,7 +29166,7 @@ module Google
29210
29166
  # @return [String]
29211
29167
  attr_accessor :description
29212
29168
 
29213
- # The IPv4 address to be used for reverse DNS verification.
29169
+ # The address to be used for reverse DNS verification.
29214
29170
  # Corresponds to the JSON property `dnsVerificationIp`
29215
29171
  # @return [String]
29216
29172
  attr_accessor :dns_verification_ip
@@ -29232,7 +29188,7 @@ module Google
29232
29188
  # @return [Fixnum]
29233
29189
  attr_accessor :id
29234
29190
 
29235
- # The IPv4 address range, in CIDR format, represented by this public advertised
29191
+ # The address range, in CIDR format, represented by this public advertised
29236
29192
  # prefix.
29237
29193
  # Corresponds to the JSON property `ipCidrRange`
29238
29194
  # @return [String]
@@ -30880,20 +30836,22 @@ module Google
30880
30836
 
30881
30837
  # The minimal action that you want to perform on each instance during the update:
30882
30838
  # - REPLACE: At minimum, delete the instance and create it again. - RESTART:
30883
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
30884
- # NONE: Do not disrupt the instance at all. By default, the minimum action is
30885
- # NONE. If your update requires a more disruptive action than you set with this
30886
- # flag, the necessary action is performed to execute the update.
30839
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
30840
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
30841
+ # all. By default, the minimum action is NONE. If your update requires a more
30842
+ # disruptive action than you set with this flag, the necessary action is
30843
+ # performed to execute the update.
30887
30844
  # Corresponds to the JSON property `minimalAction`
30888
30845
  # @return [String]
30889
30846
  attr_accessor :minimal_action
30890
30847
 
30891
30848
  # The most disruptive action that you want to perform on each instance during
30892
30849
  # the update: - REPLACE: Delete the instance and create it again. - RESTART:
30893
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
30894
- # NONE: Do not disrupt the instance at all. By default, the most disruptive
30895
- # allowed action is REPLACE. If your update requires a more disruptive action
30896
- # than you set with this flag, the update request will fail.
30850
+ # Stop the instance and start it again. - REFRESH: Do not stop the instance and
30851
+ # limit disruption as much as possible. - NONE: Do not disrupt the instance at
30852
+ # all. By default, the most disruptive allowed action is REPLACE. If your update
30853
+ # requires a more disruptive action than you set with this flag, the update
30854
+ # request will fail.
30897
30855
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
30898
30856
  # @return [String]
30899
30857
  attr_accessor :most_disruptive_allowed_action
@@ -31426,25 +31384,6 @@ module Google
31426
31384
  end
31427
31385
  end
31428
31386
 
31429
- #
31430
- class RegionInstantSnapshotsExportRequest
31431
- include Google::Apis::Core::Hashable
31432
-
31433
- # Parameters to export the changed blocks.
31434
- # Corresponds to the JSON property `exportParams`
31435
- # @return [Google::Apis::ComputeBeta::InstantSnapshotExportParams]
31436
- attr_accessor :export_params
31437
-
31438
- def initialize(**args)
31439
- update!(**args)
31440
- end
31441
-
31442
- # Update properties of this object
31443
- def update!(**args)
31444
- @export_params = args[:export_params] if args.key?(:export_params)
31445
- end
31446
- end
31447
-
31448
31387
  # Contains a list of region resources.
31449
31388
  class RegionList
31450
31389
  include Google::Apis::Core::Hashable
@@ -38472,6 +38411,13 @@ module Google
38472
38411
  attr_accessor :guest_flush
38473
38412
  alias_method :guest_flush?, :guest_flush
38474
38413
 
38414
+ # [Output Only] A list of features to enable on the guest operating system.
38415
+ # Applicable only for bootable images. Read Enabling guest operating system
38416
+ # features to see a list of available options.
38417
+ # Corresponds to the JSON property `guestOsFeatures`
38418
+ # @return [Array<Google::Apis::ComputeBeta::GuestOsFeature>]
38419
+ attr_accessor :guest_os_features
38420
+
38475
38421
  # [Output Only] The unique identifier for the resource. This identifier is
38476
38422
  # defined by the server.
38477
38423
  # Corresponds to the JSON property `id`
@@ -38658,6 +38604,7 @@ module Google
38658
38604
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
38659
38605
  @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
38660
38606
  @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
38607
+ @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
38661
38608
  @id = args[:id] if args.key?(:id)
38662
38609
  @kind = args[:kind] if args.key?(:kind)
38663
38610
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@@ -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.71.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230606"
25
+ REVISION = "20230610"
26
26
  end
27
27
  end
28
28
  end
@@ -2212,12 +2212,6 @@ module Google
2212
2212
  include Google::Apis::Core::JsonObjectSupport
2213
2213
  end
2214
2214
 
2215
- class InstantSnapshotExportParams
2216
- class Representation < Google::Apis::Core::JsonRepresentation; end
2217
-
2218
- include Google::Apis::Core::JsonObjectSupport
2219
- end
2220
-
2221
2215
  class InstantSnapshotList
2222
2216
  class Representation < Google::Apis::Core::JsonRepresentation; end
2223
2217
 
@@ -2242,12 +2236,6 @@ module Google
2242
2236
  include Google::Apis::Core::JsonObjectSupport
2243
2237
  end
2244
2238
 
2245
- class InstantSnapshotsExportRequest
2246
- class Representation < Google::Apis::Core::JsonRepresentation; end
2247
-
2248
- include Google::Apis::Core::JsonObjectSupport
2249
- end
2250
-
2251
2239
  class InstantSnapshotsScopedList
2252
2240
  class Representation < Google::Apis::Core::JsonRepresentation; end
2253
2241
 
@@ -4048,12 +4036,6 @@ module Google
4048
4036
  include Google::Apis::Core::JsonObjectSupport
4049
4037
  end
4050
4038
 
4051
- class RegionInstantSnapshotsExportRequest
4052
- class Representation < Google::Apis::Core::JsonRepresentation; end
4053
-
4054
- include Google::Apis::Core::JsonObjectSupport
4055
- end
4056
-
4057
4039
  class RegionList
4058
4040
  class Representation < Google::Apis::Core::JsonRepresentation; end
4059
4041
 
@@ -6650,6 +6632,7 @@ module Google
6650
6632
  property :source_image, as: 'sourceImage'
6651
6633
  property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
6652
6634
 
6635
+ property :source_instant_snapshot, as: 'sourceInstantSnapshot'
6653
6636
  property :source_snapshot, as: 'sourceSnapshot'
6654
6637
  property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
6655
6638
 
@@ -9638,6 +9621,7 @@ module Google
9638
9621
  class InstanceGroupManagerInstanceLifecyclePolicy
9639
9622
  # @private
9640
9623
  class Representation < Google::Apis::Core::JsonRepresentation
9624
+ property :default_action_on_failure, as: 'defaultActionOnFailure'
9641
9625
  property :force_update_on_repair, as: 'forceUpdateOnRepair'
9642
9626
  end
9643
9627
  end
@@ -10499,18 +10483,6 @@ module Google
10499
10483
  end
10500
10484
  end
10501
10485
 
10502
- class InstantSnapshotExportParams
10503
- # @private
10504
- class Representation < Google::Apis::Core::JsonRepresentation
10505
- property :base_instant_snapshot, as: 'baseInstantSnapshot'
10506
- property :bucket_name, as: 'bucketName'
10507
- property :encryption_key, as: 'encryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
10508
-
10509
- property :object_name, as: 'objectName'
10510
- property :output_type, as: 'outputType'
10511
- end
10512
- end
10513
-
10514
10486
  class InstantSnapshotList
10515
10487
  # @private
10516
10488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10550,14 +10522,6 @@ module Google
10550
10522
  end
10551
10523
  end
10552
10524
 
10553
- class InstantSnapshotsExportRequest
10554
- # @private
10555
- class Representation < Google::Apis::Core::JsonRepresentation
10556
- property :export_params, as: 'exportParams', class: Google::Apis::ComputeBeta::InstantSnapshotExportParams, decorator: Google::Apis::ComputeBeta::InstantSnapshotExportParams::Representation
10557
-
10558
- end
10559
- end
10560
-
10561
10525
  class InstantSnapshotsScopedList
10562
10526
  # @private
10563
10527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13879,14 +13843,6 @@ module Google
13879
13843
  end
13880
13844
  end
13881
13845
 
13882
- class RegionInstantSnapshotsExportRequest
13883
- # @private
13884
- class Representation < Google::Apis::Core::JsonRepresentation
13885
- property :export_params, as: 'exportParams', class: Google::Apis::ComputeBeta::InstantSnapshotExportParams, decorator: Google::Apis::ComputeBeta::InstantSnapshotExportParams::Representation
13886
-
13887
- end
13888
- end
13889
-
13890
13846
  class RegionList
13891
13847
  # @private
13892
13848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15658,6 +15614,8 @@ module Google
15658
15614
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
15659
15615
  property :download_bytes, :numeric_string => true, as: 'downloadBytes'
15660
15616
  property :guest_flush, as: 'guestFlush'
15617
+ collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
15618
+
15661
15619
  property :id, :numeric_string => true, as: 'id'
15662
15620
  property :kind, as: 'kind'
15663
15621
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
@@ -15019,60 +15019,6 @@ module Google
15019
15019
  execute_or_queue_command(command, &block)
15020
15020
  end
15021
15021
 
15022
- # Export the changed blocks between two instant snapshots to a customer's bucket
15023
- # in the user specified format.
15024
- # @param [String] project
15025
- # Project ID for this request.
15026
- # @param [String] zone
15027
- # The name of the zone for this request.
15028
- # @param [String] instant_snapshot
15029
- # Name of the instant snapshot to export.
15030
- # @param [Google::Apis::ComputeBeta::InstantSnapshotsExportRequest] instant_snapshots_export_request_object
15031
- # @param [String] request_id
15032
- # An optional request ID to identify requests. Specify a unique request ID so
15033
- # that if you must retry your request, the server will know to ignore the
15034
- # request if it has already been completed. For example, consider a situation
15035
- # where you make an initial request and the request times out. If you make the
15036
- # request again with the same request ID, the server can check if original
15037
- # operation with the same request ID was received, and if so, will ignore the
15038
- # second request. This prevents clients from accidentally creating duplicate
15039
- # commitments. The request ID must be a valid UUID with the exception that zero
15040
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
15041
- # @param [String] fields
15042
- # Selector specifying which fields to include in a partial response.
15043
- # @param [String] quota_user
15044
- # Available to use for quota purposes for server-side applications. Can be any
15045
- # arbitrary string assigned to a user, but should not exceed 40 characters.
15046
- # @param [String] user_ip
15047
- # Legacy name for parameter that has been superseded by `quotaUser`.
15048
- # @param [Google::Apis::RequestOptions] options
15049
- # Request-specific options
15050
- #
15051
- # @yield [result, err] Result & error if block supplied
15052
- # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
15053
- # @yieldparam err [StandardError] error object if request failed
15054
- #
15055
- # @return [Google::Apis::ComputeBeta::Operation]
15056
- #
15057
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15058
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15059
- # @raise [Google::Apis::AuthorizationError] Authorization is required
15060
- def export_instant_snapshot(project, zone, instant_snapshot, instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
15061
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}/export', options)
15062
- command.request_representation = Google::Apis::ComputeBeta::InstantSnapshotsExportRequest::Representation
15063
- command.request_object = instant_snapshots_export_request_object
15064
- command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
15065
- command.response_class = Google::Apis::ComputeBeta::Operation
15066
- command.params['project'] = project unless project.nil?
15067
- command.params['zone'] = zone unless zone.nil?
15068
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
15069
- command.query['requestId'] = request_id unless request_id.nil?
15070
- command.query['fields'] = fields unless fields.nil?
15071
- command.query['quotaUser'] = quota_user unless quota_user.nil?
15072
- command.query['userIp'] = user_ip unless user_ip.nil?
15073
- execute_or_queue_command(command, &block)
15074
- end
15075
-
15076
15022
  # Returns the specified InstantSnapshot resource in the specified zone.
15077
15023
  # @param [String] project
15078
15024
  # Project ID for this request.
@@ -29512,60 +29458,6 @@ module Google
29512
29458
  execute_or_queue_command(command, &block)
29513
29459
  end
29514
29460
 
29515
- # Export the changed blocks between two instant snapshots to a customer's bucket
29516
- # in the user specified format.
29517
- # @param [String] project
29518
- # Project ID for this request.
29519
- # @param [String] region
29520
- # The name of the zone for this request.
29521
- # @param [String] instant_snapshot
29522
- # Name of the instant snapshot to export.
29523
- # @param [Google::Apis::ComputeBeta::RegionInstantSnapshotsExportRequest] region_instant_snapshots_export_request_object
29524
- # @param [String] request_id
29525
- # An optional request ID to identify requests. Specify a unique request ID so
29526
- # that if you must retry your request, the server will know to ignore the
29527
- # request if it has already been completed. For example, consider a situation
29528
- # where you make an initial request and the request times out. If you make the
29529
- # request again with the same request ID, the server can check if original
29530
- # operation with the same request ID was received, and if so, will ignore the
29531
- # second request. This prevents clients from accidentally creating duplicate
29532
- # commitments. The request ID must be a valid UUID with the exception that zero
29533
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
29534
- # @param [String] fields
29535
- # Selector specifying which fields to include in a partial response.
29536
- # @param [String] quota_user
29537
- # Available to use for quota purposes for server-side applications. Can be any
29538
- # arbitrary string assigned to a user, but should not exceed 40 characters.
29539
- # @param [String] user_ip
29540
- # Legacy name for parameter that has been superseded by `quotaUser`.
29541
- # @param [Google::Apis::RequestOptions] options
29542
- # Request-specific options
29543
- #
29544
- # @yield [result, err] Result & error if block supplied
29545
- # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
29546
- # @yieldparam err [StandardError] error object if request failed
29547
- #
29548
- # @return [Google::Apis::ComputeBeta::Operation]
29549
- #
29550
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29551
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29552
- # @raise [Google::Apis::AuthorizationError] Authorization is required
29553
- def export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
29554
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export', options)
29555
- command.request_representation = Google::Apis::ComputeBeta::RegionInstantSnapshotsExportRequest::Representation
29556
- command.request_object = region_instant_snapshots_export_request_object
29557
- command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
29558
- command.response_class = Google::Apis::ComputeBeta::Operation
29559
- command.params['project'] = project unless project.nil?
29560
- command.params['region'] = region unless region.nil?
29561
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
29562
- command.query['requestId'] = request_id unless request_id.nil?
29563
- command.query['fields'] = fields unless fields.nil?
29564
- command.query['quotaUser'] = quota_user unless quota_user.nil?
29565
- command.query['userIp'] = user_ip unless user_ip.nil?
29566
- execute_or_queue_command(command, &block)
29567
- end
29568
-
29569
29461
  # Returns the specified InstantSnapshot resource in the specified region.
29570
29462
  # @param [String] project
29571
29463
  # Project ID for this request.
@@ -31867,6 +31759,8 @@ module Google
31867
31759
  # second request. This prevents clients from accidentally creating duplicate
31868
31760
  # commitments. The request ID must be a valid UUID with the exception that zero
31869
31761
  # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
31762
+ # @param [String] update_mask
31763
+ # Indicates fields to be cleared as part of this request.
31870
31764
  # @param [String] fields
31871
31765
  # Selector specifying which fields to include in a partial response.
31872
31766
  # @param [String] quota_user
@@ -31886,7 +31780,7 @@ module Google
31886
31780
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31887
31781
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31888
31782
  # @raise [Google::Apis::AuthorizationError] Authorization is required
31889
- def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31783
+ def patch_region_security_policy(project, region, security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31890
31784
  command = make_simple_command(:patch, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}', options)
31891
31785
  command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation
31892
31786
  command.request_object = security_policy_object
@@ -31896,6 +31790,7 @@ module Google
31896
31790
  command.params['region'] = region unless region.nil?
31897
31791
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
31898
31792
  command.query['requestId'] = request_id unless request_id.nil?
31793
+ command.query['updateMask'] = update_mask unless update_mask.nil?
31899
31794
  command.query['fields'] = fields unless fields.nil?
31900
31795
  command.query['quotaUser'] = quota_user unless quota_user.nil?
31901
31796
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -31913,6 +31808,8 @@ module Google
31913
31808
  # @param [Google::Apis::ComputeBeta::SecurityPolicyRule] security_policy_rule_object
31914
31809
  # @param [Fixnum] priority
31915
31810
  # The priority of the rule to patch.
31811
+ # @param [String] update_mask
31812
+ # Indicates fields to be cleared as part of this request.
31916
31813
  # @param [Boolean] validate_only
31917
31814
  # If true, the request will not be committed.
31918
31815
  # @param [String] fields
@@ -31934,7 +31831,7 @@ module Google
31934
31831
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
31935
31832
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
31936
31833
  # @raise [Google::Apis::AuthorizationError] Authorization is required
31937
- def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31834
+ def patch_region_security_policy_rule(project, region, security_policy, security_policy_rule_object = nil, priority: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
31938
31835
  command = make_simple_command(:post, 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule', options)
31939
31836
  command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation
31940
31837
  command.request_object = security_policy_rule_object
@@ -31944,6 +31841,7 @@ module Google
31944
31841
  command.params['region'] = region unless region.nil?
31945
31842
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
31946
31843
  command.query['priority'] = priority unless priority.nil?
31844
+ command.query['updateMask'] = update_mask unless update_mask.nil?
31947
31845
  command.query['validateOnly'] = validate_only unless validate_only.nil?
31948
31846
  command.query['fields'] = fields unless fields.nil?
31949
31847
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -36811,6 +36709,8 @@ module Google
36811
36709
  # second request. This prevents clients from accidentally creating duplicate
36812
36710
  # commitments. The request ID must be a valid UUID with the exception that zero
36813
36711
  # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
36712
+ # @param [String] update_mask
36713
+ # Indicates fields to be cleared as part of this request.
36814
36714
  # @param [String] fields
36815
36715
  # Selector specifying which fields to include in a partial response.
36816
36716
  # @param [String] quota_user
@@ -36830,7 +36730,7 @@ module Google
36830
36730
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
36831
36731
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
36832
36732
  # @raise [Google::Apis::AuthorizationError] Authorization is required
36833
- def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
36733
+ def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
36834
36734
  command = make_simple_command(:patch, 'projects/{project}/global/securityPolicies/{securityPolicy}', options)
36835
36735
  command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation
36836
36736
  command.request_object = security_policy_object
@@ -36839,6 +36739,7 @@ module Google
36839
36739
  command.params['project'] = project unless project.nil?
36840
36740
  command.params['securityPolicy'] = security_policy unless security_policy.nil?
36841
36741
  command.query['requestId'] = request_id unless request_id.nil?
36742
+ command.query['updateMask'] = update_mask unless update_mask.nil?
36842
36743
  command.query['fields'] = fields unless fields.nil?
36843
36744
  command.query['quotaUser'] = quota_user unless quota_user.nil?
36844
36745
  command.query['userIp'] = user_ip unless user_ip.nil?
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.71.0
4
+ version: 0.72.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: 2023-06-18 00:00:00.000000000 Z
11
+ date: 2023-06-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.71.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.72.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: []