google-apis-compute_alpha 0.72.0 → 0.74.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: 5ea4a640e2acef560b7ebb62c848cc373ed488c29620c31112d7de5b421d48d7
4
- data.tar.gz: c14b872c2c34d4696f78eaf2c7ebf2dc46baefce24a6baf05f560e695f639bd8
3
+ metadata.gz: ace131239de8110386f815e73e11e4e45077d0c83c968e2dd67ff5e067bae510
4
+ data.tar.gz: 85fef1bac7c8ade96467b04b1f4bc077a907f7289a85d240d00ce125a3d4ea75
5
5
  SHA512:
6
- metadata.gz: 9d0700f909e18cf64e2417f9c3de94ea3dfb900e8f533826048272bb5cff76818fbb0e7d0a70a4298fb4726079438451dc5038891bcd88628bc63860d061a444
7
- data.tar.gz: 668ff46d77c9ce0c5defc98aa1e3dcc8c2c0e48c692e9da8d4e21f11889bbe03fd25fd78baf4891ebace7eacfad989e672ef1e83e14e9def499525c38542b40c
6
+ metadata.gz: 69443a328578efc9474cbd510c08011fb9d48544e7d5c327884dad84c8d040856223610f220d009a3f4d1be6860e4066ea62e574fae589a7630e87cd2e43b8a3
7
+ data.tar.gz: 60facae897faa7c60c0eb6671b93992cdadb91aa2ab60da94db5415f2de404d3c479af93370fb90515ae27946c369a26ba42bee8734c581f9acef34c20b50686
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.74.0 (2023-08-06)
4
+
5
+ * Regenerated from discovery document revision 20230725
6
+
7
+ ### v0.73.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230711
10
+
3
11
  ### v0.72.0 (2023-07-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20230701
@@ -1807,8 +1807,7 @@ module Google
1807
1807
 
1808
1808
  # Required for each regional disk associated with the instance. Specify the URLs
1809
1809
  # of the zones where the disk should be replicated to. You must provide exactly
1810
- # two replica zones, and one zone must be the same as the instance zone. You can'
1811
- # t use this option with boot disks.
1810
+ # two replica zones, and one zone must be the same as the instance zone.
1812
1811
  # Corresponds to the JSON property `replicaZones`
1813
1812
  # @return [Array<String>]
1814
1813
  attr_accessor :replica_zones
@@ -3137,7 +3136,7 @@ module Google
3137
3136
  # @return [String]
3138
3137
  attr_accessor :creation_timestamp
3139
3138
 
3140
- # Headers that the HTTP/S load balancer should add to proxied responses.
3139
+ # Headers that the Application Load Balancer should add to proxied responses.
3141
3140
  # Corresponds to the JSON property `customResponseHeaders`
3142
3141
  # @return [Array<String>]
3143
3142
  attr_accessor :custom_response_headers
@@ -3921,6 +3920,11 @@ module Google
3921
3920
  # @return [Fixnum]
3922
3921
  attr_accessor :timeout_sec
3923
3922
 
3923
+ #
3924
+ # Corresponds to the JSON property `usedBys`
3925
+ # @return [Array<Google::Apis::ComputeAlpha::BackendServiceUsedBy>]
3926
+ attr_accessor :used_bys
3927
+
3924
3928
  # The network scope of the backends that can be added to the backend service.
3925
3929
  # This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend
3926
3930
  # service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have
@@ -3981,6 +3985,7 @@ module Google
3981
3985
  @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
3982
3986
  @subsetting = args[:subsetting] if args.key?(:subsetting)
3983
3987
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
3988
+ @used_bys = args[:used_bys] if args.key?(:used_bys)
3984
3989
  @vpc_network_scope = args[:vpc_network_scope] if args.key?(:vpc_network_scope)
3985
3990
  end
3986
3991
  end
@@ -4670,6 +4675,118 @@ module Google
4670
4675
  end
4671
4676
  end
4672
4677
 
4678
+ # Contains a list of usable BackendService resources.
4679
+ class BackendServiceListUsable
4680
+ include Google::Apis::Core::Hashable
4681
+
4682
+ # [Output Only] Unique identifier for the resource; defined by the server.
4683
+ # Corresponds to the JSON property `id`
4684
+ # @return [String]
4685
+ attr_accessor :id
4686
+
4687
+ # [Output Only] Type of resource. Always compute#usableBackendServiceList for
4688
+ # lists of usable backend services.
4689
+ # Corresponds to the JSON property `kind`
4690
+ # @return [String]
4691
+ attr_accessor :kind
4692
+
4693
+ # [Output Only] This token allows you to get the next page of results for list
4694
+ # requests. If the number of results is larger than maxResults, use the
4695
+ # nextPageToken as a value for the query parameter pageToken in the next list
4696
+ # request. Subsequent list requests will have their own nextPageToken to
4697
+ # continue paging through the results.
4698
+ # Corresponds to the JSON property `nextPageToken`
4699
+ # @return [String]
4700
+ attr_accessor :next_page_token
4701
+
4702
+ # [Output Only] Server-defined URL for this resource.
4703
+ # Corresponds to the JSON property `selfLink`
4704
+ # @return [String]
4705
+ attr_accessor :self_link
4706
+
4707
+ # [Output Only] Informational warning message.
4708
+ # Corresponds to the JSON property `warning`
4709
+ # @return [Google::Apis::ComputeAlpha::BackendServiceListUsable::Warning]
4710
+ attr_accessor :warning
4711
+
4712
+ def initialize(**args)
4713
+ update!(**args)
4714
+ end
4715
+
4716
+ # Update properties of this object
4717
+ def update!(**args)
4718
+ @id = args[:id] if args.key?(:id)
4719
+ @kind = args[:kind] if args.key?(:kind)
4720
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4721
+ @self_link = args[:self_link] if args.key?(:self_link)
4722
+ @warning = args[:warning] if args.key?(:warning)
4723
+ end
4724
+
4725
+ # [Output Only] Informational warning message.
4726
+ class Warning
4727
+ include Google::Apis::Core::Hashable
4728
+
4729
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
4730
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
4731
+ # Corresponds to the JSON property `code`
4732
+ # @return [String]
4733
+ attr_accessor :code
4734
+
4735
+ # [Output Only] Metadata about this warning in key: value format. For example: "
4736
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
4737
+ # Corresponds to the JSON property `data`
4738
+ # @return [Array<Google::Apis::ComputeAlpha::BackendServiceListUsable::Warning::Datum>]
4739
+ attr_accessor :data
4740
+
4741
+ # [Output Only] A human-readable description of the warning code.
4742
+ # Corresponds to the JSON property `message`
4743
+ # @return [String]
4744
+ attr_accessor :message
4745
+
4746
+ def initialize(**args)
4747
+ update!(**args)
4748
+ end
4749
+
4750
+ # Update properties of this object
4751
+ def update!(**args)
4752
+ @code = args[:code] if args.key?(:code)
4753
+ @data = args[:data] if args.key?(:data)
4754
+ @message = args[:message] if args.key?(:message)
4755
+ end
4756
+
4757
+ #
4758
+ class Datum
4759
+ include Google::Apis::Core::Hashable
4760
+
4761
+ # [Output Only] A key that provides more detail on the warning being returned.
4762
+ # For example, for warnings where there are no results in a list request for a
4763
+ # particular zone, this key might be scope and the key value might be the zone
4764
+ # name. Other examples might be a key indicating a deprecated resource and a
4765
+ # suggested replacement, or a warning about invalid network settings (for
4766
+ # example, if an instance attempts to perform IP forwarding but is not enabled
4767
+ # for IP forwarding).
4768
+ # Corresponds to the JSON property `key`
4769
+ # @return [String]
4770
+ attr_accessor :key
4771
+
4772
+ # [Output Only] A warning data value corresponding to the key.
4773
+ # Corresponds to the JSON property `value`
4774
+ # @return [String]
4775
+ attr_accessor :value
4776
+
4777
+ def initialize(**args)
4778
+ update!(**args)
4779
+ end
4780
+
4781
+ # Update properties of this object
4782
+ def update!(**args)
4783
+ @key = args[:key] if args.key?(:key)
4784
+ @value = args[:value] if args.key?(:value)
4785
+ end
4786
+ end
4787
+ end
4788
+ end
4789
+
4673
4790
  # Container for either a built-in LB policy supported by gRPC or Envoy or a
