google-apis-compute_beta 0.70.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: a0c3b32dbc50af415e1623dd4fafc64ae9b0d41b74136589090bb043f3334ef2
4
- data.tar.gz: c0d5fcd602827cb3ca8e1d4d3e6cc4bc4a2de52519652262f8cd1ec4727e8d17
3
+ metadata.gz: 5cf631befab362f4c49019cb13bd6a937659c553d85f651a84d1d703729d483e
4
+ data.tar.gz: ba94bb07e960d2a9b309fc808dd85b343d7530bf5715d9e96ae3be5f4b7af93b
5
5
  SHA512:
6
- metadata.gz: 662b928f049e6805781801ed9e2c0d82f17d0b523377565db353271c2d7e628ba51489287bcf2197110b55aba85797a3895a4d14defb31d01e191422c2e8bf03
7
- data.tar.gz: 5b49a1c74e801a12d76ff20156f7a9169f1725d74a9c7950000729d75fb3e9d9c7ff2d6e4ec29dbc76568ee3b7b23108b50a47e2c70e02a17c1a8cd68ea676aa
6
+ metadata.gz: f7fb4b1ccb22dd2d31c3bda446fc13fb255b8de3a14167bf4dfab28e3ae6178af2f42b3ee768dfc98302f3290512b6e2732ca2818a313a7969db0b1bd74c9418
7
+ data.tar.gz: 82aa8bb704399314ba5caeedb2b24f8608ac85a0a0262245fac7b3cd1de0356741b3d68aad22c309467eeb91c092ec3f2b5ac25bbc6722108970487cd603706a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.71.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230606
10
+
3
11
  ### v0.70.0 (2023-06-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20230530
@@ -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
@@ -6032,7 +6044,9 @@ module Google
6032
6044
 
6033
6045
  # The name of the encryption key that is stored in Google Cloud KMS. For example:
6034
6046
  # "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/
6035
- # cryptoKeys/key
6047
+ # cryptoKeys/key The fully-qualifed key name may be returned for resource GET
6048
+ # requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/
6049
+ # keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1
6036
6050
  # Corresponds to the JSON property `kmsKeyName`
6037
6051
  # @return [String]
6038
6052
  attr_accessor :kms_key_name
@@ -15045,6 +15059,15 @@ module Google
15045
15059
  class InstanceGroupManagerInstanceLifecyclePolicy
15046
15060
  include Google::Apis::Core::Hashable
15047
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
+
15048
15071
  # A bit indicating whether to forcefully apply the group's latest configuration
15049
15072
  # when repairing a VM. Valid options are: - NO (default): If configuration
15050
15073
  # updates are available, they are not forcefully applied during repair. Instead,
@@ -15060,6 +15083,7 @@ module Google
15060
15083
 
15061
15084
  # Update properties of this object
15062
15085
  def update!(**args)
15086
+ @default_action_on_failure = args[:default_action_on_failure] if args.key?(:default_action_on_failure)
15063
15087
  @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
15064
15088
  end
15065
15089
  end
@@ -15392,12 +15416,12 @@ module Google
15392
15416
  attr_accessor :minimal_action
15393
15417
 
15394
15418
  # Most disruptive action that is allowed to be taken on an instance. You can
15395
- # specify either NONE to forbid any actions, REFRESH to allow actions that do
15396
- # not need instance restart, RESTART to allow actions that can be applied
15397
- # without instance replacing or REPLACE to allow all possible actions. If the
15398
- # Updater determines that the minimal update action needed is more disruptive
15399
- # than most disruptive allowed action you specify it will not perform the update
15400
- # 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.
15401
15425
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
15402
15426
  # @return [String]
15403
15427
  attr_accessor :most_disruptive_allowed_action
@@ -15511,20 +15535,22 @@ module Google
15511
15535
 
15512
15536
  # The minimal action that you want to perform on each instance during the update:
15513
15537
  # - REPLACE: At minimum, delete the instance and create it again. - RESTART:
15514
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
15515
- # NONE: Do not disrupt the instance at all. By default, the minimum action is
15516
- # NONE. If your update requires a more disruptive action than you set with this
15517
- # 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.
15518
15543
  # Corresponds to the JSON property `minimalAction`
15519
15544
  # @return [String]
15520
15545
  attr_accessor :minimal_action
15521
15546
 
15522
15547
  # The most disruptive action that you want to perform on each instance during
15523
15548
  # the update: - REPLACE: Delete the instance and create it again. - RESTART:
