google-apis-compute_v1 0.91.0 → 0.93.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ce75aa739726ee26594a1cacf89db5e650e3d2c1524d4d5cc651d3fe5cca6b6
|
4
|
+
data.tar.gz: f976656289e8500dcd721febc522d4cb20880580147a45a82da7b3f1fdc57f4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aeacb6134ac12bcf1060be005b620f12c94916c9fca20c644b71907862899f2bd59cad6a7495b32784a62cd9bdb00f86282abdabab087a2598b8601cb3674a6
|
7
|
+
data.tar.gz: 79a50a3dd3954b5517763e8650f2e157ccc3c86abfc2a76f8fd48d831e078bc75b73966de6aa34e9574cd6d3ba971570926ade2c427633ba23851bb7e328645d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.93.0 (2024-03-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240312
|
6
|
+
|
7
|
+
### v0.92.0 (2024-03-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240305
|
10
|
+
|
3
11
|
### v0.91.0 (2024-03-10)
|
4
12
|
|
5
13
|
* 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
|
6111
|
-
#
|
6112
|
-
#
|
6113
|
-
#
|
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,
|
6126
|
-
#
|
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
|
@@ -16825,6 +17313,82 @@ module Google
|
|
16825
17313
|
end
|
16826
17314
|
end
|
16827
17315
|
|
17316
|
+
# Represents a Instance Settings resource. You can use instance settings to
|
17317
|
+
# configure default settings for Compute Engine VM instances. For example, you
|
17318
|
+
# can use it to configure default machine type of Compute Engine VM instances.
|
17319
|
+
class InstanceSettings
|
17320
|
+
include Google::Apis::Core::Hashable
|
17321
|
+
|
17322
|
+
# Specifies a fingerprint for instance settings, which is essentially a hash of
|
17323
|
+
# the instance settings resource's contents and used for optimistic locking. The
|
17324
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
17325
|
+
# request to modify or update the instance settings resource. You must always
|
17326
|
+
# provide an up-to-date fingerprint hash in order to update or change the
|
17327
|
+
# resource, otherwise the request will fail with error 412 conditionNotMet. To
|
17328
|
+
# see the latest fingerprint, make a get() request to retrieve the resource.
|
17329
|
+
# Corresponds to the JSON property `fingerprint`
|
17330
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
17331
|
+
# @return [String]
|
17332
|
+
attr_accessor :fingerprint
|
17333
|
+
|
17334
|
+
# [Output Only] Type of the resource. Always compute#instance_settings for
|
17335
|
+
# instance settings.
|
17336
|
+
# Corresponds to the JSON property `kind`
|
17337
|
+
# @return [String]
|
17338
|
+
attr_accessor :kind
|
17339
|
+
|
17340
|
+
# The metadata key/value pairs assigned to all the instances in the
|
17341
|
+
# corresponding scope.
|
17342
|
+
# Corresponds to the JSON property `metadata`
|
17343
|
+
# @return [Google::Apis::ComputeV1::InstanceSettingsMetadata]
|
17344
|
+
attr_accessor :metadata
|
17345
|
+
|
17346
|
+
# [Output Only] URL of the zone where the resource resides You must specify this
|
17347
|
+
# field as part of the HTTP request URL. It is not settable as a field in the
|
17348
|
+
# request body.
|
17349
|
+
# Corresponds to the JSON property `zone`
|
17350
|
+
# @return [String]
|
17351
|
+
attr_accessor :zone
|
17352
|
+
|
17353
|
+
def initialize(**args)
|
17354
|
+
update!(**args)
|
17355
|
+
end
|
17356
|
+
|
17357
|
+
# Update properties of this object
|
17358
|
+
def update!(**args)
|
17359
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
17360
|
+
@kind = args[:kind] if args.key?(:kind)
|
17361
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
17362
|
+
@zone = args[:zone] if args.key?(:zone)
|
17363
|
+
end
|
17364
|
+
end
|
17365
|
+
|
17366
|
+
#
|
17367
|
+
class InstanceSettingsMetadata
|
17368
|
+
include Google::Apis::Core::Hashable
|
17369
|
+
|
17370
|
+
# A metadata key/value items map. The total size of all keys and values must be
|
17371
|
+
# less than 512KB.
|
17372
|
+
# Corresponds to the JSON property `items`
|
17373
|
+
# @return [Hash<String,String>]
|
17374
|
+
attr_accessor :items
|
17375
|
+
|
17376
|
+
# [Output Only] Type of the resource. Always compute#metadata for metadata.
|
17377
|
+
# Corresponds to the JSON property `kind`
|
17378
|
+
# @return [String]
|
17379
|
+
attr_accessor :kind
|
17380
|
+
|
17381
|
+
def initialize(**args)
|
17382
|
+
update!(**args)
|
17383
|
+
end
|
17384
|
+
|
17385
|
+
# Update properties of this object
|
17386
|
+
def update!(**args)
|
17387
|
+
@items = args[:items] if args.key?(:items)
|
17388
|
+
@kind = args[:kind] if args.key?(:kind)
|
17389
|
+
end
|
17390
|
+
end
|
17391
|
+
|
16828
17392
|
# Represents an Instance Template resource. Google Compute Engine has two
|
16829
17393
|
# Instance Template resources: * [Global](/compute/docs/reference/rest/v1/
|
16830
17394
|
# instanceTemplates) * [Regional](/compute/docs/reference/rest/v1/
|
@@ -17368,7 +17932,7 @@ module Google
|
|
17368
17932
|
attr_accessor :short_name
|
17369
17933
|
|
17370
17934
|
# [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
|
17371
|
-
# NETWORK, NETWORK_REGIONAL.
|
17935
|
+
# NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
|
17372
17936
|
# Corresponds to the JSON property `type`
|
17373
17937
|
# @return [String]
|
17374
17938
|
attr_accessor :type
|
@@ -31541,7 +32105,7 @@ module Google
|
|
31541
32105
|
attr_accessor :rules
|
31542
32106
|
|
31543
32107
|
# [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
|
31544
|
-
# NETWORK, NETWORK_REGIONAL.
|
32108
|
+
# NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
|
31545
32109
|
# Corresponds to the JSON property `type`
|
31546
32110
|
# @return [String]
|
31547
32111
|
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.
|
19
|
+
GEM_VERSION = "0.93.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 = "
|
25
|
+
REVISION = "20240312"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|