google-apis-compute_v1 0.91.0 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5136ac522cb089d751057a79c723de90db41c6c7d5783697fd59684ecfe5585
4
- data.tar.gz: f885992cd4323487a8240040821eb61b01a9a1647791986cc66b25310d20225c
3
+ metadata.gz: 1d016787962248eb5253212f465452f1765c9aa81eec8f426bbbc8fd5336220c
4
+ data.tar.gz: ff64202a193ab660530f3cbf992121728ed6da047f517089a7898d849f66aef9
5
5
  SHA512:
6
- metadata.gz: 9bdf7ca128ca8baf4ace10056f13bec3470e53956117bcaca64e2afc7f981ae206d17ed7c7c3852fd3b69f84525aed228572bfb1f3c7b205fb0efc6b21a74676
7
- data.tar.gz: 67a0d40b6afd37a321f3bea5528e900ee6b3e23d84fb5b8ba0107e94d86ee4d203a92e0b4856a12218e5a06346962b140940c462047cb5c6696d7cf3d5e8cdf0
6
+ metadata.gz: dd7830ca4d7d23031e011833a5008963edc140e57c60002134cf904719c0a802edebadfa4096b71cdfdc24111ff651bfa4f928effdd19872c8dea9532219d77a
7
+ data.tar.gz: 666f8a92c15b36f6adbd93de57fa24b9d60ec66655ad9b476811b207586cb692ef44df4ff99f9f256a06a5e2070e79eca5e0ec589aedc768e93fbad1479c1c6d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.92.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
3
7
  ### v0.91.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240227
@@ -6107,10 +6107,10 @@ module Google
6107
6107
  attr_accessor :allow_methods
6108
6108
 
6109
6109
  # Specifies a regular expression that matches allowed origins. For more
6110
- # information about the regular expression syntax, see Syntax. An origin is
6111
- # allowed if it matches either an item in allowOrigins or an item in
6112
- # allowOriginRegexes. Regular expressions can only be used when the
6113
- # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
6110
+ # information, see regular expression syntax . An origin is allowed if it
6111
+ # matches either an item in allowOrigins or an item in allowOriginRegexes.
6112
+ # Regular expressions can only be used when the loadBalancingScheme is set to
6113
+ # INTERNAL_SELF_MANAGED.
6114
6114
  # Corresponds to the JSON property `allowOriginRegexes`
6115
6115
  # @return [Array<String>]
6116
6116
  attr_accessor :allow_origin_regexes
@@ -6122,8 +6122,8 @@ module Google
6122
6122
  # @return [Array<String>]
6123
6123
  attr_accessor :allow_origins
6124
6124
 
6125
- # If true, the setting specifies the CORS policy is disabled. The default value
6126
- # of false, which indicates that the CORS policy is in effect.
6125
+ # If true, disables the CORS policy. The default value is false, which indicates
6126
+ # that the CORS policy is in effect.
6127
6127
  # Corresponds to the JSON property `disabled`
6128
6128
  # @return [Boolean]
6129
6129
  attr_accessor :disabled
@@ -15148,6 +15148,494 @@ module Google
15148
15148
  end
15149
15149
  end
15150
15150
 