15524
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
15525
- # NONE: Do not disrupt the instance at all. By default, the most disruptive
15526
- # allowed action is REPLACE. If your update requires a more disruptive action
15527
- # 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.
15528
15554
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
15529
15555
  # @return [String]
15530
15556
  attr_accessor :most_disruptive_allowed_action
@@ -18131,55 +18157,6 @@ module Google
18131
18157
  end
18132
18158
  end
18133
18159
 
18134
- #
18135
- class InstantSnapshotExportParams
18136
- include Google::Apis::Core::Hashable
18137
-
18138
- # An optional base instant snapshot that this resource is compared against. If
18139
- # not specified, all blocks of this resource are exported. The base instant
18140
- # snapshot and this resource must be created from the same disk. The base
18141
- # instant snapshot must be created earlier in time than this resource.
18142
- # Corresponds to the JSON property `baseInstantSnapshot`
18143
- # @return [String]
18144
- attr_accessor :base_instant_snapshot
18145
-
18146
- # The name of an existing bucket in Cloud Storage where the changed blocks will
18147
- # be stored. The Google Service Account must have read and write access to this
18148
- # bucket. The bucket has to be in the same region as this resource.
18149
- # Corresponds to the JSON property `bucketName`
18150
- # @return [String]
18151
- attr_accessor :bucket_name
18152
-
18153
- # Encryption key used to encrypt the instant snapshot.
18154
- # Corresponds to the JSON property `encryptionKey`
18155
- # @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
18156
- attr_accessor :encryption_key
18157
-
18158
- # Name of the output Bigstore object storing the changed blocks. Object name
18159
- # must be less than 1024 bytes in length.
18160
- # Corresponds to the JSON property `objectName`
18161
- # @return [String]
18162
- attr_accessor :object_name
18163
-
18164
- # The format of the output file.
18165
- # Corresponds to the JSON property `outputType`
18166
- # @return [String]
18167
- attr_accessor :output_type
18168
-
18169
- def initialize(**args)
18170
- update!(**args)
18171
- end
18172
-
18173
- # Update properties of this object
18174
- def update!(**args)
18175
- @base_instant_snapshot = args[:base_instant_snapshot] if args.key?(:base_instant_snapshot)
18176
- @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
18177
- @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
18178
- @object_name = args[:object_name] if args.key?(:object_name)
18179
- @output_type = args[:output_type] if args.key?(:output_type)
18180
- end
18181
- end
18182
-
18183
18160
  # Contains a list of InstantSnapshot resources.
18184
18161
  class InstantSnapshotList
18185
18162
  include Google::Apis::Core::Hashable
@@ -18316,25 +18293,6 @@ module Google
18316
18293
  end
18317
18294
  end
18318
18295
 
18319
- #
18320
- class InstantSnapshotsExportRequest
18321
- include Google::Apis::Core::Hashable
18322
-
18323
- # Parameters to export the changed blocks.
18324
- # Corresponds to the JSON property `exportParams`
18325
- # @return [Google::Apis::ComputeBeta::InstantSnapshotExportParams]
18326
- attr_accessor :export_params
18327
-
18328
- def initialize(**args)
18329
- update!(**args)
18330
- end
18331
-
18332
- # Update properties of this object
18333
- def update!(**args)
18334
- @export_params = args[:export_params] if args.key?(:export_params)
18335
- end
18336
- end
18337
-
18338
18296
  #
18339
18297
  class InstantSnapshotsScopedList
18340
18298
  include Google::Apis::Core::Hashable
@@ -29208,7 +29166,7 @@ module Google
29208
29166
  # @return [String]
29209
29167
  attr_accessor :description
29210
29168
 
29211
- # The IPv4 address to be used for reverse DNS verification.
29169
+ # The address to be used for reverse DNS verification.
29212
29170
  # Corresponds to the JSON property `dnsVerificationIp`
29213
29171
  # @return [String]
29214
29172
  attr_accessor :dns_verification_ip
@@ -29230,7 +29188,7 @@ module Google
29230
29188
  # @return [Fixnum]
29231
29189
  attr_accessor :id
29232
29190
 
29233
- # The IPv4 address range, in CIDR format, represented by this public advertised
29191
+ # The address range, in CIDR format, represented by this public advertised
29234
29192
  # prefix.
29235
29193
  # Corresponds to the JSON property `ipCidrRange`
29236
29194
  # @return [String]
@@ -30878,20 +30836,22 @@ module Google
30878
30836
 
30879
30837
  # The minimal action that you want to perform on each instance during the update:
30880
30838
  # - REPLACE: At minimum, delete the instance and create it again. - RESTART:
30881
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
30882
- # NONE: Do not disrupt the instance at all. By default, the minimum action is
30883
- # NONE. If your update requires a more disruptive action than you set with this
30884
- # 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.
30885
30844
  # Corresponds to the JSON property `minimalAction`
30886
30845
  # @return [String]
30887
30846
  attr_accessor :minimal_action
30888
30847
 
30889
30848
  # The most disruptive action that you want to perform on each instance during
30890
30849
  # the update: - REPLACE: Delete the instance and create it again. - RESTART:
30891
- # Stop the instance and start it again. - REFRESH: Do not stop the instance. -
30892
- # NONE: Do not disrupt the instance at all. By default, the most disruptive
30893
- # allowed action is REPLACE. If your update requires a more disruptive action
30894
- # 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.
30895
30855
  # Corresponds to the JSON property `mostDisruptiveAllowedAction`
30896
30856
  # @return [String]
30897
30857
  attr_accessor :most_disruptive_allowed_action
@@ -31424,25 +31384,6 @@ module Google
31424
31384
  end
31425
31385
  end
31426
31386
 
31427
- #
31428
- class RegionInstantSnapshotsExportRequest
31429
- include Google::Apis::Core::Hashable
31430
-
31431
- # Parameters to export the changed blocks.
31432
- # Corresponds to the JSON property `exportParams`
31433
- # @return [Google::Apis::ComputeBeta::InstantSnapshotExportParams]
31434
- attr_accessor :export_params
31435
-
31436
- def initialize(**args)
31437
- update!(**args)
31438
- end
31439
-
31440
- # Update properties of this object
31441
- def update!(**args)
31442
- @export_params = args[:export_params] if args.key?(:export_params)
31443
- end
31444
- end
31445
-
31446
31387
  # Contains a list of region resources.
31447
31388
  class RegionList
31448
31389
  include Google::Apis::Core::Hashable
@@ -33374,6 +33315,12 @@ module Google
33374
33315
  # @return [String]
33375
33316
  attr_accessor :next_hop_gateway
33376
33317
 
33318
+ # [Output Only] The full resource name of the Network Connectivity Center hub
33319
+ # that will handle matching packets.
33320
+ # Corresponds to the JSON property `nextHopHub`
33321
+ # @return [String]
33322
+ attr_accessor :next_hop_hub
33323
+
33377
33324
  # The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
33378
33325
  # handle matching packets or the IP address of the forwarding Rule. For example,
33379
33326
  # the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/
@@ -33473,6 +33420,7 @@ module Google
33473
33420
  @name = args[:name] if args.key?(:name)
33474
33421
  @network = args[:network] if args.key?(:network)
33475
33422
  @next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
33423
+ @next_hop_hub = args[:next_hop_hub] if args.key?(:next_hop_hub)
33476
33424
  @next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
33477
33425
  @next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
33478
33426
  @next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
@@ -38463,6 +38411,13 @@ module Google
38463
38411
  attr_accessor :guest_flush
38464
38412
  alias_method :guest_flush?, :guest_flush
38465
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
+
38466
38421
  # [Output Only] The unique identifier for the resource. This identifier is
38467
38422
  # defined by the server.
38468
38423
  # Corresponds to the JSON property `id`
@@ -38649,6 +38604,7 @@ module Google
38649
38604
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
38650
38605
  @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
38651
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)
38652
38608
  @id = args[:id] if args.key?(:id)
38653
38609
  @kind = args[:kind] if args.key?(:kind)
38654
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.70.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 = "20230530"
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
@@ -14415,6 +14371,7 @@ module Google
14415
14371
  property :name, as: 'name'
14416
14372
  property :network, as: 'network'
14417
14373
  property :next_hop_gateway, as: 'nextHopGateway'
14374
+ property :next_hop_hub, as: 'nextHopHub'
14418
14375
  property :next_hop_ilb, as: 'nextHopIlb'
14419
14376
  property :next_hop_instance, as: 'nextHopInstance'
14420
14377
  property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment'
@@ -15657,6 +15614,8 @@ module Google
15657
15614
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
15658
15615
  property :download_bytes, :numeric_string => true, as: 'downloadBytes'
15659
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
+
15660
15619
  property :id, :numeric_string => true, as: 'id'
15661
15620
  property :kind, as: 'kind'
15662
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.70.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-11 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.70.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: []