google-apis-compute_alpha 0.89.0 → 0.91.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f1fa623120a8145e88fabe1d42d43a653de726673e900f3fba05c6a722eaade
4
- data.tar.gz: a3b1786a7f0365319529b6ec416e1e85a0ea563133f50fa65df9273373f4349c
3
+ metadata.gz: ef5f5c28643e00400516e9dc334bf6deb44e43c82f1d7dd20be7939043cc1f0f
4
+ data.tar.gz: 05a887642025559b79a6a00bc87a39df07b7890b63f8b386412c7e9704359343
5
5
  SHA512:
6
- metadata.gz: 23e8f9aa4c8ebaf4941e64a35efcd2e5c5fb9191bc13dc699ab574b86423e04b103470f52df48b53cde5a009ea65e149fdc6b71af64b5eee6291cf59d791d1ec
7
- data.tar.gz: 6d0e8b7784e5e5e3f3e98331377d340cae2b41a93e6dad390b44f523c9e29273fb0e83cacce06387b2cc1b68877fe6000da57a30fd34e22ea6b01bda6afed1c5
6
+ metadata.gz: 9ea1e7c08519b4836d3f1b9cbe8e01677a4b21b64716a5e8b2a6f914427dcce32b1742e52a773abb626c4bf13a32bd965db5c4f80b6c8db9433cf63c9224bab0
7
+ data.tar.gz: 00dce6e330c9dbeb51b291eec6bab32949af2813ff8d39fd09173d1bc1bde13143e92374f0a7a5a9ffd312c1908e5f2d3b1c56e5a157199f334384042ae053a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.91.0 (2024-02-23)
4
+
5
+ * Regenerated from discovery document revision 20240218
6
+ * Regenerated using generator version 0.14.0
7
+
8
+ ### v0.90.0 (2024-02-11)
9
+
10
+ * Regenerated from discovery document revision 20240130
11
+
3
12
  ### v0.89.0 (2024-02-04)
4
13
 
5
14
  * Regenerated from discovery document revision 20240129
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/compute/) may provide guida
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -1806,8 +1806,8 @@ module Google
1806
1806
  attr_accessor :provisioned_iops
1807
1807
 
1808
1808
  # Indicates how much throughput to provision for the disk. This sets the number
1809
- # of throughput mb per second that the disk can handle. Values must be between 1
1810
- # and 7,124.
1809
+ # of throughput mb per second that the disk can handle. Values must greater than
1810
+ # or equal to 1.
1811
1811
  # Corresponds to the JSON property `provisionedThroughput`
1812
1812
  # @return [Fixnum]
1813
1813
  attr_accessor :provisioned_throughput
@@ -7361,8 +7361,8 @@ module Google
7361
7361
  attr_accessor :provisioned_iops
7362
7362
 
7363
7363
  # Indicates how much throughput to provision for the disk. This sets the number
7364
- # of throughput mb per second that the disk can handle. Values must be between 1
7365
- # and 7,124.
7364
+ # of throughput mb per second that the disk can handle. Values must be greater
7365
+ # than or equal to 1.
7366
7366
  # Corresponds to the JSON property `provisionedThroughput`
7367
7367
  # @return [Fixnum]
7368
7368
  attr_accessor :provisioned_throughput
@@ -8117,6 +8117,16 @@ module Google
8117
8117
  class DiskSettings
8118
8118
  include Google::Apis::Core::Hashable
8119
8119
 
8120
+ # AccessLocation is only used for regional snapshot. It contains which regions
8121
+ # are allowed to create a regional snapshot from disks located in the given
8122
+ # region/zone. It includes key-value pairs designed to store the following
8123
+ # structure. The keys should match their corresponding values, which must be
8124
+ # provided: access_location: ` locations ` us-central1 ` region: "us-central1" `,
8125
+ # asia-west2 ` region: "asia-west2" ` ` `
8126
+ # Corresponds to the JSON property `accessLocation`
8127
+ # @return [Google::Apis::ComputeAlpha::DiskSettingsAccessLocation]
8128
+ attr_accessor :access_location
8129
+
8120
8130
  # An optional parameter for storing the default resource policies that will be
8121
8131
  # used for the Disks created in the given scope. The Key is a string type,
8122
8132
  # provided by customers to uniquely identify the default Resource Policy entry.
@@ -8132,10 +8142,54 @@ module Google
8132
8142
 
8133
8143
  # Update properties of this object
8134
8144
  def update!(**args)
8145
+ @access_location = args[:access_location] if args.key?(:access_location)
8135
8146
  @default_resource_policies = args[:default_resource_policies] if args.key?(:default_resource_policies)
8136
8147
  end
8137
8148
  end
8138
8149
 
8150
+ # AccessLocation is only used for regional snapshot. It contains which regions
8151
+ # are allowed to create a regional snapshot from disks located in the given
8152
+ # region/zone. It includes key-value pairs designed to store the following
8153
+ # structure. The keys should match their corresponding values, which must be
8154
+ # provided: access_location: ` locations ` us-central1 ` region: "us-central1" `,
8155
+ # asia-west2 ` region: "asia-west2" ` ` `
8156
+ class DiskSettingsAccessLocation
8157
+ include Google::Apis::Core::Hashable
8158
+
8159
+ # List of regions that can create a regional snapshot from the current region
8160
+ # Corresponds to the JSON property `locations`
8161
+ # @return [Hash<String,Google::Apis::ComputeAlpha::DiskSettingsAccessLocationAccessLocationPreference>]
8162
+ attr_accessor :locations
8163
+
8164
+ def initialize(**args)
8165
+ update!(**args)
8166
+ end
8167
+
8168
+ # Update properties of this object
8169
+ def update!(**args)
8170
+ @locations = args[:locations] if args.key?(:locations)
8171
+ end
8172
+ end
8173
+
8174
+ # A structure for specifying an allowed target region to create snapshot.
8175
+ class DiskSettingsAccessLocationAccessLocationPreference
8176
+ include Google::Apis::Core::Hashable
8177
+
8178
+ # Accessible region name
8179
+ # Corresponds to the JSON property `region`
8180
+ # @return [String]
8181
+ attr_accessor :region
8182
+
8183
+ def initialize(**args)
8184
+ update!(**args)
8185
+ end
8186
+
8187
+ # Update properties of this object
8188
+ def update!(**args)
8189
+ @region = args[:region] if args.key?(:region)
8190
+ end
8191
+ end
8192
+
8139
8193
  # This is the object for storing the detail information about the Resource
8140
8194
  # Policy that will be set as default ones for the Disks that is using the
8141
8195
  # DiskSettings. It contains: - one target Resource Policy referenced by its
@@ -11443,6 +11497,16 @@ module Google
11443
11497
  # @return [Google::Apis::ComputeAlpha::ShareSettings]
11444
11498
  attr_accessor :share_settings
11445
11499
 
11500
+ # Indicates whether the auto-created reservation can be consumed by VMs with
11501
+ # affinity for "any" reservation. If the field is set, then only VMs that target
11502
+ # the reservation by name can consume from the delivered reservation. If set to
11503
+ # true,the delivered resevervation will have the same name as the future
11504
+ # reservation.
11505
+ # Corresponds to the JSON property `specificReservationRequired`
11506
+ # @return [Boolean]
11507
+ attr_accessor :specific_reservation_required
11508
+ alias_method :specific_reservation_required?, :specific_reservation_required
11509
+
11446
11510
  # Future Reservation configuration to indicate instance properties and total
11447
11511
  # count.
11448
11512
  # Corresponds to the JSON property `specificSkuProperties`
@@ -11483,6 +11547,7 @@ module Google
11483
11547
  @self_link = args[:self_link] if args.key?(:self_link)
11484
11548
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
11485
11549
  @share_settings = args[:share_settings] if args.key?(:share_settings)
11550
+ @specific_reservation_required = args[:specific_reservation_required] if args.key?(:specific_reservation_required)
11486
11551
  @specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
11487
11552
  @status = args[:status] if args.key?(:status)
11488
11553
  @time_window = args[:time_window] if args.key?(:time_window)
@@ -17449,6 +17514,12 @@ module Google
17449
17514
  # @return [Hash<String,Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
17450
17515
  attr_accessor :instance_selections
17451
17516
 
17517
+ # Provisioning model configuration used by this managed instance group to create
17518
+ # instances.
17519
+ # Corresponds to the JSON property `provisioningModelMix`
17520
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix]
17521
+ attr_accessor :provisioning_model_mix
17522
+
17452
17523
  def initialize(**args)
17453
17524
  update!(**args)
17454
17525
  end
@@ -17457,6 +17528,7 @@ module Google
17457
17528
  def update!(**args)
17458
17529
  @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists)
17459
17530
  @instance_selections = args[:instance_selections] if args.key?(:instance_selections)
17531
+ @provisioning_model_mix = args[:provisioning_model_mix] if args.key?(:provisioning_model_mix)
17460
17532
  end
17461
17533
  end
17462
17534
 
@@ -17488,6 +17560,36 @@ module Google
17488
17560
  end
17489
17561
  end
17490
17562
 
17563
+ #
17564
+ class InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix
17565
+ include Google::Apis::Core::Hashable
17566
+
17567
+ # The base capacity that will always use Standard VMs to avoid risk of more
17568
+ # preemption than the minimum capacity user needs. MIG will create only Standard
17569
+ # VMs until it reaches standard_capacity_base and only then will start using
17570
+ # standard_capacity_percent_above_base to mix Spot with Standard VMs.
17571
+ # Corresponds to the JSON property `standardCapacityBase`
17572
+ # @return [Fixnum]
17573
+ attr_accessor :standard_capacity_base
17574
+
17575
+ # The percentage of target capacity that should use Standard VM. The remaining
17576
+ # percentage will use Spot VMs. The percentage applies only to the capacity
17577
+ # above standard_capacity_base.
17578
+ # Corresponds to the JSON property `standardCapacityPercentAboveBase`
17579
+ # @return [Fixnum]
17580
+ attr_accessor :standard_capacity_percent_above_base
17581
+
17582
+ def initialize(**args)
17583
+ update!(**args)
17584
+ end
17585
+
17586
+ # Update properties of this object
17587
+ def update!(**args)
17588
+ @standard_capacity_base = args[:standard_capacity_base] if args.key?(:standard_capacity_base)
17589
+ @standard_capacity_percent_above_base = args[:standard_capacity_percent_above_base] if args.key?(:standard_capacity_percent_above_base)
17590
+ end
17591
+ end
17592
+
17491
17593
  #
17492
17594
  class InstanceGroupManagerInstanceLifecyclePolicy
17493
17595
  include Google::Apis::Core::Hashable
@@ -26270,6 +26372,11 @@ module Google
26270
26372
  # @return [String]
26271
26373
  attr_accessor :machine_type
26272
26374
 
26375
+ # The provisioning model to be used for this instance.
26376
+ # Corresponds to the JSON property `provisioningModel`
26377
+ # @return [String]
26378
+ attr_accessor :provisioning_model
26379
+
26273
26380
  def initialize(**args)
26274
26381
  update!(**args)
26275
26382
  end
@@ -26277,6 +26384,7 @@ module Google
26277
26384
  # Update properties of this object
26278
26385
  def update!(**args)
26279
26386
  @machine_type = args[:machine_type] if args.key?(:machine_type)
26387
+ @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
26280
26388
  end
26281
26389
  end
26282
26390
 
@@ -27763,8 +27871,7 @@ module Google
27763
27871
  # @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupAppEngine]
27764
27872
  attr_accessor :app_engine
27765
27873
 
27766
- # Only valid when networkEndpointType is "GCE_VM_IP_PORT" and the NEG is
27767
- # regional.
27874
+ # Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.
27768
27875
  # Corresponds to the JSON property `clientPortMappingMode`
27769
27876
  # @return [String]
27770
27877
  attr_accessor :client_port_mapping_mode
@@ -27790,7 +27897,8 @@ module Google
27790
27897
  attr_accessor :creation_timestamp
27791
27898
 
27792
27899
  # The default port used if the port number is not specified in the network
27793
- # endpoint.
27900
+ # endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or
27901
+ # PRIVATE_SERVICE_CONNECT, this field must not be specified.
27794
27902
  # Corresponds to the JSON property `defaultPort`
27795
27903
  # @return [Fixnum]
27796
27904
  attr_accessor :default_port
@@ -27828,8 +27936,8 @@ module Google
27828
27936
  # @return [String]
27829
27937
  attr_accessor :name
27830
27938
 
27831
- # The URL of the network to which all network endpoints in the NEG belong. Uses "
27832
- # default" project network if unspecified.
27939
+ # The URL of the network to which all network endpoints in the NEG belong. Uses
27940
+ # default project network if unspecified.
27833
27941
  # Corresponds to the JSON property `network`
27834
27942
  # @return [String]
27835
27943
  attr_accessor :network
@@ -27848,8 +27956,8 @@ module Google
27848
27956
  attr_accessor :psc_data
27849
27957
 
27850
27958
  # The target service url used to set up private service connection to a Google
27851
- # API or a PSC Producer Service Attachment. An example value is: "asia-
27852
- # northeast3-cloudkms.googleapis.com"
27959
+ # API or a PSC Producer Service Attachment. An example value is: asia-northeast3-
27960
+ # cloudkms.googleapis.com
27853
27961
  # Corresponds to the JSON property `pscTargetService`
27854
27962
  # @return [String]
27855
27963
  attr_accessor :psc_target_service
@@ -28066,24 +28174,25 @@ module Google
28066
28174
  include Google::Apis::Core::Hashable
28067
28175
 
28068
28176
  # Optional serving service. The service name is case-sensitive and must be 1-63
28069
- # characters long. Example value: "default", "my-service".
28177
+ # characters long. Example value: default, my-service.
28070
28178
  # Corresponds to the JSON property `service`
28071
28179
  # @return [String]
28072
28180
  attr_accessor :service
28073
28181
 
28074
- # A template to parse service and version fields from a request URL. URL mask
28075
- # allows for routing to multiple App Engine services without having to create
28076
- # multiple Network Endpoint Groups and backend services. For example, the
28077
- # request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.
28078
- # com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-
28079
- # appname.appspot.com/<version>". The URL mask will parse them to ` service = "
28080
- # foo1", version = "v1" ` and ` service = "foo1", version = "v2" ` respectively.
28182
+ # An URL mask is one of the main components of the Cloud Function. A template to
28183
+ # parse service and version fields from a request URL. URL mask allows for
28184
+ # routing to multiple App Engine services without having to create multiple
28185
+ # Network Endpoint Groups and backend services. For example, the request URLs
28186
+ # foo1-dot-appname.appspot.com/v1 and foo1-dot-appname.appspot.com/v2 can be
28187
+ # backed by the same Serverless NEG with URL mask <service>-dot-appname.appspot.
28188
+ # com/<version>. The URL mask will parse them to ` service = "foo1", version = "
28189
+ # v1" ` and ` service = "foo1", version = "v2" ` respectively.
28081
28190
  # Corresponds to the JSON property `urlMask`
28082
28191
  # @return [String]
28083
28192
  attr_accessor :url_mask
28084
28193
 
28085
28194
  # Optional serving version. The version name is case-sensitive and must be 1-100
28086
- # characters long. Example value: "v1", "v2".
28195
+ # characters long. Example value: v1, v2.
28087
28196
  # Corresponds to the JSON property `version`
28088
28197
  # @return [String]
28089
28198
  attr_accessor :version
@@ -28107,17 +28216,18 @@ module Google
28107
28216
  include Google::Apis::Core::Hashable
28108
28217
 
28109
28218
  # A user-defined name of the Cloud Function. The function name is case-sensitive
28110
- # and must be 1-63 characters long. Example value: "func1".
28219
+ # and must be 1-63 characters long. Example value: func1.
28111
28220
  # Corresponds to the JSON property `function`
28112
28221
  # @return [String]
28113
28222
  attr_accessor :function
28114
28223
 
28115
- # A template to parse function field from a request URL. URL mask allows for
28116
- # routing to multiple Cloud Functions without having to create multiple Network
28117
- # Endpoint Groups and backend services. For example, request URLs " mydomain.com/
28118
- # function1" and "mydomain.com/function2" can be backed by the same Serverless
28119
- # NEG with URL mask "/<function>". The URL mask will parse them to ` function = "
28120
- # function1" ` and ` function = "function2" ` respectively.
28224
+ # An URL mask is one of the main components of the Cloud Function. A template to
28225
+ # parse function field from a request URL. URL mask allows for routing to
28226
+ # multiple Cloud Functions without having to create multiple Network Endpoint
28227
+ # Groups and backend services. For example, request URLs mydomain.com/function1
28228
+ # and mydomain.com/function2 can be backed by the same Serverless NEG with URL
28229
+ # mask /<function>. The URL mask will parse them to ` function = "function1" `
28230
+ # and ` function = "function2" ` respectively.
28121
28231
  # Corresponds to the JSON property `urlMask`
28122
28232
  # @return [String]
28123
28233
  attr_accessor :url_mask
@@ -28153,13 +28263,14 @@ module Google
28153
28263
  # @return [String]
28154
28264
  attr_accessor :tag
28155
28265
 
28156
- # A template to parse <service> and <tag> fields from a request URL. URL mask
28157
- # allows for routing to multiple Run services without having to create multiple
28158
- # network endpoint groups and backend services. For example, request URLs "foo1.
28159
- # domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same
28160
- # Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<
28161
- # service>". The URL mask will parse them to ` service="bar1", tag="foo1" ` and `
28162
- # service="bar2", tag="foo2" ` respectively.
28266
+ # An URL mask is one of the main components of the Cloud Function. A template to
28267
+ # parse <service> and <tag> fields from a request URL. URL mask allows for
28268
+ # routing to multiple Run services without having to create multiple network
28269
+ # endpoint groups and backend services. For example, request URLs foo1.domain.
28270
+ # com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network
28271
+ # Endpoint Group (NEG) with URL mask <tag>.domain.com/<service>. The URL mask
28272
+ # will parse them to ` service="bar1", tag="foo1" ` and ` service="bar2", tag="
28273
+ # foo2" ` respectively.
28163
28274
  # Corresponds to the JSON property `urlMask`
28164
28275
  # @return [String]
28165
28276
  attr_accessor :url_mask
@@ -28181,13 +28292,15 @@ module Google
28181
28292
  include Google::Apis::Core::Hashable
28182
28293
 
28183
28294
  # The default port used if the port number is not specified in the network
28184
- # endpoint. [Deprecated] This field is deprecated.
28295
+ # endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or
28296
+ # PRIVATE_SERVICE_CONNECT, this field must not be specified. [Deprecated] This
28297
+ # field is deprecated.
28185
28298
  # Corresponds to the JSON property `defaultPort`
28186
28299
  # @return [Fixnum]
28187
28300
  attr_accessor :default_port
28188
28301
 
28189
- # The URL of the network to which all network endpoints in the NEG belong. Uses "
28190
- # default" project network if unspecified. [Deprecated] This field is deprecated.
28302
+ # The URL of the network to which all network endpoints in the NEG belong. Uses
28303
+ # default project network if unspecified. [Deprecated] This field is deprecated.
28191
28304
  # Corresponds to the JSON property `network`
28192
28305
  # @return [String]
28193
28306
  attr_accessor :network
@@ -28389,12 +28502,13 @@ module Google
28389
28502
  # @return [String]
28390
28503
  attr_accessor :resource
28391
28504
 
28392
- # A template to parse platform-specific fields from a request URL. URL mask
28393
- # allows for routing to multiple resources on the same serverless platform
28394
- # without having to create multiple Network Endpoint Groups and backend
28395
- # resources. The fields parsed by this template are platform-specific and are as
28396
- # follows: 1. API Gateway: The gateway ID 2. App Engine: The service and version
28397
- # 3. Cloud Functions: The function name 4. Cloud Run: The service and tag
28505
+ # An URL mask is one of the main components of the Cloud Function. A template to
28506
+ # parse platform-specific fields from a request URL. URL mask allows for routing
28507
+ # to multiple resources on the same serverless platform without having to create
28508
+ # multiple Network Endpoint Groups and backend resources. The fields parsed by
28509
+ # this template are platform-specific and are as follows: 1. API Gateway: The
28510
+ # gateway ID 2. App Engine: The service and version 3. Cloud Functions: The
28511
+ # function name 4. Cloud Run: The service and tag
28398
28512
  # Corresponds to the JSON property `urlMask`
28399
28513
  # @return [String]
28400
28514
  attr_accessor :url_mask
@@ -28762,6 +28876,12 @@ module Google
28762
28876
  # @return [String]
28763
28877
  attr_accessor :fingerprint
28764
28878
 
28879
+ # Indicate whether igmp query is enabled on the network interface or not. If
28880
+ # enabled, also indicates the version of IGMP supported.
28881
+ # Corresponds to the JSON property `igmpQuery`
28882
+ # @return [String]
28883
+ attr_accessor :igmp_query
28884
+
28765
28885
  # The prefix length of the primary internal IPv6 range.
28766
28886
  # Corresponds to the JSON property `internalIpv6PrefixLength`
28767
28887
  # @return [Fixnum]
@@ -28891,6 +29011,7 @@ module Google
28891
29011
  @access_configs = args[:access_configs] if args.key?(:access_configs)
28892
29012
  @alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
28893
29013
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
29014
+ @igmp_query = args[:igmp_query] if args.key?(:igmp_query)
28894
29015
  @internal_ipv6_prefix_length = args[:internal_ipv6_prefix_length] if args.key?(:internal_ipv6_prefix_length)
28895
29016
  @ipv6_access_configs = args[:ipv6_access_configs] if args.key?(:ipv6_access_configs)
28896
29017
  @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
@@ -33977,6 +34098,13 @@ module Google
33977
34098
  class Project
33978
34099
  include Google::Apis::Core::Hashable
33979
34100
 
34101
+ # [Output Only] The Cloud Armor tier for this project. It can be one of the
34102
+ # following values: CA_STANDARD, CA_ENTERPRISE_PAYGO. If this field is not
34103
+ # specified, it is assumed to be CA_STANDARD.
34104
+ # Corresponds to the JSON property `cloudArmorTier`
34105
+ # @return [String]
34106
+ attr_accessor :cloud_armor_tier
34107
+
33980
34108
  # A metadata key/value entry.
33981
34109
  # Corresponds to the JSON property `commonInstanceMetadata`
33982
34110
  # @return [Google::Apis::ComputeAlpha::Metadata]
@@ -34068,6 +34196,7 @@ module Google
34068
34196
 
34069
34197
  # Update properties of this object
34070
34198
  def update!(**args)
34199
+ @cloud_armor_tier = args[:cloud_armor_tier] if args.key?(:cloud_armor_tier)
34071
34200
  @common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata)
34072
34201
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
34073
34202
  @default_network_tier = args[:default_network_tier] if args.key?(:default_network_tier)
@@ -34193,6 +34322,25 @@ module Google
34193
34322
  end
34194
34323
  end
34195
34324
 
34325
+ #
34326
+ class ProjectsSetCloudArmorTierRequest
34327
+ include Google::Apis::Core::Hashable
34328
+
34329
+ # Managed protection tier to be set.
34330
+ # Corresponds to the JSON property `cloudArmorTier`
34331
+ # @return [String]
34332
+ attr_accessor :cloud_armor_tier
34333
+
34334
+ def initialize(**args)
34335
+ update!(**args)
34336
+ end
34337
+
34338
+ # Update properties of this object
34339
+ def update!(**args)
34340
+ @cloud_armor_tier = args[:cloud_armor_tier] if args.key?(:cloud_armor_tier)
34341
+ end
34342
+ end
34343
+
34196
34344
  #
34197
34345
  class ProjectsSetDefaultNetworkTierRequest
34198
34346
  include Google::Apis::Core::Hashable
@@ -42630,6 +42778,11 @@ module Google
42630
42778
  # @return [String]
42631
42779
  attr_accessor :on_host_maintenance
42632
42780
 
42781
+ # Defines the behaviour for instances with the instance_termination_action STOP.
42782
+ # Corresponds to the JSON property `onInstanceStopAction`
42783
+ # @return [Google::Apis::ComputeAlpha::SchedulingOnInstanceStopAction]
42784
+ attr_accessor :on_instance_stop_action
42785
+
42633
42786
  # Defines whether the instance is preemptible. This can only be set during
42634
42787
  # instance creation or while the instance is stopped and therefore, in a `
42635
42788
  # TERMINATED` state. See Instance Life Cycle for more information on the
@@ -42673,6 +42826,7 @@ module Google
42673
42826
  @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
42674
42827
  @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
42675
42828
  @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
42829
+ @on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
42676
42830
  @preemptible = args[:preemptible] if args.key?(:preemptible)
42677
42831
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
42678
42832
  @termination_time = args[:termination_time] if args.key?(:termination_time)
@@ -42741,6 +42895,28 @@ module Google
42741
42895
  end
42742
42896
  end
42743
42897
 
42898
+ # Defines the behaviour for instances with the instance_termination_action STOP.
42899
+ class SchedulingOnInstanceStopAction
42900
+ include Google::Apis::Core::Hashable
42901
+
42902
+ # If true, the contents of any attached Local SSD disks will be discarded else,
42903
+ # the Local SSD data will be preserved when the instance is stopped at the end
42904
+ # of the run duration/termination time.
42905
+ # Corresponds to the JSON property `discardLocalSsd`
42906
+ # @return [Boolean]
42907
+ attr_accessor :discard_local_ssd
42908
+ alias_method :discard_local_ssd?, :discard_local_ssd
42909
+
42910
+ def initialize(**args)
42911
+ update!(**args)
42912
+ end
42913
+
42914
+ # Update properties of this object
42915
+ def update!(**args)
42916
+ @discard_local_ssd = args[:discard_local_ssd] if args.key?(:discard_local_ssd)
42917
+ end
42918
+ end
42919
+
42744
42920
  # An instance's screenshot.
42745
42921
  class Screenshot
42746
42922
  include Google::Apis::Core::Hashable
@@ -46101,6 +46277,11 @@ module Google
46101
46277
  # @return [String]
46102
46278
  attr_accessor :region
46103
46279
 
46280
+ # [Output only] ResourceStatus of the Snapshot resource
46281
+ # Corresponds to the JSON property `resourceStatus`
46282
+ # @return [Google::Apis::ComputeAlpha::SnapshotResourceStatus]
46283
+ attr_accessor :resource_status
46284
+
46104
46285
  # Output only. Reserved for future use.
46105
46286
  # Corresponds to the JSON property `satisfiesPzi`
46106
46287
  # @return [Boolean]
@@ -46256,6 +46437,7 @@ module Google
46256
46437
  @max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
46257
46438
  @name = args[:name] if args.key?(:name)
46258
46439
  @region = args[:region] if args.key?(:region)
46440
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
46259
46441
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
46260
46442
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
46261
46443
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -46526,6 +46708,26 @@ module Google
46526
46708
  end
46527
46709
  end
46528
46710
 
46711
+ #
46712
+ class SnapshotResourceStatus
46713
+ include Google::Apis::Core::Hashable
46714
+
46715
+ # [Output only] Scheduled deletion time of the snapshot. The snapshot will be
46716
+ # deleted by the at any point within one hour after the deletion time.
46717
+ # Corresponds to the JSON property `scheduledDeletionTime`
46718
+ # @return [String]
46719
+ attr_accessor :scheduled_deletion_time
46720
+
46721
+ def initialize(**args)
46722
+ update!(**args)
46723
+ end
46724
+
46725
+ # Update properties of this object
46726
+ def update!(**args)
46727
+ @scheduled_deletion_time = args[:scheduled_deletion_time] if args.key?(:scheduled_deletion_time)
46728
+ end
46729
+ end
46730
+
46529
46731
  #
46530
46732
  class SnapshotSettings
46531
46733
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.89.0"
19
+ GEM_VERSION = "0.91.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240129"
25
+ REVISION = "20240218"
26
26
  end
27
27
  end
28
28
  end