google-apis-compute_alpha 0.138.0 → 0.140.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.
@@ -6558,6 +6558,16 @@ module Google
6558
6558
  attr_accessor :enable
6559
6559
  alias_method :enable?, :enable
6560
6560
 
6561
+ # The list of request headers that will be logged to Stackdriver.
6562
+ # Corresponds to the JSON property `loggingHttpRequestHeaders`
6563
+ # @return [Array<Google::Apis::ComputeAlpha::BackendServiceLogConfigLoggingHttpHeader>]
6564
+ attr_accessor :logging_http_request_headers
6565
+
6566
+ # The list of response headers that will be logged to Stackdriver.
6567
+ # Corresponds to the JSON property `loggingHttpResponseHeaders`
6568
+ # @return [Array<Google::Apis::ComputeAlpha::BackendServiceLogConfigLoggingHttpHeader>]
6569
+ attr_accessor :logging_http_response_headers
6570
+
6561
6571
  # Deprecated in favor of optionalMode.
6562
6572
  # This field can only be specified if logging is enabled for this backend
6563
6573
  # service. Configures whether all, none or a subset of optional fields
@@ -6600,6 +6610,8 @@ module Google
6600
6610
  # Update properties of this object
6601
6611
  def update!(**args)
6602
6612
  @enable = args[:enable] if args.key?(:enable)
6613
+ @logging_http_request_headers = args[:logging_http_request_headers] if args.key?(:logging_http_request_headers)
6614
+ @logging_http_response_headers = args[:logging_http_response_headers] if args.key?(:logging_http_response_headers)
6603
6615
  @optional = args[:optional] if args.key?(:optional)
6604
6616
  @optional_fields = args[:optional_fields] if args.key?(:optional_fields)
6605
6617
  @optional_mode = args[:optional_mode] if args.key?(:optional_mode)
@@ -6607,6 +6619,25 @@ module Google
6607
6619
  end
6608
6620
  end
6609
6621
 
6622
+ # Determines which HTTP headers will be logged to Stackdriver.
6623
+ class BackendServiceLogConfigLoggingHttpHeader
6624
+ include Google::Apis::Core::Hashable
6625
+
6626
+ # The name of the header to be logged.
6627
+ # Corresponds to the JSON property `headerName`
6628
+ # @return [String]
6629
+ attr_accessor :header_name
6630
+
6631
+ def initialize(**args)
6632
+ update!(**args)
6633
+ end
6634
+
6635
+ # Update properties of this object
6636
+ def update!(**args)
6637
+ @header_name = args[:header_name] if args.key?(:header_name)
6638
+ end
6639
+ end
6640
+
6610
6641
  #
6611
6642
  class BackendServiceNetworkPassThroughLbTrafficPolicy
6612
6643
  include Google::Apis::Core::Hashable
@@ -9061,6 +9092,13 @@ module Google
9061
9092
  # @return [Google::Apis::ComputeAlpha::CommitmentParams]
9062
9093
  attr_accessor :params
9063
9094
 
9095
+ # Optional. Used when category is PERSISTENT_DISK.
9096
+ # Each entry in the list represents a commitment to a specific Persistent
9097
+ # Disk product type and dimension.
9098
+ # Corresponds to the JSON property `persistentDiskResources`
9099
+ # @return [Array<Google::Apis::ComputeAlpha::PersistentDiskResourceCommitment>]
9100
+ attr_accessor :persistent_disk_resources
9101
+
9064
9102
  # The minimum time duration that you commit to purchasing resources.
9065
9103
  # The plan that you choose determines the preset term length of the
9066
9104
  # commitment (which is 1 year or 3 years) and affects the discount rate that
@@ -9179,6 +9217,7 @@ module Google
9179
9217
  @merge_source_commitments = args[:merge_source_commitments] if args.key?(:merge_source_commitments)
9180
9218
  @name = args[:name] if args.key?(:name)
9181
9219
  @params = args[:params] if args.key?(:params)
9220
+ @persistent_disk_resources = args[:persistent_disk_resources] if args.key?(:persistent_disk_resources)
9182
9221
  @plan = args[:plan] if args.key?(:plan)
9183
9222
  @region = args[:region] if args.key?(:region)
9184
9223
  @reservations = args[:reservations] if args.key?(:reservations)
@@ -15519,6 +15558,144 @@ module Google
15519
15558
  end
15520
15559
  end
15521
15560
 
15561
+ #
15562
+ class FolderVmExtensionPolicyAggregatedListResponse
15563
+ include Google::Apis::Core::Hashable
15564
+
15565
+ #
15566
+ # Corresponds to the JSON property `etag`
15567
+ # @return [String]
15568
+ attr_accessor :etag
15569
+
15570
+ # [Output Only] Unique identifier for the resource; defined by the server.
15571
+ # Corresponds to the JSON property `id`
15572
+ # @return [String]
15573
+ attr_accessor :id
15574
+
15575
+ # A list of VmExtensionPoliciesScopedList resources.
15576
+ # Corresponds to the JSON property `items`
15577
+ # @return [Hash<String,Google::Apis::ComputeAlpha::VmExtensionPoliciesScopedList>]
15578
+ attr_accessor :items
15579
+
15580
+ # Output only. [Output Only] Type of resource. Alwayscompute#
15581
+ # FolderVmExtensionPolicyAggregatedList for lists of
15582
+ # VmExtensionPolicies.
15583
+ # Corresponds to the JSON property `kind`
15584
+ # @return [String]
15585
+ attr_accessor :kind
15586
+
15587
+ # [Output Only] This token allows you to get the next page of results for
15588
+ # list requests. If the number of results is larger thanmaxResults, use the
15589
+ # nextPageToken as a value for
15590
+ # the query parameter pageToken in the next list request.
15591
+ # Subsequent list requests will have their own nextPageToken to
15592
+ # continue paging through the results.
15593
+ # Corresponds to the JSON property `nextPageToken`
15594
+ # @return [String]
15595
+ attr_accessor :next_page_token
15596
+
15597
+ # Output only. [Output Only] Server-defined URL for this resource.
15598
+ # Corresponds to the JSON property `selfLink`
15599
+ # @return [String]
15600
+ attr_accessor :self_link
15601
+
15602
+ # Output only. [Output Only] Unreachable resources.
15603
+ # Corresponds to the JSON property `unreachables`
15604
+ # @return [Array<String>]
15605
+ attr_accessor :unreachables
15606
+
15607
+ # [Output Only] Informational warning message.
15608
+ # Corresponds to the JSON property `warning`
15609
+ # @return [Google::Apis::ComputeAlpha::FolderVmExtensionPolicyAggregatedListResponse::Warning]
15610
+ attr_accessor :warning
15611
+
15612
+ def initialize(**args)
15613
+ update!(**args)
15614
+ end
15615
+
15616
+ # Update properties of this object
15617
+ def update!(**args)
15618
+ @etag = args[:etag] if args.key?(:etag)
15619
+ @id = args[:id] if args.key?(:id)
15620
+ @items = args[:items] if args.key?(:items)
15621
+ @kind = args[:kind] if args.key?(:kind)
15622
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
15623
+ @self_link = args[:self_link] if args.key?(:self_link)
15624
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
15625
+ @warning = args[:warning] if args.key?(:warning)
15626
+ end
15627
+
15628
+ # [Output Only] Informational warning message.
15629
+ class Warning
15630
+ include Google::Apis::Core::Hashable
15631
+
15632
+ # [Output Only] A warning code, if applicable. For example, Compute
15633
+ # Engine returns NO_RESULTS_ON_PAGE if there
15634
+ # are no results in the response.
15635
+ # Corresponds to the JSON property `code`
15636
+ # @return [String]
15637
+ attr_accessor :code
15638
+
15639
+ # [Output Only] Metadata about this warning in key:
15640
+ # value format. For example:
15641
+ # "data": [
15642
+ # `
15643
+ # "key": "scope",
15644
+ # "value": "zones/us-east1-d"
15645
+ # `
15646
+ # Corresponds to the JSON property `data`
15647
+ # @return [Array<Google::Apis::ComputeAlpha::FolderVmExtensionPolicyAggregatedListResponse::Warning::Datum>]
15648
+ attr_accessor :data
15649
+
15650
+ # [Output Only] A human-readable description of the warning code.
15651
+ # Corresponds to the JSON property `message`
15652
+ # @return [String]
15653
+ attr_accessor :message
15654
+
15655
+ def initialize(**args)
15656
+ update!(**args)
15657
+ end
15658
+
15659
+ # Update properties of this object
15660
+ def update!(**args)
15661
+ @code = args[:code] if args.key?(:code)
15662
+ @data = args[:data] if args.key?(:data)
15663
+ @message = args[:message] if args.key?(:message)
15664
+ end
15665
+
15666
+ #
15667
+ class Datum
15668
+ include Google::Apis::Core::Hashable
15669
+
15670
+ # [Output Only] A key that provides more detail on the warning being
15671
+ # returned. For example, for warnings where there are no results in a list
15672
+ # request for a particular zone, this key might be scope and
15673
+ # the key value might be the zone name. Other examples might be a key
15674
+ # indicating a deprecated resource and a suggested replacement, or a
15675
+ # warning about invalid network settings (for example, if an instance
15676
+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
15677
+ # Corresponds to the JSON property `key`
15678
+ # @return [String]
15679
+ attr_accessor :key
15680
+
15681
+ # [Output Only] A warning data value corresponding to the key.
15682
+ # Corresponds to the JSON property `value`
15683
+ # @return [String]
15684
+ attr_accessor :value
15685
+
15686
+ def initialize(**args)
15687
+ update!(**args)
15688
+ end
15689
+
15690
+ # Update properties of this object
15691
+ def update!(**args)
15692
+ @key = args[:key] if args.key?(:key)
15693
+ @value = args[:value] if args.key?(:value)
15694
+ end
15695
+ end
15696
+ end
15697
+ end
15698
+
15522
15699
  # Represents a Forwarding Rule resource.
15523
15700
  # Forwarding rule resources in Google Cloud can be either regional or global in
15524
15701
  # scope:
@@ -16545,6 +16722,13 @@ module Google
16545
16722
  attr_accessor :auto_delete_auto_created_reservations
16546
16723
  alias_method :auto_delete_auto_created_reservations?, :auto_delete_auto_created_reservations
16547
16724
 
16725
+ # Full or partial URL of an existing future reservation to indicate
16726
+ # intent for reserving capacity in the same cluster as the colocation
16727
+ # resource.
16728
+ # Corresponds to the JSON property `colocationResource`
16729
+ # @return [String]
16730
+ attr_accessor :colocation_resource
16731
+
16548
16732
  # If not present, then FR will not deliver a new commitment or update an
16549
16733
  # existing commitment.
16550
16734
  # Corresponds to the JSON property `commitmentInfo`
@@ -16706,6 +16890,7 @@ module Google
16706
16890
  @auto_created_reservations_delete_time = args[:auto_created_reservations_delete_time] if args.key?(:auto_created_reservations_delete_time)
16707
16891
  @auto_created_reservations_duration = args[:auto_created_reservations_duration] if args.key?(:auto_created_reservations_duration)
16708
16892
  @auto_delete_auto_created_reservations = args[:auto_delete_auto_created_reservations] if args.key?(:auto_delete_auto_created_reservations)
16893
+ @colocation_resource = args[:colocation_resource] if args.key?(:colocation_resource)
16709
16894
  @commitment_info = args[:commitment_info] if args.key?(:commitment_info)
16710
16895
  @confidential_compute_type = args[:confidential_compute_type] if args.key?(:confidential_compute_type)
16711
16896
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -18391,11 +18576,40 @@ module Google
18391
18576
  class GlobalVmExtension
18392
18577
  include Google::Apis::Core::Hashable
18393
18578
 
18579
+ # Output only. [Output Only] Creation timestamp inRFC3339
18580
+ # text format.
18581
+ # Corresponds to the JSON property `creationTimestamp`
18582
+ # @return [String]
18583
+ attr_accessor :creation_timestamp
18584
+
18585
+ # Output only. [Output Only] An optional textual description of the resource.
18586
+ # Corresponds to the JSON property `description`
18587
+ # @return [String]
18588
+ attr_accessor :description
18589
+
18590
+ # Output only. [Output Only] The unique identifier for the resource. This
18591
+ # identifier is
18592
+ # defined by the server.
18593
+ # Corresponds to the JSON property `id`
18594
+ # @return [Fixnum]
18595
+ attr_accessor :id
18596
+
18597
+ # Output only. [Output Only] Type of the resource. Alwayscompute#
18598
+ # globalVmExtension.
18599
+ # Corresponds to the JSON property `kind`
18600
+ # @return [String]
18601
+ attr_accessor :kind
18602
+
18394
18603
  #
18395
18604
  # Corresponds to the JSON property `name`
18396
18605
  # @return [String]
18397
18606
  attr_accessor :name
18398
18607
 
18608
+ # Output only. [Output Only] Server-defined URL for the resource.
18609
+ # Corresponds to the JSON property `selfLink`
18610
+ # @return [String]
18611
+ attr_accessor :self_link
18612
+
18399
18613
  #
18400
18614
  # Corresponds to the JSON property `versions`
18401
18615
  # @return [Array<String>]
@@ -18407,7 +18621,12 @@ module Google
18407
18621
 
18408
18622
  # Update properties of this object
18409
18623
  def update!(**args)
18624
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
18625
+ @description = args[:description] if args.key?(:description)
18626
+ @id = args[:id] if args.key?(:id)
18627
+ @kind = args[:kind] if args.key?(:kind)
18410
18628
  @name = args[:name] if args.key?(:name)
18629
+ @self_link = args[:self_link] if args.key?(:self_link)
18411
18630
  @versions = args[:versions] if args.key?(:versions)
18412
18631
  end
18413
18632
  end
@@ -19467,6 +19686,7 @@ module Google
19467
19686
  # Capacity guarantee settings for the event of a failover.
19468
19687
  # This determines whether capacity is guaranteed to be available
19469
19688
  # in the zones used by the HaController.
19689
+ # Deprecated: This field is deprecated and has no effect.
19470
19690
  # Corresponds to the JSON property `failoverCapacity`
19471
19691
  # @return [String]
19472
19692
  attr_accessor :failover_capacity
@@ -20328,12 +20548,6 @@ module Google
20328
20548
  # @return [String]
20329
20549
  attr_accessor :failover_to_zone
20330
20550
 
20331
- # Name of the destination zone for the failover.
20332
- # Deprecated: use failover_to_zone instead.
20333
- # Corresponds to the JSON property `primaryZone`
20334
- # @return [String]
20335
- attr_accessor :primary_zone
20336
-
20337
20551
  def initialize(**args)
20338
20552
  update!(**args)
20339
20553
  end
@@ -20341,7 +20555,6 @@ module Google
20341
20555
  # Update properties of this object
20342
20556
  def update!(**args)
20343
20557
  @failover_to_zone = args[:failover_to_zone] if args.key?(:failover_to_zone)
20344
- @primary_zone = args[:primary_zone] if args.key?(:primary_zone)
20345
20558
  end
20346
20559
  end
20347
20560
 
@@ -27444,14 +27657,14 @@ module Google
27444
27657
  include Google::Apis::Core::Hashable
27445
27658
 
27446
27659
  # The action that a MIG performs on a failed VM. If the value of the
27447
- # onFailedHealthCheck field
27448
- # is `DEFAULT_ACTION`, then the same action also applies to the VMs on which
27449
- # your application
27450
- # fails a health check. Valid values are - REPAIR (default): MIG automatically
27451
- # repairs a failed
27452
- # VM by recreating it. For more information, see about repairing VMs in a MIG. -
27453
- # DO_NOTHING: MIG
27454
- # does not repair a failed VM.
27660
+ # onFailedHealthCheck field is `DEFAULT_ACTION`, then the same action also
27661
+ # applies to the VMs on which your application fails a health check.
27662
+ # Valid values are
27663
+ #
27664
+ # - REPAIR (default): MIG automatically repairs a failed VM
27665
+ # by recreating it. For more information, see About
27666
+ # repairing VMs in a MIG.
27667
+ # - DO_NOTHING: MIG does not repair a failed VM.
27455
27668
  # Corresponds to the JSON property `defaultActionOnFailure`
27456
27669
  # @return [String]
27457
27670
  attr_accessor :default_action_on_failure
@@ -29025,6 +29238,11 @@ module Google
29025
29238
  class InstanceGroupManagerUpdatePolicy
29026
29239
  include Google::Apis::Core::Hashable
29027
29240
 
29241
+ # Actions that are allowed to update instances within MIG.
29242
+ # Corresponds to the JSON property `allowedActions`
29243
+ # @return [Array<String>]
29244
+ attr_accessor :allowed_actions
29245
+
29028
29246
  # Whether the boot disk is allowed to be updated with restart.
29029
29247
  # Corresponds to the JSON property `disruptionMode`
29030
29248
  # @return [String]
@@ -29108,6 +29326,7 @@ module Google
29108
29326
 
29109
29327
  # Update properties of this object
29110
29328
  def update!(**args)
29329
+ @allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
29111
29330
  @disruption_mode = args[:disruption_mode] if args.key?(:disruption_mode)
29112
29331
  @instance_redistribution_type = args[:instance_redistribution_type] if args.key?(:instance_redistribution_type)
29113
29332
  @max_surge = args[:max_surge] if args.key?(:max_surge)
@@ -29199,6 +29418,11 @@ module Google
29199
29418
  attr_accessor :all_instances
29200
29419
  alias_method :all_instances?, :all_instances
29201
29420
 
29421
+ # Actions that are allowed to update instances within MIG.
29422
+ # Corresponds to the JSON property `allowedActions`
29423
+ # @return [Array<String>]
29424
+ attr_accessor :allowed_actions
29425
+
29202
29426
  # Whether the boot disk is allowed to be updated with restart.
29203
29427
  # Corresponds to the JSON property `disruptionMode`
29204
29428
  # @return [String]
@@ -29261,6 +29485,7 @@ module Google
29261
29485
  # Update properties of this object
29262
29486
  def update!(**args)
29263
29487
  @all_instances = args[:all_instances] if args.key?(:all_instances)
29488
+ @allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
29264
29489
  @disruption_mode = args[:disruption_mode] if args.key?(:disruption_mode)
29265
29490
  @instances = args[:instances] if args.key?(:instances)
29266
29491
  @maximal_action = args[:maximal_action] if args.key?(:maximal_action)
@@ -30768,21 +30993,20 @@ module Google
30768
30993
  class InstanceManagedByIgmError
30769
30994
  include Google::Apis::Core::Hashable
30770
30995
 
30771
- # Output only. [Output Only] Contents of the error.
30996
+ # Output only. Contents of the error.
30772
30997
  # Corresponds to the JSON property `error`
30773
30998
  # @return [Google::Apis::ComputeAlpha::InstanceManagedByIgmErrorManagedInstanceError]
30774
30999
  attr_accessor :error
30775
31000
 
30776
- # Output only. [Output Only] Details of the instance action that triggered this
30777
- # error.
31001
+ # Output only. Details of the instance action that triggered this error.
30778
31002
  # May be null, if the error was not caused by an action on an instance.
30779
31003
  # This field is optional.
30780
31004
  # Corresponds to the JSON property `instanceActionDetails`
30781
31005
  # @return [Google::Apis::ComputeAlpha::InstanceManagedByIgmErrorInstanceActionDetails]
30782
31006
  attr_accessor :instance_action_details
30783
31007
 
30784
- # Output only. [Output Only] The time that this error occurred.
30785
- # This value is in RFC3339 text format.
31008
+ # Output only. The time that this error occurred. This value is in RFC3339 text
31009
+ # format.
30786
31010
  # Corresponds to the JSON property `timestamp`
30787
31011
  # @return [String]
30788
31012
  attr_accessor :timestamp
@@ -30803,20 +31027,21 @@ module Google
30803
31027
  class InstanceManagedByIgmErrorInstanceActionDetails
30804
31028
  include Google::Apis::Core::Hashable
30805
31029
 
30806
- # Output only. [Output Only] Action that managed instance group was executing on
30807
- # the instance when the error occurred. Possible values:
31030
+ # Output only. Action that managed instance group was executing on the instance
31031
+ # when the
31032
+ # error occurred. Possible values:
30808
31033
  # Corresponds to the JSON property `action`
30809
31034
  # @return [String]
30810
31035
  attr_accessor :action
30811
31036
 
30812
- # Output only. [Output Only] The URL of the instance.
30813
- # The URL can be set even if the instance has not yet been created.
31037
+ # Output only. The URL of the instance. The URL can be set even if the instance
31038
+ # has not
31039
+ # yet been created.
30814
31040
  # Corresponds to the JSON property `instance`
30815
31041
  # @return [String]
30816
31042
  attr_accessor :instance
30817
31043
 
30818
- # Output only. [Output Only] Version this instance was created from, or was
30819
- # being
31044
+ # Output only. Version this instance was created from, or was being
30820
31045
  # created from, but the creation failed. Corresponds to one of the versions
30821
31046
  # that were set on the Instance Group Manager resource at the time this
30822
31047
  # instance was being created.
@@ -30840,12 +31065,12 @@ module Google
30840
31065
  class InstanceManagedByIgmErrorManagedInstanceError
30841
31066
  include Google::Apis::Core::Hashable
30842
31067
 
30843
- # Output only. [Output Only] Error code.
31068
+ # Output only. Error code.
30844
31069
  # Corresponds to the JSON property `code`
30845
31070
  # @return [String]
30846
31071
  attr_accessor :code
30847
31072
 
30848
- # Output only. [Output Only] Error message.
31073
+ # Output only. Error message.
30849
31074
  # Corresponds to the JSON property `message`
30850
31075
  # @return [String]
30851
31076
  attr_accessor :message
@@ -33263,8 +33488,7 @@ module Google
33263
33488
  # @return [String]
33264
33489
  attr_accessor :description
33265
33490
 
33266
- # Output only. [Output Only] URL of the InterconnectLocation object that
33267
- # represents where
33491
+ # Output only. URL of the InterconnectLocation object that represents where
33268
33492
  # this connection is to be provisioned. By default it will be the same as the
33269
33493
  # location field.
33270
33494
  # Corresponds to the JSON property `effectiveLocation`
@@ -37451,6 +37675,14 @@ module Google
37451
37675
  attr_accessor :fail_open
37452
37676
  alias_method :fail_open?, :fail_open
37453
37677
 
37678
+ # Optional. URL of the InterconnectKeyGroup resource to use for MACsec, in the
37679
+ # format:
37680
+ # projects/`project`/locations/`region`/interconnectKeyGroups/`
37681
+ # interconnectKeyGroup`.
37682
+ # Corresponds to the JSON property `interconnectKeyGroup`
37683
+ # @return [String]
37684
+ attr_accessor :interconnect_key_group
37685
+
37454
37686
  # Required. A keychain placeholder describing a set of named key objects
37455
37687
  # along with their start times. A MACsec CKN/CAK is generated for each
37456
37688
  # key in the key chain. Google router automatically picks the key with
@@ -37467,6 +37699,7 @@ module Google
37467
37699
  # Update properties of this object
37468
37700
  def update!(**args)
37469
37701
  @fail_open = args[:fail_open] if args.key?(:fail_open)
37702
+ @interconnect_key_group = args[:interconnect_key_group] if args.key?(:interconnect_key_group)
37470
37703
  @pre_shared_keys = args[:pre_shared_keys] if args.key?(:pre_shared_keys)
37471
37704
  end
37472
37705
  end
@@ -50098,46 +50331,273 @@ module Google
50098
50331
  end
50099
50332
  end
50100
50333
 
50101
- # Contains a list of Operation resources.
50102
- class OperationList
50334
+ # Contains a list of Operation resources.
50335
+ class OperationList
50336
+ include Google::Apis::Core::Hashable
50337
+
50338
+ # [Output Only] The unique identifier for the resource. This identifier is
50339
+ # defined by the server.
50340
+ # Corresponds to the JSON property `id`
50341
+ # @return [String]
50342
+ attr_accessor :id
50343
+
50344
+ # [Output Only] A list of Operation resources.
50345
+ # Corresponds to the JSON property `items`
50346
+ # @return [Array<Google::Apis::ComputeAlpha::Operation>]
50347
+ attr_accessor :items
50348
+
50349
+ # Output only. [Output Only] Type of resource. Always `compute#operations` for
50350
+ # Operations
50351
+ # resource.
50352
+ # Corresponds to the JSON property `kind`
50353
+ # @return [String]
50354
+ attr_accessor :kind
50355
+
50356
+ # [Output Only] This token allows you to get the next page of results for
50357
+ # list requests. If the number of results is larger than
50358
+ # `maxResults`, use the `nextPageToken` as a value for
50359
+ # the query parameter `pageToken` in the next list request.
50360
+ # Subsequent list requests will have their own `nextPageToken` to
50361
+ # continue paging through the results.
50362
+ # Corresponds to the JSON property `nextPageToken`
50363
+ # @return [String]
50364
+ attr_accessor :next_page_token
50365
+
50366
+ # [Output Only] Server-defined URL for this resource.
50367
+ # Corresponds to the JSON property `selfLink`
50368
+ # @return [String]
50369
+ attr_accessor :self_link
50370
+
50371
+ # [Output Only] Informational warning message.
50372
+ # Corresponds to the JSON property `warning`
50373
+ # @return [Google::Apis::ComputeAlpha::OperationList::Warning]
50374
+ attr_accessor :warning
50375
+
50376
+ def initialize(**args)
50377
+ update!(**args)
50378
+ end
50379
+
50380
+ # Update properties of this object
50381
+ def update!(**args)
50382
+ @id = args[:id] if args.key?(:id)
50383
+ @items = args[:items] if args.key?(:items)
50384
+ @kind = args[:kind] if args.key?(:kind)
50385
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
50386
+ @self_link = args[:self_link] if args.key?(:self_link)
50387
+ @warning = args[:warning] if args.key?(:warning)
50388
+ end
50389
+
50390
+ # [Output Only] Informational warning message.
50391
+ class Warning
50392
+ include Google::Apis::Core::Hashable
50393
+
50394
+ # [Output Only] A warning code, if applicable. For example, Compute
50395
+ # Engine returns NO_RESULTS_ON_PAGE if there
50396
+ # are no results in the response.
50397
+ # Corresponds to the JSON property `code`
50398
+ # @return [String]
50399
+ attr_accessor :code
50400
+
50401
+ # [Output Only] Metadata about this warning in key:
50402
+ # value format. For example:
50403
+ # "data": [
50404
+ # `
50405
+ # "key": "scope",
50406
+ # "value": "zones/us-east1-d"
50407
+ # `
50408
+ # Corresponds to the JSON property `data`
50409
+ # @return [Array<Google::Apis::ComputeAlpha::OperationList::Warning::Datum>]
50410
+ attr_accessor :data
50411
+
50412
+ # [Output Only] A human-readable description of the warning code.
50413
+ # Corresponds to the JSON property `message`
50414
+ # @return [String]
50415
+ attr_accessor :message
50416
+
50417
+ def initialize(**args)
50418
+ update!(**args)
50419
+ end
50420
+
50421
+ # Update properties of this object
50422
+ def update!(**args)
50423
+ @code = args[:code] if args.key?(:code)
50424
+ @data = args[:data] if args.key?(:data)
50425
+ @message = args[:message] if args.key?(:message)
50426
+ end
50427
+
50428
+ #
50429
+ class Datum
50430
+ include Google::Apis::Core::Hashable
50431
+
50432
+ # [Output Only] A key that provides more detail on the warning being
50433
+ # returned. For example, for warnings where there are no results in a list
50434
+ # request for a particular zone, this key might be scope and
50435
+ # the key value might be the zone name. Other examples might be a key
50436
+ # indicating a deprecated resource and a suggested replacement, or a
50437
+ # warning about invalid network settings (for example, if an instance
50438
+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
50439
+ # Corresponds to the JSON property `key`
50440
+ # @return [String]
50441
+ attr_accessor :key
50442
+
50443
+ # [Output Only] A warning data value corresponding to the key.
50444
+ # Corresponds to the JSON property `value`
50445
+ # @return [String]
50446
+ attr_accessor :value
50447
+
50448
+ def initialize(**args)
50449
+ update!(**args)
50450
+ end
50451
+
50452
+ # Update properties of this object
50453
+ def update!(**args)
50454
+ @key = args[:key] if args.key?(:key)
50455
+ @value = args[:value] if args.key?(:value)
50456
+ end
50457
+ end
50458
+ end
50459
+ end
50460
+
50461
+ #
50462
+ class OperationsScopedList
50463
+ include Google::Apis::Core::Hashable
50464
+
50465
+ # [Output Only] A list of operations contained in this scope.
50466
+ # Corresponds to the JSON property `operations`
50467
+ # @return [Array<Google::Apis::ComputeAlpha::Operation>]
50468
+ attr_accessor :operations
50469
+
50470
+ # [Output Only] Informational warning which replaces the list of operations
50471
+ # when the list is empty.
50472
+ # Corresponds to the JSON property `warning`
50473
+ # @return [Google::Apis::ComputeAlpha::OperationsScopedList::Warning]
50474
+ attr_accessor :warning
50475
+
50476
+ def initialize(**args)
50477
+ update!(**args)
50478
+ end
50479
+
50480
+ # Update properties of this object
50481
+ def update!(**args)
50482
+ @operations = args[:operations] if args.key?(:operations)
50483
+ @warning = args[:warning] if args.key?(:warning)
50484
+ end
50485
+
50486
+ # [Output Only] Informational warning which replaces the list of operations
50487
+ # when the list is empty.
50488
+ class Warning
50489
+ include Google::Apis::Core::Hashable
50490
+
50491
+ # [Output Only] A warning code, if applicable. For example, Compute
50492
+ # Engine returns NO_RESULTS_ON_PAGE if there
50493
+ # are no results in the response.
50494
+ # Corresponds to the JSON property `code`
50495
+ # @return [String]
50496
+ attr_accessor :code
50497
+
50498
+ # [Output Only] Metadata about this warning in key:
50499
+ # value format. For example:
50500
+ # "data": [
50501
+ # `
50502
+ # "key": "scope",
50503
+ # "value": "zones/us-east1-d"
50504
+ # `
50505
+ # Corresponds to the JSON property `data`
50506
+ # @return [Array<Google::Apis::ComputeAlpha::OperationsScopedList::Warning::Datum>]
50507
+ attr_accessor :data
50508
+
50509
+ # [Output Only] A human-readable description of the warning code.
50510
+ # Corresponds to the JSON property `message`
50511
+ # @return [String]
50512
+ attr_accessor :message
50513
+
50514
+ def initialize(**args)
50515
+ update!(**args)
50516
+ end
50517
+
50518
+ # Update properties of this object
50519
+ def update!(**args)
50520
+ @code = args[:code] if args.key?(:code)
50521
+ @data = args[:data] if args.key?(:data)
50522
+ @message = args[:message] if args.key?(:message)
50523
+ end
50524
+
50525
+ #
50526
+ class Datum
50527
+ include Google::Apis::Core::Hashable
50528
+
50529
+ # [Output Only] A key that provides more detail on the warning being
50530
+ # returned. For example, for warnings where there are no results in a list
50531
+ # request for a particular zone, this key might be scope and
50532
+ # the key value might be the zone name. Other examples might be a key
50533
+ # indicating a deprecated resource and a suggested replacement, or a
50534
+ # warning about invalid network settings (for example, if an instance
50535
+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
50536
+ # Corresponds to the JSON property `key`
50537
+ # @return [String]
50538
+ attr_accessor :key
50539
+
50540
+ # [Output Only] A warning data value corresponding to the key.
50541
+ # Corresponds to the JSON property `value`
50542
+ # @return [String]
50543
+ attr_accessor :value
50544
+
50545
+ def initialize(**args)
50546
+ update!(**args)
50547
+ end
50548
+
50549
+ # Update properties of this object
50550
+ def update!(**args)
50551
+ @key = args[:key] if args.key?(:key)
50552
+ @value = args[:value] if args.key?(:value)
50553
+ end
50554
+ end
50555
+ end
50556
+ end
50557
+
50558
+ #
50559
+ class OrganizationRolloutsListResponse
50103
50560
  include Google::Apis::Core::Hashable
50104
50561
 
50105
- # [Output Only] The unique identifier for the resource. This identifier is
50106
- # defined by the server.
50562
+ #
50563
+ # Corresponds to the JSON property `etag`
50564
+ # @return [String]
50565
+ attr_accessor :etag
50566
+
50567
+ # [Output Only] Unique identifier for the resource; defined by the server.
50107
50568
  # Corresponds to the JSON property `id`
50108
50569
  # @return [String]
50109
50570
  attr_accessor :id
50110
50571
 
50111
- # [Output Only] A list of Operation resources.
50572
+ # A list of Rollout resources.
50112
50573
  # Corresponds to the JSON property `items`
50113
- # @return [Array<Google::Apis::ComputeAlpha::Operation>]
50574
+ # @return [Array<Google::Apis::ComputeAlpha::Rollout>]
50114
50575
  attr_accessor :items
50115
50576
 
50116
- # Output only. [Output Only] Type of resource. Always `compute#operations` for
50117
- # Operations
50118
- # resource.
50119
- # Corresponds to the JSON property `kind`
50120
- # @return [String]
50121
- attr_accessor :kind
50122
-
50123
50577
  # [Output Only] This token allows you to get the next page of results for
50124
- # list requests. If the number of results is larger than
50125
- # `maxResults`, use the `nextPageToken` as a value for
50126
- # the query parameter `pageToken` in the next list request.
50127
- # Subsequent list requests will have their own `nextPageToken` to
50578
+ # list requests. If the number of results is larger thanmaxResults, use the
50579
+ # nextPageToken as a value for
50580
+ # the query parameter pageToken in the next list request.
50581
+ # Subsequent list requests will have their own nextPageToken to
50128
50582
  # continue paging through the results.
50129
50583
  # Corresponds to the JSON property `nextPageToken`
50130
50584
  # @return [String]
50131
50585
  attr_accessor :next_page_token
50132
50586
 
50133
- # [Output Only] Server-defined URL for this resource.
50587
+ # Output only. [Output Only] Server-defined URL for this resource.
50134
50588
  # Corresponds to the JSON property `selfLink`
50135
50589
  # @return [String]
50136
50590
  attr_accessor :self_link
50137
50591
 
50592
+ # Output only. [Output Only] Unreachable resources.
50593
+ # end_interface: MixerListResponseWithEtagBuilder
50594
+ # Corresponds to the JSON property `unreachables`
50595
+ # @return [Array<String>]
50596
+ attr_accessor :unreachables
50597
+
50138
50598
  # [Output Only] Informational warning message.
50139
50599
  # Corresponds to the JSON property `warning`
50140
- # @return [Google::Apis::ComputeAlpha::OperationList::Warning]
50600
+ # @return [Google::Apis::ComputeAlpha::OrganizationRolloutsListResponse::Warning]
50141
50601
  attr_accessor :warning
50142
50602
 
50143
50603
  def initialize(**args)
@@ -50146,11 +50606,12 @@ module Google
50146
50606
 
50147
50607
  # Update properties of this object
50148
50608
  def update!(**args)
50609
+ @etag = args[:etag] if args.key?(:etag)
50149
50610
  @id = args[:id] if args.key?(:id)
50150
50611
  @items = args[:items] if args.key?(:items)
50151
- @kind = args[:kind] if args.key?(:kind)
50152
50612
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
50153
50613
  @self_link = args[:self_link] if args.key?(:self_link)
50614
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
50154
50615
  @warning = args[:warning] if args.key?(:warning)
50155
50616
  end
50156
50617
 
@@ -50173,7 +50634,7 @@ module Google
50173
50634
  # "value": "zones/us-east1-d"
50174
50635
  # `
50175
50636
  # Corresponds to the JSON property `data`
50176
- # @return [Array<Google::Apis::ComputeAlpha::OperationList::Warning::Datum>]
50637
+ # @return [Array<Google::Apis::ComputeAlpha::OrganizationRolloutsListResponse::Warning::Datum>]
50177
50638
  attr_accessor :data
50178
50639
 
50179
50640
  # [Output Only] A human-readable description of the warning code.
@@ -50226,18 +50687,81 @@ module Google
50226
50687
  end
50227
50688
 
50228
50689
  #
50229
- class OperationsScopedList
50690
+ class OrganizationSecurityPoliciesListAssociationsResponse
50230
50691
  include Google::Apis::Core::Hashable
50231
50692
 
50232
- # [Output Only] A list of operations contained in this scope.
50233
- # Corresponds to the JSON property `operations`
50234
- # @return [Array<Google::Apis::ComputeAlpha::Operation>]
50235
- attr_accessor :operations
50693
+ # A list of associations.
50694
+ # Corresponds to the JSON property `associations`
50695
+ # @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyAssociation>]
50696
+ attr_accessor :associations
50236
50697
 
50237
- # [Output Only] Informational warning which replaces the list of operations
50238
- # when the list is empty.
50698
+ # Output only. [Output Only] Type of securityPolicy associations. Alwayscompute#
50699
+ # organizationSecurityPoliciesListAssociations for lists
50700
+ # of securityPolicy associations.
50701
+ # Corresponds to the JSON property `kind`
50702
+ # @return [String]
50703
+ attr_accessor :kind
50704
+
50705
+ def initialize(**args)
50706
+ update!(**args)
50707
+ end
50708
+
50709
+ # Update properties of this object
50710
+ def update!(**args)
50711
+ @associations = args[:associations] if args.key?(:associations)
50712
+ @kind = args[:kind] if args.key?(:kind)
50713
+ end
50714
+ end
50715
+
50716
+ #
50717
+ class OrganizationVmExtensionPolicyAggregatedListResponse
50718
+ include Google::Apis::Core::Hashable
50719
+
50720
+ #
50721
+ # Corresponds to the JSON property `etag`
50722
+ # @return [String]
50723
+ attr_accessor :etag
50724
+
50725
+ # [Output Only] Unique identifier for the resource; defined by the server.
50726
+ # Corresponds to the JSON property `id`
50727
+ # @return [String]
50728
+ attr_accessor :id
50729
+
50730
+ # A list of VmExtensionPoliciesScopedList resources.
50731
+ # Corresponds to the JSON property `items`
50732
+ # @return [Hash<String,Google::Apis::ComputeAlpha::VmExtensionPoliciesScopedList>]
50733
+ attr_accessor :items
50734
+
50735
+ # Output only. [Output Only] Type of resource. Alwayscompute#
50736
+ # OrganizationVmExtensionPolicyAggregatedList for lists
50737
+ # of VmExtensionPolicies.
50738
+ # Corresponds to the JSON property `kind`
50739
+ # @return [String]
50740
+ attr_accessor :kind
50741
+
50742
+ # [Output Only] This token allows you to get the next page of results for
50743
+ # list requests. If the number of results is larger thanmaxResults, use the
50744
+ # nextPageToken as a value for
50745
+ # the query parameter pageToken in the next list request.
50746
+ # Subsequent list requests will have their own nextPageToken to
50747
+ # continue paging through the results.
50748
+ # Corresponds to the JSON property `nextPageToken`
50749
+ # @return [String]
50750
+ attr_accessor :next_page_token
50751
+
50752
+ # Output only. [Output Only] Server-defined URL for this resource.
50753
+ # Corresponds to the JSON property `selfLink`
50754
+ # @return [String]
50755
+ attr_accessor :self_link
50756
+
50757
+ # Output only. [Output Only] Unreachable resources.
50758
+ # Corresponds to the JSON property `unreachables`
50759
+ # @return [Array<String>]
50760
+ attr_accessor :unreachables
50761
+
50762
+ # [Output Only] Informational warning message.
50239
50763
  # Corresponds to the JSON property `warning`
50240
- # @return [Google::Apis::ComputeAlpha::OperationsScopedList::Warning]
50764
+ # @return [Google::Apis::ComputeAlpha::OrganizationVmExtensionPolicyAggregatedListResponse::Warning]
50241
50765
  attr_accessor :warning
50242
50766
 
50243
50767
  def initialize(**args)
@@ -50246,12 +50770,17 @@ module Google
50246
50770
 
50247
50771
  # Update properties of this object
50248
50772
  def update!(**args)
50249
- @operations = args[:operations] if args.key?(:operations)
50773
+ @etag = args[:etag] if args.key?(:etag)
50774
+ @id = args[:id] if args.key?(:id)
50775
+ @items = args[:items] if args.key?(:items)
50776
+ @kind = args[:kind] if args.key?(:kind)
50777
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
50778
+ @self_link = args[:self_link] if args.key?(:self_link)
50779
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
50250
50780
  @warning = args[:warning] if args.key?(:warning)
50251
50781
  end
50252
50782
 
50253
- # [Output Only] Informational warning which replaces the list of operations
50254
- # when the list is empty.
50783
+ # [Output Only] Informational warning message.
50255
50784
  class Warning
50256
50785
  include Google::Apis::Core::Hashable
50257
50786
 
@@ -50270,7 +50799,7 @@ module Google
50270
50799
  # "value": "zones/us-east1-d"
50271
50800
  # `
50272
50801
  # Corresponds to the JSON property `data`
50273
- # @return [Array<Google::Apis::ComputeAlpha::OperationsScopedList::Warning::Datum>]
50802
+ # @return [Array<Google::Apis::ComputeAlpha::OrganizationVmExtensionPolicyAggregatedListResponse::Warning::Datum>]
50274
50803
  attr_accessor :data
50275
50804
 
50276
50805
  # [Output Only] A human-readable description of the warning code.
@@ -50322,33 +50851,6 @@ module Google
50322
50851
  end
50323
50852
  end
50324
50853
 
50325
- #
50326
- class OrganizationSecurityPoliciesListAssociationsResponse
50327
- include Google::Apis::Core::Hashable
50328
-
50329
- # A list of associations.
50330
- # Corresponds to the JSON property `associations`
50331
- # @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyAssociation>]
50332
- attr_accessor :associations
50333
-
50334
- # Output only. [Output Only] Type of securityPolicy associations. Alwayscompute#
50335
- # organizationSecurityPoliciesListAssociations for lists
50336
- # of securityPolicy associations.
50337
- # Corresponds to the JSON property `kind`
50338
- # @return [String]
50339
- attr_accessor :kind
50340
-
50341
- def initialize(**args)
50342
- update!(**args)
50343
- end
50344
-
50345
- # Update properties of this object
50346
- def update!(**args)
50347
- @associations = args[:associations] if args.key?(:associations)
50348
- @kind = args[:kind] if args.key?(:kind)
50349
- end
50350
- end
50351
-
50352
50854
  # [Deprecated] Configuration for the origin authentication method.
50353
50855
  # Configuration for the origin authentication method.
50354
50856
  class OriginAuthenticationMethod
@@ -51658,6 +52160,38 @@ module Google
51658
52160
  end
51659
52161
  end
51660
52162
 
52163
+ # Commitment for a particular persistent disk resource.
52164
+ class PersistentDiskResourceCommitment
52165
+ include Google::Apis::Core::Hashable
52166
+
52167
+ # Required. The amount of the resource to commit to, in GiB.
52168
+ # Corresponds to the JSON property `amount`
52169
+ # @return [Fixnum]
52170
+ attr_accessor :amount
52171
+
52172
+ # The specific dimension of the product for this amount.
52173
+ # Corresponds to the JSON property `dimensionType`
52174
+ # @return [String]
52175
+ attr_accessor :dimension_type
52176
+
52177
+ # The PD product being committed to. All entries in a
52178
+ # Commitment.persistent_disk_resources list must have the same product_type.
52179
+ # Corresponds to the JSON property `productType`
52180
+ # @return [String]
52181
+ attr_accessor :product_type
52182
+
52183
+ def initialize(**args)
52184
+ update!(**args)
52185
+ end
52186
+
52187
+ # Update properties of this object
52188
+ def update!(**args)
52189
+ @amount = args[:amount] if args.key?(:amount)
52190
+ @dimension_type = args[:dimension_type] if args.key?(:dimension_type)
52191
+ @product_type = args[:product_type] if args.key?(:product_type)
52192
+ end
52193
+ end
52194
+
51661
52195
  # An Identity and Access Management (IAM) policy, which specifies access
51662
52196
  # controls for Google Cloud resources.
51663
52197
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
@@ -54866,12 +55400,6 @@ module Google
54866
55400
  attr_accessor :auto_created
54867
55401
  alias_method :auto_created?, :auto_created
54868
55402
 
54869
- # ResourceKey of the resource policy or flow which created this auto
54870
- # snapshot
54871
- # Corresponds to the JSON property `autoCreatedBy`
54872
- # @return [String]
54873
- attr_accessor :auto_created_by
54874
-
54875
55403
  # Creates the new snapshot in the snapshot chain labeled with the
54876
55404
  # specified name. The chain name must be 1-63 characters long and comply
54877
55405
  # with RFC1035. This is an uncommon option only for advanced service
@@ -54922,12 +55450,6 @@ module Google
54922
55450
  attr_accessor :enable_confidential_compute
54923
55451
  alias_method :enable_confidential_compute?, :enable_confidential_compute
54924
55452
 
54925
- # Indicates the created snapshot is a full snapshot.
54926
- # Corresponds to the JSON property `full`
54927
- # @return [Boolean]
54928
- attr_accessor :full
54929
- alias_method :full?, :full
54930
-
54931
55453
  # Output only. [Output Only] A list of features to enable on the guest operating
54932
55454
  # system.
54933
55455
  # Applicable only for bootable images. Read
@@ -55119,11 +55641,13 @@ module Google
55119
55641
  # @return [Fixnum]
55120
55642
  attr_accessor :storage_bytes
55121
55643
 
55122
- # Output only. [Output Only] An indicator whether storageBytes is in a
55644
+ # Output only. [Deprecated] Instead, check the storageBytes field. After
55645
+ # snapshot creation, the storageBytesStatus field is alwaysUP_TO_DATE.
55646
+ # [Output Only] An indicator whether storageBytes is in a
55123
55647
  # stable state or it is being adjusted as a result of shared storage
55124
- # reallocation. This status can either be UPDATING, meaning
55125
- # the size of the snapshot is being updated, or UP_TO_DATE,
55126
- # meaning the size of the snapshot is up-to-date.
55648
+ # reallocation. This status can either be unset, meaning the snapshot is
55649
+ # being created, or UP_TO_DATE, meaning the size of the
55650
+ # snapshot is up-to-date.
55127
55651
  # Corresponds to the JSON property `storageBytesStatus`
55128
55652
  # @return [String]
55129
55653
  attr_accessor :storage_bytes_status
@@ -55142,7 +55666,6 @@ module Google
55142
55666
  def update!(**args)
55143
55667
  @architecture = args[:architecture] if args.key?(:architecture)
55144
55668
  @auto_created = args[:auto_created] if args.key?(:auto_created)
55145
- @auto_created_by = args[:auto_created_by] if args.key?(:auto_created_by)
55146
55669
  @chain_name = args[:chain_name] if args.key?(:chain_name)
55147
55670
  @creation_size_bytes = args[:creation_size_bytes] if args.key?(:creation_size_bytes)
55148
55671
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -55151,7 +55674,6 @@ module Google
55151
55674
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
55152
55675
  @download_bytes = args[:download_bytes] if args.key?(:download_bytes)
55153
55676
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
55154
- @full = args[:full] if args.key?(:full)
55155
55677
  @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
55156
55678
  @id = args[:id] if args.key?(:id)
55157
55679
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
@@ -55323,6 +55845,55 @@ module Google
55323
55845
  end
55324
55846
  end
55325
55847
 
55848
+ # The spec for modifying the path using a regular expression.
55849
+ class RegexRewrite
55850
+ include Google::Apis::Core::Hashable
55851
+
55852
+ # The regular expression used to match against the URL path.
55853
+ # It uses RE2 syntax with the following constraints:
55854
+ #
55855
+ #
55856
+ # - Any single character operators
55857
+ # - Groups are allowed to have only submatch operator inside
55858
+ # - Groups are allowed only without any char repetition, e.g.
55859
+ # .*
55860
+ # - Any char repetition, e.g. .*, is
55861
+ # only allowed to be used in a single regex together with:
55862
+ #
55863
+ #
55864
+ # - Empty string operators
55865
+ # - Other repetitions
55866
+ # - Ranges
55867
+ # - Repetitions of ranges
55868
+ #
55869
+ #
55870
+ # - Ranges are only allowed to have:
55871
+ #
55872
+ #
55873
+ # - Character range
55874
+ # - Digits range
55875
+ # - Symbols listed in characters allowed for ranges
55876
+ # Corresponds to the JSON property `pathPattern`
55877
+ # @return [String]
55878
+ attr_accessor :path_pattern
55879
+
55880
+ # Required when path pattern is specified. Used to rewrite matching parts of
55881
+ # the path.
55882
+ # Corresponds to the JSON property `pathSubstitution`
55883
+ # @return [String]
55884
+ attr_accessor :path_substitution
55885
+
55886
+ def initialize(**args)
55887
+ update!(**args)
55888
+ end
55889
+
55890
+ # Update properties of this object
55891
+ def update!(**args)
55892
+ @path_pattern = args[:path_pattern] if args.key?(:path_pattern)
55893
+ @path_substitution = args[:path_substitution] if args.key?(:path_substitution)
55894
+ end
55895
+ end
55896
+
55326
55897
  # Represents a Region resource.
55327
55898
  # A region is a geographical area where a resource is located. For more
55328
55899
  # information, readRegions
@@ -56427,6 +56998,11 @@ module Google
56427
56998
  attr_accessor :all_instances
56428
56999
  alias_method :all_instances?, :all_instances
56429
57000
 
57001
+ # Actions that are allowed to update instances within MIG.
57002
+ # Corresponds to the JSON property `allowedActions`
57003
+ # @return [Array<String>]
57004
+ attr_accessor :allowed_actions
57005
+
56430
57006
  # Whether the boot disk is allowed to be updated with restart.
56431
57007
  # Corresponds to the JSON property `disruptionMode`
56432
57008
  # @return [String]
@@ -56489,6 +57065,7 @@ module Google
56489
57065
  # Update properties of this object
56490
57066
  def update!(**args)
56491
57067
  @all_instances = args[:all_instances] if args.key?(:all_instances)
57068
+ @allowed_actions = args[:allowed_actions] if args.key?(:allowed_actions)
56492
57069
  @disruption_mode = args[:disruption_mode] if args.key?(:disruption_mode)
56493
57070
  @instances = args[:instances] if args.key?(:instances)
56494
57071
  @maximal_action = args[:maximal_action] if args.key?(:maximal_action)
@@ -58355,6 +58932,11 @@ module Google
58355
58932
  class ReservationBlock
58356
58933
  include Google::Apis::Core::Hashable
58357
58934
 
58935
+ # Health information for the reservation block.
58936
+ # Corresponds to the JSON property `blockHealthInfo`
58937
+ # @return [Google::Apis::ComputeAlpha::ReservationBlockHealthInfo]
58938
+ attr_accessor :block_health_info
58939
+
58358
58940
  # Output only. [Output Only] The number of resources that are allocated in this
58359
58941
  # reservation block.
58360
58942
  # Corresponds to the JSON property `count`
@@ -58366,11 +58948,6 @@ module Google
58366
58948
  # @return [String]
58367
58949
  attr_accessor :creation_timestamp
58368
58950
 
58369
- # Health information for the reservation block.
58370
- # Corresponds to the JSON property `healthInfo`
58371
- # @return [Google::Apis::ComputeAlpha::ReservationBlockHealthInfo]
58372
- attr_accessor :health_info
58373
-
58374
58951
  # Output only. [Output Only] The unique identifier for the resource. This
58375
58952
  # identifier is
58376
58953
  # defined by the server.
@@ -58468,9 +59045,9 @@ module Google
58468
59045
 
58469
59046
  # Update properties of this object
58470
59047
  def update!(**args)
59048
+ @block_health_info = args[:block_health_info] if args.key?(:block_health_info)
58471
59049
  @count = args[:count] if args.key?(:count)
58472
59050
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
58473
- @health_info = args[:health_info] if args.key?(:health_info)
58474
59051
  @id = args[:id] if args.key?(:id)
58475
59052
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
58476
59053
  @in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
@@ -59237,11 +59814,6 @@ module Google
59237
59814
  # @return [String]
59238
59815
  attr_accessor :creation_timestamp
59239
59816
 
59240
- # Health information for the reservation subBlock.
59241
- # Corresponds to the JSON property `healthInfo`
59242
- # @return [Google::Apis::ComputeAlpha::ReservationSubBlockHealthInfo]
59243
- attr_accessor :health_info
59244
-
59245
59817
  # Output only. [Output Only] The unique identifier for the resource. This
59246
59818
  # identifier is
59247
59819
  # defined by the server.
@@ -59287,6 +59859,13 @@ module Google
59287
59859
  # @return [Google::Apis::ComputeAlpha::GroupMaintenanceInfo]
59288
59860
  attr_accessor :reservation_sub_block_maintenance
59289
59861
 
59862
+ # Customer specified retention priority for power shedding events.
59863
+ # Used to determine priority of the subBlock relative to others during
59864
+ # a power shedding event. Higher priorities are retained over lower ones.
59865
+ # Corresponds to the JSON property `retentionPriority`
59866
+ # @return [Fixnum]
59867
+ attr_accessor :retention_priority
59868
+
59290
59869
  # Output only. [Output Only] Server-defined fully-qualified URL for this
59291
59870
  # resource.
59292
59871
  # Corresponds to the JSON property `selfLink`
@@ -59304,6 +59883,11 @@ module Google
59304
59883
  # @return [String]
59305
59884
  attr_accessor :status
59306
59885
 
59886
+ # Health information for the reservation subBlock.
59887
+ # Corresponds to the JSON property `subBlockHealthInfo`
59888
+ # @return [Google::Apis::ComputeAlpha::ReservationSubBlockHealthInfo]
59889
+ attr_accessor :sub_block_health_info
59890
+
59307
59891
  # Output only. [Output Only] Zone in which the reservation subBlock resides.
59308
59892
  # Corresponds to the JSON property `zone`
59309
59893
  # @return [String]
@@ -59318,7 +59902,6 @@ module Google
59318
59902
  @accelerator_topologies_info = args[:accelerator_topologies_info] if args.key?(:accelerator_topologies_info)
59319
59903
  @count = args[:count] if args.key?(:count)
59320
59904
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
59321
- @health_info = args[:health_info] if args.key?(:health_info)
59322
59905
  @id = args[:id] if args.key?(:id)
59323
59906
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
59324
59907
  @in_use_host_count = args[:in_use_host_count] if args.key?(:in_use_host_count)
@@ -59326,9 +59909,11 @@ module Google
59326
59909
  @name = args[:name] if args.key?(:name)
59327
59910
  @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
59328
59911
  @reservation_sub_block_maintenance = args[:reservation_sub_block_maintenance] if args.key?(:reservation_sub_block_maintenance)
59912
+ @retention_priority = args[:retention_priority] if args.key?(:retention_priority)
59329
59913
  @self_link = args[:self_link] if args.key?(:self_link)
59330
59914
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
59331
59915
  @status = args[:status] if args.key?(:status)
59916
+ @sub_block_health_info = args[:sub_block_health_info] if args.key?(:sub_block_health_info)
59332
59917
  @zone = args[:zone] if args.key?(:zone)
59333
59918
  end
59334
59919
  end
@@ -61248,6 +61833,11 @@ module Google
61248
61833
  class ResourceStatusPhysicalHostTopology
61249
61834
  include Google::Apis::Core::Hashable
61250
61835
 
61836
+ # Additional location information of the running instance.
61837
+ # Corresponds to the JSON property `additionalAttributes`
61838
+ # @return [Google::Apis::ComputeAlpha::ResourceStatusPhysicalHostTopologyAdditionalAttributes]
61839
+ attr_accessor :additional_attributes
61840
+
61251
61841
  # [Output Only] The ID of the block in which the running instance is
61252
61842
  # located. Instances within the same block experience low network latency.
61253
61843
  # Corresponds to the JSON property `block`
@@ -61280,6 +61870,7 @@ module Google
61280
61870
 
61281
61871
  # Update properties of this object
61282
61872
  def update!(**args)
61873
+ @additional_attributes = args[:additional_attributes] if args.key?(:additional_attributes)
61283
61874
  @block = args[:block] if args.key?(:block)
61284
61875
  @cluster = args[:cluster] if args.key?(:cluster)
61285
61876
  @host = args[:host] if args.key?(:host)
@@ -61287,6 +61878,29 @@ module Google
61287
61878
  end
61288
61879
  end
61289
61880
 
61881
+ # Additional location information of the running instance.
61882
+ class ResourceStatusPhysicalHostTopologyAdditionalAttributes
61883
+ include Google::Apis::Core::Hashable
61884
+
61885
+ # Output only. The IDs of the accelerator topologies the instance belongs to.
61886
+ # For
61887
+ # example
61888
+ # The key will be topologies like "4x4", "2x2x2" and the value will be
61889
+ # the location ID of the topologies.
61890
+ # Corresponds to the JSON property `acceleratorTopologyIds`
61891
+ # @return [Hash<String,String>]
61892
+ attr_accessor :accelerator_topology_ids
61893
+
61894
+ def initialize(**args)
61895
+ update!(**args)
61896
+ end
61897
+
61898
+ # Update properties of this object
61899
+ def update!(**args)
61900
+ @accelerator_topology_ids = args[:accelerator_topology_ids] if args.key?(:accelerator_topology_ids)
61901
+ end
61902
+ end
61903
+
61290
61904
  # Reservation consumption information that the instance is consuming from.
61291
61905
  class ResourceStatusReservationConsumptionInfo
61292
61906
  include Google::Apis::Core::Hashable
@@ -64133,6 +64747,15 @@ module Google
64133
64747
  # @return [Array<String>]
64134
64748
  attr_accessor :drain_nat_ips
64135
64749
 
64750
+ # Output only. Effective timeout (in seconds) for TCP connections that are in
64751
+ # TIME_WAIT
64752
+ # state. This value is equal to tcp_time_wait_timeout_sec.
64753
+ # If tcp_time_wait_timeout_sec isn't set, the effective timeout is 30s or
64754
+ # 120s. The field is output only.
64755
+ # Corresponds to the JSON property `effectiveTcpTimeWaitTimeoutSec`
64756
+ # @return [Fixnum]
64757
+ attr_accessor :effective_tcp_time_wait_timeout_sec
64758
+
64136
64759
  # Enable Dynamic Port Allocation.
64137
64760
  # If not specified, it is disabled by default.
64138
64761
  # If set to true,
@@ -64306,6 +64929,7 @@ module Google
64306
64929
  def update!(**args)
64307
64930
  @auto_network_tier = args[:auto_network_tier] if args.key?(:auto_network_tier)
64308
64931
  @drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
64932
+ @effective_tcp_time_wait_timeout_sec = args[:effective_tcp_time_wait_timeout_sec] if args.key?(:effective_tcp_time_wait_timeout_sec)
64309
64933
  @enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
64310
64934
  @enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
64311
64935
  @endpoint_types = args[:endpoint_types] if args.key?(:endpoint_types)
@@ -64399,6 +65023,11 @@ module Google
64399
65023
  # @return [Fixnum]
64400
65024
  attr_accessor :rule_number
64401
65025
 
65026
+ # A list of source workload identities.
65027
+ # Corresponds to the JSON property `sourceWorkloadIdentities`
65028
+ # @return [Array<String>]
65029
+ attr_accessor :source_workload_identities
65030
+
64402
65031
  def initialize(**args)
64403
65032
  update!(**args)
64404
65033
  end
@@ -64409,6 +65038,7 @@ module Google
64409
65038
  @description = args[:description] if args.key?(:description)
64410
65039
  @match = args[:match] if args.key?(:match)
64411
65040
  @rule_number = args[:rule_number] if args.key?(:rule_number)
65041
+ @source_workload_identities = args[:source_workload_identities] if args.key?(:source_workload_identities)
64412
65042
  end
64413
65043
  end
64414
65044
 
@@ -65964,6 +66594,11 @@ module Google
65964
66594
  # @return [String]
65965
66595
  attr_accessor :termination_time
65966
66596
 
66597
+ # Message to control the enablement of the vsock device.
66598
+ # Corresponds to the JSON property `vsockMode`
66599
+ # @return [Google::Apis::ComputeAlpha::SchedulingVsockMode]
66600
+ attr_accessor :vsock_mode
66601
+
65967
66602
  # Represents the Windows Server License Optimization Mode of the VM. If
65968
66603
  # unspecified, the default mode is `OFF`.
65969
66604
  # Corresponds to the JSON property `windowsLicenseOptimizationMode`
@@ -65999,6 +66634,7 @@ module Google
65999
66634
  @shutdown_timeout = args[:shutdown_timeout] if args.key?(:shutdown_timeout)
66000
66635
  @skip_guest_os_shutdown = args[:skip_guest_os_shutdown] if args.key?(:skip_guest_os_shutdown)
66001
66636
  @termination_time = args[:termination_time] if args.key?(:termination_time)
66637
+ @vsock_mode = args[:vsock_mode] if args.key?(:vsock_mode)
66002
66638
  @windows_license_optimization_mode = args[:windows_license_optimization_mode] if args.key?(:windows_license_optimization_mode)
66003
66639
  end
66004
66640
  end
@@ -66087,6 +66723,25 @@ module Google
66087
66723
  end
66088
66724
  end
66089
66725
 
66726
+ # Message to control the enablement of the vsock device.
66727
+ class SchedulingVsockMode
66728
+ include Google::Apis::Core::Hashable
66729
+
66730
+ #
66731
+ # Corresponds to the JSON property `mode`
66732
+ # @return [String]
66733
+ attr_accessor :mode
66734
+
66735
+ def initialize(**args)
66736
+ update!(**args)
66737
+ end
66738
+
66739
+ # Update properties of this object
66740
+ def update!(**args)
66741
+ @mode = args[:mode] if args.key?(:mode)
66742
+ end
66743
+ end
66744
+
66090
66745
  # An instance's screenshot.
66091
66746
  class Screenshot
66092
66747
  include Google::Apis::Core::Hashable
@@ -69928,11 +70583,13 @@ module Google
69928
70583
  # @return [Fixnum]
69929
70584
  attr_accessor :storage_bytes
69930
70585
 
69931
- # Output only. [Output Only] An indicator whether storageBytes is in a
70586
+ # Output only. [Deprecated] Instead, check the storageBytes field. After
70587
+ # snapshot creation, the storageBytesStatus field is alwaysUP_TO_DATE.
70588
+ # [Output Only] An indicator whether storageBytes is in a
69932
70589
  # stable state or it is being adjusted as a result of shared storage
69933
- # reallocation. This status can either be UPDATING, meaning
69934
- # the size of the snapshot is being updated, or UP_TO_DATE,
69935
- # meaning the size of the snapshot is up-to-date.
70590
+ # reallocation. This status can either be unset, meaning the snapshot is
70591
+ # being created, or UP_TO_DATE, meaning the size of the snapshot
70592
+ # is up-to-date.
69936
70593
  # Corresponds to the JSON property `storageBytesStatus`
69937
70594
  # @return [String]
69938
70595
  attr_accessor :storage_bytes_status
@@ -70494,6 +71151,12 @@ module Google
70494
71151
  # @return [Hash<String,Google::Apis::ComputeAlpha::SnapshotRecycleBinPolicyRule>]
70495
71152
  attr_accessor :rules
70496
71153
 
71154
+ # Output only. The system rules for snapshot recycle bin policy.
71155
+ # Defines the default rule that applies if no customer-defined rule matches.
71156
+ # Corresponds to the JSON property `systemRules`
71157
+ # @return [Hash<String,Google::Apis::ComputeAlpha::SnapshotRecycleBinPolicyRule>]
71158
+ attr_accessor :system_rules
71159
+
70497
71160
  def initialize(**args)
70498
71161
  update!(**args)
70499
71162
  end
@@ -70501,6 +71164,7 @@ module Google
70501
71164
  # Update properties of this object
70502
71165
  def update!(**args)
70503
71166
  @rules = args[:rules] if args.key?(:rules)
71167
+ @system_rules = args[:system_rules] if args.key?(:system_rules)
70504
71168
  end
70505
71169
  end
70506
71170
 
@@ -80380,6 +81044,11 @@ module Google
80380
81044
  # @return [String]
80381
81045
  attr_accessor :path_template_rewrite
80382
81046
 
81047
+ # The spec for modifying the path using a regular expression.
81048
+ # Corresponds to the JSON property `regexRewrite`
81049
+ # @return [Google::Apis::ComputeAlpha::RegexRewrite]
81050
+ attr_accessor :regex_rewrite
81051
+
80383
81052
  def initialize(**args)
80384
81053
  update!(**args)
80385
81054
  end
@@ -80389,6 +81058,7 @@ module Google
80389
81058
  @host_rewrite = args[:host_rewrite] if args.key?(:host_rewrite)
80390
81059
  @path_prefix_rewrite = args[:path_prefix_rewrite] if args.key?(:path_prefix_rewrite)
80391
81060
  @path_template_rewrite = args[:path_template_rewrite] if args.key?(:path_template_rewrite)
81061
+ @regex_rewrite = args[:regex_rewrite] if args.key?(:regex_rewrite)
80392
81062
  end
80393
81063
  end
80394
81064