google-apis-compute_beta 0.141.0 → 0.142.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: 72fac698e1edc201787d80821228d865a2825dd78dcadaeaeb08c47a44a4b06a
4
- data.tar.gz: 1d2ef6ec42f67c291f08628c9aff1bc02a8104b90248635eacb92d67a004edd8
3
+ metadata.gz: 04d2b352e5e245d381b63b9b2666082263202e2949a98ed01bacbb7bd4c33b22
4
+ data.tar.gz: e388c7302e02694b6c09376bef08694fbf6eb59b1afed21a033f588ee2294424
5
5
  SHA512:
6
- metadata.gz: 479b5bf1ab056765b72a5a93f6803bce12a37bdafb83d1a5803a71dcf73f23176c781fc0a0320c8e6a8a9e278ca57448495ccdd685f8a542213bf597ee680dcc
7
- data.tar.gz: be9f811c6fa531aec0823a9963f6ab83451bf2980f3afaa98d1078240a800744a6529eea45b3bb9d6992eaf1b083ea4ee3455f0d74ce7f2b6671c5241e3d3844
6
+ metadata.gz: d6a2b04fedfaf3da3f31506c89eaee7244b770a37f2d34e12896da59831941ed5ee33448057304d19a2fc8087053496c5d504302a06ca6da97368f268993cb70
7
+ data.tar.gz: cbc32aa02810f556534973e55d0c2a05f1b5ede9eaaa22ac49435ac46881517cf2b29e1dcb3d3c62bb4700338e9433db53698369fe3dc91d5903937488b9f1e3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.142.0 (2026-07-12)
4
+
5
+ * Regenerated from discovery document revision 20260629
6
+
3
7
  ### v0.141.0 (2026-06-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20260612
@@ -750,21 +750,30 @@ module Google
750
750
  # @return [Fixnum]
751
751
  attr_accessor :id
752
752
 
753
- # Reference to the source of external IPv4 addresses,
754
- # like a PublicDelegatedPrefix (PDP) for BYOIP.
755
- # The PDP must support enhanced IPv4 allocations.
756
- # Use one of the following formats to specify a PDP when reserving an
757
- # external IPv4 address using BYOIP.
753
+ # Reference to the source of IP addresses.
754
+ # It supports the following cases:
758
755
  #
759
756
  # -
760
- # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/
761
- # projectId/regions/region/publicDelegatedPrefixes/pdp-name
757
+ # Case 1: PublicDelegatedPrefix (PDP) for BYOIP external IPv4
758
+ # addresses. The PDP must support enhanced IPv4 allocations.
762
759
  # -
763
- # Partial URL, as in
764
- #
760
+ # Case 2: Internal Range for global internal addresses.
761
+ # Use one of the following formats to specify the resource:
762
+ # For a Public Delegated Prefix:
765
763
  #
764
+ # -
765
+ # Full resource URL:https://www.googleapis.com/compute/v1/projects/projectId/
766
+ # regions/region/publicDelegatedPrefixes/pdp
767
+ # - Partial URL:
766
768
  # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name
767
769
  # - regions/region/publicDelegatedPrefixes/pdp-name
770
+ #
771
+ # For an Internal Range:
772
+ #
773
+ # - Full URL:https://networkconnectivity.googleapis.com/v1/projects/project/
774
+ # locations/global/internalRanges/internal-range
775
+ # - Partial URL:projects/project/locations/global/internalRanges/internal-
776
+ # range
768
777
  # Corresponds to the JSON property `ipCollection`
769
778
  # @return [String]
770
779
  attr_accessor :ip_collection
@@ -8370,22 +8379,25 @@ module Google
8370
8379
  class CapacityHistoryResponse
8371
8380
  include Google::Apis::Core::Hashable
8372
8381
 
8373
- #
8382
+ # Output only. The location (region or zone) for which the capacity history is
8383
+ # returned.
8384
+ # It is returned as a URL - For example,https://www.googleapis.com/compute/v1/
8385
+ # projects/project/zones/zone.
8374
8386
  # Corresponds to the JSON property `location`
8375
8387
  # @return [String]
8376
8388
  attr_accessor :location
8377
8389
 
8378
- #
8390
+ # The machine type for which the capacity history is returned.
8379
8391
  # Corresponds to the JSON property `machineType`
8380
8392
  # @return [String]
8381
8393
  attr_accessor :machine_type
8382
8394
 
8383
- #
8395
+ # The preemption history for the requested machine type and location.
8384
8396
  # Corresponds to the JSON property `preemptionHistory`
8385
8397
  # @return [Array<Google::Apis::ComputeBeta::CapacityHistoryResponsePreemptionRecord>]
8386
8398
  attr_accessor :preemption_history
8387
8399
 
8388
- #
8400
+ # The price history for the requested machine type and location.
8389
8401
  # Corresponds to the JSON property `priceHistory`
8390
8402
  # @return [Array<Google::Apis::ComputeBeta::CapacityHistoryResponsePriceRecord>]
8391
8403
  attr_accessor :price_history
@@ -8403,7 +8415,7 @@ module Google
8403
8415
  end
8404
8416
  end
8405
8417
 
8406
- #
8418
+ # A record of Spot VM preemption history.
8407
8419
  class CapacityHistoryResponsePreemptionRecord
8408
8420
  include Google::Apis::Core::Hashable
8409
8421
 
@@ -8416,7 +8428,10 @@ module Google
8416
8428
  # @return [Google::Apis::ComputeBeta::Interval]
8417
8429
  attr_accessor :interval
8418
8430
 
8419
- #
8431
+ # The preemption rate during the interval, representing the fraction of
8432
+ # Spot VMs that were preempted. Range: 0.0 to 1.0. Preemption rate is
8433
+ # calculated as (total preempted Spots) / (total Spots that stopped
8434
+ # running).
8420
8435
  # Corresponds to the JSON property `preemptionRate`
8421
8436
  # @return [Float]
8422
8437
  attr_accessor :preemption_rate
@@ -8432,7 +8447,7 @@ module Google
8432
8447
  end
8433
8448
  end
8434
8449
 
8435
- #
8450
+ # A record of price history.
8436
8451
  class CapacityHistoryResponsePriceRecord
8437
8452
  include Google::Apis::Core::Hashable
8438
8453
 
@@ -8634,6 +8649,13 @@ module Google
8634
8649
  # @return [Google::Apis::ComputeBeta::CommitmentParams]
8635
8650
  attr_accessor :params
8636
8651
 
8652
+ # Optional. Used when category is PERSISTENT_DISK.
8653
+ # Each entry in the list represents a commitment to a specific Persistent
8654
+ # Disk product type and dimension.
8655
+ # Corresponds to the JSON property `persistentDiskResources`
8656
+ # @return [Array<Google::Apis::ComputeBeta::PersistentDiskResourceCommitment>]
8657
+ attr_accessor :persistent_disk_resources
8658
+
8637
8659
  # The minimum time duration that you commit to purchasing resources.
8638
8660
  # The plan that you choose determines the preset term length of the
8639
8661
  # commitment (which is 1 year or 3 years) and affects the discount rate that
@@ -8746,6 +8768,7 @@ module Google
8746
8768
  @merge_source_commitments = args[:merge_source_commitments] if args.key?(:merge_source_commitments)
8747
8769
  @name = args[:name] if args.key?(:name)
8748
8770
  @params = args[:params] if args.key?(:params)
8771
+ @persistent_disk_resources = args[:persistent_disk_resources] if args.key?(:persistent_disk_resources)
8749
8772
  @plan = args[:plan] if args.key?(:plan)
8750
8773
  @region = args[:region] if args.key?(:region)