15151
+ # InstanceGroupManagerResizeRequest represents a request to create a number of
15152
+ # VMs: either immediately or by queuing the request for the specified time. This
15153
+ # resize request is nested under InstanceGroupManager and the VMs created by
15154
+ # this request are added to the owning InstanceGroupManager.
15155
+ class InstanceGroupManagerResizeRequest
15156
+ include Google::Apis::Core::Hashable
15157
+
15158
+ # [Output Only] The creation timestamp for this resize request in RFC3339 text
15159
+ # format.
15160
+ # Corresponds to the JSON property `creationTimestamp`
15161
+ # @return [String]
15162
+ attr_accessor :creation_timestamp
15163
+
15164
+ # An optional description of this resource.
15165
+ # Corresponds to the JSON property `description`
15166
+ # @return [String]
15167
+ attr_accessor :description
15168
+
15169
+ # [Output Only] A unique identifier for this resource type. The server generates
15170
+ # this identifier.
15171
+ # Corresponds to the JSON property `id`
15172
+ # @return [Fixnum]
15173
+ attr_accessor :id
15174
+
15175
+ # [Output Only] The resource type, which is always compute#
15176
+ # instanceGroupManagerResizeRequest for resize requests.
15177
+ # Corresponds to the JSON property `kind`
15178
+ # @return [String]
15179
+ attr_accessor :kind
15180
+
15181
+ # The name of this resize request. The name must be 1-63 characters long, and
15182
+ # comply with RFC1035.
15183
+ # Corresponds to the JSON property `name`
15184
+ # @return [String]
15185
+ attr_accessor :name
15186
+
15187
+ # A Duration represents a fixed-length span of time represented as a count of
15188
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
15189
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
15190
+ # 000 years.
15191
+ # Corresponds to the JSON property `requestedRunDuration`
15192
+ # @return [Google::Apis::ComputeV1::Duration]
15193
+ attr_accessor :requested_run_duration
15194
+
15195
+ # The number of instances to be created by this resize request. The group's
15196
+ # target size will be increased by this number.
15197
+ # Corresponds to the JSON property `resizeBy`
15198
+ # @return [Fixnum]
15199
+ attr_accessor :resize_by
15200
+
15201
+ # [Output Only] The URL for this resize request. The server defines this URL.
15202
+ # Corresponds to the JSON property `selfLink`
15203
+ # @return [String]
15204
+ attr_accessor :self_link
15205
+
15206
+ # [Output Only] Server-defined URL for this resource with the resource id.
15207
+ # Corresponds to the JSON property `selfLinkWithId`
15208
+ # @return [String]
15209
+ attr_accessor :self_link_with_id
15210
+
15211
+ # [Output only] Current state of the request.
15212
+ # Corresponds to the JSON property `state`
15213
+ # @return [String]
15214
+ attr_accessor :state
15215
+
15216
+ # [Output only] Status of the request.
15217
+ # Corresponds to the JSON property `status`
15218
+ # @return [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus]
15219
+ attr_accessor :status
15220
+
15221
+ # [Output Only] The URL of a zone where the resize request is located. Populated
15222
+ # only for zonal resize requests.
15223
+ # Corresponds to the JSON property `zone`
15224
+ # @return [String]
15225
+ attr_accessor :zone
15226
+
15227
+ def initialize(**args)
15228
+ update!(**args)
15229
+ end
15230
+
15231
+ # Update properties of this object
15232
+ def update!(**args)
15233
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
15234
+ @description = args[:description] if args.key?(:description)
15235
+ @id = args[:id] if args.key?(:id)
15236
+ @kind = args[:kind] if args.key?(:kind)
15237
+ @name = args[:name] if args.key?(:name)
15238
+ @requested_run_duration = args[:requested_run_duration] if args.key?(:requested_run_duration)
15239
+ @resize_by = args[:resize_by] if args.key?(:resize_by)
15240
+ @self_link = args[:self_link] if args.key?(:self_link)
15241
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
15242
+ @state = args[:state] if args.key?(:state)
15243
+ @status = args[:status] if args.key?(:status)
15244
+ @zone = args[:zone] if args.key?(:zone)
15245
+ end
15246
+ end
15247
+
15248
+ #
15249
+ class InstanceGroupManagerResizeRequestStatus
15250
+ include Google::Apis::Core::Hashable
15251
+
15252
+ # [Output only] Fatal errors encountered during the queueing or provisioning
15253
+ # phases of the ResizeRequest that caused the transition to the FAILED state.
15254
+ # Contrary to the last_attempt errors, this field is final and errors are never
15255
+ # removed from here, as the ResizeRequest is not going to retry.
15256
+ # Corresponds to the JSON property `error`
15257
+ # @return [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error]
15258
+ attr_accessor :error
15259
+
15260
+ # [Output only] Information about the last attempt to fulfill the request. The
15261
+ # value is temporary since the ResizeRequest can retry, as long as it's still
15262
+ # active and the last attempt value can either be cleared or replaced with a
15263
+ # different error. Since ResizeRequest retries infrequently, the value may be
15264
+ # stale and no longer show an active problem. The value is cleared when
15265
+ # ResizeRequest transitions to the final state (becomes inactive). If the final
15266
+ # state is FAILED the error describing it will be storred in the "error" field
15267
+ # only.
15268
+ # Corresponds to the JSON property `lastAttempt`
15269
+ # @return [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt]
15270
+ attr_accessor :last_attempt
15271
+
15272
+ def initialize(**args)
15273
+ update!(**args)
15274
+ end
15275
+
15276
+ # Update properties of this object
15277
+ def update!(**args)
15278
+ @error = args[:error] if args.key?(:error)
15279
+ @last_attempt = args[:last_attempt] if args.key?(:last_attempt)
15280
+ end
15281
+
15282
+ # [Output only] Fatal errors encountered during the queueing or provisioning
15283
+ # phases of the ResizeRequest that caused the transition to the FAILED state.
15284
+ # Contrary to the last_attempt errors, this field is final and errors are never
15285
+ # removed from here, as the ResizeRequest is not going to retry.
15286
+ class Error
15287
+ include Google::Apis::Core::Hashable
15288
+
15289
+ # [Output Only] The array of errors encountered while processing this operation.
15290
+ # Corresponds to the JSON property `errors`
15291
+ # @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error::Error>]
15292
+ attr_accessor :errors
15293
+
15294
+ def initialize(**args)
15295
+ update!(**args)
15296
+ end
15297
+
15298
+ # Update properties of this object
15299
+ def update!(**args)
15300
+ @errors = args[:errors] if args.key?(:errors)
15301
+ end
15302
+
15303
+ #
15304
+ class Error
15305
+ include Google::Apis::Core::Hashable
15306
+
15307
+ # [Output Only] The error type identifier for this error.
15308
+ # Corresponds to the JSON property `code`
15309
+ # @return [String]
15310
+ attr_accessor :code
15311
+
15312
+ # [Output Only] An optional list of messages that contain the error details.
15313
+ # There is a set of defined message types to use for providing details.The
15314
+ # syntax depends on the error code. For example, QuotaExceededInfo will have
15315
+ # details when the error code is QUOTA_EXCEEDED.
15316
+ # Corresponds to the JSON property `errorDetails`
15317
+ # @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error::Error::ErrorDetail>]
15318
+ attr_accessor :error_details
15319
+
15320
+ # [Output Only] Indicates the field in the request that caused the error. This
15321
+ # property is optional.
15322
+ # Corresponds to the JSON property `location`
15323
+ # @return [String]
15324
+ attr_accessor :location
15325
+
15326
+ # [Output Only] An optional, human-readable error message.
15327
+ # Corresponds to the JSON property `message`
15328
+ # @return [String]
15329
+ attr_accessor :message
15330
+
15331
+ def initialize(**args)
15332
+ update!(**args)
15333
+ end
15334
+
15335
+ # Update properties of this object
15336
+ def update!(**args)
15337
+ @code = args[:code] if args.key?(:code)
15338
+ @error_details = args[:error_details] if args.key?(:error_details)
15339
+ @location = args[:location] if args.key?(:location)
15340
+ @message = args[:message] if args.key?(:message)
15341
+ end
15342
+
15343
+ #
15344
+ class ErrorDetail
15345
+ include Google::Apis::Core::Hashable
15346
+
15347
+ # Describes the cause of the error with structured details. Example of an error
15348
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
15349
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
15350
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
15351
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
15352
+ # returned when attempting to create a Spanner instance in a region that is out
15353
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
15354
+ # : ` "availableRegions": "us-central1,us-east2" ` `
15355
+ # Corresponds to the JSON property `errorInfo`
15356
+ # @return [Google::Apis::ComputeV1::ErrorInfo]
15357
+ attr_accessor :error_info
15358
+
15359
+ # Provides links to documentation or for performing an out of band action. For
15360
+ # example, if a quota check failed with an error indicating the calling project
15361
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
15362
+ # to the right place in the developer console to flip the bit.
15363
+ # Corresponds to the JSON property `help`
15364
+ # @return [Google::Apis::ComputeV1::Help]
15365
+ attr_accessor :help
15366
+
15367
+ # Provides a localized error message that is safe to return to the user which
15368
+ # can be attached to an RPC error.
15369
+ # Corresponds to the JSON property `localizedMessage`
15370
+ # @return [Google::Apis::ComputeV1::LocalizedMessage]
15371
+ attr_accessor :localized_message
15372
+
15373
+ # Additional details for quota exceeded error for resource quota.
15374
+ # Corresponds to the JSON property `quotaInfo`
15375
+ # @return [Google::Apis::ComputeV1::QuotaExceededInfo]
15376
+ attr_accessor :quota_info
15377
+
15378
+ def initialize(**args)
15379
+ update!(**args)
15380
+ end
15381
+
15382
+ # Update properties of this object
15383
+ def update!(**args)
15384
+ @error_info = args[:error_info] if args.key?(:error_info)
15385
+ @help = args[:help] if args.key?(:help)
15386
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
15387
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
15388
+ end
15389
+ end
15390
+ end
15391
+ end
15392
+ end
15393
+
15394
+ #
15395
+ class InstanceGroupManagerResizeRequestStatusLastAttempt
15396
+ include Google::Apis::Core::Hashable
15397
+
15398
+ # Errors that prevented the ResizeRequest to be fulfilled.
15399
+ # Corresponds to the JSON property `error`
15400
+ # @return [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error]
15401
+ attr_accessor :error
15402
+
15403
+ def initialize(**args)
15404
+ update!(**args)
15405
+ end
15406
+
15407
+ # Update properties of this object
15408
+ def update!(**args)
15409
+ @error = args[:error] if args.key?(:error)
15410
+ end
15411
+
15412
+ # Errors that prevented the ResizeRequest to be fulfilled.
15413
+ class Error
15414
+ include Google::Apis::Core::Hashable
15415
+
15416
+ # [Output Only] The array of errors encountered while processing this operation.
15417
+ # Corresponds to the JSON property `errors`
15418
+ # @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error::Error>]
15419
+ attr_accessor :errors
15420
+
15421
+ def initialize(**args)
15422
+ update!(**args)
15423
+ end
15424
+
15425
+ # Update properties of this object
15426
+ def update!(**args)
15427
+ @errors = args[:errors] if args.key?(:errors)
15428
+ end
15429
+
15430
+ #
15431
+ class Error
15432
+ include Google::Apis::Core::Hashable
15433
+
15434
+ # [Output Only] The error type identifier for this error.
15435
+ # Corresponds to the JSON property `code`
15436
+ # @return [String]
15437
+ attr_accessor :code
15438
+
15439
+ # [Output Only] An optional list of messages that contain the error details.
15440
+ # There is a set of defined message types to use for providing details.The
15441
+ # syntax depends on the error code. For example, QuotaExceededInfo will have
15442
+ # details when the error code is QUOTA_EXCEEDED.
15443
+ # Corresponds to the JSON property `errorDetails`
15444
+ # @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error::Error::ErrorDetail>]
15445
+ attr_accessor :error_details
15446
+
15447
+ # [Output Only] Indicates the field in the request that caused the error. This
15448
+ # property is optional.
15449
+ # Corresponds to the JSON property `location`
15450
+ # @return [String]
15451
+ attr_accessor :location
15452
+
15453
+ # [Output Only] An optional, human-readable error message.
15454
+ # Corresponds to the JSON property `message`
15455
+ # @return [String]
15456
+ attr_accessor :message
15457
+
15458
+ def initialize(**args)
15459
+ update!(**args)
15460
+ end
15461
+
15462
+ # Update properties of this object
15463
+ def update!(**args)
15464
+ @code = args[:code] if args.key?(:code)
15465
+ @error_details = args[:error_details] if args.key?(:error_details)
15466
+ @location = args[:location] if args.key?(:location)
15467
+ @message = args[:message] if args.key?(:message)
15468
+ end
15469
+
15470
+ #
15471
+ class ErrorDetail
15472
+ include Google::Apis::Core::Hashable
15473
+
15474
+ # Describes the cause of the error with structured details. Example of an error
15475
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
15476
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
15477
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
15478
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
15479
+ # returned when attempting to create a Spanner instance in a region that is out
15480
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
15481
+ # : ` "availableRegions": "us-central1,us-east2" ` `
15482
+ # Corresponds to the JSON property `errorInfo`
15483
+ # @return [Google::Apis::ComputeV1::ErrorInfo]
15484
+ attr_accessor :error_info
15485
+
15486
+ # Provides links to documentation or for performing an out of band action. For
15487
+ # example, if a quota check failed with an error indicating the calling project
15488
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
15489
+ # to the right place in the developer console to flip the bit.
15490
+ # Corresponds to the JSON property `help`
15491
+ # @return [Google::Apis::ComputeV1::Help]
15492
+ attr_accessor :help
15493
+
15494
+ # Provides a localized error message that is safe to return to the user which
15495
+ # can be attached to an RPC error.
15496
+ # Corresponds to the JSON property `localizedMessage`
15497
+ # @return [Google::Apis::ComputeV1::LocalizedMessage]
15498
+ attr_accessor :localized_message
15499
+
15500
+ # Additional details for quota exceeded error for resource quota.
15501
+ # Corresponds to the JSON property `quotaInfo`
15502
+ # @return [Google::Apis::ComputeV1::QuotaExceededInfo]
15503
+ attr_accessor :quota_info
15504
+
15505
+ def initialize(**args)
15506
+ update!(**args)
15507
+ end
15508
+
15509
+ # Update properties of this object
15510
+ def update!(**args)
15511
+ @error_info = args[:error_info] if args.key?(:error_info)
15512
+ @help = args[:help] if args.key?(:help)
15513
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
15514
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
15515
+ end
15516
+ end
15517
+ end
15518
+ end
15519
+ end
15520
+
15521
+ # [Output Only] A list of resize requests.
15522
+ class InstanceGroupManagerResizeRequestsListResponse
15523
+ include Google::Apis::Core::Hashable
15524
+
15525
+ # [Output Only] Unique identifier for the resource; defined by the server.
15526
+ # Corresponds to the JSON property `id`
15527
+ # @return [String]
15528
+ attr_accessor :id
15529
+
15530
+ # A list of resize request resources.
15531
+ # Corresponds to the JSON property `items`
15532
+ # @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest>]
15533
+ attr_accessor :items
15534
+
15535
+ # [Output Only] Type of the resource. Always compute#
15536
+ # instanceGroupManagerResizeRequestList for a list of resize requests.
15537
+ # Corresponds to the JSON property `kind`
15538
+ # @return [String]
15539
+ attr_accessor :kind
15540
+
15541
+ # [Output Only] This token allows you to get the next page of results for list
15542
+ # requests. If the number of results is larger than maxResults, use the
15543
+ # nextPageToken as a value for the query parameter pageToken in the next list
15544
+ # request. Subsequent list requests will have their own nextPageToken to
15545
+ # continue paging through the results.
15546
+ # Corresponds to the JSON property `nextPageToken`
15547
+ # @return [String]
15548
+ attr_accessor :next_page_token
15549
+
15550
+ # [Output Only] Server-defined URL for this resource.
15551
+ # Corresponds to the JSON property `selfLink`
15552
+ # @return [String]
15553
+ attr_accessor :self_link
15554
+
15555
+ # [Output Only] Informational warning message.
15556
+ # Corresponds to the JSON property `warning`
15557
+ # @return [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse::Warning]
15558
+ attr_accessor :warning
15559
+
15560
+ def initialize(**args)
15561
+ update!(**args)
15562
+ end
15563
+
15564
+ # Update properties of this object
15565
+ def update!(**args)
15566
+ @id = args[:id] if args.key?(:id)
15567
+ @items = args[:items] if args.key?(:items)
15568
+ @kind = args[:kind] if args.key?(:kind)
15569
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
15570
+ @self_link = args[:self_link] if args.key?(:self_link)
15571
+ @warning = args[:warning] if args.key?(:warning)
15572
+ end
15573
+
15574
+ # [Output Only] Informational warning message.
15575
+ class Warning
15576
+ include Google::Apis::Core::Hashable
15577
+
15578
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
15579
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
15580
+ # Corresponds to the JSON property `code`
15581
+ # @return [String]
15582
+ attr_accessor :code
15583
+
15584
+ # [Output Only] Metadata about this warning in key: value format. For example: "
15585
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
15586
+ # Corresponds to the JSON property `data`
15587
+ # @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse::Warning::Datum>]
15588
+ attr_accessor :data
15589
+
15590
+ # [Output Only] A human-readable description of the warning code.
15591
+ # Corresponds to the JSON property `message`
15592
+ # @return [String]
15593
+ attr_accessor :message
15594
+
15595
+ def initialize(**args)
15596
+ update!(**args)
15597
+ end
15598
+
15599
+ # Update properties of this object
15600
+ def update!(**args)
15601
+ @code = args[:code] if args.key?(:code)
15602
+ @data = args[:data] if args.key?(:data)
15603
+ @message = args[:message] if args.key?(:message)
15604
+ end
15605
+
15606
+ #
15607
+ class Datum
15608
+ include Google::Apis::Core::Hashable
15609
+
15610
+ # [Output Only] A key that provides more detail on the warning being returned.
15611
+ # For example, for warnings where there are no results in a list request for a
15612
+ # particular zone, this key might be scope and the key value might be the zone
15613
+ # name. Other examples might be a key indicating a deprecated resource and a
15614
+ # suggested replacement, or a warning about invalid network settings (for
15615
+ # example, if an instance attempts to perform IP forwarding but is not enabled
15616
+ # for IP forwarding).
15617
+ # Corresponds to the JSON property `key`
15618
+ # @return [String]
15619
+ attr_accessor :key
15620
+
15621
+ # [Output Only] A warning data value corresponding to the key.
15622
+ # Corresponds to the JSON property `value`
15623
+ # @return [String]
15624
+ attr_accessor :value
15625
+
15626
+ def initialize(**args)
15627
+ update!(**args)
15628
+ end
15629
+
15630
+ # Update properties of this object
15631
+ def update!(**args)
15632
+ @key = args[:key] if args.key?(:key)
15633
+ @value = args[:value] if args.key?(:value)
15634
+ end
15635
+ end
15636
+ end
15637
+ end
15638
+
15151
15639
  #
15152
15640
  class InstanceGroupManagerStatus
15153
15641
  include Google::Apis::Core::Hashable
@@ -31541,7 +32029,7 @@ module Google
31541
32029
  attr_accessor :rules
31542
32030
 
31543
32031
  # [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
31544
- # NETWORK, NETWORK_REGIONAL.
32032
+ # NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
31545
32033
  # Corresponds to the JSON property `type`
31546
32034
  # @return [String]
31547
32035
  attr_accessor :type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.91.0"
19
+ GEM_VERSION = "0.92.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240227"
25
+ REVISION = "20240305"
26
26
  end
27
27
  end
28
28
  end
@@ -1732,6 +1732,78 @@ module Google
1732
1732
  include Google::Apis::Core::JsonObjectSupport
1733
1733
  end
1734
1734
 
1735
+ class InstanceGroupManagerResizeRequest
1736
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1737
+
1738
+ include Google::Apis::Core::JsonObjectSupport
1739
+ end
1740
+
1741
+ class InstanceGroupManagerResizeRequestStatus
1742
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1743
+
1744
+ class Error
1745
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1746
+
1747
+ class Error
1748
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1749
+
1750
+ class ErrorDetail
1751
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1752
+
1753
+ include Google::Apis::Core::JsonObjectSupport
1754
+ end
1755
+
1756
+ include Google::Apis::Core::JsonObjectSupport
1757
+ end
1758
+
1759
+ include Google::Apis::Core::JsonObjectSupport
1760
+ end
1761
+
1762
+ include Google::Apis::Core::JsonObjectSupport
1763
+ end
1764
+
1765
+ class InstanceGroupManagerResizeRequestStatusLastAttempt
1766
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1767
+
1768
+ class Error
1769
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1770
+
1771
+ class Error
1772
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1773
+
1774
+ class ErrorDetail
1775
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1776
+
1777
+ include Google::Apis::Core::JsonObjectSupport
1778
+ end
1779
+
1780
+ include Google::Apis::Core::JsonObjectSupport
1781
+ end
1782
+
1783
+ include Google::Apis::Core::JsonObjectSupport
1784
+ end
1785
+
1786
+ include Google::Apis::Core::JsonObjectSupport
1787
+ end
1788
+
1789
+ class InstanceGroupManagerResizeRequestsListResponse
1790
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1791
+
1792
+ class Warning
1793
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1794
+
1795
+ class Datum
1796
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1797
+
1798
+ include Google::Apis::Core::JsonObjectSupport
1799
+ end
1800
+
1801
+ include Google::Apis::Core::JsonObjectSupport
1802
+ end
1803
+
1804
+ include Google::Apis::Core::JsonObjectSupport
1805
+ end
1806
+
1735
1807
  class InstanceGroupManagerStatus
1736
1808
  class Representation < Google::Apis::Core::JsonRepresentation; end
1737
1809
 
@@ -9820,6 +9892,142 @@ module Google
9820
9892
  end
9821
9893
  end
9822
9894
 
9895
+ class InstanceGroupManagerResizeRequest
9896
+ # @private
9897
+ class Representation < Google::Apis::Core::JsonRepresentation
9898
+ property :creation_timestamp, as: 'creationTimestamp'
9899
+ property :description, as: 'description'
9900
+ property :id, :numeric_string => true, as: 'id'
9901
+ property :kind, as: 'kind'
9902
+ property :name, as: 'name'
9903
+ property :requested_run_duration, as: 'requestedRunDuration', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
9904
+
9905
+ property :resize_by, as: 'resizeBy'
9906
+ property :self_link, as: 'selfLink'
9907
+ property :self_link_with_id, as: 'selfLinkWithId'
9908
+ property :state, as: 'state'
9909
+ property :status, as: 'status', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Representation
9910
+
9911
+ property :zone, as: 'zone'
9912
+ end
9913
+ end
9914
+
9915
+ class InstanceGroupManagerResizeRequestStatus
9916
+ # @private
9917
+ class Representation < Google::Apis::Core::JsonRepresentation
9918
+ property :error, as: 'error', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error::Representation
9919
+
9920
+ property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Representation
9921
+
9922
+ end
9923
+
9924
+ class Error
9925
+ # @private
9926
+ class Representation < Google::Apis::Core::JsonRepresentation
9927
+ collection :errors, as: 'errors', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error::Error, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error::Error::Representation
9928
+
9929
+ end
9930
+
9931
+ class Error
9932
+ # @private
9933
+ class Representation < Google::Apis::Core::JsonRepresentation
9934
+ property :code, as: 'code'
9935
+ collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatus::Error::Error::ErrorDetail::Representation
9936
+
9937
+ property :location, as: 'location'
9938
+ property :message, as: 'message'
9939
+ end
9940
+
9941
+ class ErrorDetail
9942
+ # @private
9943
+ class Representation < Google::Apis::Core::JsonRepresentation
9944
+ property :error_info, as: 'errorInfo', class: Google::Apis::ComputeV1::ErrorInfo, decorator: Google::Apis::ComputeV1::ErrorInfo::Representation
9945
+
9946
+ property :help, as: 'help', class: Google::Apis::ComputeV1::Help, decorator: Google::Apis::ComputeV1::Help::Representation
9947
+
9948
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
9949
+
9950
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeV1::QuotaExceededInfo, decorator: Google::Apis::ComputeV1::QuotaExceededInfo::Representation
9951
+
9952
+ end
9953
+ end
9954
+ end
9955
+ end
9956
+ end
9957
+
9958
+ class InstanceGroupManagerResizeRequestStatusLastAttempt
9959
+ # @private
9960
+ class Representation < Google::Apis::Core::JsonRepresentation
9961
+ property :error, as: 'error', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error::Representation
9962
+
9963
+ end
9964
+
9965
+ class Error
9966
+ # @private
9967
+ class Representation < Google::Apis::Core::JsonRepresentation
9968
+ collection :errors, as: 'errors', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error::Error, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error::Error::Representation
9969
+
9970
+ end
9971
+
9972
+ class Error
9973
+ # @private
9974
+ class Representation < Google::Apis::Core::JsonRepresentation
9975
+ property :code, as: 'code'
9976
+ collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestStatusLastAttempt::Error::Error::ErrorDetail::Representation
9977
+
9978
+ property :location, as: 'location'
9979
+ property :message, as: 'message'
9980
+ end
9981
+
9982
+ class ErrorDetail
9983
+ # @private
9984
+ class Representation < Google::Apis::Core::JsonRepresentation
9985
+ property :error_info, as: 'errorInfo', class: Google::Apis::ComputeV1::ErrorInfo, decorator: Google::Apis::ComputeV1::ErrorInfo::Representation
9986
+
9987
+ property :help, as: 'help', class: Google::Apis::ComputeV1::Help, decorator: Google::Apis::ComputeV1::Help::Representation
9988
+
9989
+ property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
9990
+
9991
+ property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeV1::QuotaExceededInfo, decorator: Google::Apis::ComputeV1::QuotaExceededInfo::Representation
9992
+
9993
+ end
9994
+ end
9995
+ end
9996
+ end
9997
+ end
9998
+
9999
+ class InstanceGroupManagerResizeRequestsListResponse
10000
+ # @private
10001
+ class Representation < Google::Apis::Core::JsonRepresentation
10002
+ property :id, as: 'id'
10003
+ collection :items, as: 'items', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest::Representation
10004
+
10005
+ property :kind, as: 'kind'
10006
+ property :next_page_token, as: 'nextPageToken'
10007
+ property :self_link, as: 'selfLink'
10008
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse::Warning, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse::Warning::Representation
10009
+
10010
+ end
10011
+
10012
+ class Warning
10013
+ # @private
10014
+ class Representation < Google::Apis::Core::JsonRepresentation
10015
+ property :code, as: 'code'
10016
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse::Warning::Datum, decorator: Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse::Warning::Datum::Representation
10017
+
10018
+ property :message, as: 'message'
10019
+ end
10020
+
10021
+ class Datum
10022
+ # @private
10023
+ class Representation < Google::Apis::Core::JsonRepresentation
10024
+ property :key, as: 'key'
10025
+ property :value, as: 'value'
10026
+ end
10027
+ end
10028
+ end
10029
+ end
10030
+
9823
10031
  class InstanceGroupManagerStatus
9824
10032
  # @private
9825
10033
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9376,6 +9376,322 @@ module Google
9376
9376
  execute_or_queue_command(command, &block)
9377
9377
  end
9378
9378
 
9379
+ # Cancels the specified resize request and removes it from the queue. Cancelled
9380
+ # resize request does no longer wait for the resources to be provisioned. Cancel
9381
+ # is only possible for requests that are accepted in the queue.
9382
+ # @param [String] project
9383
+ # Project ID for this request.
9384
+ # @param [String] zone
9385
+ # The name of the zone where the managed instance group is located. The name
9386
+ # should conform to RFC1035.
9387
+ # @param [String] instance_group_manager
9388
+ # The name of the managed instance group. The name should conform to RFC1035 or
9389
+ # be a resource ID.
9390
+ # @param [String] resize_request
9391
+ # The name of the resize request to cancel. The name should conform to RFC1035
9392
+ # or be a resource ID.
9393
+ # @param [String] request_id
9394
+ # An optional request ID to identify requests. Specify a unique request ID so
9395
+ # that if you must retry your request, the server will know to ignore the
9396
+ # request if it has already been completed. For example, consider a situation
9397
+ # where you make an initial request and the request times out. If you make the
9398
+ # request again with the same request ID, the server can check if original
9399
+ # operation with the same request ID was received, and if so, will ignore the
9400
+ # second request. This prevents clients from accidentally creating duplicate
9401
+ # commitments. The request ID must be a valid UUID with the exception that zero
9402
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
9403
+ # @param [String] fields
9404
+ # Selector specifying which fields to include in a partial response.
9405
+ # @param [String] quota_user
9406
+ # Available to use for quota purposes for server-side applications. Can be any
9407
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9408
+ # @param [String] user_ip
9409
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9410
+ # @param [Google::Apis::RequestOptions] options
9411
+ # Request-specific options
9412
+ #
9413
+ # @yield [result, err] Result & error if block supplied
9414
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
9415
+ # @yieldparam err [StandardError] error object if request failed
9416
+ #
9417
+ # @return [Google::Apis::ComputeV1::Operation]
9418
+ #
9419
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9420
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9421
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9422
+ def cancel_instance_group_manager_resize_request(project, zone, instance_group_manager, resize_request, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9423
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel', options)
9424
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
9425
+ command.response_class = Google::Apis::ComputeV1::Operation
9426
+ command.params['project'] = project unless project.nil?
9427
+ command.params['zone'] = zone unless zone.nil?
9428
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9429
+ command.params['resizeRequest'] = resize_request unless resize_request.nil?
9430
+ command.query['requestId'] = request_id unless request_id.nil?
9431
+ command.query['fields'] = fields unless fields.nil?
9432
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9433
+ command.query['userIp'] = user_ip unless user_ip.nil?
9434
+ execute_or_queue_command(command, &block)
9435
+ end
9436
+
9437
+ # Deletes the specified, inactive resize request. Requests that are still active
9438
+ # cannot be deleted. Deleting request does not delete instances that were
9439
+ # provisioned previously.
9440
+ # @param [String] project
9441
+ # Project ID for this request.
9442
+ # @param [String] zone
9443
+ # The name of the zone where the managed instance group is located. The name
9444
+ # should conform to RFC1035.
9445
+ # @param [String] instance_group_manager
9446
+ # The name of the managed instance group. The name should conform to RFC1035 or
9447
+ # be a resource ID.
9448
+ # @param [String] resize_request
9449
+ # The name of the resize request to delete. The name should conform to RFC1035
9450
+ # or be a resource ID.
9451
+ # @param [String] request_id
9452
+ # An optional request ID to identify requests. Specify a unique request ID so
9453
+ # that if you must retry your request, the server will know to ignore the
9454
+ # request if it has already been completed. For example, consider a situation
9455
+ # where you make an initial request and the request times out. If you make the
9456
+ # request again with the same request ID, the server can check if original
9457
+ # operation with the same request ID was received, and if so, will ignore the
9458
+ # second request. This prevents clients from accidentally creating duplicate
9459
+ # commitments. The request ID must be a valid UUID with the exception that zero
9460
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
9461
+ # @param [String] fields
9462
+ # Selector specifying which fields to include in a partial response.
9463
+ # @param [String] quota_user
9464
+ # Available to use for quota purposes for server-side applications. Can be any
9465
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9466
+ # @param [String] user_ip
9467
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9468
+ # @param [Google::Apis::RequestOptions] options
9469
+ # Request-specific options
9470
+ #
9471
+ # @yield [result, err] Result & error if block supplied
9472
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
9473
+ # @yieldparam err [StandardError] error object if request failed
9474
+ #
9475
+ # @return [Google::Apis::ComputeV1::Operation]
9476
+ #
9477
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9478
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9479
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9480
+ def delete_instance_group_manager_resize_request(project, zone, instance_group_manager, resize_request, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9481
+ command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}', options)
9482
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
9483
+ command.response_class = Google::Apis::ComputeV1::Operation
9484
+ command.params['project'] = project unless project.nil?
9485
+ command.params['zone'] = zone unless zone.nil?
9486
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9487
+ command.params['resizeRequest'] = resize_request unless resize_request.nil?
9488
+ command.query['requestId'] = request_id unless request_id.nil?
9489
+ command.query['fields'] = fields unless fields.nil?
9490
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9491
+ command.query['userIp'] = user_ip unless user_ip.nil?
9492
+ execute_or_queue_command(command, &block)
9493
+ end
9494
+
9495
+ # Returns all of the details about the specified resize request.
9496
+ # @param [String] project
9497
+ # Project ID for this request.
9498
+ # @param [String] zone
9499
+ # Name of the href="/compute/docs/regions-zones/#available">zone scoping this
9500
+ # request. Name should conform to RFC1035.
9501
+ # @param [String] instance_group_manager
9502
+ # The name of the managed instance group. Name should conform to RFC1035 or be a
9503
+ # resource ID.
9504
+ # @param [String] resize_request
9505
+ # The name of the resize request. Name should conform to RFC1035 or be a
9506
+ # resource ID.
9507
+ # @param [String] fields
9508
+ # Selector specifying which fields to include in a partial response.
9509
+ # @param [String] quota_user
9510
+ # Available to use for quota purposes for server-side applications. Can be any
9511
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9512
+ # @param [String] user_ip
9513
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9514
+ # @param [Google::Apis::RequestOptions] options
9515
+ # Request-specific options
9516
+ #
9517
+ # @yield [result, err] Result & error if block supplied
9518
+ # @yieldparam result [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest] parsed result object
9519
+ # @yieldparam err [StandardError] error object if request failed
9520
+ #
9521
+ # @return [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest]
9522
+ #
9523
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9524
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9525
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9526
+ def get_instance_group_manager_resize_request(project, zone, instance_group_manager, resize_request, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9527
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}', options)
9528
+ command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest::Representation
9529
+ command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest
9530
+ command.params['project'] = project unless project.nil?
9531
+ command.params['zone'] = zone unless zone.nil?
9532
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9533
+ command.params['resizeRequest'] = resize_request unless resize_request.nil?
9534
+ command.query['fields'] = fields unless fields.nil?
9535
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9536
+ command.query['userIp'] = user_ip unless user_ip.nil?
9537
+ execute_or_queue_command(command, &block)
9538
+ end
9539
+
9540
+ # Creates a new resize request that starts provisioning VMs immediately or
9541
+ # queues VM creation.
9542
+ # @param [String] project
9543
+ # Project ID for this request.
9544
+ # @param [String] zone
9545
+ # The name of the zone where the managed instance group is located and where the
9546
+ # resize request will be created. Name should conform to RFC1035.
9547
+ # @param [String] instance_group_manager
9548
+ # The name of the managed instance group to which the resize request will be
9549
+ # added. Name should conform to RFC1035 or be a resource ID.
9550
+ # @param [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest] instance_group_manager_resize_request_object
9551
+ # @param [String] request_id
9552
+ # An optional request ID to identify requests. Specify a unique request ID so
9553
+ # that if you must retry your request, the server will know to ignore the
9554
+ # request if it has already been completed. For example, consider a situation
9555
+ # where you make an initial request and the request times out. If you make the
9556
+ # request again with the same request ID, the server can check if original
9557
+ # operation with the same request ID was received, and if so, will ignore the
9558
+ # second request. This prevents clients from accidentally creating duplicate
9559
+ # commitments. The request ID must be a valid UUID with the exception that zero
9560
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
9561
+ # @param [String] fields
9562
+ # Selector specifying which fields to include in a partial response.
9563
+ # @param [String] quota_user
9564
+ # Available to use for quota purposes for server-side applications. Can be any
9565
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9566
+ # @param [String] user_ip
9567
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9568
+ # @param [Google::Apis::RequestOptions] options
9569
+ # Request-specific options
9570
+ #
9571
+ # @yield [result, err] Result & error if block supplied
9572
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
9573
+ # @yieldparam err [StandardError] error object if request failed
9574
+ #
9575
+ # @return [Google::Apis::ComputeV1::Operation]
9576
+ #
9577
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9578
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9579
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9580
+ def insert_instance_group_manager_resize_request(project, zone, instance_group_manager, instance_group_manager_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9581
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests', options)
9582
+ command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagerResizeRequest::Representation
9583
+ command.request_object = instance_group_manager_resize_request_object
9584
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
9585
+ command.response_class = Google::Apis::ComputeV1::Operation
9586
+ command.params['project'] = project unless project.nil?
9587
+ command.params['zone'] = zone unless zone.nil?
9588
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9589
+ command.query['requestId'] = request_id unless request_id.nil?
9590
+ command.query['fields'] = fields unless fields.nil?
9591
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9592
+ command.query['userIp'] = user_ip unless user_ip.nil?
9593
+ execute_or_queue_command(command, &block)
9594
+ end
9595
+
9596
+ # Retrieves a list of resize requests that are contained in the managed instance
9597
+ # group.
9598
+ # @param [String] project
9599
+ # Project ID for this request.
9600
+ # @param [String] zone
9601
+ # The name of the zone where the managed instance group is located. The name
9602
+ # should conform to RFC1035.
9603
+ # @param [String] instance_group_manager
9604
+ # The name of the managed instance group. The name should conform to RFC1035.
9605
+ # @param [String] filter
9606
+ # A filter expression that filters resources listed in the response. Most
9607
+ # Compute resources support two types of filter expressions: expressions that
9608
+ # support regular expressions and expressions that follow API improvement
9609
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
9610
+ # request. If you want to use AIP-160, your expression must specify the field
9611
+ # name, an operator, and the value that you want to use for filtering. The value
9612
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
9613
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
9614
+ # Engine instances, you can exclude instances named `example-instance` by
9615
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
9616
+ # whether a key has been defined. For example, to find all objects with `owner`
9617
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
9618
+ # example, you could specify `scheduling.automaticRestart = false` to include
9619
+ # instances only if they are not scheduled for automatic restarts. You can use
9620
+ # filtering on nested fields to filter based on resource labels. To filter on
9621
+ # multiple expressions, provide each separate expression within parentheses. For
9622
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
9623
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
9624
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
9625
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
9626
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
9627
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
9628
+ # un-parenthesized expression with or without quotes or against multiple
9629
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
9630
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
9631
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
9632
+ # interpreted as a regular expression using Google RE2 library syntax. The
9633
+ # literal value must match the entire field. For example, to filter for
9634
+ # instances that do not end with name "instance", you would use `name ne .*
9635
+ # instance`. You cannot combine constraints on multiple fields using regular
9636
+ # expressions.
9637
+ # @param [Fixnum] max_results
9638
+ # The maximum number of results per page that should be returned. If the number
9639
+ # of available results is larger than `maxResults`, Compute Engine returns a `
9640
+ # nextPageToken` that can be used to get the next page of results in subsequent
9641
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
9642
+ # @param [String] order_by
9643
+ # Sorts list results by a certain order. By default, results are returned in
9644
+ # alphanumerical order based on the resource name. You can also sort results in
9645
+ # descending order based on the creation timestamp using `orderBy="
9646
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
9647
+ # field in reverse chronological order (newest result first). Use this to sort
9648
+ # resources like operations so that the newest operation is returned first.
9649
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
9650
+ # @param [String] page_token
9651
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
9652
+ # by a previous list request to get the next page of results.
9653
+ # @param [Boolean] return_partial_success
9654
+ # Opt-in for partial success behavior which provides partial results in case of
9655
+ # failure. The default value is false. For example, when partial success
9656
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
9657
+ # resources in the zone or no resources, with an error code.
9658
+ # @param [String] fields
9659
+ # Selector specifying which fields to include in a partial response.
9660
+ # @param [String] quota_user
9661
+ # Available to use for quota purposes for server-side applications. Can be any
9662
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9663
+ # @param [String] user_ip
9664
+ # Legacy name for parameter that has been superseded by `quotaUser`.
9665
+ # @param [Google::Apis::RequestOptions] options
9666
+ # Request-specific options
9667
+ #
9668
+ # @yield [result, err] Result & error if block supplied
9669
+ # @yieldparam result [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse] parsed result object
9670
+ # @yieldparam err [StandardError] error object if request failed
9671
+ #
9672
+ # @return [Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse]
9673
+ #
9674
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9675
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9676
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9677
+ def list_instance_group_manager_resize_requests(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
9678
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests', options)
9679
+ command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse::Representation
9680
+ command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerResizeRequestsListResponse
9681
+ command.params['project'] = project unless project.nil?
9682
+ command.params['zone'] = zone unless zone.nil?
9683
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
9684
+ command.query['filter'] = filter unless filter.nil?
9685
+ command.query['maxResults'] = max_results unless max_results.nil?
9686
+ command.query['orderBy'] = order_by unless order_by.nil?
9687
+ command.query['pageToken'] = page_token unless page_token.nil?
9688
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
9689
+ command.query['fields'] = fields unless fields.nil?
9690
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9691
+ command.query['userIp'] = user_ip unless user_ip.nil?
9692
+ execute_or_queue_command(command, &block)
9693
+ end
9694
+
9379
9695
  # Flags the specified instances to be removed from the managed instance group.
9380
9696
  # Abandoning an instance does not delete the instance, but it does remove the
9381
9697
  # instance from any target pools that are applied by the managed instance group.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.91.0
4
+ version: 0.92.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-10 00:00:00.000000000 Z
11
+ date: 2024-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.91.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.92.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
63
  post_install_message:
64
64
  rdoc_options: []