4674
4791
  # custom one implemented by the end user.
4675
4792
  class BackendServiceLocalityLoadBalancingPolicyConfig
@@ -4831,6 +4948,25 @@ module Google
4831
4948
  end
4832
4949
  end
4833
4950
 
4951
+ #
4952
+ class BackendServiceUsedBy
4953
+ include Google::Apis::Core::Hashable
4954
+
4955
+ #
4956
+ # Corresponds to the JSON property `reference`
4957
+ # @return [String]
4958
+ attr_accessor :reference
4959
+
4960
+ def initialize(**args)
4961
+ update!(**args)
4962
+ end
4963
+
4964
+ # Update properties of this object
4965
+ def update!(**args)
4966
+ @reference = args[:reference] if args.key?(:reference)
4967
+ end
4968
+ end
4969
+
4834
4970
  #
4835
4971
  class BackendServicesScopedList
4836
4972
  include Google::Apis::Core::Hashable
@@ -6806,6 +6942,16 @@ module Google
6806
6942
  class Disk
6807
6943
  include Google::Apis::Core::Hashable
6808
6944
 
6945
+ # The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode,
6946
+ # means the disk can be attached to single instance in RW mode. -
6947
+ # READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple
6948
+ # instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be
6949
+ # attached to multiple instances in RO mode. The AccessMode is only valid for
6950
+ # Hyperdisk disk types.
6951
+ # Corresponds to the JSON property `accessMode`
6952
+ # @return [String]
6953
+ attr_accessor :access_mode
6954
+
6809
6955
  # The architecture of the disk. Valid values are ARM64 or X86_64.
6810
6956
  # Corresponds to the JSON property `architecture`
6811
6957
  # @return [String]
@@ -7214,6 +7360,7 @@ module Google
7214
7360
 
7215
7361
  # Update properties of this object
7216
7362
  def update!(**args)
7363
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
7217
7364
  @architecture = args[:architecture] if args.key?(:architecture)
7218
7365
  @async_primary_disk = args[:async_primary_disk] if args.key?(:async_primary_disk)
7219
7366
  @async_secondary_disks = args[:async_secondary_disks] if args.key?(:async_secondary_disks)
@@ -10283,6 +10430,17 @@ module Google
10283
10430
  # @return [Fixnum]
10284
10431
  attr_accessor :id
10285
10432
 
10433
+ # Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in
10434
+ # IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to
10435
+ # specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP:
10436
+ # Full resource URL, as in https://www.googleapis.com/compute/v1/projects/
10437
+ # project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name Partial URL, as
10438
+ # in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name -
10439
+ # regions/region/publicDelegatedPrefixes/sub-pdp-name
10440
+ # Corresponds to the JSON property `ipCollection`
10441
+ # @return [String]
10442
+ attr_accessor :ip_collection
10443
+
10286
10444
  # The IP Version that will be used by this forwarding rule. Valid options are
10287
10445
  # IPV4 or IPV6.
10288
10446
  # Corresponds to the JSON property `ipVersion`
@@ -10385,7 +10543,7 @@ module Google
10385
10543
 
10386
10544
  # This is used in PSC consumer ForwardingRule to control whether it should try
10387
10545
  # to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
10388
- # field.
10546
+ # field. Once set, this field is not mutable.
10389
10547
  # Corresponds to the JSON property `noAutomateDnsZone`
10390
10548
  # @return [Boolean]
10391
10549
  attr_accessor :no_automate_dns_zone
@@ -10506,6 +10664,7 @@ module Google
10506
10664
  # API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
10507
10665
  # All supported Google APIs. - For Private Service Connect forwarding rules that
10508
10666
  # forward traffic to managed services, the target must be a service attachment.
10667
+ # The target is not mutable once set as a service attachment.
10509
10668
  # Corresponds to the JSON property `target`
10510
10669
  # @return [String]
10511
10670
  attr_accessor :target
@@ -10527,6 +10686,7 @@ module Google
10527
10686
  @description = args[:description] if args.key?(:description)
10528
10687
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
10529
10688
  @id = args[:id] if args.key?(:id)
10689
+ @ip_collection = args[:ip_collection] if args.key?(:ip_collection)
10530
10690
  @ip_version = args[:ip_version] if args.key?(:ip_version)
10531
10691
  @is_mirroring_collector = args[:is_mirroring_collector] if args.key?(:is_mirroring_collector)
10532
10692
  @kind = args[:kind] if args.key?(:kind)
@@ -11117,7 +11277,7 @@ module Google
11117
11277
  class FutureReservationStatus
11118
11278
  include Google::Apis::Core::Hashable