8751
8774
  @reservations = args[:reservations] if args.key?(:reservations)
@@ -14130,7 +14153,9 @@ module Google
14130
14153
 
14131
14154
  # The Action to perform when the client connection triggers the rule.
14132
14155
  # Valid actions for firewall rules are: "allow", "deny",
14133
- # "apply_security_profile_group" and "goto_next".
14156
+ # "apply_security_profile_group" and "goto_next" (
14157
+ # "apply_security_profile_group" can be specified only for global
14158
+ # network firewall policies or hierarchical firewall policies).
14134
14159
  # Valid actions for packet mirroring rules are: "mirror", "do_not_mirror"
14135
14160
  # and "goto_next".
14136
14161
  # Corresponds to the JSON property `action`
@@ -14199,12 +14224,13 @@ module Google
14199
14224
  # @return [Fixnum]
14200
14225
  attr_accessor :rule_tuple_count
14201
14226
 
14202
- # A fully-qualified URL of a SecurityProfile resource instance.
14227
+ # A fully-qualified URL of a SecurityProfileGroup resource instance.
14203
14228
  # Example:
14204
14229
  # https://networksecurity.googleapis.com/v1/projects/`project`/locations/`
14205
14230
  # location`/securityProfileGroups/my-security-profile-group
14206
14231
  # Must be specified if action is one of 'apply_security_profile_group' or
14207
- # 'mirror'. Cannot be specified for other actions.
14232
+ # 'mirror'. Cannot be specified for other actions. Can be specified only
14233
+ # for global network firewall policies or hierarchical firewall policies.
14208
14234
  # Corresponds to the JSON property `securityProfileGroup`
14209
14235
  # @return [String]
14210
14236
  attr_accessor :security_profile_group
@@ -23187,6 +23213,12 @@ module Google
23187
23213
  # @return [String]
23188
23214
  attr_accessor :last_suspended_timestamp
23189
23215
 
23216
+ # Specifies which method should be used for encrypting the
23217
+ # Local SSDs attached to the VM.
23218
+ # Corresponds to the JSON property `localSsdEncryptionMode`
23219
+ # @return [String]
23220
+ attr_accessor :local_ssd_encryption_mode
23221
+
23190
23222
  # Full or partial URL of the machine type resource to use for this instance,
23191
23223
  # in the format:zones/zone/machineTypes/machine-type. This is provided by the
23192
23224
  # client
@@ -23420,6 +23452,7 @@ module Google
23420
23452
  @last_start_timestamp = args[:last_start_timestamp] if args.key?(:last_start_timestamp)
23421
23453
  @last_stop_timestamp = args[:last_stop_timestamp] if args.key?(:last_stop_timestamp)
23422
23454
  @last_suspended_timestamp = args[:last_suspended_timestamp] if args.key?(:last_suspended_timestamp)
23455
+ @local_ssd_encryption_mode = args[:local_ssd_encryption_mode] if args.key?(:local_ssd_encryption_mode)
23423
23456
  @machine_type = args[:machine_type] if args.key?(:machine_type)
23424
23457
  @metadata = args[:metadata] if args.key?(:metadata)
23425
23458
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -28316,6 +28349,12 @@ module Google
28316
28349
  # @return [Hash<String,String>]
28317
28350
  attr_accessor :labels
28318
28351
 
28352
+ # Specifies which method should be used for encrypting the
28353
+ # Local SSDs attached to the VM.
28354
+ # Corresponds to the JSON property `localSsdEncryptionMode`
28355
+ # @return [String]
28356
+ attr_accessor :local_ssd_encryption_mode
28357
+
28319
28358
  # The machine type to use for instances that are created from these
28320
28359
  # properties.
28321
28360
  # This field only accepts a machine type name, for example `n2-standard-4`.
@@ -28441,6 +28480,7 @@ module Google
28441
28480
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
28442
28481
  @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
28443
28482
  @labels = args[:labels] if args.key?(:labels)
28483
+ @local_ssd_encryption_mode = args[:local_ssd_encryption_mode] if args.key?(:local_ssd_encryption_mode)
28444
28484
  @machine_type = args[:machine_type] if args.key?(:machine_type)
28445
28485
  @metadata = args[:metadata] if args.key?(:metadata)
28446
28486
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -37001,15 +37041,13 @@ module Google
37001
37041
  # @return [Google::Apis::ComputeBeta::ManagedInstancePropertiesFromFlexibilityPolicy]
37002
37042
  attr_accessor :properties_from_flexibility_policy
37003
37043
 
37004
- # Output only. [Output Only] Information about the termination timestamp of the
37005
- # instance,
37006
- # if applicable.
37044
+ # Output only. Information about the termination timestamp of the instance, if
37045
+ # applicable.
37007
37046
  # Corresponds to the JSON property `scheduling`
37008
37047
  # @return [Google::Apis::ComputeBeta::ManagedInstanceScheduling]
37009
37048
  attr_accessor :scheduling
37010
37049
 
37011
- # Output only. [Output Only] Specifies the graceful shutdown details if the
37012
- # instance is in
37050
+ # Output only. Specifies the graceful shutdown details if the instance is in
37013
37051
  # `PENDING_STOP` state or there is a programmed stop scheduled.
37014
37052
  # Corresponds to the JSON property `shutdownDetails`
37015
37053
  # @return [Google::Apis::ComputeBeta::ManagedInstanceShutdownDetails]
@@ -37285,16 +37323,17 @@ module Google
37285
37323
  class ManagedInstanceScheduling
37286
37324
  include Google::Apis::Core::Hashable
37287
37325
 
37288
- # Output only. [Output Only] The timestamp at which the underlying instance will
37289
- # be
37326
+ # Output only. The timestamp at which the underlying instance will be
37290
37327
  # triggered for graceful shutdown if it is configured. This is in RFC3339 text
37291
37328
  # format.
37292
37329
  # Corresponds to the JSON property `gracefulShutdownTimestamp`
37293
37330
  # @return [String]
37294
37331
  attr_accessor :graceful_shutdown_timestamp
37295
37332
 
37296
- # Output only. [Output Only] The timestamp at which the managed instance will be
37297
- # terminated. This is in RFC3339 text format.
37333
+ # Output only. The timestamp at which the managed instance will be terminated.
37334
+ # This is
37335
+ # in RFC3339 text
37336
+ # format.
37298
37337
  # Corresponds to the JSON property `terminationTimestamp`
37299
37338
  # @return [String]
37300
37339
  attr_accessor :termination_timestamp
@@ -37322,9 +37361,10 @@ module Google
37322
37361
  # @return [Google::Apis::ComputeBeta::Duration]
37323
37362
  attr_accessor :max_duration
37324
37363
 
37325
- # Output only. [Output Only] Past timestamp indicating the beginning of `
37326
- # PENDING_STOP`
37327
- # state of instance in RFC3339 text format.
37364
+ # Output only. Past timestamp indicating the beginning of `PENDING_STOP` state
37365
+ # of
37366
+ # instance in RFC3339
37367
+ # text format.
37328
37368
  # Corresponds to the JSON property `requestTimestamp`
37329
37369
  # @return [String]
37330
37370
  attr_accessor :request_timestamp
@@ -38612,14 +38652,16 @@ module Google
38612
38652
  # @return [String]
38613
38653
  attr_accessor :network
38614
38654
 
38615
- # Projects that are allowed to connect to this network attachment.
38616
- # The project can be specified using its id or number.
38655
+ # Projects or service class ids that are allowed to connect to this network
38656
+ # attachment. The project can be specified using its id or number. Service
38657
+ # class id can be specified as "serviceclasses/`service_class_id`".
38617
38658
  # Corresponds to the JSON property `producerAcceptLists`
38618
38659
  # @return [Array<String>]
38619
38660
  attr_accessor :producer_accept_lists
38620
38661
 
38621
- # Projects that are not allowed to connect to this network attachment.
38622
- # The project can be specified using its id or number.
38662
+ # Projects or service class ids that are not allowed to connect to this
38663
+ # network attachment. The project can be specified using its id or number.
38664
+ # Service class id can be specified as "serviceclasses/`service_class_id`".
38623
38665
  # Corresponds to the JSON property `producerRejectLists`
38624
38666
  # @return [Array<String>]
38625
38667
  attr_accessor :producer_reject_lists
@@ -47402,6 +47444,38 @@ module Google
47402
47444
  end
47403
47445
  end
47404
47446
 
47447
+ # Commitment for a particular persistent disk resource.
47448
+ class PersistentDiskResourceCommitment
47449
+ include Google::Apis::Core::Hashable
47450
+
47451
+ # Required. The amount of the resource to commit to, in GiB.
47452
+ # Corresponds to the JSON property `amount`
47453
+ # @return [Fixnum]
47454
+ attr_accessor :amount
47455
+
47456
+ # The specific dimension of the product for this amount.
47457
+ # Corresponds to the JSON property `dimensionType`
47458
+ # @return [String]
47459
+ attr_accessor :dimension_type
47460
+
47461
+ # The PD product being committed to. All entries in a
47462
+ # Commitment.persistent_disk_resources list must have the same product_type.
47463
+ # Corresponds to the JSON property `productType`
47464
+ # @return [String]
47465
+ attr_accessor :product_type
47466
+
47467
+ def initialize(**args)
47468
+ update!(**args)
47469
+ end
47470
+
47471
+ # Update properties of this object
47472
+ def update!(**args)
47473
+ @amount = args[:amount] if args.key?(:amount)
47474
+ @dimension_type = args[:dimension_type] if args.key?(:dimension_type)
47475
+ @product_type = args[:product_type] if args.key?(:product_type)
47476
+ end
47477
+ end
47478
+
47405
47479
  # An Identity and Access Management (IAM) policy, which specifies access
47406
47480
  # controls for Google Cloud resources.
47407
47481
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
@@ -49421,6 +49495,55 @@ module Google
49421
49495
  end
49422
49496
  end
49423
49497
 
49498
+ # The spec for modifying the path using a regular expression.
49499
+ class RegexRewrite
49500
+ include Google::Apis::Core::Hashable
49501
+
49502
+ # The regular expression used to match against the URL path.
49503
+ # It uses RE2 syntax with the following constraints:
49504
+ #
49505
+ #
49506
+ # - Any single character operators
49507
+ # - Groups are allowed to have only submatch operator inside
49508
+ # - Groups are allowed only without any char repetition, e.g.
49509
+ # .*
49510
+ # - Any char repetition, e.g. .*, is
49511
+ # only allowed to be used in a single regex together with:
49512
+ #
49513
+ #
49514
+ # - Empty string operators
49515
+ # - Other repetitions
49516
+ # - Ranges
49517
+ # - Repetitions of ranges
49518
+ #
49519
+ #
49520
+ # - Ranges are only allowed to have:
49521
+ #
49522
+ #
49523
+ # - Character range
49524
+ # - Digits range
49525
+ # - Symbols listed in characters allowed for ranges
49526
+ # Corresponds to the JSON property `pathPattern`
49527
+ # @return [String]
49528
+ attr_accessor :path_pattern
49529
+
49530
+ # Required when path pattern is specified. Used to rewrite matching parts of
49531
+ # the path.
49532
+ # Corresponds to the JSON property `pathSubstitution`
49533
+ # @return [String]
49534
+ attr_accessor :path_substitution
49535
+
49536
+ def initialize(**args)
49537
+ update!(**args)
49538
+ end
49539
+
49540
+ # Update properties of this object
49541
+ def update!(**args)
49542
+ @path_pattern = args[:path_pattern] if args.key?(:path_pattern)
49543
+ @path_substitution = args[:path_substitution] if args.key?(:path_substitution)
49544
+ end
49545
+ end
49546
+
49424
49547
  # Represents a Region resource.
49425
49548
  # A region is a geographical area where a resource is located. For more
49426
49549
  # information, readRegions
@@ -51680,6 +51803,210 @@ module Google
51680
51803
  end
51681
51804
  end
51682
51805
 
51806
+ # Represents a ReliabilityRisk resource.
51807
+ class ReliabilityRisk
51808
+ include Google::Apis::Core::Hashable
51809
+
51810
+ # Output only. [Output Only] Creation timestamp in RFC3339
51811
+ # text format.
51812
+ # Corresponds to the JSON property `creationTimestamp`
51813
+ # @return [String]
51814
+ attr_accessor :creation_timestamp
51815
+
51816
+ # An optional textual description of the resource; provided when the
51817
+ # resource is created.
51818
+ # Corresponds to the JSON property `description`
51819
+ # @return [String]
51820
+ attr_accessor :description
51821
+
51822
+ # Detailed insights and metrics about a detected reliability risk.
51823
+ # Corresponds to the JSON property `details`
51824
+ # @return [Google::Apis::ComputeBeta::RiskDetails]
51825
+ attr_accessor :details
51826
+
51827
+ # [Output Only] The unique identifier for the resource. This identifier is
51828
+ # defined by the server.
51829
+ # Corresponds to the JSON property `id`
51830
+ # @return [Fixnum]
51831
+ attr_accessor :id
51832
+
51833
+ # Output only. [Output Only] Type of resource. Always compute#reliabilityRisk
51834
+ # for reliability risks.
51835
+ # Corresponds to the JSON property `kind`
51836
+ # @return [String]
51837
+ attr_accessor :kind
51838
+
51839
+ # Name of the resource. The name must be 1-63 characters long and
51840
+ # comply with RFC1035.
51841
+ # Corresponds to the JSON property `name`
51842
+ # @return [String]
51843
+ attr_accessor :name
51844
+
51845
+ # Recommendation for mitigating a reliability risk, including a reference URL.
51846
+ # Corresponds to the JSON property `recommendation`
51847
+ # @return [Google::Apis::ComputeBeta::RiskRecommendation]
51848
+ attr_accessor :recommendation
51849
+
51850
+ # Output only. [Output Only] Server-defined URL for the resource.
51851
+ # Corresponds to the JSON property `selfLink`
51852
+ # @return [String]
51853
+ attr_accessor :self_link
51854
+
51855
+ # Output only. [Output Only] Server-defined URL for this resource with the
51856
+ # resource id.
51857
+ # Corresponds to the JSON property `selfLinkWithId`
51858
+ # @return [String]
51859
+ attr_accessor :self_link_with_id
51860
+
51861
+ def initialize(**args)
51862
+ update!(**args)
51863
+ end
51864
+
51865
+ # Update properties of this object
51866
+ def update!(**args)
51867
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
51868
+ @description = args[:description] if args.key?(:description)
51869
+ @details = args[:details] if args.key?(:details)
51870
+ @id = args[:id] if args.key?(:id)
51871
+ @kind = args[:kind] if args.key?(:kind)
51872
+ @name = args[:name] if args.key?(:name)
51873
+ @recommendation = args[:recommendation] if args.key?(:recommendation)
51874
+ @self_link = args[:self_link] if args.key?(:self_link)
51875
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
51876
+ end
51877
+ end
51878
+
51879
+ # Response message for the List method of ReliabilityRisksService.
51880
+ class ReliabilityRisksListResponse
51881
+ include Google::Apis::Core::Hashable
51882
+
51883
+ #
51884
+ # Corresponds to the JSON property `etag`
51885
+ # @return [String]
51886
+ attr_accessor :etag
51887
+
51888
+ # [Output Only] Unique identifier for the resource; defined by the server.
51889
+ # Corresponds to the JSON property `id`
51890
+ # @return [String]
51891
+ attr_accessor :id
51892
+
51893
+ # A list of ReliabilityRisk resources.
51894
+ # Corresponds to the JSON property `items`
51895
+ # @return [Array<Google::Apis::ComputeBeta::ReliabilityRisk>]
51896
+ attr_accessor :items
51897
+
51898
+ # [Output Only] This token allows you to get the next page of results for
51899
+ # list requests. If the number of results is larger thanmaxResults, use the
51900
+ # nextPageToken as a value for
51901
+ # the query parameter pageToken in the next list request.
51902
+ # Subsequent list requests will have their own nextPageToken to
51903
+ # continue paging through the results.
51904
+ # Corresponds to the JSON property `nextPageToken`
51905
+ # @return [String]
51906
+ attr_accessor :next_page_token
51907
+
51908
+ # Output only. [Output Only] Server-defined URL for this resource.
51909
+ # Corresponds to the JSON property `selfLink`
51910
+ # @return [String]
51911
+ attr_accessor :self_link
51912
+
51913
+ # Output only. [Output Only] Unreachable resources.
51914
+ # end_interface: MixerListResponseWithEtagBuilder
51915
+ # Corresponds to the JSON property `unreachables`
51916
+ # @return [Array<String>]
51917
+ attr_accessor :unreachables
51918
+
51919
+ # [Output Only] Informational warning message.
51920
+ # Corresponds to the JSON property `warning`
51921
+ # @return [Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning]
51922
+ attr_accessor :warning
51923
+
51924
+ def initialize(**args)
51925
+ update!(**args)
51926
+ end
51927
+
51928
+ # Update properties of this object
51929
+ def update!(**args)
51930
+ @etag = args[:etag] if args.key?(:etag)
51931
+ @id = args[:id] if args.key?(:id)
51932
+ @items = args[:items] if args.key?(:items)
51933
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
51934
+ @self_link = args[:self_link] if args.key?(:self_link)
51935
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
51936
+ @warning = args[:warning] if args.key?(:warning)
51937
+ end
51938
+
51939
+ # [Output Only] Informational warning message.
51940
+ class Warning
51941
+ include Google::Apis::Core::Hashable
51942
+
51943
+ # [Output Only] A warning code, if applicable. For example, Compute
51944
+ # Engine returns NO_RESULTS_ON_PAGE if there
51945
+ # are no results in the response.
51946
+ # Corresponds to the JSON property `code`
51947
+ # @return [String]
51948
+ attr_accessor :code
51949
+
51950
+ # [Output Only] Metadata about this warning in key:
51951
+ # value format. For example:
51952
+ # "data": [
51953
+ # `
51954
+ # "key": "scope",
51955
+ # "value": "zones/us-east1-d"
51956
+ # `
51957
+ # Corresponds to the JSON property `data`
51958
+ # @return [Array<Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning::Datum>]
51959
+ attr_accessor :data
51960
+
51961
+ # [Output Only] A human-readable description of the warning code.
51962
+ # Corresponds to the JSON property `message`
51963
+ # @return [String]
51964
+ attr_accessor :message
51965
+
51966
+ def initialize(**args)
51967
+ update!(**args)
51968
+ end
51969
+
51970
+ # Update properties of this object
51971
+ def update!(**args)
51972
+ @code = args[:code] if args.key?(:code)
51973
+ @data = args[:data] if args.key?(:data)
51974
+ @message = args[:message] if args.key?(:message)
51975
+ end
51976
+
51977
+ #
51978
+ class Datum
51979
+ include Google::Apis::Core::Hashable
51980
+
51981
+ # [Output Only] A key that provides more detail on the warning being
51982
+ # returned. For example, for warnings where there are no results in a list
51983
+ # request for a particular zone, this key might be scope and
51984
+ # the key value might be the zone name. Other examples might be a key
51985
+ # indicating a deprecated resource and a suggested replacement, or a
51986
+ # warning about invalid network settings (for example, if an instance
51987
+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
51988
+ # Corresponds to the JSON property `key`
51989
+ # @return [String]
51990
+ attr_accessor :key
51991
+
51992
+ # [Output Only] A warning data value corresponding to the key.
51993
+ # Corresponds to the JSON property `value`
51994
+ # @return [String]
51995
+ attr_accessor :value
51996
+
51997
+ def initialize(**args)
51998
+ update!(**args)
51999
+ end
52000
+
52001
+ # Update properties of this object
52002
+ def update!(**args)
52003
+ @key = args[:key] if args.key?(:key)
52004
+ @value = args[:value] if args.key?(:value)
52005
+ end
52006
+ end
52007
+ end
52008
+ end
52009
+
51683
52010
  # A policy that specifies how requests intended for the route's backends
51684
52011
  # are shadowed to a separate mirrored backend service. The load balancer
51685
52012
  # doesn't wait for responses from the shadow service. Before sending traffic
@@ -52146,11 +52473,6 @@ module Google
52146
52473
  class ReservationBlock
52147
52474
  include Google::Apis::Core::Hashable
52148
52475
 
52149
- # Health information for the reservation block.
52150
- # Corresponds to the JSON property `blockHealthInfo`
52151
- # @return [Google::Apis::ComputeBeta::ReservationBlockHealthInfo]
52152
- attr_accessor :block_health_info
52153
-
52154
52476
  # Output only. [Output Only] The number of resources that are allocated in this
52155
52477
  # reservation block.
52156
52478
  # Corresponds to the JSON property `count`
@@ -52162,6 +52484,11 @@ module Google
52162
52484
  # @return [String]
52163
52485
  attr_accessor :creation_timestamp
52164
52486
 
52487
+ # Health information for the reservation block.
52488
+ # Corresponds to the JSON property `healthInfo`
52489
+ # @return [Google::Apis::ComputeBeta::ReservationBlockHealthInfo]
52490
+ attr_accessor :health_info
52491
+
52165
52492
  # Output only. [Output Only] The unique identifier for the resource. This
52166
52493
  # identifier is
52167
52494
  # defined by the server.
@@ -52250,9 +52577,9 @@ module Google
52250
52577
 
52251
52578
  # Update properties of this object
52252
52579
  def update!(**args)
52253
- @block_health_info = args[:block_health_info] if args.key?(:block_health_info)
52254
52580
  @count = args[:count] if args.key?(:count)
52255
52581
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
52582
+ @health_info = args[:health_info] if args.key?(:health_info)
52256
52583
  @id = args[:id] if args.key?(:id)
52257
52584
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
52258
52585
  @in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
@@ -53018,6 +53345,11 @@ module Google
53018
53345
  # @return [String]
53019
53346
  attr_accessor :creation_timestamp
53020
53347
 
53348
+ # Health information for the reservation subBlock.
53349
+ # Corresponds to the JSON property `healthInfo`
53350
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo]
53351
+ attr_accessor :health_info
53352
+
53021
53353
  # Output only. [Output Only] The unique identifier for the resource. This
53022
53354
  # identifier is
53023
53355
  # defined by the server.
@@ -53080,11 +53412,6 @@ module Google
53080
53412
  # @return [String]
53081
53413
  attr_accessor :status
53082
53414
 
53083
- # Health information for the reservation subBlock.
53084
- # Corresponds to the JSON property `subBlockHealthInfo`
53085
- # @return [Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo]
53086
- attr_accessor :sub_block_health_info
53087
-
53088
53415
  # Output only. [Output Only] Zone in which the reservation subBlock resides.
53089
53416
  # Corresponds to the JSON property `zone`
53090
53417
  # @return [String]
@@ -53099,6 +53426,7 @@ module Google
53099
53426
  @accelerator_topologies_info = args[:accelerator_topologies_info] if args.key?(:accelerator_topologies_info)
53100
53427
  @count = args[:count] if args.key?(:count)
53101
53428
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
53429
+ @health_info = args[:health_info] if args.key?(:health_info)
53102
53430
  @id = args[:id] if args.key?(:id)
53103
53431
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
53104
53432
  @in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
@@ -53109,7 +53437,6 @@ module Google
53109
53437
  @self_link = args[:self_link] if args.key?(:self_link)
53110
53438
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
53111
53439
  @status = args[:status] if args.key?(:status)
53112
- @sub_block_health_info = args[:sub_block_health_info] if args.key?(:sub_block_health_info)
53113
53440
  @zone = args[:zone] if args.key?(:zone)
53114
53441
  end
53115
53442
  end
@@ -54935,6 +55262,113 @@ module Google
54935
55262
  end
54936
55263
  end
54937
55264
 
55265
+ # Detailed insights and metrics about a detected reliability risk.
55266
+ class RiskDetails
55267
+ include Google::Apis::Core::Hashable
55268
+
55269
+ # The duration of the risk since it was detected.
55270
+ # Corresponds to the JSON property `duration`
55271
+ # @return [String]
55272
+ attr_accessor :duration
55273
+
55274
+ # Detailed insights for a global DNS reliability risk.
55275
+ # Corresponds to the JSON property `globalDnsInsight`
55276
+ # @return [Google::Apis::ComputeBeta::RiskDetailsGlobalDnsInsight]
55277
+ attr_accessor :global_dns_insight
55278
+
55279
+ # The last time the risk was updated.
55280
+ # Corresponds to the JSON property `lastUpdateTimestamp`
55281
+ # @return [String]
55282
+ attr_accessor :last_update_timestamp
55283
+
55284
+ # The severity of the risk.
55285
+ # Corresponds to the JSON property `severity`
55286
+ # @return [String]
55287
+ attr_accessor :severity
55288
+
55289
+ # The type of risk.
55290
+ # Corresponds to the JSON property `type`
55291
+ # @return [String]
55292
+ attr_accessor :type
55293
+
55294
+ def initialize(**args)
55295
+ update!(**args)
55296
+ end
55297
+
55298
+ # Update properties of this object
55299
+ def update!(**args)
55300
+ @duration = args[:duration] if args.key?(:duration)
55301
+ @global_dns_insight = args[:global_dns_insight] if args.key?(:global_dns_insight)
55302
+ @last_update_timestamp = args[:last_update_timestamp] if args.key?(:last_update_timestamp)
55303
+ @severity = args[:severity] if args.key?(:severity)
55304
+ @type = args[:type] if args.key?(:type)
55305
+ end
55306
+ end
55307
+
55308
+ # Detailed insights for a global DNS reliability risk.
55309
+ class RiskDetailsGlobalDnsInsight
55310
+ include Google::Apis::Core::Hashable
55311
+
55312
+ # Indicates whether the project's default DNS setting is global DNS.
55313
+ # Corresponds to the JSON property `projectDefaultIsGlobalDns`
55314
+ # @return [Boolean]
55315
+ attr_accessor :project_default_is_global_dns
55316
+ alias_method :project_default_is_global_dns?, :project_default_is_global_dns
55317
+
55318
+ # The observation window for the query counts.
55319
+ # Corresponds to the JSON property `queryObservationWindow`
55320
+ # @return [String]
55321
+ attr_accessor :query_observation_window
55322
+
55323
+ # The number of queries that are risky. This is always less than or
55324
+ # equal to total_query_count.
55325
+ # Corresponds to the JSON property `riskyQueryCount`
55326
+ # @return [Fixnum]
55327
+ attr_accessor :risky_query_count
55328
+
55329
+ # The total number of queries in the observation window.
55330
+ # Corresponds to the JSON property `totalQueryCount`
55331
+ # @return [Fixnum]
55332
+ attr_accessor :total_query_count
55333
+
55334
+ def initialize(**args)
55335
+ update!(**args)
55336
+ end
55337
+
55338
+ # Update properties of this object
55339
+ def update!(**args)
55340
+ @project_default_is_global_dns = args[:project_default_is_global_dns] if args.key?(:project_default_is_global_dns)
55341
+ @query_observation_window = args[:query_observation_window] if args.key?(:query_observation_window)
55342
+ @risky_query_count = args[:risky_query_count] if args.key?(:risky_query_count)
55343
+ @total_query_count = args[:total_query_count] if args.key?(:total_query_count)
55344
+ end
55345
+ end
55346
+
55347
+ # Recommendation for mitigating a reliability risk, including a reference URL.
55348
+ class RiskRecommendation
55349
+ include Google::Apis::Core::Hashable
55350
+
55351
+ # Mitigation guide for the risk.
55352
+ # Corresponds to the JSON property `content`
55353
+ # @return [String]
55354
+ attr_accessor :content
55355
+
55356
+ # URL referencing a more detailed mitigation guide.
55357
+ # Corresponds to the JSON property `referenceUrl`
55358
+ # @return [String]
55359
+ attr_accessor :reference_url
55360
+
55361
+ def initialize(**args)
55362
+ update!(**args)
55363
+ end
55364
+
55365
+ # Update properties of this object
55366
+ def update!(**args)
55367
+ @content = args[:content] if args.key?(:content)
55368
+ @reference_url = args[:reference_url] if args.key?(:reference_url)
55369
+ end
55370
+ end
55371
+
54938
55372
  # Rollout resource.
54939
55373
  # A Rollout is a specific instance of a RolloutPlan. It represents a single
54940
55374
  # execution of a strategy to roll out a specific resource. It also provides
@@ -65040,8 +65474,7 @@ module Google
65040
65474
  class SslPolicyReference
65041
65475
  include Google::Apis::Core::Hashable
65042
65476
 
65043
- # URL of the SSL policy resource. Set this to empty string to clear any
65044
- # existing SSL policy associated with the target proxy resource.
65477
+ #
65045
65478
  # Corresponds to the JSON property `sslPolicy`
65046
65479
  # @return [String]
65047
65480
  attr_accessor :ssl_policy
@@ -66770,6 +67203,14 @@ module Google
66770
67203
  # @return [String]
66771
67204
  attr_accessor :ipv6_gce_endpoint
66772
67205
 
67206
+ # Specifies the network tier for EXTERNAL IPv6. Can only be set when
67207
+ # ipv6_access_type is EXTERNAL. Defaults to project defaultNetworkTier if not
67208
+ # specified during the creation of the subnetwork. This field is IMMUTABLE
67209
+ # once set with EXTERNAL IPv6.
67210
+ # Corresponds to the JSON property `ipv6NetworkTier`
67211
+ # @return [String]
67212
+ attr_accessor :ipv6_network_tier
67213
+
66773
67214
  # Output only. [Output Only] Type of the resource. Always compute#subnetwork
66774
67215
  # for Subnetwork resources.
66775
67216
  # Corresponds to the JSON property `kind`
@@ -66924,6 +67365,7 @@ module Google
66924
67365
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
66925
67366
  @ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
66926
67367
  @ipv6_gce_endpoint = args[:ipv6_gce_endpoint] if args.key?(:ipv6_gce_endpoint)
67368
+ @ipv6_network_tier = args[:ipv6_network_tier] if args.key?(:ipv6_network_tier)
66927
67369
  @kind = args[:kind] if args.key?(:kind)
66928
67370
  @log_config = args[:log_config] if args.key?(:log_config)
66929
67371
  @name = args[:name] if args.key?(:name)
@@ -72798,6 +73240,11 @@ module Google
72798
73240
  # @return [String]
72799
73241
  attr_accessor :path_template_rewrite
72800
73242
 
73243
+ # The spec for modifying the path using a regular expression.
73244
+ # Corresponds to the JSON property `regexRewrite`
73245
+ # @return [Google::Apis::ComputeBeta::RegexRewrite]
73246
+ attr_accessor :regex_rewrite
73247
+
72801
73248
  def initialize(**args)
72802
73249
  update!(**args)
72803
73250
  end
@@ -72807,6 +73254,7 @@ module Google
72807
73254
  @host_rewrite = args[:host_rewrite] if args.key?(:host_rewrite)
72808
73255
  @path_prefix_rewrite = args[:path_prefix_rewrite] if args.key?(:path_prefix_rewrite)
72809
73256
  @path_template_rewrite = args[:path_template_rewrite] if args.key?(:path_template_rewrite)
73257
+ @regex_rewrite = args[:regex_rewrite] if args.key?(:regex_rewrite)
72810
73258
  end
72811
73259
  end
72812
73260
 
@@ -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.141.0"
19
+ GEM_VERSION = "0.142.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260612"
25
+ REVISION = "20260629"
26
26
  end
27
27
  end
28
28
  end
@@ -5800,6 +5800,12 @@ module Google
5800
5800
  include Google::Apis::Core::JsonObjectSupport
5801
5801
  end
5802
5802
 
5803
+ class PersistentDiskResourceCommitment
5804
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5805
+
5806
+ include Google::Apis::Core::JsonObjectSupport
5807
+ end
5808
+
5803
5809
  class Policy
5804
5810
  class Representation < Google::Apis::Core::JsonRepresentation; end
5805
5811
 
@@ -6052,6 +6058,12 @@ module Google
6052
6058
  include Google::Apis::Core::JsonObjectSupport
6053
6059
  end
6054
6060
 
6061
+ class RegexRewrite
6062
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6063
+
6064
+ include Google::Apis::Core::JsonObjectSupport
6065
+ end
6066
+
6055
6067
  class Region
6056
6068
  class Representation < Google::Apis::Core::JsonRepresentation; end
6057
6069
 
@@ -6436,6 +6448,30 @@ module Google
6436
6448
  include Google::Apis::Core::JsonObjectSupport
6437
6449
  end
6438
6450
 
6451
+ class ReliabilityRisk
6452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6453
+
6454
+ include Google::Apis::Core::JsonObjectSupport
6455
+ end
6456
+
6457
+ class ReliabilityRisksListResponse
6458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6459
+
6460
+ class Warning
6461
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6462
+
6463
+ class Datum
6464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6465
+
6466
+ include Google::Apis::Core::JsonObjectSupport
6467
+ end
6468
+
6469
+ include Google::Apis::Core::JsonObjectSupport
6470
+ end
6471
+
6472
+ include Google::Apis::Core::JsonObjectSupport
6473
+ end
6474
+
6439
6475
  class RequestMirrorPolicy
6440
6476
  class Representation < Google::Apis::Core::JsonRepresentation; end
6441
6477
 
@@ -6904,6 +6940,24 @@ module Google
6904
6940
  include Google::Apis::Core::JsonObjectSupport
6905
6941
  end
6906
6942
 
6943
+ class RiskDetails
6944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6945
+
6946
+ include Google::Apis::Core::JsonObjectSupport
6947
+ end
6948
+
6949
+ class RiskDetailsGlobalDnsInsight
6950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6951
+
6952
+ include Google::Apis::Core::JsonObjectSupport
6953
+ end
6954
+
6955
+ class RiskRecommendation
6956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6957
+
6958
+ include Google::Apis::Core::JsonObjectSupport
6959
+ end
6960
+
6907
6961
  class Rollout
6908
6962
  class Representation < Google::Apis::Core::JsonRepresentation; end
6909
6963
 
@@ -11493,6 +11547,8 @@ module Google
11493
11547
  property :name, as: 'name'
11494
11548
  property :params, as: 'params', class: Google::Apis::ComputeBeta::CommitmentParams, decorator: Google::Apis::ComputeBeta::CommitmentParams::Representation
11495
11549
 
11550
+ collection :persistent_disk_resources, as: 'persistentDiskResources', class: Google::Apis::ComputeBeta::PersistentDiskResourceCommitment, decorator: Google::Apis::ComputeBeta::PersistentDiskResourceCommitment::Representation
11551
+
11496
11552
  property :plan, as: 'plan'
11497
11553
  property :region, as: 'region'
11498
11554
  collection :reservations, as: 'reservations', class: Google::Apis::ComputeBeta::Reservation, decorator: Google::Apis::ComputeBeta::Reservation::Representation
@@ -14663,6 +14719,7 @@ module Google
14663
14719
  property :last_start_timestamp, as: 'lastStartTimestamp'
14664
14720
  property :last_stop_timestamp, as: 'lastStopTimestamp'
14665
14721
  property :last_suspended_timestamp, as: 'lastSuspendedTimestamp'
14722
+ property :local_ssd_encryption_mode, as: 'localSsdEncryptionMode'
14666
14723
  property :machine_type, as: 'machineType'
14667
14724
  property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
14668
14725
 
@@ -15945,6 +16002,7 @@ module Google
15945
16002
 
15946
16003
  property :key_revocation_action_type, as: 'keyRevocationActionType'
15947
16004
  hash :labels, as: 'labels'
16005
+ property :local_ssd_encryption_mode, as: 'localSsdEncryptionMode'
15948
16006
  property :machine_type, as: 'machineType'
15949
16007
  property :metadata, as: 'metadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
15950
16008
 
@@ -20496,6 +20554,15 @@ module Google
20496
20554
  end
20497
20555
  end
20498
20556
 
20557
+ class PersistentDiskResourceCommitment
20558
+ # @private
20559
+ class Representation < Google::Apis::Core::JsonRepresentation
20560
+ property :amount, :numeric_string => true, as: 'amount'
20561
+ property :dimension_type, as: 'dimensionType'
20562
+ property :product_type, as: 'productType'
20563
+ end
20564
+ end
20565
+
20499
20566
  class Policy
20500
20567
  # @private
20501
20568
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20961,6 +21028,14 @@ module Google
20961
21028
  end
20962
21029
  end
20963
21030
 
21031
+ class RegexRewrite
21032
+ # @private
21033
+ class Representation < Google::Apis::Core::JsonRepresentation
21034
+ property :path_pattern, as: 'pathPattern'
21035
+ property :path_substitution, as: 'pathSubstitution'
21036
+ end
21037
+ end
21038
+
20964
21039
  class Region
20965
21040
  # @private
20966
21041
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21555,6 +21630,56 @@ module Google
21555
21630
  end
21556
21631
  end
21557
21632
 
21633
+ class ReliabilityRisk
21634
+ # @private
21635
+ class Representation < Google::Apis::Core::JsonRepresentation
21636
+ property :creation_timestamp, as: 'creationTimestamp'
21637
+ property :description, as: 'description'
21638
+ property :details, as: 'details', class: Google::Apis::ComputeBeta::RiskDetails, decorator: Google::Apis::ComputeBeta::RiskDetails::Representation
21639
+
21640
+ property :id, :numeric_string => true, as: 'id'
21641
+ property :kind, as: 'kind'
21642
+ property :name, as: 'name'
21643
+ property :recommendation, as: 'recommendation', class: Google::Apis::ComputeBeta::RiskRecommendation, decorator: Google::Apis::ComputeBeta::RiskRecommendation::Representation
21644
+
21645
+ property :self_link, as: 'selfLink'
21646
+ property :self_link_with_id, as: 'selfLinkWithId'
21647
+ end
21648
+ end
21649
+
21650
+ class ReliabilityRisksListResponse
21651
+ # @private
21652
+ class Representation < Google::Apis::Core::JsonRepresentation
21653
+ property :etag, as: 'etag'
21654
+ property :id, as: 'id'
21655
+ collection :items, as: 'items', class: Google::Apis::ComputeBeta::ReliabilityRisk, decorator: Google::Apis::ComputeBeta::ReliabilityRisk::Representation
21656
+
21657
+ property :next_page_token, as: 'nextPageToken'
21658
+ property :self_link, as: 'selfLink'
21659
+ collection :unreachables, as: 'unreachables'
21660
+ property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning, decorator: Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning::Representation
21661
+
21662
+ end
21663
+
21664
+ class Warning
21665
+ # @private
21666
+ class Representation < Google::Apis::Core::JsonRepresentation
21667
+ property :code, as: 'code'
21668
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning::Datum, decorator: Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning::Datum::Representation
21669
+
21670
+ property :message, as: 'message'
21671
+ end
21672
+
21673
+ class Datum
21674
+ # @private
21675
+ class Representation < Google::Apis::Core::JsonRepresentation
21676
+ property :key, as: 'key'
21677
+ property :value, as: 'value'
21678
+ end
21679
+ end
21680
+ end
21681
+ end
21682
+
21558
21683
  class RequestMirrorPolicy
21559
21684
  # @private
21560
21685
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21658,10 +21783,10 @@ module Google
21658
21783
  class ReservationBlock
21659
21784
  # @private
21660
21785
  class Representation < Google::Apis::Core::JsonRepresentation
21661
- property :block_health_info, as: 'blockHealthInfo', class: Google::Apis::ComputeBeta::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationBlockHealthInfo::Representation
21662
-
21663
21786
  property :count, as: 'count'
21664
21787
  property :creation_timestamp, as: 'creationTimestamp'
21788
+ property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationBlockHealthInfo::Representation
21789
+
21665
21790
  property :id, :numeric_string => true, as: 'id'
21666
21791
  property :in_use_count, as: 'inUseCount'
21667
21792
  property :in_use_host_count, as: 'inUseHostCount'
@@ -21890,6 +22015,8 @@ module Google
21890
22015
 
21891
22016
  property :count, as: 'count'
21892
22017
  property :creation_timestamp, as: 'creationTimestamp'
22018
+ property :health_info, as: 'healthInfo', class: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo::Representation
22019
+
21893
22020
  property :id, :numeric_string => true, as: 'id'
21894
22021
  property :in_use_count, as: 'inUseCount'
21895
22022
  property :in_use_host_count, as: 'inUseHostCount'
@@ -21902,8 +22029,6 @@ module Google
21902
22029
  property :self_link, as: 'selfLink'
21903
22030
  property :self_link_with_id, as: 'selfLinkWithId'
21904
22031
  property :status, as: 'status'
21905
- property :sub_block_health_info, as: 'subBlockHealthInfo', class: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo, decorator: Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo::Representation
21906
-
21907
22032
  property :zone, as: 'zone'
21908
22033
  end
21909
22034
  end
@@ -22404,6 +22529,36 @@ module Google
22404
22529
  end
22405
22530
  end
22406
22531
 
22532
+ class RiskDetails
22533
+ # @private
22534
+ class Representation < Google::Apis::Core::JsonRepresentation
22535
+ property :duration, as: 'duration'
22536
+ property :global_dns_insight, as: 'globalDnsInsight', class: Google::Apis::ComputeBeta::RiskDetailsGlobalDnsInsight, decorator: Google::Apis::ComputeBeta::RiskDetailsGlobalDnsInsight::Representation
22537
+
22538
+ property :last_update_timestamp, as: 'lastUpdateTimestamp'
22539
+ property :severity, as: 'severity'
22540
+ property :type, as: 'type'
22541
+ end
22542
+ end
22543
+
22544
+ class RiskDetailsGlobalDnsInsight
22545
+ # @private
22546
+ class Representation < Google::Apis::Core::JsonRepresentation
22547
+ property :project_default_is_global_dns, as: 'projectDefaultIsGlobalDns'
22548
+ property :query_observation_window, as: 'queryObservationWindow'
22549
+ property :risky_query_count, :numeric_string => true, as: 'riskyQueryCount'
22550
+ property :total_query_count, :numeric_string => true, as: 'totalQueryCount'
22551
+ end
22552
+ end
22553
+
22554
+ class RiskRecommendation
22555
+ # @private
22556
+ class Representation < Google::Apis::Core::JsonRepresentation
22557
+ property :content, as: 'content'
22558
+ property :reference_url, as: 'referenceUrl'
22559
+ end
22560
+ end
22561
+
22407
22562
  class Rollout
22408
22563
  # @private
22409
22564
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25137,6 +25292,7 @@ module Google
25137
25292
  property :ipv6_access_type, as: 'ipv6AccessType'
25138
25293
  property :ipv6_cidr_range, as: 'ipv6CidrRange'
25139
25294
  property :ipv6_gce_endpoint, as: 'ipv6GceEndpoint'
25295
+ property :ipv6_network_tier, as: 'ipv6NetworkTier'
25140
25296
  property :kind, as: 'kind'
25141
25297
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::SubnetworkLogConfig, decorator: Google::Apis::ComputeBeta::SubnetworkLogConfig::Representation
25142
25298
 
@@ -26545,6 +26701,8 @@ module Google
26545
26701
  property :host_rewrite, as: 'hostRewrite'
26546
26702
  property :path_prefix_rewrite, as: 'pathPrefixRewrite'
26547
26703
  property :path_template_rewrite, as: 'pathTemplateRewrite'
26704
+ property :regex_rewrite, as: 'regexRewrite', class: Google::Apis::ComputeBeta::RegexRewrite, decorator: Google::Apis::ComputeBeta::RegexRewrite::Representation
26705
+
26548
26706
  end
26549
26707
  end
26550
26708
 
@@ -3044,7 +3044,10 @@ module Google
3044
3044
  execute_or_queue_command(command, &block)
3045
3045
  end
3046
3046
 
3047
- # Retrieves a list of all usable backend services in the specified project.
3047
+ # Retrieves a list of all usable backend services for Application Load
3048
+ # Balancers and Proxy Network Load Balancers in the specified project.
3049
+ # Backend services for external and internal passthrough Network Load
3050
+ # Balancers are not included in the response.
3048
3051
  # @param [String] project
3049
3052
  # Project ID for this request.
3050
3053
  # @param [String] filter
@@ -35826,8 +35829,10 @@ module Google
35826
35829
  execute_or_queue_command(command, &block)
35827
35830
  end
35828
35831
 
35829
- # Retrieves a list of all usable backend services in the specified project in
35830
- # the given region.
35832
+ # Retrieves a list of all usable backend services for Application Load
35833
+ # Balancers and Proxy Network Load Balancers in the specified project in the
35834
+ # given region. Backend services for external and internal passthrough
35835
+ # Network Load Balancers are not included in the response.
35831
35836
  # @param [String] project
35832
35837
  # Project ID for this request.
35833
35838
  # @param [String] region
@@ -51571,6 +51576,156 @@ module Google
51571
51576
  execute_or_queue_command(command, &block)
51572
51577
  end
51573
51578
 
51579
+ # Returns the specified ReliabilityRisk resource.
51580
+ # @param [String] project
51581
+ # Project ID for this request.
51582
+ # @param [String] reliability_risk
51583
+ # Name of the ReliabilityRisk resource to return.
51584
+ # @param [String] fields
51585
+ # Selector specifying which fields to include in a partial response.
51586
+ # @param [String] quota_user
51587
+ # Available to use for quota purposes for server-side applications. Can be any
51588
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
51589
+ # @param [String] user_ip
51590
+ # Legacy name for parameter that has been superseded by `quotaUser`.
51591
+ # @param [Google::Apis::RequestOptions] options
51592
+ # Request-specific options
51593
+ #
51594
+ # @yield [result, err] Result & error if block supplied
51595
+ # @yieldparam result [Google::Apis::ComputeBeta::ReliabilityRisk] parsed result object
51596
+ # @yieldparam err [StandardError] error object if request failed
51597
+ #
51598
+ # @return [Google::Apis::ComputeBeta::ReliabilityRisk]
51599
+ #
51600
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
51601
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
51602
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
51603
+ def get_reliability_risk(project, reliability_risk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
51604
+ command = make_simple_command(:get, 'projects/{project}/global/reliabilityRisks/{reliabilityRisk}', options)
51605
+ command.response_representation = Google::Apis::ComputeBeta::ReliabilityRisk::Representation
51606
+ command.response_class = Google::Apis::ComputeBeta::ReliabilityRisk
51607
+ command.params['project'] = project unless project.nil?
51608
+ command.params['reliabilityRisk'] = reliability_risk unless reliability_risk.nil?
51609
+ command.query['fields'] = fields unless fields.nil?
51610
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
51611
+ command.query['userIp'] = user_ip unless user_ip.nil?
51612
+ execute_or_queue_command(command, &block)
51613
+ end
51614
+
51615
+ # Retrieves the list of reliabilityRisks available in the specified project.
51616
+ # @param [String] project
51617
+ # Project ID for this request.
51618
+ # @param [String] filter
51619
+ # A filter expression that filters resources listed in the response. Most
51620
+ # Compute resources support two types of filter expressions:
51621
+ # expressions that support regular expressions and expressions that follow
51622
+ # API improvement proposal AIP-160.
51623
+ # These two types of filter expressions cannot be mixed in one request.
51624
+ # If you want to use AIP-160, your expression must specify the field name, an
51625
+ # operator, and the value that you want to use for filtering. The value
51626
+ # must be a string, a number, or a boolean. The operator
51627
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
51628
+ # For example, if you are filtering Compute Engine instances, you can
51629
+ # exclude instances named `example-instance` by specifying
51630
+ # `name != example-instance`.
51631
+ # The `:*` comparison can be used to test whether a key has been defined.
51632
+ # For example, to find all objects with `owner` label use:
51633
+ # ```
51634
+ # labels.owner:*
51635
+ # ```
51636
+ # You can also filter nested fields. For example, you could specify
51637
+ # `scheduling.automaticRestart = false` to include instances only
51638
+ # if they are not scheduled for automatic restarts. You can use filtering
51639
+ # on nested fields to filter based onresource labels.
51640
+ # To filter on multiple expressions, provide each separate expression within
51641
+ # parentheses. For example:
51642
+ # ```
51643
+ # (scheduling.automaticRestart = true)
51644
+ # (cpuPlatform = "Intel Skylake")
51645
+ # ```
51646
+ # By default, each expression is an `AND` expression. However, you
51647
+ # can include `AND` and `OR` expressions explicitly.
51648
+ # For example:
51649
+ # ```
51650
+ # (cpuPlatform = "Intel Skylake") OR
51651
+ # (cpuPlatform = "Intel Broadwell") AND
51652
+ # (scheduling.automaticRestart = true)
51653
+ # ```
51654
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
51655
+ # (not equal) operator against a single un-parenthesized expression with or
51656
+ # without quotes or against multiple parenthesized expressions. Examples:
51657
+ # `fieldname eq unquoted literal`
51658
+ # `fieldname eq 'single quoted literal'`
51659
+ # `fieldname eq "double quoted literal"`
51660
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
51661
+ # The literal value is interpreted as a regular expression using GoogleRE2
51662
+ # library syntax.
51663
+ # The literal value must match the entire field.
51664
+ # For example, to filter for instances that do not end with name "instance",
51665
+ # you would use `name ne .*instance`.
51666
+ # You cannot combine constraints on multiple fields using regular
51667
+ # expressions.
51668
+ # @param [Fixnum] max_results
51669
+ # The maximum number of results per page that should be returned.
51670
+ # If the number of available results is larger than `maxResults`,
51671
+ # Compute Engine returns a `nextPageToken` that can be used to get
51672
+ # the next page of results in subsequent list requests. Acceptable values are
51673
+ # `0` to `500`, inclusive. (Default: `500`)
51674
+ # @param [String] order_by
51675
+ # Sorts list results by a certain order. By default, results
51676
+ # are returned in alphanumerical order based on the resource name.
51677
+ # You can also sort results in descending order based on the creation
51678
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
51679
+ # results based on the `creationTimestamp` field in
51680
+ # reverse chronological order (newest result first). Use this to sort
51681
+ # resources like operations so that the newest operation is returned first.
51682
+ # Currently, only sorting by `name` or
51683
+ # `creationTimestamp desc` is supported.
51684
+ # @param [String] page_token
51685
+ # Specifies a page token to use. Set `pageToken` to the
51686
+ # `nextPageToken` returned by a previous list request to get
51687
+ # the next page of results.
51688
+ # @param [Boolean] return_partial_success
51689
+ # Opt-in for partial success behavior which provides partial results in case
51690
+ # of failure. The default value is false.
51691
+ # For example, when partial success behavior is enabled, aggregatedList for a
51692
+ # single zone scope either returns all resources in the zone or no resources,
51693
+ # with an error code.
51694
+ # @param [String] fields
51695
+ # Selector specifying which fields to include in a partial response.
51696
+ # @param [String] quota_user
51697
+ # Available to use for quota purposes for server-side applications. Can be any
51698
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
51699
+ # @param [String] user_ip
51700
+ # Legacy name for parameter that has been superseded by `quotaUser`.
51701
+ # @param [Google::Apis::RequestOptions] options
51702
+ # Request-specific options
51703
+ #
51704
+ # @yield [result, err] Result & error if block supplied
51705
+ # @yieldparam result [Google::Apis::ComputeBeta::ReliabilityRisksListResponse] parsed result object
51706
+ # @yieldparam err [StandardError] error object if request failed
51707
+ #
51708
+ # @return [Google::Apis::ComputeBeta::ReliabilityRisksListResponse]
51709
+ #
51710
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
51711
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
51712
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
51713
+ def list_reliability_risks(project, 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)
51714
+ command = make_simple_command(:get, 'projects/{project}/global/reliabilityRisks', options)
51715
+ command.response_representation = Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Representation
51716
+ command.response_class = Google::Apis::ComputeBeta::ReliabilityRisksListResponse
51717
+ command.params['project'] = project unless project.nil?
51718
+ command.query['filter'] = filter unless filter.nil?
51719
+ command.query['maxResults'] = max_results unless max_results.nil?
51720
+ command.query['orderBy'] = order_by unless order_by.nil?
51721
+ command.query['pageToken'] = page_token unless page_token.nil?
51722
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
51723
+ command.query['fields'] = fields unless fields.nil?
51724
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
51725
+ command.query['userIp'] = user_ip unless user_ip.nil?
51726
+ execute_or_queue_command(command, &block)
51727
+ end
51728
+
51574
51729
  # Retrieves information about the specified reservation block.
51575
51730
  # @param [String] project
51576
51731
  # Project ID for this request.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.141.0
4
+ version: 0.142.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.141.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.142.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
62
62
  rdoc_options: []
63
63
  require_paths: