google-apis-compute_beta 0.141.0 → 0.143.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.
@@ -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)
@@ -25263,7 +25296,8 @@ module Google
25263
25296
  @errors = args[:errors] if args.key?(:errors)
25264
25297
  end
25265
25298
 
25266
- #
25299
+ # Represents a single error encountered during the processing of an
25300
+ # operation.
25267
25301
  class Error
25268
25302
  include Google::Apis::Core::Hashable
25269
25303
 
@@ -25304,7 +25338,8 @@ module Google
25304
25338
  @message = args[:message] if args.key?(:message)
25305
25339
  end
25306
25340
 
25307
- #
25341
+ # Container for structured error details providing additional context
25342
+ # specific to the encountered error code.
25308
25343
  class ErrorDetail
25309
25344
  include Google::Apis::Core::Hashable
25310
25345
 
@@ -25403,7 +25438,8 @@ module Google
25403
25438
  @errors = args[:errors] if args.key?(:errors)
25404
25439
  end
25405
25440
 
25406
- #
25441
+ # Represents a single error encountered during the processing of an
25442
+ # operation.
25407
25443
  class Error
25408
25444
  include Google::Apis::Core::Hashable
25409
25445
 
@@ -25444,7 +25480,8 @@ module Google
25444
25480
  @message = args[:message] if args.key?(:message)
25445
25481
  end
25446
25482
 
25447
- #
25483
+ # Container for structured error details providing additional context
25484
+ # specific to the encountered error code.
25448
25485
  class ErrorDetail
25449
25486
  include Google::Apis::Core::Hashable
25450
25487
 
@@ -25843,7 +25880,8 @@ module Google
25843
25880
  @errors = args[:errors] if args.key?(:errors)
25844
25881
  end
25845
25882
 
25846
- #
25883
+ # Represents a single error encountered during the processing of an
25884
+ # operation.
25847
25885
  class Error
25848
25886
  include Google::Apis::Core::Hashable
25849
25887
 
@@ -25884,7 +25922,8 @@ module Google
25884
25922
  @message = args[:message] if args.key?(:message)
25885
25923
  end
25886
25924
 
25887
- #
25925
+ # Container for structured error details providing additional context
25926
+ # specific to the encountered error code.
25888
25927
  class ErrorDetail
25889
25928
  include Google::Apis::Core::Hashable
25890
25929
 
@@ -26046,7 +26085,8 @@ module Google
26046
26085
  @errors = args[:errors] if args.key?(:errors)
26047
26086
  end
26048
26087
 
26049
- #
26088
+ # Represents a single error encountered during the processing of an
26089
+ # operation.
26050
26090
  class Error
26051
26091
  include Google::Apis::Core::Hashable
26052
26092
 
@@ -26087,7 +26127,8 @@ module Google
26087
26127
  @message = args[:message] if args.key?(:message)
26088
26128
  end
26089
26129
 
26090
- #
26130
+ # Container for structured error details providing additional context
26131
+ # specific to the encountered error code.
26091
26132
  class ErrorDetail
26092
26133
  include Google::Apis::Core::Hashable
26093
26134
 
@@ -26534,7 +26575,7 @@ module Google
26534
26575
  class InstanceGroupManagersApplyUpdatesRequest
26535
26576
  include Google::Apis::Core::Hashable
26536
26577
 
26537
- # Flag to update all instances instead of specified list of instances”.
26578
+ # Flag to update all instances instead of specified list of "instances".
26538
26579
  # If the flag is set to true then the instances may not be specified
26539
26580
  # in the request.
26540
26581
  # Corresponds to the JSON property `allInstances`
@@ -26866,7 +26907,8 @@ module Google
26866
26907
  @errors = args[:errors] if args.key?(:errors)
26867
26908
  end
26868
26909
 
26869
- #
26910
+ # Represents a single error encountered during the processing of an
26911
+ # operation.
26870
26912
  class Error
26871
26913
  include Google::Apis::Core::Hashable
26872
26914
 
@@ -26907,7 +26949,8 @@ module Google
26907
26949
  @message = args[:message] if args.key?(:message)
26908
26950
  end
26909
26951
 
26910
- #
26952
+ # Container for structured error details providing additional context
26953
+ # specific to the encountered error code.
26911
26954
  class ErrorDetail
26912
26955
  include Google::Apis::Core::Hashable
26913
26956
 
@@ -26973,15 +27016,15 @@ module Google
26973
27016
  class InstanceGroupManagersListErrorsResponse
26974
27017
  include Google::Apis::Core::Hashable
26975
27018
 
26976
- # Output only. [Output Only] The list of errors of the managed instance group.
27019
+ # Output only. The list of errors of the managed instance group.
26977
27020
  # Corresponds to the JSON property `items`
26978
27021
  # @return [Array<Google::Apis::ComputeBeta::InstanceManagedByIgmError>]
26979
27022
  attr_accessor :items
26980
27023
 
26981
- # Output only. [Output Only] This token allows you to get the next page of
26982
- # results for
26983
- # list requests. If the number of results is larger thanmaxResults, use the
26984
- # nextPageToken as a value for
27024
+ # Output only. This token allows you to get the next page of results for list
27025
+ # requests.
27026
+ # If the number of results is larger than maxResults
27027
+ # , then use the nextPageToken as a value for
26985
27028
  # the query parameter pageToken in the next list request.
26986
27029
  # Subsequent list requests will have their own nextPageToken to
26987
27030
  # continue paging through the results.
@@ -28316,6 +28359,12 @@ module Google
28316
28359
  # @return [Hash<String,String>]
28317
28360
  attr_accessor :labels
28318
28361
 
28362
+ # Specifies which method should be used for encrypting the
28363
+ # Local SSDs attached to the VM.
28364
+ # Corresponds to the JSON property `localSsdEncryptionMode`
28365
+ # @return [String]
28366
+ attr_accessor :local_ssd_encryption_mode
28367
+
28319
28368
  # The machine type to use for instances that are created from these
28320
28369
  # properties.
28321
28370
  # This field only accepts a machine type name, for example `n2-standard-4`.
@@ -28441,6 +28490,7 @@ module Google
28441
28490
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
28442
28491
  @key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
28443
28492
  @labels = args[:labels] if args.key?(:labels)
28493
+ @local_ssd_encryption_mode = args[:local_ssd_encryption_mode] if args.key?(:local_ssd_encryption_mode)
28444
28494
  @machine_type = args[:machine_type] if args.key?(:machine_type)
28445
28495
  @metadata = args[:metadata] if args.key?(:metadata)
28446
28496
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@@ -37001,15 +37051,13 @@ module Google
37001
37051
  # @return [Google::Apis::ComputeBeta::ManagedInstancePropertiesFromFlexibilityPolicy]
37002
37052
  attr_accessor :properties_from_flexibility_policy
37003
37053
 
37004
- # Output only. [Output Only] Information about the termination timestamp of the
37005
- # instance,
37006
- # if applicable.
37054
+ # Output only. Information about the termination timestamp of the instance, if
37055
+ # applicable.
37007
37056
  # Corresponds to the JSON property `scheduling`
37008
37057
  # @return [Google::Apis::ComputeBeta::ManagedInstanceScheduling]
37009
37058
  attr_accessor :scheduling
37010
37059
 
37011
- # Output only. [Output Only] Specifies the graceful shutdown details if the
37012
- # instance is in
37060
+ # Output only. Specifies the graceful shutdown details if the instance is in
37013
37061
  # `PENDING_STOP` state or there is a programmed stop scheduled.
37014
37062
  # Corresponds to the JSON property `shutdownDetails`
37015
37063
  # @return [Google::Apis::ComputeBeta::ManagedInstanceShutdownDetails]
@@ -37140,7 +37188,8 @@ module Google
37140
37188
  @errors = args[:errors] if args.key?(:errors)
37141
37189
  end
37142
37190
 
37143
- #
37191
+ # Represents a single error encountered during the processing of an
37192
+ # operation.
37144
37193
  class Error
37145
37194
  include Google::Apis::Core::Hashable
37146
37195
 
@@ -37181,7 +37230,8 @@ module Google
37181
37230
  @message = args[:message] if args.key?(:message)
37182
37231
  end
37183
37232
 
37184
- #
37233
+ # Container for structured error details providing additional context
37234
+ # specific to the encountered error code.
37185
37235
  class ErrorDetail
37186
37236
  include Google::Apis::Core::Hashable
37187
37237
 
@@ -37285,16 +37335,17 @@ module Google
37285
37335
  class ManagedInstanceScheduling
37286
37336
  include Google::Apis::Core::Hashable
37287
37337
 
37288
- # Output only. [Output Only] The timestamp at which the underlying instance will
37289
- # be
37338
+ # Output only. The timestamp at which the underlying instance will be
37290
37339
  # triggered for graceful shutdown if it is configured. This is in RFC3339 text
37291
37340
  # format.
37292
37341
  # Corresponds to the JSON property `gracefulShutdownTimestamp`
37293
37342
  # @return [String]
37294
37343
  attr_accessor :graceful_shutdown_timestamp
37295
37344
 
37296
- # Output only. [Output Only] The timestamp at which the managed instance will be
37297
- # terminated. This is in RFC3339 text format.
37345
+ # Output only. The timestamp at which the managed instance will be terminated.
37346
+ # This is
37347
+ # in RFC3339 text
37348
+ # format.
37298
37349
  # Corresponds to the JSON property `terminationTimestamp`
37299
37350
  # @return [String]
37300
37351
  attr_accessor :termination_timestamp
@@ -37322,9 +37373,10 @@ module Google
37322
37373
  # @return [Google::Apis::ComputeBeta::Duration]
37323
37374
  attr_accessor :max_duration
37324
37375
 
37325
- # Output only. [Output Only] Past timestamp indicating the beginning of `
37326
- # PENDING_STOP`
37327
- # state of instance in RFC3339 text format.
37376
+ # Output only. Past timestamp indicating the beginning of `PENDING_STOP` state
37377
+ # of
37378
+ # instance in RFC3339
37379
+ # text format.
37328
37380
  # Corresponds to the JSON property `requestTimestamp`
37329
37381
  # @return [String]
37330
37382
  attr_accessor :request_timestamp
@@ -37976,7 +38028,8 @@ module Google
37976
38028
  @errors = args[:errors] if args.key?(:errors)
37977
38029
  end
37978
38030
 
37979
- #
38031
+ # Represents a single error encountered during the processing of an
38032
+ # operation.
37980
38033
  class Error
37981
38034
  include Google::Apis::Core::Hashable
37982
38035
 
@@ -38017,7 +38070,8 @@ module Google
38017
38070
  @message = args[:message] if args.key?(:message)
38018
38071
  end
38019
38072
 
38020
- #
38073
+ # Container for structured error details providing additional context
38074
+ # specific to the encountered error code.
38021
38075
  class ErrorDetail
38022
38076
  include Google::Apis::Core::Hashable
38023
38077
 
@@ -38612,14 +38666,16 @@ module Google
38612
38666
  # @return [String]
38613
38667
  attr_accessor :network
38614
38668
 
38615
- # Projects that are allowed to connect to this network attachment.
38616
- # The project can be specified using its id or number.
38669
+ # Projects or service class ids that are allowed to connect to this network
38670
+ # attachment. The project can be specified using its id or number. Service
38671
+ # class id can be specified as "serviceclasses/`service_class_id`".
38617
38672
  # Corresponds to the JSON property `producerAcceptLists`
38618
38673
  # @return [Array<String>]
38619
38674
  attr_accessor :producer_accept_lists
38620
38675
 
38621
- # Projects that are not allowed to connect to this network attachment.
38622
- # The project can be specified using its id or number.
38676
+ # Projects or service class ids that are not allowed to connect to this
38677
+ # network attachment. The project can be specified using its id or number.
38678
+ # Service class id can be specified as "serviceclasses/`service_class_id`".
38623
38679
  # Corresponds to the JSON property `producerRejectLists`
38624
38680
  # @return [Array<String>]
38625
38681
  attr_accessor :producer_reject_lists
@@ -45549,7 +45605,8 @@ module Google
45549
45605
  @errors = args[:errors] if args.key?(:errors)
45550
45606
  end
45551
45607
 
45552
- #
45608
+ # Represents a single error encountered during the processing of an
45609
+ # operation.
45553
45610
  class Error
45554
45611
  include Google::Apis::Core::Hashable
45555
45612
 
@@ -45590,7 +45647,8 @@ module Google
45590
45647
  @message = args[:message] if args.key?(:message)
45591
45648
  end
45592
45649
 
45593
- #
45650
+ # Container for structured error details providing additional context
45651
+ # specific to the encountered error code.
45594
45652
  class ErrorDetail
45595
45653
  include Google::Apis::Core::Hashable
45596
45654
 
@@ -47402,6 +47460,38 @@ module Google
47402
47460
  end
47403
47461
  end
47404
47462
 
47463
+ # Commitment for a particular persistent disk resource.
47464
+ class PersistentDiskResourceCommitment
47465
+ include Google::Apis::Core::Hashable
47466
+
47467
+ # Required. The amount of the resource to commit to, in GiB.
47468
+ # Corresponds to the JSON property `amount`
47469
+ # @return [Fixnum]
47470
+ attr_accessor :amount
47471
+
47472
+ # The specific dimension of the product for this amount.
47473
+ # Corresponds to the JSON property `dimensionType`
47474
+ # @return [String]
47475
+ attr_accessor :dimension_type
47476
+
47477
+ # The PD product being committed to. All entries in a
47478
+ # Commitment.persistent_disk_resources list must have the same product_type.
47479
+ # Corresponds to the JSON property `productType`
47480
+ # @return [String]
47481
+ attr_accessor :product_type
47482
+
47483
+ def initialize(**args)
47484
+ update!(**args)
47485
+ end
47486
+
47487
+ # Update properties of this object
47488
+ def update!(**args)
47489
+ @amount = args[:amount] if args.key?(:amount)
47490
+ @dimension_type = args[:dimension_type] if args.key?(:dimension_type)
47491
+ @product_type = args[:product_type] if args.key?(:product_type)
47492
+ end
47493
+ end
47494
+
47405
47495
  # An Identity and Access Management (IAM) policy, which specifies access
47406
47496
  # controls for Google Cloud resources.
47407
47497
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
@@ -48400,6 +48490,13 @@ module Google
48400
48490
  # @return [String]
48401
48491
  attr_accessor :name
48402
48492
 
48493
+ # Network tier to be used for this prefix. All child delegated prefixes will
48494
+ # inherit this field. If this field is not specified, it defaults to the
48495
+ # network tier of the project that the PublicAdvertisedPrefix belongs to.
48496
+ # Corresponds to the JSON property `networkTier`
48497
+ # @return [String]
48498
+ attr_accessor :network_tier
48499
+
48403
48500
  # Specifies how child public delegated prefix will be scoped. It could
48404
48501
  # be one of following values:
48405
48502
  #
@@ -48463,6 +48560,7 @@ module Google
48463
48560
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
48464
48561
  @kind = args[:kind] if args.key?(:kind)
48465
48562
  @name = args[:name] if args.key?(:name)
48563
+ @network_tier = args[:network_tier] if args.key?(:network_tier)
48466
48564
  @pdp_scope = args[:pdp_scope] if args.key?(:pdp_scope)
48467
48565
  @public_delegated_prefixs = args[:public_delegated_prefixs] if args.key?(:public_delegated_prefixs)
48468
48566
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -48743,6 +48841,13 @@ module Google
48743
48841
  # @return [String]
48744
48842
  attr_accessor :name
48745
48843
 
48844
+ # Network tier of the public delegated prefix. If populated, it must match
48845
+ # the network tier of the parent public advertised prefix. If not populated,
48846
+ # it defaults to the network tier of the parent public advertised prefix.
48847
+ # Corresponds to the JSON property `networkTier`
48848
+ # @return [String]
48849
+ attr_accessor :network_tier
48850
+
48746
48851
  # The URL of parent prefix. Either PublicAdvertisedPrefix or
48747
48852
  # PublicDelegatedPrefix.
48748
48853
  # Corresponds to the JSON property `parentPrefix`
@@ -48829,6 +48934,7 @@ module Google
48829
48934
  @kind = args[:kind] if args.key?(:kind)
48830
48935
  @mode = args[:mode] if args.key?(:mode)
48831
48936
  @name = args[:name] if args.key?(:name)
48937
+ @network_tier = args[:network_tier] if args.key?(:network_tier)
48832
48938
  @parent_prefix = args[:parent_prefix] if args.key?(:parent_prefix)
48833
48939
  @public_delegated_sub_prefixs = args[:public_delegated_sub_prefixs] if args.key?(:public_delegated_sub_prefixs)
48834
48940
  @purpose = args[:purpose] if args.key?(:purpose)
@@ -49421,6 +49527,55 @@ module Google
49421
49527
  end
49422
49528
  end
49423
49529
 
49530
+ # The spec for modifying the path using a regular expression.
49531
+ class RegexRewrite
49532
+ include Google::Apis::Core::Hashable
49533
+
49534
+ # The regular expression used to match against the URL path.
49535
+ # It uses RE2 syntax with the following constraints:
49536
+ #
49537
+ #
49538
+ # - Any single character operators
49539
+ # - Groups are allowed to have only submatch operator inside
49540
+ # - Groups are allowed only without any char repetition, e.g.
49541
+ # .*
49542
+ # - Any char repetition, e.g. .*, is
49543
+ # only allowed to be used in a single regex together with:
49544
+ #
49545
+ #
49546
+ # - Empty string operators
49547
+ # - Other repetitions
49548
+ # - Ranges
49549
+ # - Repetitions of ranges
49550
+ #
49551
+ #
49552
+ # - Ranges are only allowed to have:
49553
+ #
49554
+ #
49555
+ # - Character range
49556
+ # - Digits range
49557
+ # - Symbols listed in characters allowed for ranges
49558
+ # Corresponds to the JSON property `pathPattern`
49559
+ # @return [String]
49560
+ attr_accessor :path_pattern
49561
+
49562
+ # Required when path pattern is specified. Used to rewrite matching parts of
49563
+ # the path.
49564
+ # Corresponds to the JSON property `pathSubstitution`
49565
+ # @return [String]
49566
+ attr_accessor :path_substitution
49567
+
49568
+ def initialize(**args)
49569
+ update!(**args)
49570
+ end
49571
+
49572
+ # Update properties of this object
49573
+ def update!(**args)
49574
+ @path_pattern = args[:path_pattern] if args.key?(:path_pattern)
49575
+ @path_substitution = args[:path_substitution] if args.key?(:path_substitution)
49576
+ end
49577
+ end
49578
+
49424
49579
  # Represents a Region resource.
49425
49580
  # A region is a geographical area where a resource is located. For more
49426
49581
  # information, readRegions
@@ -50510,7 +50665,7 @@ module Google
50510
50665
  class RegionInstanceGroupManagersApplyUpdatesRequest
50511
50666
  include Google::Apis::Core::Hashable
50512
50667
 
50513
- # Flag to update all instances instead of specified list of instances”.
50668
+ # Flag to update all instances instead of specified list of "instances".
50514
50669
  # If the flag is set to true then the instances may not be specified
50515
50670
  # in the request.
50516
50671
  # Corresponds to the JSON property `allInstances`
@@ -51680,6 +51835,210 @@ module Google
51680
51835
  end
51681
51836
  end
51682
51837
 
51838
+ # Represents a ReliabilityRisk resource.
51839
+ class ReliabilityRisk
51840
+ include Google::Apis::Core::Hashable
51841
+
51842
+ # Output only. [Output Only] Creation timestamp in RFC3339
51843
+ # text format.
51844
+ # Corresponds to the JSON property `creationTimestamp`
51845
+ # @return [String]
51846
+ attr_accessor :creation_timestamp
51847
+
51848
+ # An optional textual description of the resource; provided when the
51849
+ # resource is created.
51850
+ # Corresponds to the JSON property `description`
51851
+ # @return [String]
51852
+ attr_accessor :description
51853
+
51854
+ # Detailed insights and metrics about a detected reliability risk.
51855
+ # Corresponds to the JSON property `details`
51856
+ # @return [Google::Apis::ComputeBeta::RiskDetails]
51857
+ attr_accessor :details
51858
+
51859
+ # [Output Only] The unique identifier for the resource. This identifier is
51860
+ # defined by the server.
51861
+ # Corresponds to the JSON property `id`
51862
+ # @return [Fixnum]
51863
+ attr_accessor :id
51864
+
51865
+ # Output only. [Output Only] Type of resource. Always compute#reliabilityRisk
51866
+ # for reliability risks.
51867
+ # Corresponds to the JSON property `kind`
51868
+ # @return [String]
51869
+ attr_accessor :kind
51870
+
51871
+ # Name of the resource. The name must be 1-63 characters long and
51872
+ # comply with RFC1035.
51873
+ # Corresponds to the JSON property `name`
51874
+ # @return [String]
51875
+ attr_accessor :name
51876
+
51877
+ # Recommendation for mitigating a reliability risk, including a reference URL.
51878
+ # Corresponds to the JSON property `recommendation`
51879
+ # @return [Google::Apis::ComputeBeta::RiskRecommendation]
51880
+ attr_accessor :recommendation
51881
+
51882
+ # Output only. [Output Only] Server-defined URL for the resource.
51883
+ # Corresponds to the JSON property `selfLink`
51884
+ # @return [String]
51885
+ attr_accessor :self_link
51886
+
51887
+ # Output only. [Output Only] Server-defined URL for this resource with the
51888
+ # resource id.
51889
+ # Corresponds to the JSON property `selfLinkWithId`
51890
+ # @return [String]
51891
+ attr_accessor :self_link_with_id
51892
+
51893
+ def initialize(**args)
51894
+ update!(**args)
51895
+ end
51896
+
51897
+ # Update properties of this object
51898
+ def update!(**args)
51899
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
51900
+ @description = args[:description] if args.key?(:description)
51901
+ @details = args[:details] if args.key?(:details)
51902
+ @id = args[:id] if args.key?(:id)
51903
+ @kind = args[:kind] if args.key?(:kind)
51904
+ @name = args[:name] if args.key?(:name)
51905
+ @recommendation = args[:recommendation] if args.key?(:recommendation)
51906
+ @self_link = args[:self_link] if args.key?(:self_link)
51907
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
51908
+ end
51909
+ end
51910
+
51911
+ # Response message for the List method of ReliabilityRisksService.
51912
+ class ReliabilityRisksListResponse
51913
+ include Google::Apis::Core::Hashable
51914
+
51915
+ #
51916
+ # Corresponds to the JSON property `etag`
51917
+ # @return [String]
51918
+ attr_accessor :etag
51919
+
51920
+ # [Output Only] Unique identifier for the resource; defined by the server.
51921
+ # Corresponds to the JSON property `id`
51922
+ # @return [String]
51923
+ attr_accessor :id
51924
+
51925
+ # A list of ReliabilityRisk resources.
51926
+ # Corresponds to the JSON property `items`
51927
+ # @return [Array<Google::Apis::ComputeBeta::ReliabilityRisk>]
51928
+ attr_accessor :items
51929
+
51930
+ # [Output Only] This token allows you to get the next page of results for
51931
+ # list requests. If the number of results is larger thanmaxResults, use the
51932
+ # nextPageToken as a value for
51933
+ # the query parameter pageToken in the next list request.
51934
+ # Subsequent list requests will have their own nextPageToken to
51935
+ # continue paging through the results.
51936
+ # Corresponds to the JSON property `nextPageToken`
51937
+ # @return [String]
51938
+ attr_accessor :next_page_token
51939
+
51940
+ # Output only. [Output Only] Server-defined URL for this resource.
51941
+ # Corresponds to the JSON property `selfLink`
51942
+ # @return [String]
51943
+ attr_accessor :self_link
51944
+
51945
+ # Output only. [Output Only] Unreachable resources.
51946
+ # end_interface: MixerListResponseWithEtagBuilder
51947
+ # Corresponds to the JSON property `unreachables`
51948
+ # @return [Array<String>]
51949
+ attr_accessor :unreachables
51950
+
51951
+ # [Output Only] Informational warning message.
51952
+ # Corresponds to the JSON property `warning`
51953
+ # @return [Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning]
51954
+ attr_accessor :warning
51955
+
51956
+ def initialize(**args)
51957
+ update!(**args)
51958
+ end
51959
+
51960
+ # Update properties of this object
51961
+ def update!(**args)
51962
+ @etag = args[:etag] if args.key?(:etag)
51963
+ @id = args[:id] if args.key?(:id)
51964
+ @items = args[:items] if args.key?(:items)
51965
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
51966
+ @self_link = args[:self_link] if args.key?(:self_link)
51967
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
51968
+ @warning = args[:warning] if args.key?(:warning)
51969
+ end
51970
+
51971
+ # [Output Only] Informational warning message.
51972
+ class Warning
51973
+ include Google::Apis::Core::Hashable
51974
+
51975
+ # [Output Only] A warning code, if applicable. For example, Compute
51976
+ # Engine returns NO_RESULTS_ON_PAGE if there
51977
+ # are no results in the response.
51978
+ # Corresponds to the JSON property `code`
51979
+ # @return [String]
51980
+ attr_accessor :code
51981
+
51982
+ # [Output Only] Metadata about this warning in key:
51983
+ # value format. For example:
51984
+ # "data": [
51985
+ # `
51986
+ # "key": "scope",
51987
+ # "value": "zones/us-east1-d"
51988
+ # `
51989
+ # Corresponds to the JSON property `data`
51990
+ # @return [Array<Google::Apis::ComputeBeta::ReliabilityRisksListResponse::Warning::Datum>]
51991
+ attr_accessor :data
51992
+
51993
+ # [Output Only] A human-readable description of the warning code.
51994
+ # Corresponds to the JSON property `message`
51995
+ # @return [String]
51996
+ attr_accessor :message
51997
+
51998
+ def initialize(**args)
51999
+ update!(**args)
52000
+ end
52001
+
52002
+ # Update properties of this object
52003
+ def update!(**args)
52004
+ @code = args[:code] if args.key?(:code)
52005
+ @data = args[:data] if args.key?(:data)
52006
+ @message = args[:message] if args.key?(:message)
52007
+ end
52008
+
52009
+ #
52010
+ class Datum
52011
+ include Google::Apis::Core::Hashable
52012
+
52013
+ # [Output Only] A key that provides more detail on the warning being
52014
+ # returned. For example, for warnings where there are no results in a list
52015
+ # request for a particular zone, this key might be scope and
52016
+ # the key value might be the zone name. Other examples might be a key
52017
+ # indicating a deprecated resource and a suggested replacement, or a
52018
+ # warning about invalid network settings (for example, if an instance
52019
+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
52020
+ # Corresponds to the JSON property `key`
52021
+ # @return [String]
52022
+ attr_accessor :key
52023
+
52024
+ # [Output Only] A warning data value corresponding to the key.
52025
+ # Corresponds to the JSON property `value`
52026
+ # @return [String]
52027
+ attr_accessor :value
52028
+
52029
+ def initialize(**args)
52030
+ update!(**args)
52031
+ end
52032
+
52033
+ # Update properties of this object
52034
+ def update!(**args)
52035
+ @key = args[:key] if args.key?(:key)
52036
+ @value = args[:value] if args.key?(:value)
52037
+ end
52038
+ end
52039
+ end
52040
+ end
52041
+
51683
52042
  # A policy that specifies how requests intended for the route's backends
51684
52043
  # are shadowed to a separate mirrored backend service. The load balancer
51685
52044
  # doesn't wait for responses from the shadow service. Before sending traffic
@@ -52146,11 +52505,6 @@ module Google
52146
52505
  class ReservationBlock
52147
52506
  include Google::Apis::Core::Hashable
52148
52507
 
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
52508
  # Output only. [Output Only] The number of resources that are allocated in this
52155
52509
  # reservation block.
52156
52510
  # Corresponds to the JSON property `count`
@@ -52162,6 +52516,11 @@ module Google
52162
52516
  # @return [String]
52163
52517
  attr_accessor :creation_timestamp
52164
52518
 
52519
+ # Health information for the reservation block.
52520
+ # Corresponds to the JSON property `healthInfo`
52521
+ # @return [Google::Apis::ComputeBeta::ReservationBlockHealthInfo]
52522
+ attr_accessor :health_info
52523
+
52165
52524
  # Output only. [Output Only] The unique identifier for the resource. This
52166
52525
  # identifier is
52167
52526
  # defined by the server.
@@ -52250,9 +52609,9 @@ module Google
52250
52609
 
52251
52610
  # Update properties of this object
52252
52611
  def update!(**args)
52253
- @block_health_info = args[:block_health_info] if args.key?(:block_health_info)
52254
52612
  @count = args[:count] if args.key?(:count)
52255
52613
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
52614
+ @health_info = args[:health_info] if args.key?(:health_info)
52256
52615
  @id = args[:id] if args.key?(:id)
52257
52616
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
52258
52617
  @in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
@@ -53018,6 +53377,11 @@ module Google
53018
53377
  # @return [String]
53019
53378
  attr_accessor :creation_timestamp
53020
53379
 
53380
+ # Health information for the reservation subBlock.
53381
+ # Corresponds to the JSON property `healthInfo`
53382
+ # @return [Google::Apis::ComputeBeta::ReservationSubBlockHealthInfo]
53383
+ attr_accessor :health_info
53384
+
53021
53385
  # Output only. [Output Only] The unique identifier for the resource. This
53022
53386
  # identifier is
53023
53387
  # defined by the server.
@@ -53080,11 +53444,6 @@ module Google
53080
53444
  # @return [String]
53081
53445
  attr_accessor :status
53082
53446
 
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
53447
  # Output only. [Output Only] Zone in which the reservation subBlock resides.
53089
53448
  # Corresponds to the JSON property `zone`
53090
53449
  # @return [String]
@@ -53099,6 +53458,7 @@ module Google
53099
53458
  @accelerator_topologies_info = args[:accelerator_topologies_info] if args.key?(:accelerator_topologies_info)
53100
53459
  @count = args[:count] if args.key?(:count)
53101
53460
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
53461
+ @health_info = args[:health_info] if args.key?(:health_info)
53102
53462
  @id = args[:id] if args.key?(:id)
53103
53463
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
53104
53464
  @in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
@@ -53109,7 +53469,6 @@ module Google
53109
53469
  @self_link = args[:self_link] if args.key?(:self_link)
53110
53470
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
53111
53471
  @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
53472
  @zone = args[:zone] if args.key?(:zone)
53114
53473
  end
53115
53474
  end
@@ -54935,6 +55294,113 @@ module Google
54935
55294
  end
54936
55295
  end
54937
55296
 
55297
+ # Detailed insights and metrics about a detected reliability risk.
55298
+ class RiskDetails
55299
+ include Google::Apis::Core::Hashable
55300
+
55301
+ # The duration of the risk since it was detected.
55302
+ # Corresponds to the JSON property `duration`
55303
+ # @return [String]
55304
+ attr_accessor :duration
55305
+
55306
+ # Detailed insights for a global DNS reliability risk.
55307
+ # Corresponds to the JSON property `globalDnsInsight`
55308
+ # @return [Google::Apis::ComputeBeta::RiskDetailsGlobalDnsInsight]
55309
+ attr_accessor :global_dns_insight
55310
+
55311
+ # The last time the risk was updated.
55312
+ # Corresponds to the JSON property `lastUpdateTimestamp`
55313
+ # @return [String]
55314
+ attr_accessor :last_update_timestamp
55315
+
55316
+ # The severity of the risk.
55317
+ # Corresponds to the JSON property `severity`
55318
+ # @return [String]
55319
+ attr_accessor :severity
55320
+
55321
+ # The type of risk.
55322
+ # Corresponds to the JSON property `type`
55323
+ # @return [String]
55324
+ attr_accessor :type
55325
+
55326
+ def initialize(**args)
55327
+ update!(**args)
55328
+ end
55329
+
55330
+ # Update properties of this object
55331
+ def update!(**args)
55332
+ @duration = args[:duration] if args.key?(:duration)
55333
+ @global_dns_insight = args[:global_dns_insight] if args.key?(:global_dns_insight)
55334
+ @last_update_timestamp = args[:last_update_timestamp] if args.key?(:last_update_timestamp)
55335
+ @severity = args[:severity] if args.key?(:severity)
55336
+ @type = args[:type] if args.key?(:type)
55337
+ end
55338
+ end
55339
+
55340
+ # Detailed insights for a global DNS reliability risk.
55341
+ class RiskDetailsGlobalDnsInsight
55342
+ include Google::Apis::Core::Hashable
55343
+
55344
+ # Indicates whether the project's default DNS setting is global DNS.
55345
+ # Corresponds to the JSON property `projectDefaultIsGlobalDns`
55346
+ # @return [Boolean]
55347
+ attr_accessor :project_default_is_global_dns
55348
+ alias_method :project_default_is_global_dns?, :project_default_is_global_dns
55349
+
55350
+ # The observation window for the query counts.
55351
+ # Corresponds to the JSON property `queryObservationWindow`
55352
+ # @return [String]
55353
+ attr_accessor :query_observation_window
55354
+
55355
+ # The number of queries that are risky. This is always less than or
55356
+ # equal to total_query_count.
55357
+ # Corresponds to the JSON property `riskyQueryCount`
55358
+ # @return [Fixnum]
55359
+ attr_accessor :risky_query_count
55360
+
55361
+ # The total number of queries in the observation window.
55362
+ # Corresponds to the JSON property `totalQueryCount`
55363
+ # @return [Fixnum]
55364
+ attr_accessor :total_query_count
55365
+
55366
+ def initialize(**args)
55367
+ update!(**args)
55368
+ end
55369
+
55370
+ # Update properties of this object
55371
+ def update!(**args)
55372
+ @project_default_is_global_dns = args[:project_default_is_global_dns] if args.key?(:project_default_is_global_dns)
55373
+ @query_observation_window = args[:query_observation_window] if args.key?(:query_observation_window)
55374
+ @risky_query_count = args[:risky_query_count] if args.key?(:risky_query_count)
55375
+ @total_query_count = args[:total_query_count] if args.key?(:total_query_count)
55376
+ end
55377
+ end
55378
+
55379
+ # Recommendation for mitigating a reliability risk, including a reference URL.
55380
+ class RiskRecommendation
55381
+ include Google::Apis::Core::Hashable
55382
+
55383
+ # Mitigation guide for the risk.
55384
+ # Corresponds to the JSON property `content`
55385
+ # @return [String]
55386
+ attr_accessor :content
55387
+
55388
+ # URL referencing a more detailed mitigation guide.
55389
+ # Corresponds to the JSON property `referenceUrl`
55390
+ # @return [String]
55391
+ attr_accessor :reference_url
55392
+
55393
+ def initialize(**args)
55394
+ update!(**args)
55395
+ end
55396
+
55397
+ # Update properties of this object
55398
+ def update!(**args)
55399
+ @content = args[:content] if args.key?(:content)
55400
+ @reference_url = args[:reference_url] if args.key?(:reference_url)
55401
+ end
55402
+ end
55403
+
54938
55404
  # Rollout resource.
54939
55405
  # A Rollout is a specific instance of a RolloutPlan. It represents a single
54940
55406
  # execution of a strategy to roll out a specific resource. It also provides
@@ -65040,8 +65506,7 @@ module Google
65040
65506
  class SslPolicyReference
65041
65507
  include Google::Apis::Core::Hashable
65042
65508
 
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.
65509
+ #
65045
65510
  # Corresponds to the JSON property `sslPolicy`
65046
65511
  # @return [String]
65047
65512
  attr_accessor :ssl_policy
@@ -66770,6 +67235,14 @@ module Google
66770
67235
  # @return [String]
66771
67236
  attr_accessor :ipv6_gce_endpoint
66772
67237
 
67238
+ # Specifies the network tier for EXTERNAL IPv6. Can only be set when
67239
+ # ipv6_access_type is EXTERNAL. Defaults to project defaultNetworkTier if not
67240
+ # specified during the creation of the subnetwork. This field is IMMUTABLE
67241
+ # once set with EXTERNAL IPv6.
67242
+ # Corresponds to the JSON property `ipv6NetworkTier`
67243
+ # @return [String]
67244
+ attr_accessor :ipv6_network_tier
67245
+
66773
67246
  # Output only. [Output Only] Type of the resource. Always compute#subnetwork
66774
67247
  # for Subnetwork resources.
66775
67248
  # Corresponds to the JSON property `kind`
@@ -66924,6 +67397,7 @@ module Google
66924
67397
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
66925
67398
  @ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
66926
67399
  @ipv6_gce_endpoint = args[:ipv6_gce_endpoint] if args.key?(:ipv6_gce_endpoint)
67400
+ @ipv6_network_tier = args[:ipv6_network_tier] if args.key?(:ipv6_network_tier)
66927
67401
  @kind = args[:kind] if args.key?(:kind)
66928
67402
  @log_config = args[:log_config] if args.key?(:log_config)
66929
67403
  @name = args[:name] if args.key?(:name)
@@ -72798,6 +73272,11 @@ module Google
72798
73272
  # @return [String]
72799
73273
  attr_accessor :path_template_rewrite
72800
73274
 
73275
+ # The spec for modifying the path using a regular expression.
73276
+ # Corresponds to the JSON property `regexRewrite`
73277
+ # @return [Google::Apis::ComputeBeta::RegexRewrite]
73278
+ attr_accessor :regex_rewrite
73279
+
72801
73280
  def initialize(**args)
72802
73281
  update!(**args)
72803
73282
  end
@@ -72807,6 +73286,7 @@ module Google
72807
73286
  @host_rewrite = args[:host_rewrite] if args.key?(:host_rewrite)
72808
73287
  @path_prefix_rewrite = args[:path_prefix_rewrite] if args.key?(:path_prefix_rewrite)
72809
73288
  @path_template_rewrite = args[:path_template_rewrite] if args.key?(:path_template_rewrite)
73289
+ @regex_rewrite = args[:regex_rewrite] if args.key?(:regex_rewrite)
72810
73290
  end
72811
73291
  end
72812
73292