11119
11279
 
11120
- # The current status of the requested amendment.
11280
+ # [Output Only] The current status of the requested amendment.
11121
11281
  # Corresponds to the JSON property `amendmentStatus`
11122
11282
  # @return [String]
11123
11283
  attr_accessor :amendment_status
@@ -11179,7 +11339,8 @@ module Google
11179
11339
  class FutureReservationStatusLastKnownGoodState
11180
11340
  include Google::Apis::Core::Hashable
11181
11341
 
11182
- # The description of the FutureReservation before an amendment was requested.
11342
+ # [Output Only] The description of the FutureReservation before an amendment was
11343
+ # requested.
11183
11344
  # Corresponds to the JSON property `description`
11184
11345
  # @return [String]
11185
11346
  attr_accessor :description
@@ -11189,12 +11350,20 @@ module Google
11189
11350
  # @return [Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs]
11190
11351
  attr_accessor :future_reservation_specs
11191
11352
 
11192
- # The name prefix of the Future Reservation before an amendment was requested.
11353
+ # [Output Only] The lock time of the FutureReservation before an amendment was
11354
+ # requested.
11355
+ # Corresponds to the JSON property `lockTime`
11356
+ # @return [String]
11357
+ attr_accessor :lock_time
11358
+
11359
+ # [Output Only] The name prefix of the Future Reservation before an amendment
11360
+ # was requested.
11193
11361
  # Corresponds to the JSON property `namePrefix`
11194
11362
  # @return [String]
11195
11363
  attr_accessor :name_prefix
11196
11364
 
11197
- # The status of the last known good state for the Future Reservation.
11365
+ # [Output Only] The status of the last known good state for the Future
11366
+ # Reservation.
11198
11367
  # Corresponds to the JSON property `procurementStatus`
11199
11368
  # @return [String]
11200
11369
  attr_accessor :procurement_status
@@ -11207,6 +11376,7 @@ module Google
11207
11376
  def update!(**args)
11208
11377
  @description = args[:description] if args.key?(:description)
11209
11378
  @future_reservation_specs = args[:future_reservation_specs] if args.key?(:future_reservation_specs)
11379
+ @lock_time = args[:lock_time] if args.key?(:lock_time)
11210
11380
  @name_prefix = args[:name_prefix] if args.key?(:name_prefix)
11211
11381
  @procurement_status = args[:procurement_status] if args.key?(:procurement_status)
11212
11382
  end
@@ -11221,12 +11391,13 @@ module Google
11221
11391
  # @return [Google::Apis::ComputeAlpha::ShareSettings]
11222
11392
  attr_accessor :share_settings
11223
11393
 
11224
- # The previous instance related properties of the Future Reservation.
11394
+ # [Output Only] The previous instance related properties of the Future
11395
+ # Reservation.
11225
11396
  # Corresponds to the JSON property `specificSkuProperties`
11226
11397
  # @return [Google::Apis::ComputeAlpha::FutureReservationSpecificSkuProperties]
11227
11398
  attr_accessor :specific_sku_properties
11228
11399
 
11229
- # The previous time window of the Future Reservation.
11400
+ # [Output Only] The previous time window of the Future Reservation.
11230
11401
  # Corresponds to the JSON property `timeWindow`
11231
11402
  # @return [Google::Apis::ComputeAlpha::FutureReservationTimeWindow]
11232
11403
  attr_accessor :time_window
@@ -17824,11 +17995,9 @@ module Google
17824
17995
  # @return [String]
17825
17996
  attr_accessor :replacement_method
17826
17997
 
17827
- # The type of update process. You can specify either PROACTIVE so that the
17828
- # instance group manager proactively executes actions in order to bring
17829
- # instances to their target versions or OPPORTUNISTIC so that no action is
17830
- # proactively executed but the update will be performed as part of other actions
17831
- # (for example, resizes or recreateInstances calls).
17998
+ # The type of update process. You can specify either PROACTIVE so that the MIG
17999
+ # automatically updates VMs to the latest configurations or OPPORTUNISTIC so
18000
+ # that you can select the VMs that you want to update.
17832
18001
  # Corresponds to the JSON property `type`
17833
18002
  # @return [String]
17834
18003
  attr_accessor :type
@@ -19542,6 +19711,12 @@ module Google
19542
19711
  # @return [String]
19543
19712
  attr_accessor :kind
19544
19713
 
19714
+ # The metadata key/value pairs assigned to all the instances in the
19715
+ # corresponding scope.
19716
+ # Corresponds to the JSON property `metadata`
19717
+ # @return [Google::Apis::ComputeAlpha::InstanceSettingsMetadata]
19718
+ attr_accessor :metadata
19719
+
19545
19720
  # [Output Only] URL of the zone where the resource resides You must specify this
19546
19721
  # field as part of the HTTP request URL. It is not settable as a field in the
19547
19722
  # request body.
@@ -19558,10 +19733,37 @@ module Google
19558
19733
  @email = args[:email] if args.key?(:email)
19559
19734
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19560
19735
  @kind = args[:kind] if args.key?(:kind)
19736
+ @metadata = args[:metadata] if args.key?(:metadata)
19561
19737
  @zone = args[:zone] if args.key?(:zone)
19562
19738
  end
19563
19739
  end
19564
19740
 
19741
+ #
19742
+ class InstanceSettingsMetadata
19743
+ include Google::Apis::Core::Hashable
19744
+
19745
+ # [Output Only] Type of the resource. Always compute#metadata for metadata.
19746
+ # Corresponds to the JSON property `kind`
19747
+ # @return [String]
19748
+ attr_accessor :kind
19749
+
19750
+ # A metadata key/value map. The total size of all keys and values must be less
19751
+ # than 512KB.
19752
+ # Corresponds to the JSON property `metadatas`
19753
+ # @return [Hash<String,String>]
19754
+ attr_accessor :metadatas
19755
+
19756
+ def initialize(**args)
19757
+ update!(**args)
19758
+ end
19759
+
19760
+ # Update properties of this object
19761
+ def update!(**args)
19762
+ @kind = args[:kind] if args.key?(:kind)
19763
+ @metadatas = args[:metadatas] if args.key?(:metadatas)
19764
+ end
19765
+ end
19766
+
19565
19767
  # Represents an Instance Template resource. You can use instance templates to
19566
19768
  # create VM instances and managed instance groups. For more information, read
19567
19769
  # Instance Templates.
@@ -25336,6 +25538,12 @@ module Google
25336
25538
  # @return [String]
25337
25539
  attr_accessor :instance
25338
25540
 
25541
+ # [Output Only] The overrides to instance properties resulting from
25542
+ # InstanceFlexibilityPolicy.
25543
+ # Corresponds to the JSON property `instanceFlexibilityOverride`
25544
+ # @return [Google::Apis::ComputeAlpha::ManagedInstanceInstanceFlexibilityOverride]
25545
+ attr_accessor :instance_flexibility_override
25546
+
25339
25547
  # [Output Only] Health state of the instance per health-check.
25340
25548
  # Corresponds to the JSON property `instanceHealth`
25341
25549
  # @return [Array<Google::Apis::ComputeAlpha::ManagedInstanceInstanceHealth>]
@@ -25402,6 +25610,7 @@ module Google
25402
25610
  @current_action = args[:current_action] if args.key?(:current_action)
25403
25611
  @id = args[:id] if args.key?(:id)
25404
25612
  @instance = args[:instance] if args.key?(:instance)
25613
+ @instance_flexibility_override = args[:instance_flexibility_override] if args.key?(:instance_flexibility_override)
25405
25614
  @instance_health = args[:instance_health] if args.key?(:instance_health)
25406
25615
  @instance_status = args[:instance_status] if args.key?(:instance_status)
25407
25616
  @instance_template = args[:instance_template] if args.key?(:instance_template)
@@ -25435,6 +25644,31 @@ module Google
25435
25644
  end
25436
25645
  end
25437
25646
 
25647
+ #
25648
+ class ManagedInstanceInstanceFlexibilityOverride
25649
+ include Google::Apis::Core::Hashable
25650
+
25651
+ # The machine type to be used for this instance.
25652
+ # Corresponds to the JSON property `machineType`
25653
+ # @return [String]
25654
+ attr_accessor :machine_type
25655
+
25656
+ # The provisioning model to be used for this instance.
25657
+ # Corresponds to the JSON property `provisioningModel`
25658
+ # @return [String]
25659
+ attr_accessor :provisioning_model
25660
+
25661
+ def initialize(**args)
25662
+ update!(**args)
25663
+ end
25664
+
25665
+ # Update properties of this object
25666
+ def update!(**args)
25667
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
25668
+ @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
25669
+ end
25670
+ end
25671
+
25438
25672
  #
25439
25673
  class ManagedInstanceInstanceHealth
25440
25674
  include Google::Apis::Core::Hashable
@@ -30946,7 +31180,7 @@ module Google
30946
31180
  # Handling API responses. Operations can be global, regional or zonal. - For
30947
31181
  # global operations, use the `globalOperations` resource. - For regional
30948
31182
  # operations, use the `regionOperations` resource. - For zonal operations, use
30949
- # the `zonalOperations` resource. For more information, read Global, Regional,
31183
+ # the `zoneOperations` resource. For more information, read Global, Regional,
30950
31184
  # and Zonal Resources.
30951
31185
  class Operation
30952
31186
  include Google::Apis::Core::Hashable
@@ -31057,8 +31291,8 @@ module Google
31057
31291
  # @return [String]
31058
31292
  attr_accessor :self_link_with_id
31059
31293
 
31060
- # Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will
31061
- # be propagated on Operation.metadata.
31294
+ # [Output Only] If the operation is for projects.setCommonInstanceMetadata, this
31295
+ # field will contain information on all underlying zonal actions and their state.
31062
31296
  # Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
31063
31297
  # @return [Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata]
31064
31298
  attr_accessor :set_common_instance_metadata_operation_metadata
@@ -31095,7 +31329,7 @@ module Google
31095
31329
  attr_accessor :target_link
31096
31330
 
31097
31331
  # [Output Only] User who requested the operation, for example: `user@example.com`
31098
- # .
31332
+ # or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
31099
31333
  # Corresponds to the JSON property `user`
31100
31334
  # @return [String]
31101
31335
  attr_accessor :user
@@ -33232,6 +33466,13 @@ module Google
33232
33466
  # @return [String]
33233
33467
  attr_accessor :kind
33234
33468
 
33469
+ # [Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
33470
+ # It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this
33471
+ # field is not specified, it is assumed to be CA_STANDARD.
33472
+ # Corresponds to the JSON property `managedProtectionTier`
33473
+ # @return [String]
33474
+ attr_accessor :managed_protection_tier
33475
+
33235
33476
  # The project ID. For example: my-example-project. Use the project ID to make
33236
33477
  # requests to Compute Engine.
33237
33478
  # Corresponds to the JSON property `name`
@@ -33280,6 +33521,7 @@ module Google
33280
33521
  @enabled_features = args[:enabled_features] if args.key?(:enabled_features)
33281
33522
  @id = args[:id] if args.key?(:id)
33282
33523
  @kind = args[:kind] if args.key?(:kind)
33524
+ @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
33283
33525
  @name = args[:name] if args.key?(:name)
33284
33526
  @quotas = args[:quotas] if args.key?(:quotas)
33285
33527
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -33434,6 +33676,25 @@ module Google
33434
33676
  end
33435
33677
  end
33436
33678
 
33679
+ #
33680
+ class ProjectsSetManagedProtectionTierRequest
33681
+ include Google::Apis::Core::Hashable
33682
+
33683
+ # Managed protection tier to be set.
33684
+ # Corresponds to the JSON property `managedProtectionTier`
33685
+ # @return [String]
33686
+ attr_accessor :managed_protection_tier
33687
+
33688
+ def initialize(**args)
33689
+ update!(**args)
33690
+ end
33691
+
33692
+ # Update properties of this object
33693
+ def update!(**args)
33694
+ @managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
33695
+ end
33696
+ end
33697
+
33437
33698
  # A public advertised prefix represents an aggregated IP prefix or netblock
33438
33699
  # which customers bring to cloud. The IP prefix is a single unit of route
33439
33700
  # advertisement and is announced globally to the internet.
@@ -33732,6 +33993,13 @@ module Google
33732
33993
  class PublicDelegatedPrefix
33733
33994
  include Google::Apis::Core::Hashable
33734
33995
 
33996
+ # The allocatable prefix length supported by this public delegated prefix. This
33997
+ # field is optional and cannot be set for prefixes in DELEGATION mode. It cannot
33998
+ # be set for IPv4 prefixes either, and it always defaults to 32.
33999
+ # Corresponds to the JSON property `allocatablePrefixLength`
34000
+ # @return [Fixnum]
34001
+ attr_accessor :allocatable_prefix_length
34002
+
33735
34003
  # [Output Only] Creation timestamp in RFC3339 text format.
33736
34004
  # Corresponds to the JSON property `creationTimestamp`
33737
34005
  # @return [String]
@@ -33778,6 +34046,11 @@ module Google
33778
34046
  # @return [String]
33779
34047
  attr_accessor :kind
33780
34048
 
34049
+ # The public delegated prefix mode for IPv6 only.
34050
+ # Corresponds to the JSON property `mode`
34051
+ # @return [String]
34052
+ attr_accessor :mode
34053
+
33781
34054
  # Name of the resource. Provided by the client when the resource is created. The
33782
34055
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
33783
34056
  # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
@@ -33834,6 +34107,7 @@ module Google
33834
34107
 
33835
34108
  # Update properties of this object
33836
34109
  def update!(**args)
34110
+ @allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length)
33837
34111
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
33838
34112
  @description = args[:description] if args.key?(:description)
33839
34113
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -33841,6 +34115,7 @@ module Google
33841
34115
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
33842
34116
  @is_live_migration = args[:is_live_migration] if args.key?(:is_live_migration)
33843
34117
  @kind = args[:kind] if args.key?(:kind)
34118
+ @mode = args[:mode] if args.key?(:mode)
33844
34119
  @name = args[:name] if args.key?(:name)
33845
34120
  @parent_prefix = args[:parent_prefix] if args.key?(:parent_prefix)
33846
34121
  @public_delegated_sub_prefixs = args[:public_delegated_sub_prefixs] if args.key?(:public_delegated_sub_prefixs)
@@ -34098,6 +34373,11 @@ module Google
34098
34373
  class PublicDelegatedPrefixPublicDelegatedSubPrefix
34099
34374
  include Google::Apis::Core::Hashable
34100
34375
 
34376
+ # The allocatable prefix length supported by this PublicDelegatedSubPrefix.
34377
+ # Corresponds to the JSON property `allocatablePrefixLength`
34378
+ # @return [Fixnum]
34379
+ attr_accessor :allocatable_prefix_length
34380
+
34101
34381
  # Name of the project scoping this PublicDelegatedSubPrefix.
34102
34382
  # Corresponds to the JSON property `delegateeProject`
34103
34383
  # @return [String]
@@ -34122,6 +34402,11 @@ module Google
34122
34402
  attr_accessor :is_address
34123
34403
  alias_method :is_address?, :is_address
34124
34404
 
34405
+ # The PublicDelegatedSubPrefix mode for IPv6 only.
34406
+ # Corresponds to the JSON property `mode`
34407
+ # @return [String]
34408
+ attr_accessor :mode
34409
+
34125
34410
  # The name of the sub public delegated prefix.
34126
34411
  # Corresponds to the JSON property `name`
34127
34412
  # @return [String]
@@ -34144,10 +34429,12 @@ module Google
34144
34429
 
34145
34430
  # Update properties of this object
34146
34431
  def update!(**args)
34432
+ @allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length)
34147
34433
  @delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
34148
34434
  @description = args[:description] if args.key?(:description)
34149
34435
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
34150
34436
  @is_address = args[:is_address] if args.key?(:is_address)
34437
+ @mode = args[:mode] if args.key?(:mode)
34151
34438
  @name = args[:name] if args.key?(:name)
34152
34439
  @region = args[:region] if args.key?(:region)
34153
34440
  @status = args[:status] if args.key?(:status)
@@ -43865,17 +44152,17 @@ module Google
43865
44152
  end
43866
44153
  end
43867
44154
 
43868
- # Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will
43869
- # be propagated on Operation.metadata.
44155
+ #
43870
44156
  class SetCommonInstanceMetadataOperationMetadata
43871
44157
  include Google::Apis::Core::Hashable
43872
44158
 
43873
- #
44159
+ # [Output Only] The client operation id.
43874
44160
  # Corresponds to the JSON property `clientOperationId`
43875
44161
  # @return [String]
43876
44162
  attr_accessor :client_operation_id
43877
44163
 
43878
- #
44164
+ # [Output Only] Status information per location (location name is key). Example
44165
+ # key: zones/us-central1-a
43879
44166
  # Corresponds to the JSON property `perLocationOperations`
43880
44167
  # @return [Hash<String,Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>]
43881
44168
  attr_accessor :per_location_operations
@@ -43905,7 +44192,8 @@ module Google
43905
44192
  # @return [Google::Apis::ComputeAlpha::Status]
43906
44193
  attr_accessor :error
43907
44194
 
43908
- #
44195
+ # [Output Only] Status of the action, which can be one of the following: `
44196
+ # PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
43909
44197
  # Corresponds to the JSON property `state`
43910
44198
  # @return [String]
43911
44199
  attr_accessor :state
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.72.0"
19
+ GEM_VERSION = "0.74.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 = "20230701"
25
+ REVISION = "20230725"
26
26
  end
27
27
  end
28
28
  end
@@ -514,6 +514,24 @@ module Google
514
514
  include Google::Apis::Core::JsonObjectSupport
515
515
  end
516
516
 
517
+ class BackendServiceListUsable
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ class Warning
521
+ class Representation < Google::Apis::Core::JsonRepresentation; end
522
+
523
+ class Datum
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ include Google::Apis::Core::JsonObjectSupport
530
+ end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
517
535
  class BackendServiceLocalityLoadBalancingPolicyConfig
518
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
537
 
@@ -544,6 +562,12 @@ module Google
544
562
  include Google::Apis::Core::JsonObjectSupport
545
563
  end
546
564
 
565
+ class BackendServiceUsedBy
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
547
571
  class BackendServicesScopedList
548
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
573
 
@@ -2356,6 +2380,12 @@ module Google
2356
2380
  include Google::Apis::Core::JsonObjectSupport
2357
2381
  end
2358
2382
 
2383
+ class InstanceSettingsMetadata
2384
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2385
+
2386
+ include Google::Apis::Core::JsonObjectSupport
2387
+ end
2388
+
2359
2389
  class InstanceTemplate
2360
2390
  class Representation < Google::Apis::Core::JsonRepresentation; end
2361
2391
 
@@ -3148,6 +3178,12 @@ module Google
3148
3178
  include Google::Apis::Core::JsonObjectSupport
3149
3179
  end
3150
3180
 
3181
+ class ManagedInstanceInstanceFlexibilityOverride
3182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3183
+
3184
+ include Google::Apis::Core::JsonObjectSupport
3185
+ end
3186
+
3151
3187
  class ManagedInstanceInstanceHealth
3152
3188
  class Representation < Google::Apis::Core::JsonRepresentation; end
3153
3189
 
@@ -4252,6 +4288,12 @@ module Google
4252
4288
  include Google::Apis::Core::JsonObjectSupport
4253
4289
  end
4254
4290
 
4291
+ class ProjectsSetManagedProtectionTierRequest
4292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4293
+
4294
+ include Google::Apis::Core::JsonObjectSupport
4295
+ end
4296
+
4255
4297
  class PublicAdvertisedPrefix
4256
4298
  class Representation < Google::Apis::Core::JsonRepresentation; end
4257
4299
 
@@ -8080,6 +8122,8 @@ module Google
8080
8122
  property :subsetting, as: 'subsetting', class: Google::Apis::ComputeAlpha::Subsetting, decorator: Google::Apis::ComputeAlpha::Subsetting::Representation
8081
8123
 
8082
8124
  property :timeout_sec, as: 'timeoutSec'
8125
+ collection :used_bys, as: 'usedBys', class: Google::Apis::ComputeAlpha::BackendServiceUsedBy, decorator: Google::Apis::ComputeAlpha::BackendServiceUsedBy::Representation
8126
+
8083
8127
  property :vpc_network_scope, as: 'vpcNetworkScope'
8084
8128
  end
8085
8129
  end
@@ -8235,6 +8279,36 @@ module Google
8235
8279
  end
8236
8280
  end
8237
8281
 
8282
+ class BackendServiceListUsable
8283
+ # @private
8284
+ class Representation < Google::Apis::Core::JsonRepresentation
8285
+ property :id, as: 'id'
8286
+ property :kind, as: 'kind'
8287
+ property :next_page_token, as: 'nextPageToken'
8288
+ property :self_link, as: 'selfLink'
8289
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::BackendServiceListUsable::Warning, decorator: Google::Apis::ComputeAlpha::BackendServiceListUsable::Warning::Representation
8290
+
8291
+ end
8292
+
8293
+ class Warning
8294
+ # @private
8295
+ class Representation < Google::Apis::Core::JsonRepresentation
8296
+ property :code, as: 'code'
8297
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::BackendServiceListUsable::Warning::Datum, decorator: Google::Apis::ComputeAlpha::BackendServiceListUsable::Warning::Datum::Representation
8298
+
8299
+ property :message, as: 'message'
8300
+ end
8301
+
8302
+ class Datum
8303
+ # @private
8304
+ class Representation < Google::Apis::Core::JsonRepresentation
8305
+ property :key, as: 'key'
8306
+ property :value, as: 'value'
8307
+ end
8308
+ end
8309
+ end
8310
+ end
8311
+
8238
8312
  class BackendServiceLocalityLoadBalancingPolicyConfig
8239
8313
  # @private
8240
8314
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8278,6 +8352,13 @@ module Google
8278
8352
  end
8279
8353
  end
8280
8354
 
8355
+ class BackendServiceUsedBy
8356
+ # @private
8357
+ class Representation < Google::Apis::Core::JsonRepresentation
8358
+ property :reference, as: 'reference'
8359
+ end
8360
+ end
8361
+
8281
8362
  class BackendServicesScopedList
8282
8363
  # @private
8283
8364
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8749,6 +8830,7 @@ module Google
8749
8830
  class Disk
8750
8831
  # @private
8751
8832
  class Representation < Google::Apis::Core::JsonRepresentation
8833
+ property :access_mode, as: 'accessMode'
8752
8834
  property :architecture, as: 'architecture'
8753
8835
  property :async_primary_disk, as: 'asyncPrimaryDisk', class: Google::Apis::ComputeAlpha::DiskAsyncReplication, decorator: Google::Apis::ComputeAlpha::DiskAsyncReplication::Representation
8754
8836
 
@@ -9536,6 +9618,7 @@ module Google
9536
9618
  property :description, as: 'description'
9537
9619
  property :fingerprint, :base64 => true, as: 'fingerprint'
9538
9620
  property :id, :numeric_string => true, as: 'id'
9621
+ property :ip_collection, as: 'ipCollection'
9539
9622
  property :ip_version, as: 'ipVersion'
9540
9623
  property :is_mirroring_collector, as: 'isMirroringCollector'
9541
9624
  property :kind, as: 'kind'
@@ -9733,6 +9816,7 @@ module Google
9733
9816
  property :description, as: 'description'
9734
9817
  property :future_reservation_specs, as: 'futureReservationSpecs', class: Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs, decorator: Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs::Representation
9735
9818
 
9819
+ property :lock_time, as: 'lockTime'
9736
9820
  property :name_prefix, as: 'namePrefix'
9737
9821
  property :procurement_status, as: 'procurementStatus'
9738
9822
  end
@@ -11795,10 +11879,20 @@ module Google
11795
11879
  property :email, as: 'email'
11796
11880
  property :fingerprint, :base64 => true, as: 'fingerprint'
11797
11881
  property :kind, as: 'kind'
11882
+ property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::InstanceSettingsMetadata, decorator: Google::Apis::ComputeAlpha::InstanceSettingsMetadata::Representation
11883
+
11798
11884
  property :zone, as: 'zone'
11799
11885
  end
11800
11886
  end
11801
11887
 
11888
+ class InstanceSettingsMetadata
11889
+ # @private
11890
+ class Representation < Google::Apis::Core::JsonRepresentation
11891
+ property :kind, as: 'kind'
11892
+ hash :metadatas, as: 'metadatas'
11893
+ end
11894
+ end
11895
+
11802
11896
  class InstanceTemplate
11803
11897
  # @private
11804
11898
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13252,6 +13346,8 @@ module Google
13252
13346
  property :current_action, as: 'currentAction'
13253
13347
  property :id, :numeric_string => true, as: 'id'
13254
13348
  property :instance, as: 'instance'
13349
+ property :instance_flexibility_override, as: 'instanceFlexibilityOverride', class: Google::Apis::ComputeAlpha::ManagedInstanceInstanceFlexibilityOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceInstanceFlexibilityOverride::Representation
13350
+
13255
13351
  collection :instance_health, as: 'instanceHealth', class: Google::Apis::ComputeAlpha::ManagedInstanceInstanceHealth, decorator: Google::Apis::ComputeAlpha::ManagedInstanceInstanceHealth::Representation
13256
13352
 
13257
13353
  property :instance_status, as: 'instanceStatus'
@@ -13277,6 +13373,14 @@ module Google
13277
13373
  end
13278
13374
  end
13279
13375
 
13376
+ class ManagedInstanceInstanceFlexibilityOverride
13377
+ # @private
13378
+ class Representation < Google::Apis::Core::JsonRepresentation
13379
+ property :machine_type, as: 'machineType'
13380
+ property :provisioning_model, as: 'provisioningModel'
13381
+ end
13382
+ end
13383
+
13280
13384
  class ManagedInstanceInstanceHealth
13281
13385
  # @private
13282
13386
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15264,6 +15368,7 @@ module Google
15264
15368
  collection :enabled_features, as: 'enabledFeatures'
15265
15369
  property :id, :numeric_string => true, as: 'id'
15266
15370
  property :kind, as: 'kind'
15371
+ property :managed_protection_tier, as: 'managedProtectionTier'
15267
15372
  property :name, as: 'name'
15268
15373
  collection :quotas, as: 'quotas', class: Google::Apis::ComputeAlpha::Quota, decorator: Google::Apis::ComputeAlpha::Quota::Representation
15269
15374
 
@@ -15323,6 +15428,13 @@ module Google
15323
15428
  end
15324
15429
  end
15325
15430
 
15431
+ class ProjectsSetManagedProtectionTierRequest
15432
+ # @private
15433
+ class Representation < Google::Apis::Core::JsonRepresentation
15434
+ property :managed_protection_tier, as: 'managedProtectionTier'
15435
+ end
15436
+ end
15437
+
15326
15438
  class PublicAdvertisedPrefix
15327
15439
  # @private
15328
15440
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15390,6 +15502,7 @@ module Google
15390
15502
  class PublicDelegatedPrefix
15391
15503
  # @private
15392
15504
  class Representation < Google::Apis::Core::JsonRepresentation
15505
+ property :allocatable_prefix_length, as: 'allocatablePrefixLength'
15393
15506
  property :creation_timestamp, as: 'creationTimestamp'
15394
15507
  property :description, as: 'description'
15395
15508
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -15397,6 +15510,7 @@ module Google
15397
15510
  property :ip_cidr_range, as: 'ipCidrRange'
15398
15511
  property :is_live_migration, as: 'isLiveMigration'
15399
15512
  property :kind, as: 'kind'
15513
+ property :mode, as: 'mode'
15400
15514
  property :name, as: 'name'
15401
15515
  property :parent_prefix, as: 'parentPrefix'
15402
15516
  collection :public_delegated_sub_prefixs, as: 'publicDelegatedSubPrefixs', class: Google::Apis::ComputeAlpha::PublicDelegatedPrefixPublicDelegatedSubPrefix, decorator: Google::Apis::ComputeAlpha::PublicDelegatedPrefixPublicDelegatedSubPrefix::Representation
@@ -15476,10 +15590,12 @@ module Google
15476
15590
  class PublicDelegatedPrefixPublicDelegatedSubPrefix
15477
15591
  # @private
15478
15592
  class Representation < Google::Apis::Core::JsonRepresentation
15593
+ property :allocatable_prefix_length, as: 'allocatablePrefixLength'
15479
15594
  property :delegatee_project, as: 'delegateeProject'
15480
15595
  property :description, as: 'description'
15481
15596
  property :ip_cidr_range, as: 'ipCidrRange'
15482
15597
  property :is_address, as: 'isAddress'
15598
+ property :mode, as: 'mode'
15483
15599
  property :name, as: 'name'
15484
15600
  property :region, as: 'region'
15485
15601
  property :status, as: 'status'
@@ -25715,6 +25715,56 @@ module Google
25715
25715
  execute_or_queue_command(command, &block)
25716
25716
  end
25717
25717
 
25718
+ # Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set
25719
+ # PLUS or above the billing account of the project must be subscribed to Managed
25720
+ # Protection Plus. See Subscribing to Managed Protection Plus for more
25721
+ # information.
25722
+ # @param [String] project
25723
+ # Project ID for this request.
25724
+ # @param [Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest] projects_set_managed_protection_tier_request_object
25725
+ # @param [String] request_id
25726
+ # An optional request ID to identify requests. Specify a unique request ID so
25727
+ # that if you must retry your request, the server will know to ignore the
25728
+ # request if it has already been completed. For example, consider a situation
25729
+ # where you make an initial request and the request times out. If you make the
25730
+ # request again with the same request ID, the server can check if original
25731
+ # operation with the same request ID was received, and if so, will ignore the
25732
+ # second request. This prevents clients from accidentally creating duplicate
25733
+ # commitments. The request ID must be a valid UUID with the exception that zero
25734
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25735
+ # @param [String] fields
25736
+ # Selector specifying which fields to include in a partial response.
25737
+ # @param [String] quota_user
25738
+ # Available to use for quota purposes for server-side applications. Can be any
25739
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
25740
+ # @param [String] user_ip
25741
+ # Legacy name for parameter that has been superseded by `quotaUser`.
25742
+ # @param [Google::Apis::RequestOptions] options
25743
+ # Request-specific options
25744
+ #
25745
+ # @yield [result, err] Result & error if block supplied
25746
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
25747
+ # @yieldparam err [StandardError] error object if request failed
25748
+ #
25749
+ # @return [Google::Apis::ComputeAlpha::Operation]
25750
+ #
25751
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
25752
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
25753
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
25754
+ def set_project_managed_protection_tier(project, projects_set_managed_protection_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
25755
+ command = make_simple_command(:post, 'projects/{project}/setManagedProtectionTier', options)
25756
+ command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetManagedProtectionTierRequest::Representation
25757
+ command.request_object = projects_set_managed_protection_tier_request_object
25758
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
25759
+ command.response_class = Google::Apis::ComputeAlpha::Operation
25760
+ command.params['project'] = project unless project.nil?
25761
+ command.query['requestId'] = request_id unless request_id.nil?
25762
+ command.query['fields'] = fields unless fields.nil?
25763
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
25764
+ command.query['userIp'] = user_ip unless user_ip.nil?
25765
+ execute_or_queue_command(command, &block)
25766
+ end
25767
+
25718
25768
  # Enables the usage export feature and sets the usage export bucket where
25719
25769
  # reports are stored. If you provide an empty request body using this method,
25720
25770
  # the usage export feature will be disabled.
@@ -27313,6 +27363,99 @@ module Google
27313
27363
  execute_or_queue_command(command, &block)
27314
27364
  end
27315
27365
 
27366
+ # Retrieves an aggregated list of all usable backend services in the specified
27367
+ # project in the given region.
27368
+ # @param [String] project
27369
+ # Project ID for this request.
27370
+ # @param [String] region
27371
+ # Name of the region scoping this request. It must be a string that meets the
27372
+ # requirements in RFC1035.
27373
+ # @param [String] filter
27374
+ # A filter expression that filters resources listed in the response. Most
27375
+ # Compute resources support two types of filter expressions: expressions that
27376
+ # support regular expressions and expressions that follow API improvement
27377
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
27378
+ # field name, an operator, and the value that you want to use for filtering. The
27379
+ # value must be a string, a number, or a boolean. The operator must be either `=`
27380
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
27381
+ # Engine instances, you can exclude instances named `example-instance` by
27382
+ # specifying `name != example-instance`. The `:` operator can be used with
27383
+ # string fields to match substrings. For non-string fields it is equivalent to
27384
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
27385
+ # been defined. For example, to find all objects with `owner` label use: ```
27386
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
27387
+ # specify `scheduling.automaticRestart = false` to include instances only if
27388
+ # they are not scheduled for automatic restarts. You can use filtering on nested
27389
+ # fields to filter based on resource labels. To filter on multiple expressions,
27390
+ # provide each separate expression within parentheses. For example: ``` (
27391
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
27392
+ # default, each expression is an `AND` expression. However, you can include `AND`
27393
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
27394
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
27395
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
27396
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
27397
+ # expression with or without quotes or against multiple parenthesized
27398
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
27399
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
27400
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
27401
+ # regular expression using Google RE2 library syntax. The literal value must
27402
+ # match the entire field. For example, to filter for instances that do not end
27403
+ # with name "instance", you would use `name ne .*instance`.
27404
+ # @param [Fixnum] max_results
27405
+ # The maximum number of results per page that should be returned. If the number
27406
+ # of available results is larger than `maxResults`, Compute Engine returns a `
27407
+ # nextPageToken` that can be used to get the next page of results in subsequent
27408
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
27409
+ # @param [String] order_by
27410
+ # Sorts list results by a certain order. By default, results are returned in
27411
+ # alphanumerical order based on the resource name. You can also sort results in
27412
+ # descending order based on the creation timestamp using `orderBy="
27413
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
27414
+ # field in reverse chronological order (newest result first). Use this to sort
27415
+ # resources like operations so that the newest operation is returned first.
27416
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
27417
+ # @param [String] page_token
27418
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
27419
+ # by a previous list request to get the next page of results.
27420
+ # @param [Boolean] return_partial_success
27421
+ # Opt-in for partial success behavior which provides partial results in case of
27422
+ # failure. The default value is false.
27423
+ # @param [String] fields
27424
+ # Selector specifying which fields to include in a partial response.
27425
+ # @param [String] quota_user
27426
+ # Available to use for quota purposes for server-side applications. Can be any
27427
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27428
+ # @param [String] user_ip
27429
+ # Legacy name for parameter that has been superseded by `quotaUser`.
27430
+ # @param [Google::Apis::RequestOptions] options
27431
+ # Request-specific options
27432
+ #
27433
+ # @yield [result, err] Result & error if block supplied
27434
+ # @yieldparam result [Google::Apis::ComputeAlpha::BackendServiceListUsable] parsed result object
27435
+ # @yieldparam err [StandardError] error object if request failed
27436
+ #
27437
+ # @return [Google::Apis::ComputeAlpha::BackendServiceListUsable]
27438
+ #
27439
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27440
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27441
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27442
+ def list_region_backend_service_usable(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
27443
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/listUsable', options)
27444
+ command.response_representation = Google::Apis::ComputeAlpha::BackendServiceListUsable::Representation
27445
+ command.response_class = Google::Apis::ComputeAlpha::BackendServiceListUsable
27446
+ command.params['project'] = project unless project.nil?
27447
+ command.params['region'] = region unless region.nil?
27448
+ command.query['filter'] = filter unless filter.nil?
27449
+ command.query['maxResults'] = max_results unless max_results.nil?
27450
+ command.query['orderBy'] = order_by unless order_by.nil?
27451
+ command.query['pageToken'] = page_token unless page_token.nil?
27452
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
27453
+ command.query['fields'] = fields unless fields.nil?
27454
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27455
+ command.query['userIp'] = user_ip unless user_ip.nil?
27456
+ execute_or_queue_command(command, &block)
27457
+ end
27458
+
27316
27459
  # Updates the specified regional BackendService resource with the data included
27317
27460
  # in the request. For more information, see Understanding backend services This
27318
27461
  # method supports PATCH semantics and uses the JSON merge patch format and
@@ -35084,9 +35227,9 @@ module Google
35084
35227
  end
35085
35228
 
35086
35229
  # Patches the specified policy with the data included in the request. To clear
35087
- # fields in the rule, leave the fields empty and specify them in the updateMask.
35088
- # This cannot be used to be update the rules in the policy. Please use the per
35089
- # rule methods like addRule, patchRule, and removeRule instead.
35230
+ # fields in the policy, leave the fields empty and specify them in the
35231
+ # updateMask. This cannot be used to be update the rules in the policy. Please
35232
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
35090
35233
  # @param [String] project
35091
35234
  # Project ID for this request.
35092
35235
  # @param [String] region
@@ -40176,9 +40319,9 @@ module Google
40176
40319
  end
40177
40320
 
40178
40321
  # Patches the specified policy with the data included in the request. To clear
40179
- # fields in the rule, leave the fields empty and specify them in the updateMask.
40180
- # This cannot be used to be update the rules in the policy. Please use the per
40181
- # rule methods like addRule, patchRule, and removeRule instead.
40322
+ # fields in the policy, leave the fields empty and specify them in the
40323
+ # updateMask. This cannot be used to be update the rules in the policy. Please
40324
+ # use the per rule methods like addRule, patchRule, and removeRule instead.
40182
40325
  # @param [String] project
40183
40326
  # Project ID for this request.
40184
40327
  # @param [String] security_policy
@@ -40233,7 +40376,8 @@ module Google
40233
40376
  execute_or_queue_command(command, &block)
40234
40377
  end
40235
40378
 
40236
- # Patches a rule at the specified priority.
40379
+ # Patches a rule at the specified priority. To clear fields in the rule, leave
40380
+ # the fields empty and specify them in the updateMask.
40237
40381
  # @param [String] project
40238
40382
  # Project ID for this request.
40239
40383
  # @param [String] security_policy
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.74.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-07-09 00:00:00.000000000 Z
11
+ date: 2023-08-06 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_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.72.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.74.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []