google-apis-compute_v1 0.84.0 → 0.85.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_v1/classes.rb +346 -150
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +83 -0
- data/lib/google/apis/compute_v1/service.rb +104 -11
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afb07f18f643d55f9421056d564160dfb482e6fbb75c526e4812d6f1c3aecfa5
|
4
|
+
data.tar.gz: c46dd267fa0959a1124f22ed96e7297b3a4f3a35dc215ad33929b04fa5a2e615
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edf6e2a15fcc9f508e3a1a7aea2ab108081ae09d84180f55710dc900eecc59b6ba3ebb3cdec792fd03dc078686a673724ab6d10d6dda1a7c482b9b16367492ca
|
7
|
+
data.tar.gz: 9d6bdfb09d83aa3d77d3b2690fe65c664b2e3cd5d5265682736fb0687933f38a6be4a3750c08cf750c651acb11bc23cd923e057accb2748eda1a44a6fd299683
|
data/CHANGELOG.md
CHANGED
@@ -1203,6 +1203,91 @@ module Google
|
|
1203
1203
|
end
|
1204
1204
|
end
|
1205
1205
|
|
1206
|
+
# This reservation type is specified by total resource amounts (e.g. total count
|
1207
|
+
# of CPUs) and can account for multiple instance SKUs. In other words, one can
|
1208
|
+
# create instances of varying shapes against this reservation.
|
1209
|
+
class AllocationAggregateReservation
|
1210
|
+
include Google::Apis::Core::Hashable
|
1211
|
+
|
1212
|
+
# [Output only] List of resources currently in use.
|
1213
|
+
# Corresponds to the JSON property `inUseResources`
|
1214
|
+
# @return [Array<Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo>]
|
1215
|
+
attr_accessor :in_use_resources
|
1216
|
+
|
1217
|
+
# List of reserved resources (CPUs, memory, accelerators).
|
1218
|
+
# Corresponds to the JSON property `reservedResources`
|
1219
|
+
# @return [Array<Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo>]
|
1220
|
+
attr_accessor :reserved_resources
|
1221
|
+
|
1222
|
+
# The VM family that all instances scheduled against this reservation must
|
1223
|
+
# belong to.
|
1224
|
+
# Corresponds to the JSON property `vmFamily`
|
1225
|
+
# @return [String]
|
1226
|
+
attr_accessor :vm_family
|
1227
|
+
|
1228
|
+
# The workload type of the instances that will target this reservation.
|
1229
|
+
# Corresponds to the JSON property `workloadType`
|
1230
|
+
# @return [String]
|
1231
|
+
attr_accessor :workload_type
|
1232
|
+
|
1233
|
+
def initialize(**args)
|
1234
|
+
update!(**args)
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
# Update properties of this object
|
1238
|
+
def update!(**args)
|
1239
|
+
@in_use_resources = args[:in_use_resources] if args.key?(:in_use_resources)
|
1240
|
+
@reserved_resources = args[:reserved_resources] if args.key?(:reserved_resources)
|
1241
|
+
@vm_family = args[:vm_family] if args.key?(:vm_family)
|
1242
|
+
@workload_type = args[:workload_type] if args.key?(:workload_type)
|
1243
|
+
end
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
#
|
1247
|
+
class AllocationAggregateReservationReservedResourceInfo
|
1248
|
+
include Google::Apis::Core::Hashable
|
1249
|
+
|
1250
|
+
# Properties of accelerator resources in this reservation.
|
1251
|
+
# Corresponds to the JSON property `accelerator`
|
1252
|
+
# @return [Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfoAccelerator]
|
1253
|
+
attr_accessor :accelerator
|
1254
|
+
|
1255
|
+
def initialize(**args)
|
1256
|
+
update!(**args)
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
# Update properties of this object
|
1260
|
+
def update!(**args)
|
1261
|
+
@accelerator = args[:accelerator] if args.key?(:accelerator)
|
1262
|
+
end
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
#
|
1266
|
+
class AllocationAggregateReservationReservedResourceInfoAccelerator
|
1267
|
+
include Google::Apis::Core::Hashable
|
1268
|
+
|
1269
|
+
# Number of accelerators of specified type.
|
1270
|
+
# Corresponds to the JSON property `acceleratorCount`
|
1271
|
+
# @return [Fixnum]
|
1272
|
+
attr_accessor :accelerator_count
|
1273
|
+
|
1274
|
+
# Full or partial URL to accelerator type. e.g. "projects/`PROJECT`/zones/`ZONE`/
|
1275
|
+
# acceleratorTypes/ct4l"
|
1276
|
+
# Corresponds to the JSON property `acceleratorType`
|
1277
|
+
# @return [String]
|
1278
|
+
attr_accessor :accelerator_type
|
1279
|
+
|
1280
|
+
def initialize(**args)
|
1281
|
+
update!(**args)
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
# Update properties of this object
|
1285
|
+
def update!(**args)
|
1286
|
+
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
1287
|
+
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
|
1206
1291
|
# [Output Only] Contains output only fields.
|
1207
1292
|
class AllocationResourceStatus
|
1208
1293
|
include Google::Apis::Core::Hashable
|
@@ -1585,6 +1670,12 @@ module Google
|
|
1585
1670
|
# @return [String]
|
1586
1671
|
attr_accessor :disk_type
|
1587
1672
|
|
1673
|
+
# Whether this disk is using confidential compute mode.
|
1674
|
+
# Corresponds to the JSON property `enableConfidentialCompute`
|
1675
|
+
# @return [Boolean]
|
1676
|
+
attr_accessor :enable_confidential_compute
|
1677
|
+
alias_method :enable_confidential_compute?, :enable_confidential_compute
|
1678
|
+
|
1588
1679
|
# Labels to apply to this disk. These can be later modified by the disks.
|
1589
1680
|
# setLabels method. This field is only applicable for persistent disks.
|
1590
1681
|
# Corresponds to the JSON property `labels`
|
@@ -1690,6 +1781,7 @@ module Google
|
|
1690
1781
|
@disk_name = args[:disk_name] if args.key?(:disk_name)
|
1691
1782
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1692
1783
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1784
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
1693
1785
|
@labels = args[:labels] if args.key?(:labels)
|
1694
1786
|
@licenses = args[:licenses] if args.key?(:licenses)
|
1695
1787
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
@@ -3228,13 +3320,13 @@ module Google
|
|
3228
3320
|
class BackendService
|
3229
3321
|
include Google::Apis::Core::Hashable
|
3230
3322
|
|
3231
|
-
# Lifetime of cookies in seconds. This setting is applicable to
|
3232
|
-
#
|
3233
|
-
#
|
3234
|
-
#
|
3235
|
-
#
|
3236
|
-
#
|
3237
|
-
#
|
3323
|
+
# Lifetime of cookies in seconds. This setting is applicable to Application Load
|
3324
|
+
# Balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE
|
3325
|
+
# session affinity. If set to 0, the cookie is non-persistent and lasts only
|
3326
|
+
# until the end of the browser session (or equivalent). The maximum allowed
|
3327
|
+
# value is two weeks (1,209,600). Not supported when the backend service is
|
3328
|
+
# referenced by a URL map that is bound to target gRPC proxy that has
|
3329
|
+
# validateForProxyless field set to true.
|
3238
3330
|
# Corresponds to the JSON property `affinityCookieTtlSec`
|
3239
3331
|
# @return [Fixnum]
|
3240
3332
|
attr_accessor :affinity_cookie_ttl_sec
|
@@ -3305,23 +3397,23 @@ module Google
|
|
3305
3397
|
# @return [String]
|
3306
3398
|
attr_accessor :edge_security_policy
|
3307
3399
|
|
3308
|
-
# If true, enables Cloud CDN for the backend service of
|
3309
|
-
#
|
3400
|
+
# If true, enables Cloud CDN for the backend service of a global external
|
3401
|
+
# Application Load Balancer.
|
3310
3402
|
# Corresponds to the JSON property `enableCDN`
|
3311
3403
|
# @return [Boolean]
|
3312
3404
|
attr_accessor :enable_cdn
|
3313
3405
|
alias_method :enable_cdn?, :enable_cdn
|
3314
3406
|
|
3315
|
-
# For load balancers that have configurable failover: [Internal
|
3316
|
-
#
|
3317
|
-
# overview) and [external
|
3318
|
-
# balancing/docs/network/networklb-failover-overview). On
|
3319
|
-
# this field indicates whether connection draining will be
|
3320
|
-
# has a fixed connection draining timeout of 10 minutes. A
|
3321
|
-
# terminates existing TCP connections to the active pool during
|
3322
|
-
# failback, immediately draining traffic. A setting of false allows
|
3323
|
-
# connections to persist, even on VMs no longer in the active pool,
|
3324
|
-
# the duration of the connection draining timeout (10 minutes).
|
3407
|
+
# For load balancers that have configurable failover: [Internal passthrough
|
3408
|
+
# Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/
|
3409
|
+
# failover-overview) and [external passthrough Network Load Balancers](https://
|
3410
|
+
# cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On
|
3411
|
+
# failover or failback, this field indicates whether connection draining will be
|
3412
|
+
# honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A
|
3413
|
+
# setting of true terminates existing TCP connections to the active pool during
|
3414
|
+
# failover and failback, immediately draining traffic. A setting of false allows
|
3415
|
+
# existing TCP connections to persist, even on VMs no longer in the active pool,
|
3416
|
+
# for up to the duration of the connection draining timeout (10 minutes).
|
3325
3417
|
# Corresponds to the JSON property `failoverPolicy`
|
3326
3418
|
# @return [Google::Apis::ComputeV1::BackendServiceFailoverPolicy]
|
3327
3419
|
attr_accessor :failover_policy
|
@@ -3454,8 +3546,8 @@ module Google
|
|
3454
3546
|
attr_accessor :outlier_detection
|
3455
3547
|
|
3456
3548
|
# Deprecated in favor of portName. The TCP port to connect on the backend. The
|
3457
|
-
# default value is 80. For
|
3458
|
-
#
|
3549
|
+
# default value is 80. For internal passthrough Network Load Balancers and
|
3550
|
+
# external passthrough Network Load Balancers, omit port.
|
3459
3551
|
# Corresponds to the JSON property `port`
|
3460
3552
|
# @return [Fixnum]
|
3461
3553
|
attr_accessor :port
|
@@ -3464,8 +3556,8 @@ module Google
|
|
3464
3556
|
# communication to the backend VMs in that group. The named port must be [
|
3465
3557
|
# defined on each backend instance group](https://cloud.google.com/load-
|
3466
3558
|
# balancing/docs/backend-service#named_ports). This parameter has no meaning if
|
3467
|
-
# the backends are NEGs. For
|
3468
|
-
#
|
3559
|
+
# the backends are NEGs. For internal passthrough Network Load Balancers and
|
3560
|
+
# external passthrough Network Load Balancers, omit port_name.
|
3469
3561
|
# Corresponds to the JSON property `portName`
|
3470
3562
|
# @return [String]
|
3471
3563
|
attr_accessor :port_name
|
@@ -3947,20 +4039,20 @@ module Google
|
|
3947
4039
|
# @return [String]
|
3948
4040
|
attr_accessor :connection_persistence_on_unhealthy_backends
|
3949
4041
|
|
3950
|
-
# Enable Strong Session Affinity for Network Load
|
3951
|
-
# available publicly.
|
4042
|
+
# Enable Strong Session Affinity for external passthrough Network Load Balancers.
|
4043
|
+
# This option is not available publicly.
|
3952
4044
|
# Corresponds to the JSON property `enableStrongAffinity`
|
3953
4045
|
# @return [Boolean]
|
3954
4046
|
attr_accessor :enable_strong_affinity
|
3955
4047
|
alias_method :enable_strong_affinity?, :enable_strong_affinity
|
3956
4048
|
|
3957
4049
|
# Specifies how long to keep a Connection Tracking entry while there is no
|
3958
|
-
# matching traffic (in seconds). For
|
3959
|
-
# minimum (default) is 10 minutes and the maximum is 16 hours. - It can
|
3960
|
-
# only if Connection Tracking is less than 5-tuple (i.e. Session Affinity
|
3961
|
-
# CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode
|
3962
|
-
# PER_SESSION). For Network Load
|
3963
|
-
# is not available publicly.
|
4050
|
+
# matching traffic (in seconds). For internal passthrough Network Load Balancers:
|
4051
|
+
# - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can
|
4052
|
+
# be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity
|
4053
|
+
# is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode
|
4054
|
+
# is PER_SESSION). For external passthrough Network Load Balancers the default
|
4055
|
+
# is 60 seconds. This option is not available publicly.
|
3964
4056
|
# Corresponds to the JSON property `idleTimeoutSec`
|
3965
4057
|
# @return [Fixnum]
|
3966
4058
|
attr_accessor :idle_timeout_sec
|
@@ -3991,16 +4083,16 @@ module Google
|
|
3991
4083
|
end
|
3992
4084
|
end
|
3993
4085
|
|
3994
|
-
# For load balancers that have configurable failover: [Internal
|
3995
|
-
#
|
3996
|
-
# overview) and [external
|
3997
|
-
# balancing/docs/network/networklb-failover-overview). On
|
3998
|
-
# this field indicates whether connection draining will be
|
3999
|
-
# has a fixed connection draining timeout of 10 minutes. A
|
4000
|
-
# terminates existing TCP connections to the active pool during
|
4001
|
-
# failback, immediately draining traffic. A setting of false allows
|
4002
|
-
# connections to persist, even on VMs no longer in the active pool,
|
4003
|
-
# the duration of the connection draining timeout (10 minutes).
|
4086
|
+
# For load balancers that have configurable failover: [Internal passthrough
|
4087
|
+
# Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/
|
4088
|
+
# failover-overview) and [external passthrough Network Load Balancers](https://
|
4089
|
+
# cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On
|
4090
|
+
# failover or failback, this field indicates whether connection draining will be
|
4091
|
+
# honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A
|
4092
|
+
# setting of true terminates existing TCP connections to the active pool during
|
4093
|
+
# failover and failback, immediately draining traffic. A setting of false allows
|
4094
|
+
# existing TCP connections to persist, even on VMs no longer in the active pool,
|
4095
|
+
# for up to the duration of the connection draining timeout (10 minutes).
|
4004
4096
|
class BackendServiceFailoverPolicy
|
4005
4097
|
include Google::Apis::Core::Hashable
|
4006
4098
|
|
@@ -4014,10 +4106,10 @@ module Google
|
|
4014
4106
|
# and all backup backend VMs are unhealthy.If set to false, connections are
|
4015
4107
|
# distributed among all primary VMs when all primary and all backup backend VMs
|
4016
4108
|
# are unhealthy. For load balancers that have configurable failover: [Internal
|
4017
|
-
#
|
4018
|
-
# failover-overview) and [external
|
4019
|
-
# com/load-balancing/docs/network/networklb-
|
4020
|
-
# false.
|
4109
|
+
# passthrough Network Load Balancers](https://cloud.google.com/load-balancing/
|
4110
|
+
# docs/internal/failover-overview) and [external passthrough Network Load
|
4111
|
+
# Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-
|
4112
|
+
# failover-overview). The default is false.
|
4021
4113
|
# Corresponds to the JSON property `dropTrafficIfUnhealthy`
|
4022
4114
|
# @return [Boolean]
|
4023
4115
|
attr_accessor :drop_traffic_if_unhealthy
|
@@ -6203,6 +6295,12 @@ module Google
|
|
6203
6295
|
# @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
|
6204
6296
|
attr_accessor :disk_encryption_key
|
6205
6297
|
|
6298
|
+
# Whether this disk is using confidential compute mode.
|
6299
|
+
# Corresponds to the JSON property `enableConfidentialCompute`
|
6300
|
+
# @return [Boolean]
|
6301
|
+
attr_accessor :enable_confidential_compute
|
6302
|
+
alias_method :enable_confidential_compute?, :enable_confidential_compute
|
6303
|
+
|
6206
6304
|
# A list of features to enable on the guest operating system. Applicable only
|
6207
6305
|
# for bootable images. Read Enabling guest operating system features to see a
|
6208
6306
|
# list of available options.
|
@@ -6484,6 +6582,7 @@ module Google
|
|
6484
6582
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
6485
6583
|
@description = args[:description] if args.key?(:description)
|
6486
6584
|
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
|
6585
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
6487
6586
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
6488
6587
|
@id = args[:id] if args.key?(:id)
|
6489
6588
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -9286,10 +9385,10 @@ module Google
|
|
9286
9385
|
# google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](
|
9287
9386
|
# https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A
|
9288
9387
|
# forwarding rule and its corresponding IP address represent the frontend
|
9289
|
-
# configuration of a Google Cloud
|
9290
|
-
#
|
9291
|
-
#
|
9292
|
-
#
|
9388
|
+
# configuration of a Google Cloud load balancer. Forwarding rules can also
|
9389
|
+
# reference target instances and Cloud VPN Classic gateways (targetVpnGateway).
|
9390
|
+
# For more information, read Forwarding rule concepts and Using protocol
|
9391
|
+
# forwarding.
|
9293
9392
|
class ForwardingRule
|
9294
9393
|
include Google::Apis::Core::Hashable
|
9295
9394
|
|
@@ -9345,11 +9444,12 @@ module Google
|
|
9345
9444
|
|
9346
9445
|
# This field is used along with the backend_service field for internal load
|
9347
9446
|
# balancing or with the target field for internal TargetInstance. If set to true,
|
9348
|
-
# clients can access the
|
9349
|
-
#
|
9350
|
-
#
|
9351
|
-
#
|
9352
|
-
# forwarding rule is
|
9447
|
+
# clients can access the internal passthrough Network Load Balancers, the
|
9448
|
+
# regional internal Application Load Balancer, and the regional internal proxy
|
9449
|
+
# Network Load Balancer from all regions. If false, only allows access from the
|
9450
|
+
# local region the load balancer is located at. Note that for INTERNAL_MANAGED
|
9451
|
+
# forwarding rules, this field cannot be changed after the forwarding rule is
|
9452
|
+
# created.
|
9353
9453
|
# Corresponds to the JSON property `allowGlobalAccess`
|
9354
9454
|
# @return [Boolean]
|
9355
9455
|
attr_accessor :allow_global_access
|
@@ -9363,16 +9463,16 @@ module Google
|
|
9363
9463
|
alias_method :allow_psc_global_access?, :allow_psc_global_access
|
9364
9464
|
|
9365
9465
|
# Identifies the backend service to which the forwarding rule sends traffic.
|
9366
|
-
# Required for
|
9367
|
-
#
|
9466
|
+
# Required for internal and external passthrough Network Load Balancers; must be
|
9467
|
+
# omitted for all other load balancer types.
|
9368
9468
|
# Corresponds to the JSON property `backendService`
|
9369
9469
|
# @return [String]
|
9370
9470
|
attr_accessor :backend_service
|
9371
9471
|
|
9372
|
-
# [Output Only] The URL for the corresponding base
|
9373
|
-
#
|
9374
|
-
# protocol, and port settings with the current
|
9375
|
-
# sourceIPRanges specified. Always empty if the current
|
9472
|
+
# [Output Only] The URL for the corresponding base forwarding rule. By base
|
9473
|
+
# forwarding rule, we mean the forwarding rule that has the same IP address,
|
9474
|
+
# protocol, and port settings with the current forwarding rule, but without
|
9475
|
+
# sourceIPRanges specified. Always empty if the current forwarding rule does not
|
9376
9476
|
# have sourceIPRanges specified.
|
9377
9477
|
# Corresponds to the JSON property `baseForwardingRule`
|
9378
9478
|
# @return [String]
|
@@ -9423,7 +9523,7 @@ module Google
|
|
9423
9523
|
alias_method :is_mirroring_collector?, :is_mirroring_collector
|
9424
9524
|
|
9425
9525
|
# [Output Only] Type of the resource. Always compute#forwardingRule for
|
9426
|
-
#
|
9526
|
+
# forwarding rule resources.
|
9427
9527
|
# Corresponds to the JSON property `kind`
|
9428
9528
|
# @return [String]
|
9429
9529
|
attr_accessor :kind
|
@@ -9485,13 +9585,13 @@ module Google
|
|
9485
9585
|
# @return [String]
|
9486
9586
|
attr_accessor :name
|
9487
9587
|
|
9488
|
-
# This field is not used for global external load balancing. For
|
9489
|
-
#
|
9490
|
-
# IP should belong to for this
|
9491
|
-
# the network of the subnetwork will be used. If neither
|
9492
|
-
# field is specified, the default network will be used. For
|
9493
|
-
# Connect forwarding rules that forward traffic to Google APIs,
|
9494
|
-
# be provided.
|
9588
|
+
# This field is not used for global external load balancing. For internal
|
9589
|
+
# passthrough Network Load Balancers, this field identifies the network that the
|
9590
|
+
# load balanced IP should belong to for this forwarding rule. If the subnetwork
|
9591
|
+
# is specified, the network of the subnetwork will be used. If neither
|
9592
|
+
# subnetwork nor this field is specified, the default network will be used. For
|
9593
|
+
# Private Service Connect forwarding rules that forward traffic to Google APIs,
|
9594
|
+
# a network must be provided.
|
9495
9595
|
# Corresponds to the JSON property `network`
|
9496
9596
|
# @return [String]
|
9497
9597
|
attr_accessor :network
|
@@ -9550,7 +9650,7 @@ module Google
|
|
9550
9650
|
# @return [Array<String>]
|
9551
9651
|
attr_accessor :ports
|
9552
9652
|
|
9553
|
-
# [Output Only] The PSC connection id of the PSC
|
9653
|
+
# [Output Only] The PSC connection id of the PSC forwarding rule.
|
9554
9654
|
# Corresponds to the JSON property `pscConnectionId`
|
9555
9655
|
# @return [Fixnum]
|
9556
9656
|
attr_accessor :psc_connection_id
|
@@ -9579,7 +9679,7 @@ module Google
|
|
9579
9679
|
# @return [Array<Google::Apis::ComputeV1::ForwardingRuleServiceDirectoryRegistration>]
|
9580
9680
|
attr_accessor :service_directory_registrations
|
9581
9681
|
|
9582
|
-
# An optional prefix to the service name for this
|
9682
|
+
# An optional prefix to the service name for this forwarding rule. If specified,
|
9583
9683
|
# the prefix is the first label of the fully qualified service name. The label
|
9584
9684
|
# must be 1-63 characters long, and comply with RFC1035. Specifically, the label
|
9585
9685
|
# must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*
|
@@ -9591,16 +9691,16 @@ module Google
|
|
9591
9691
|
# @return [String]
|
9592
9692
|
attr_accessor :service_label
|
9593
9693
|
|
9594
|
-
# [Output Only] The internal fully qualified service name for this
|
9595
|
-
#
|
9694
|
+
# [Output Only] The internal fully qualified service name for this forwarding
|
9695
|
+
# rule. This field is only used for internal load balancing.
|
9596
9696
|
# Corresponds to the JSON property `serviceName`
|
9597
9697
|
# @return [String]
|
9598
9698
|
attr_accessor :service_name
|
9599
9699
|
|
9600
|
-
# If not empty, this
|
9700
|
+
# If not empty, this forwarding rule will only forward the traffic when the
|
9601
9701
|
# source IP address matches one of the IP addresses or CIDR ranges set here.
|
9602
|
-
# Note that a
|
9603
|
-
# field can only be used with a regional
|
9702
|
+
# Note that a forwarding rule can only have up to 64 source IP ranges, and this
|
9703
|
+
# field can only be used with a regional forwarding rule whose scheme is
|
9604
9704
|
# EXTERNAL. Each source_ip_range entry should be either an IP address (for
|
9605
9705
|
# example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).
|
9606
9706
|
# Corresponds to the JSON property `sourceIpRanges`
|
@@ -9608,10 +9708,11 @@ module Google
|
|
9608
9708
|
attr_accessor :source_ip_ranges
|
9609
9709
|
|
9610
9710
|
# This field identifies the subnetwork that the load balanced IP should belong
|
9611
|
-
# to for this
|
9612
|
-
#
|
9613
|
-
# field is optional. However, a subnetwork must be
|
9614
|
-
# in custom subnet mode or when creating external
|
9711
|
+
# to for this forwarding rule, used with internal load balancers and external
|
9712
|
+
# passthrough Network Load Balancers with IPv6. If the network specified is in
|
9713
|
+
# auto subnet mode, this field is optional. However, a subnetwork must be
|
9714
|
+
# specified if the network is in custom subnet mode or when creating external
|
9715
|
+
# forwarding rule with IPv6.
|
9615
9716
|
# Corresponds to the JSON property `subnetwork`
|
9616
9717
|
# @return [String]
|
9617
9718
|
attr_accessor :subnetwork
|
@@ -9935,9 +10036,9 @@ module Google
|
|
9935
10036
|
end
|
9936
10037
|
end
|
9937
10038
|
|
9938
|
-
# Describes the auto-registration of the
|
10039
|
+
# Describes the auto-registration of the forwarding rule to Service Directory.
|
9939
10040
|
# The region and project of the Service Directory resource generated from this
|
9940
|
-
# registration will be the same as this
|
10041
|
+
# registration will be the same as this forwarding rule.
|
9941
10042
|
class ForwardingRuleServiceDirectoryRegistration
|
9942
10043
|
include Google::Apis::Core::Hashable
|
9943
10044
|
|
@@ -9953,7 +10054,7 @@ module Google
|
|
9953
10054
|
|
9954
10055
|
# [Optional] Service Directory region to register this global forwarding rule
|
9955
10056
|
# under. Default to "us-central1". Only used for PSC for Google APIs. All PSC
|
9956
|
-
# for Google APIs
|
10057
|
+
# for Google APIs forwarding rules on the same network should use the same
|
9957
10058
|
# Service Directory region.
|
9958
10059
|
# Corresponds to the JSON property `serviceDirectoryRegion`
|
9959
10060
|
# @return [String]
|
@@ -10088,7 +10189,7 @@ module Google
|
|
10088
10189
|
|
10089
10190
|
# Specifies how a port is selected for health checking. Can be one of the
|
10090
10191
|
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
10091
|
-
# port field in the health check. Supported by backend services for
|
10192
|
+
# port field in the health check. Supported by backend services for passthrough
|
10092
10193
|
# load balancers and backend services for proxy load balancers. Not supported by
|
10093
10194
|
# target pools. The health check supports all backends supported by the backend
|
10094
10195
|
# service provided the backend can be health checked. For example, GCE_VM_IP
|
@@ -10096,13 +10197,13 @@ module Google
|
|
10096
10197
|
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
10097
10198
|
# indirect method of specifying the health check port by referring to the
|
10098
10199
|
# backend service. Only supported by backend services for proxy load balancers.
|
10099
|
-
# Not supported by target pools. Not supported by backend services for
|
10100
|
-
#
|
10101
|
-
# example, GCE_VM_IP_PORT network endpoint groups and instance group
|
10102
|
-
# For GCE_VM_IP_PORT network endpoint group backends, the health check
|
10103
|
-
# port number specified for each endpoint in the network endpoint group.
|
10104
|
-
# instance group backends, the health check uses the port number determined
|
10105
|
-
# looking up the backend service's named port in the instance group's list of
|
10200
|
+
# Not supported by target pools. Not supported by backend services for
|
10201
|
+
# passthrough load balancers. Supports all backends that can be health checked;
|
10202
|
+
# for example, GCE_VM_IP_PORT network endpoint groups and instance group
|
10203
|
+
# backends. For GCE_VM_IP_PORT network endpoint group backends, the health check
|
10204
|
+
# uses the port number specified for each endpoint in the network endpoint group.
|
10205
|
+
# For instance group backends, the health check uses the port number determined
|
10206
|
+
# by looking up the backend service's named port in the instance group's list of
|
10106
10207
|
# named ports.
|
10107
10208
|
# Corresponds to the JSON property `portSpecification`
|
10108
10209
|
# @return [String]
|
@@ -10493,7 +10594,7 @@ module Google
|
|
10493
10594
|
|
10494
10595
|
# Specifies how a port is selected for health checking. Can be one of the
|
10495
10596
|
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
10496
|
-
# port field in the health check. Supported by backend services for
|
10597
|
+
# port field in the health check. Supported by backend services for passthrough
|
10497
10598
|
# load balancers and backend services for proxy load balancers. Not supported by
|
10498
10599
|
# target pools. The health check supports all backends supported by the backend
|
10499
10600
|
# service provided the backend can be health checked. For example, GCE_VM_IP
|
@@ -10501,13 +10602,13 @@ module Google
|
|
10501
10602
|
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
10502
10603
|
# indirect method of specifying the health check port by referring to the
|
10503
10604
|
# backend service. Only supported by backend services for proxy load balancers.
|
10504
|
-
# Not supported by target pools. Not supported by backend services for
|
10505
|
-
#
|
10506
|
-
# example, GCE_VM_IP_PORT network endpoint groups and instance group
|
10507
|
-
# For GCE_VM_IP_PORT network endpoint group backends, the health check
|
10508
|
-
# port number specified for each endpoint in the network endpoint group.
|
10509
|
-
# instance group backends, the health check uses the port number determined
|
10510
|
-
# looking up the backend service's named port in the instance group's list of
|
10605
|
+
# Not supported by target pools. Not supported by backend services for
|
10606
|
+
# passthrough load balancers. Supports all backends that can be health checked;
|
10607
|
+
# for example, GCE_VM_IP_PORT network endpoint groups and instance group
|
10608
|
+
# backends. For GCE_VM_IP_PORT network endpoint group backends, the health check
|
10609
|
+
# uses the port number specified for each endpoint in the network endpoint group.
|
10610
|
+
# For instance group backends, the health check uses the port number determined
|
10611
|
+
# by looking up the backend service's named port in the instance group's list of
|
10511
10612
|
# named ports.
|
10512
10613
|
# Corresponds to the JSON property `portSpecification`
|
10513
10614
|
# @return [String]
|
@@ -10575,7 +10676,7 @@ module Google
|
|
10575
10676
|
|
10576
10677
|
# Specifies how a port is selected for health checking. Can be one of the
|
10577
10678
|
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
10578
|
-
# port field in the health check. Supported by backend services for
|
10679
|
+
# port field in the health check. Supported by backend services for passthrough
|
10579
10680
|
# load balancers and backend services for proxy load balancers. Also supported
|
10580
10681
|
# in legacy HTTP health checks for target pools. The health check supports all
|
10581
10682
|
# backends supported by the backend service provided the backend can be health
|
@@ -10657,7 +10758,7 @@ module Google
|
|
10657
10758
|
|
10658
10759
|
# Specifies how a port is selected for health checking. Can be one of the
|
10659
10760
|
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
10660
|
-
# port field in the health check. Supported by backend services for
|
10761
|
+
# port field in the health check. Supported by backend services for passthrough
|
10661
10762
|
# load balancers and backend services for proxy load balancers. Not supported by
|
10662
10763
|
# target pools. The health check supports all backends supported by the backend
|
10663
10764
|
# service provided the backend can be health checked. For example, GCE_VM_IP
|
@@ -10665,13 +10766,13 @@ module Google
|
|
10665
10766
|
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
10666
10767
|
# indirect method of specifying the health check port by referring to the
|
10667
10768
|
# backend service. Only supported by backend services for proxy load balancers.
|
10668
|
-
# Not supported by target pools. Not supported by backend services for
|
10669
|
-
#
|
10670
|
-
# example, GCE_VM_IP_PORT network endpoint groups and instance group
|
10671
|
-
# For GCE_VM_IP_PORT network endpoint group backends, the health check
|
10672
|
-
# port number specified for each endpoint in the network endpoint group.
|
10673
|
-
# instance group backends, the health check uses the port number determined
|
10674
|
-
# looking up the backend service's named port in the instance group's list of
|
10769
|
+
# Not supported by target pools. Not supported by backend services for
|
10770
|
+
# passthrough load balancers. Supports all backends that can be health checked;
|
10771
|
+
# for example, GCE_VM_IP_PORT network endpoint groups and instance group
|
10772
|
+
# backends. For GCE_VM_IP_PORT network endpoint group backends, the health check
|
10773
|
+
# uses the port number specified for each endpoint in the network endpoint group.
|
10774
|
+
# For instance group backends, the health check uses the port number determined
|
10775
|
+
# by looking up the backend service's named port in the instance group's list of
|
10675
10776
|
# named ports.
|
10676
10777
|
# Corresponds to the JSON property `portSpecification`
|
10677
10778
|
# @return [String]
|
@@ -10717,18 +10818,13 @@ module Google
|
|
10717
10818
|
# resources: * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) * [
|
10718
10819
|
# Global](/compute/docs/reference/rest/v1/healthChecks) These health check
|
10719
10820
|
# resources can be used for load balancing and for autohealing VMs in a managed
|
10720
|
-
# instance group (MIG). **Load balancing**
|
10721
|
-
#
|
10722
|
-
#
|
10723
|
-
#
|
10724
|
-
#
|
10725
|
-
#
|
10726
|
-
#
|
10727
|
-
# reference/rest/v1/httpHealthChecks): * Target pool-based network load balancer
|
10728
|
-
# **Autohealing in MIGs** The health checks that you use for autohealing VMs in
|
10729
|
-
# a MIG can be either regional or global. For more information, see Set up an
|
10730
|
-
# application health check and autohealing. For more information, see Health
|
10731
|
-
# checks overview.
|
10821
|
+
# instance group (MIG). **Load balancing** Health check requirements vary
|
10822
|
+
# depending on the type of load balancer. For details about the type of health
|
10823
|
+
# check supported for each load balancer and corresponding backend type, see
|
10824
|
+
# Health checks overview: Load balancer guide. **Autohealing in MIGs** The
|
10825
|
+
# health checks that you use for autohealing VMs in a MIG can be either regional
|
10826
|
+
# or global. For more information, see Set up an application health check and
|
10827
|
+
# autohealing. For more information, see Health checks overview.
|
10732
10828
|
class HealthCheck
|
10733
10829
|
include Google::Apis::Core::Hashable
|
10734
10830
|
|
@@ -12914,6 +13010,13 @@ module Google
|
|
12914
13010
|
# @return [Fixnum]
|
12915
13011
|
attr_accessor :disk_size_gb
|
12916
13012
|
|
13013
|
+
# Whether this image is created from a confidential compute mode disk. [Output
|
13014
|
+
# Only]: This field is not set by user, but from source disk.
|
13015
|
+
# Corresponds to the JSON property `enableConfidentialCompute`
|
13016
|
+
# @return [Boolean]
|
13017
|
+
attr_accessor :enable_confidential_compute
|
13018
|
+
alias_method :enable_confidential_compute?, :enable_confidential_compute
|
13019
|
+
|
12917
13020
|
# The name of the image family to which this image belongs. The image family
|
12918
13021
|
# name can be from a publicly managed image family provided by Compute Engine,
|
12919
13022
|
# or from a custom image family you create. For example, centos-stream-9 is a
|
@@ -13115,6 +13218,7 @@ module Google
|
|
13115
13218
|
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
13116
13219
|
@description = args[:description] if args.key?(:description)
|
13117
13220
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
13221
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
13118
13222
|
@family = args[:family] if args.key?(:family)
|
13119
13223
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
13120
13224
|
@id = args[:id] if args.key?(:id)
|
@@ -13580,6 +13684,12 @@ module Google
|
|
13580
13684
|
# @return [Google::Apis::ComputeV1::ResourceStatus]
|
13581
13685
|
attr_accessor :resource_status
|
13582
13686
|
|
13687
|
+
# [Output Only] Reserved for future use.
|
13688
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
13689
|
+
# @return [Boolean]
|
13690
|
+
attr_accessor :satisfies_pzi
|
13691
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
13692
|
+
|
13583
13693
|
# [Output Only] Reserved for future use.
|
13584
13694
|
# Corresponds to the JSON property `satisfiesPzs`
|
13585
13695
|
# @return [Boolean]
|
@@ -13697,6 +13807,7 @@ module Google
|
|
13697
13807
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
13698
13808
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
13699
13809
|
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
13810
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
13700
13811
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
13701
13812
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
13702
13813
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -30831,6 +30942,13 @@ module Google
|
|
30831
30942
|
class Reservation
|
30832
30943
|
include Google::Apis::Core::Hashable
|
30833
30944
|
|
30945
|
+
# This reservation type is specified by total resource amounts (e.g. total count
|
30946
|
+
# of CPUs) and can account for multiple instance SKUs. In other words, one can
|
30947
|
+
# create instances of varying shapes against this reservation.
|
30948
|
+
# Corresponds to the JSON property `aggregateReservation`
|
30949
|
+
# @return [Google::Apis::ComputeV1::AllocationAggregateReservation]
|
30950
|
+
attr_accessor :aggregate_reservation
|
30951
|
+
|
30834
30952
|
# [Output Only] Full or partial URL to a parent commitment. This field displays
|
30835
30953
|
# for reservations that are tied to a commitment.
|
30836
30954
|
# Corresponds to the JSON property `commitment`
|
@@ -30930,6 +31048,7 @@ module Google
|
|
30930
31048
|
|
30931
31049
|
# Update properties of this object
|
30932
31050
|
def update!(**args)
|
31051
|
+
@aggregate_reservation = args[:aggregate_reservation] if args.key?(:aggregate_reservation)
|
30933
31052
|
@commitment = args[:commitment] if args.key?(:commitment)
|
30934
31053
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
30935
31054
|
@description = args[:description] if args.key?(:description)
|
@@ -34306,7 +34425,7 @@ module Google
|
|
34306
34425
|
|
34307
34426
|
# Specifies how a port is selected for health checking. Can be one of the
|
34308
34427
|
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
34309
|
-
# port field in the health check. Supported by backend services for
|
34428
|
+
# port field in the health check. Supported by backend services for passthrough
|
34310
34429
|
# load balancers and backend services for proxy load balancers. Not supported by
|
34311
34430
|
# target pools. The health check supports all backends supported by the backend
|
34312
34431
|
# service provided the backend can be health checked. For example, GCE_VM_IP
|
@@ -34314,13 +34433,13 @@ module Google
|
|
34314
34433
|
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
34315
34434
|
# indirect method of specifying the health check port by referring to the
|
34316
34435
|
# backend service. Only supported by backend services for proxy load balancers.
|
34317
|
-
# Not supported by target pools. Not supported by backend services for
|
34318
|
-
#
|
34319
|
-
# example, GCE_VM_IP_PORT network endpoint groups and instance group
|
34320
|
-
# For GCE_VM_IP_PORT network endpoint group backends, the health check
|
34321
|
-
# port number specified for each endpoint in the network endpoint group.
|
34322
|
-
# instance group backends, the health check uses the port number determined
|
34323
|
-
# looking up the backend service's named port in the instance group's list of
|
34436
|
+
# Not supported by target pools. Not supported by backend services for
|
34437
|
+
# passthrough load balancers. Supports all backends that can be health checked;
|
34438
|
+
# for example, GCE_VM_IP_PORT network endpoint groups and instance group
|
34439
|
+
# backends. For GCE_VM_IP_PORT network endpoint group backends, the health check
|
34440
|
+
# uses the port number specified for each endpoint in the network endpoint group.
|
34441
|
+
# For instance group backends, the health check uses the port number determined
|
34442
|
+
# by looking up the backend service's named port in the instance group's list of
|
34324
34443
|
# named ports.
|
34325
34444
|
# Corresponds to the JSON property `portSpecification`
|
34326
34445
|
# @return [String]
|
@@ -35654,6 +35773,12 @@ module Google
|
|
35654
35773
|
# @return [Google::Apis::ComputeV1::Expr]
|
35655
35774
|
attr_accessor :expr
|
35656
35775
|
|
35776
|
+
# The configuration options available when specifying a user defined CEVAL
|
35777
|
+
# expression (i.e., 'expr').
|
35778
|
+
# Corresponds to the JSON property `exprOptions`
|
35779
|
+
# @return [Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptions]
|
35780
|
+
attr_accessor :expr_options
|
35781
|
+
|
35657
35782
|
# Preconfigured versioned expression. If this field is specified, config must
|
35658
35783
|
# also be specified. Available preconfigured expressions along with their
|
35659
35784
|
# requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range
|
@@ -35670,6 +35795,7 @@ module Google
|
|
35670
35795
|
def update!(**args)
|
35671
35796
|
@config = args[:config] if args.key?(:config)
|
35672
35797
|
@expr = args[:expr] if args.key?(:expr)
|
35798
|
+
@expr_options = args[:expr_options] if args.key?(:expr_options)
|
35673
35799
|
@versioned_expr = args[:versioned_expr] if args.key?(:versioned_expr)
|
35674
35800
|
end
|
35675
35801
|
end
|
@@ -35693,6 +35819,55 @@ module Google
|
|
35693
35819
|
end
|
35694
35820
|
end
|
35695
35821
|
|
35822
|
+
#
|
35823
|
+
class SecurityPolicyRuleMatcherExprOptions
|
35824
|
+
include Google::Apis::Core::Hashable
|
35825
|
+
|
35826
|
+
# reCAPTCHA configuration options to be applied for the rule. If the rule does
|
35827
|
+
# not evaluate reCAPTCHA tokens, this field will have no effect.
|
35828
|
+
# Corresponds to the JSON property `recaptchaOptions`
|
35829
|
+
# @return [Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions]
|
35830
|
+
attr_accessor :recaptcha_options
|
35831
|
+
|
35832
|
+
def initialize(**args)
|
35833
|
+
update!(**args)
|
35834
|
+
end
|
35835
|
+
|
35836
|
+
# Update properties of this object
|
35837
|
+
def update!(**args)
|
35838
|
+
@recaptcha_options = args[:recaptcha_options] if args.key?(:recaptcha_options)
|
35839
|
+
end
|
35840
|
+
end
|
35841
|
+
|
35842
|
+
#
|
35843
|
+
class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
|
35844
|
+
include Google::Apis::Core::Hashable
|
35845
|
+
|
35846
|
+
# A list of site keys to be used during the validation of reCAPTCHA action-
|
35847
|
+
# tokens. The provided site keys need to be created from reCAPTCHA API under the
|
35848
|
+
# same project where the security policy is created.
|
35849
|
+
# Corresponds to the JSON property `actionTokenSiteKeys`
|
35850
|
+
# @return [Array<String>]
|
35851
|
+
attr_accessor :action_token_site_keys
|
35852
|
+
|
35853
|
+
# A list of site keys to be used during the validation of reCAPTCHA session-
|
35854
|
+
# tokens. The provided site keys need to be created from reCAPTCHA API under the
|
35855
|
+
# same project where the security policy is created.
|
35856
|
+
# Corresponds to the JSON property `sessionTokenSiteKeys`
|
35857
|
+
# @return [Array<String>]
|
35858
|
+
attr_accessor :session_token_site_keys
|
35859
|
+
|
35860
|
+
def initialize(**args)
|
35861
|
+
update!(**args)
|
35862
|
+
end
|
35863
|
+
|
35864
|
+
# Update properties of this object
|
35865
|
+
def update!(**args)
|
35866
|
+
@action_token_site_keys = args[:action_token_site_keys] if args.key?(:action_token_site_keys)
|
35867
|
+
@session_token_site_keys = args[:session_token_site_keys] if args.key?(:session_token_site_keys)
|
35868
|
+
end
|
35869
|
+
end
|
35870
|
+
|
35696
35871
|
# Represents a match condition that incoming network traffic is evaluated
|
35697
35872
|
# against.
|
35698
35873
|
class SecurityPolicyRuleNetworkMatcher
|
@@ -35933,7 +36108,13 @@ module Google
|
|
35933
36108
|
# is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
|
35934
36109
|
# session of the HTTPS request. The key value is truncated to the first 128
|
35935
36110
|
# bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
|
35936
|
-
# country/region from which the request originates.
|
36111
|
+
# country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3
|
36112
|
+
# TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If
|
36113
|
+
# not available, the key type defaults to ALL. - USER_IP: The IP address of the
|
36114
|
+
# originating client, which is resolved based on "userIpRequestHeaders"
|
36115
|
+
# configured with the security policy. If there is no "userIpRequestHeaders"
|
36116
|
+
# configuration or an IP address cannot be resolved from it, the key type
|
36117
|
+
# defaults to IP.
|
35937
36118
|
# Corresponds to the JSON property `enforceOnKey`
|
35938
36119
|
# @return [String]
|
35939
36120
|
attr_accessor :enforce_on_key
|
@@ -36022,7 +36203,13 @@ module Google
|
|
36022
36203
|
# is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
|
36023
36204
|
# session of the HTTPS request. The key value is truncated to the first 128
|
36024
36205
|
# bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
|
36025
|
-
# country/region from which the request originates.
|
36206
|
+
# country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3
|
36207
|
+
# TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If
|
36208
|
+
# not available, the key type defaults to ALL. - USER_IP: The IP address of the
|
36209
|
+
# originating client, which is resolved based on "userIpRequestHeaders"
|
36210
|
+
# configured with the security policy. If there is no "userIpRequestHeaders"
|
36211
|
+
# configuration or an IP address cannot be resolved from it, the key type
|
36212
|
+
# defaults to IP.
|
36026
36213
|
# Corresponds to the JSON property `enforceOnKeyType`
|
36027
36214
|
# @return [String]
|
36028
36215
|
attr_accessor :enforce_on_key_type
|
@@ -37156,6 +37343,13 @@ module Google
|
|
37156
37343
|
# @return [Fixnum]
|
37157
37344
|
attr_accessor :download_bytes
|
37158
37345
|
|
37346
|
+
# Whether this snapshot is created from a confidential compute mode disk. [
|
37347
|
+
# Output Only]: This field is not set by user, but from source disk.
|
37348
|
+
# Corresponds to the JSON property `enableConfidentialCompute`
|
37349
|
+
# @return [Boolean]
|
37350
|
+
attr_accessor :enable_confidential_compute
|
37351
|
+
alias_method :enable_confidential_compute?, :enable_confidential_compute
|
37352
|
+
|
37159
37353
|
# [Output Only] A list of features to enable on the guest operating system.
|
37160
37354
|
# Applicable only for bootable images. Read Enabling guest operating system
|
37161
37355
|
# features to see a list of available options.
|
@@ -37323,6 +37517,7 @@ module Google
|
|
37323
37517
|
@description = args[:description] if args.key?(:description)
|
37324
37518
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
37325
37519
|
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
37520
|
+
@enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
|
37326
37521
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
37327
37522
|
@id = args[:id] if args.key?(:id)
|
37328
37523
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -38578,9 +38773,10 @@ module Google
|
|
38578
38773
|
end
|
38579
38774
|
end
|
38580
38775
|
|
38581
|
-
# Represents an SSL Policy resource. Use SSL policies to control
|
38582
|
-
#
|
38583
|
-
#
|
38776
|
+
# Represents an SSL Policy resource. Use SSL policies to control SSL features,
|
38777
|
+
# such as versions and cipher suites, that are offered by Application Load
|
38778
|
+
# Balancers and proxy Network Load Balancers. For more information, read SSL
|
38779
|
+
# policies overview.
|
38584
38780
|
class SslPolicy
|
38585
38781
|
include Google::Apis::Core::Hashable
|
38586
38782
|
|
@@ -39646,7 +39842,7 @@ module Google
|
|
39646
39842
|
|
39647
39843
|
# Specifies how a port is selected for health checking. Can be one of the
|
39648
39844
|
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
39649
|
-
# port field in the health check. Supported by backend services for
|
39845
|
+
# port field in the health check. Supported by backend services for passthrough
|
39650
39846
|
# load balancers and backend services for proxy load balancers. Not supported by
|
39651
39847
|
# target pools. The health check supports all backends supported by the backend
|
39652
39848
|
# service provided the backend can be health checked. For example, GCE_VM_IP
|
@@ -39654,13 +39850,13 @@ module Google
|
|
39654
39850
|
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
39655
39851
|
# indirect method of specifying the health check port by referring to the
|
39656
39852
|
# backend service. Only supported by backend services for proxy load balancers.
|
39657
|
-
# Not supported by target pools. Not supported by backend services for
|
39658
|
-
#
|
39659
|
-
# example, GCE_VM_IP_PORT network endpoint groups and instance group
|
39660
|
-
# For GCE_VM_IP_PORT network endpoint group backends, the health check
|
39661
|
-
# port number specified for each endpoint in the network endpoint group.
|
39662
|
-
# instance group backends, the health check uses the port number determined
|
39663
|
-
# looking up the backend service's named port in the instance group's list of
|
39853
|
+
# Not supported by target pools. Not supported by backend services for
|
39854
|
+
# passthrough load balancers. Supports all backends that can be health checked;
|
39855
|
+
# for example, GCE_VM_IP_PORT network endpoint groups and instance group
|
39856
|
+
# backends. For GCE_VM_IP_PORT network endpoint group backends, the health check
|
39857
|
+
# uses the port number specified for each endpoint in the network endpoint group.
|
39858
|
+
# For instance group backends, the health check uses the port number determined
|
39859
|
+
# by looking up the backend service's named port in the instance group's list of
|
39664
39860
|
# named ports.
|
39665
39861
|
# Corresponds to the JSON property `portSpecification`
|
39666
39862
|
# @return [String]
|
@@ -41346,10 +41542,10 @@ module Google
|
|
41346
41542
|
end
|
41347
41543
|
end
|
41348
41544
|
|
41349
|
-
# Represents a Target Pool resource. Target pools are used
|
41350
|
-
#
|
41351
|
-
# legacy HttpHealthCheck resource, and, optionally, a backup
|
41352
|
-
# more information, read Using target pools.
|
41545
|
+
# Represents a Target Pool resource. Target pools are used with external
|
41546
|
+
# passthrough Network Load Balancers. A target pool references member instances,
|
41547
|
+
# an associated legacy HttpHealthCheck resource, and, optionally, a backup
|
41548
|
+
# target pool. For more information, read Using target pools.
|
41353
41549
|
class TargetPool
|
41354
41550
|
include Google::Apis::Core::Hashable
|
41355
41551
|
|
@@ -42019,9 +42215,9 @@ module Google
|
|
42019
42215
|
end
|
42020
42216
|
|
42021
42217
|
# Represents a Target SSL Proxy resource. A target SSL proxy is a component of a
|
42022
|
-
#
|
42023
|
-
# and the target proxy then references
|
42024
|
-
# information, read
|
42218
|
+
# Proxy Network Load Balancer. The forwarding rule references the target SSL
|
42219
|
+
# proxy, and the target proxy then references a backend service. For more
|
42220
|
+
# information, read Proxy Network Load Balancer overview.
|
42025
42221
|
class TargetSslProxy
|
42026
42222
|
include Google::Apis::Core::Hashable
|
42027
42223
|
|
@@ -42366,9 +42562,9 @@ module Google
|
|
42366
42562
|
end
|
42367
42563
|
|
42368
42564
|
# Represents a Target TCP Proxy resource. A target TCP proxy is a component of a
|
42369
|
-
#
|
42370
|
-
# and the target proxy then references
|
42371
|
-
# information, read
|
42565
|
+
# Proxy Network Load Balancer. The forwarding rule references the target TCP
|
42566
|
+
# proxy, and the target proxy then references a backend service. For more
|
42567
|
+
# information, read Proxy Network Load Balancer overview.
|
42372
42568
|
class TargetTcpProxy
|
42373
42569
|
include Google::Apis::Core::Hashable
|
42374
42570
|
|
@@ -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.85.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231128"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,24 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class AllocationAggregateReservation
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class AllocationAggregateReservationReservedResourceInfo
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class AllocationAggregateReservationReservedResourceInfoAccelerator
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
175
193
|
class AllocationResourceStatus
|
176
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
195
|
|
@@ -4654,6 +4672,18 @@ module Google
|
|
4654
4672
|
include Google::Apis::Core::JsonObjectSupport
|
4655
4673
|
end
|
4656
4674
|
|
4675
|
+
class SecurityPolicyRuleMatcherExprOptions
|
4676
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4677
|
+
|
4678
|
+
include Google::Apis::Core::JsonObjectSupport
|
4679
|
+
end
|
4680
|
+
|
4681
|
+
class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
|
4682
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4683
|
+
|
4684
|
+
include Google::Apis::Core::JsonObjectSupport
|
4685
|
+
end
|
4686
|
+
|
4657
4687
|
class SecurityPolicyRuleNetworkMatcher
|
4658
4688
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4659
4689
|
|
@@ -6416,6 +6446,34 @@ module Google
|
|
6416
6446
|
end
|
6417
6447
|
end
|
6418
6448
|
|
6449
|
+
class AllocationAggregateReservation
|
6450
|
+
# @private
|
6451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6452
|
+
collection :in_use_resources, as: 'inUseResources', class: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo::Representation
|
6453
|
+
|
6454
|
+
collection :reserved_resources, as: 'reservedResources', class: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo::Representation
|
6455
|
+
|
6456
|
+
property :vm_family, as: 'vmFamily'
|
6457
|
+
property :workload_type, as: 'workloadType'
|
6458
|
+
end
|
6459
|
+
end
|
6460
|
+
|
6461
|
+
class AllocationAggregateReservationReservedResourceInfo
|
6462
|
+
# @private
|
6463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6464
|
+
property :accelerator, as: 'accelerator', class: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfoAccelerator, decorator: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfoAccelerator::Representation
|
6465
|
+
|
6466
|
+
end
|
6467
|
+
end
|
6468
|
+
|
6469
|
+
class AllocationAggregateReservationReservedResourceInfoAccelerator
|
6470
|
+
# @private
|
6471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6472
|
+
property :accelerator_count, as: 'acceleratorCount'
|
6473
|
+
property :accelerator_type, as: 'acceleratorType'
|
6474
|
+
end
|
6475
|
+
end
|
6476
|
+
|
6419
6477
|
class AllocationResourceStatus
|
6420
6478
|
# @private
|
6421
6479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6500,6 +6558,7 @@ module Google
|
|
6500
6558
|
property :disk_name, as: 'diskName'
|
6501
6559
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
6502
6560
|
property :disk_type, as: 'diskType'
|
6561
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
6503
6562
|
hash :labels, as: 'labels'
|
6504
6563
|
collection :licenses, as: 'licenses'
|
6505
6564
|
property :on_update_action, as: 'onUpdateAction'
|
@@ -7519,6 +7578,7 @@ module Google
|
|
7519
7578
|
property :description, as: 'description'
|
7520
7579
|
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
7521
7580
|
|
7581
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
7522
7582
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
7523
7583
|
|
7524
7584
|
property :id, :numeric_string => true, as: 'id'
|
@@ -9052,6 +9112,7 @@ module Google
|
|
9052
9112
|
|
9053
9113
|
property :description, as: 'description'
|
9054
9114
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
9115
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
9055
9116
|
property :family, as: 'family'
|
9056
9117
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
9057
9118
|
|
@@ -9198,6 +9259,7 @@ module Google
|
|
9198
9259
|
collection :resource_policies, as: 'resourcePolicies'
|
9199
9260
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::ResourceStatus, decorator: Google::Apis::ComputeV1::ResourceStatus::Representation
|
9200
9261
|
|
9262
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
9201
9263
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
9202
9264
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
|
9203
9265
|
|
@@ -13629,6 +13691,8 @@ module Google
|
|
13629
13691
|
class Reservation
|
13630
13692
|
# @private
|
13631
13693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13694
|
+
property :aggregate_reservation, as: 'aggregateReservation', class: Google::Apis::ComputeV1::AllocationAggregateReservation, decorator: Google::Apis::ComputeV1::AllocationAggregateReservation::Representation
|
13695
|
+
|
13632
13696
|
property :commitment, as: 'commitment'
|
13633
13697
|
property :creation_timestamp, as: 'creationTimestamp'
|
13634
13698
|
property :description, as: 'description'
|
@@ -14832,6 +14896,8 @@ module Google
|
|
14832
14896
|
|
14833
14897
|
property :expr, as: 'expr', class: Google::Apis::ComputeV1::Expr, decorator: Google::Apis::ComputeV1::Expr::Representation
|
14834
14898
|
|
14899
|
+
property :expr_options, as: 'exprOptions', class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptions, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptions::Representation
|
14900
|
+
|
14835
14901
|
property :versioned_expr, as: 'versionedExpr'
|
14836
14902
|
end
|
14837
14903
|
end
|
@@ -14843,6 +14909,22 @@ module Google
|
|
14843
14909
|
end
|
14844
14910
|
end
|
14845
14911
|
|
14912
|
+
class SecurityPolicyRuleMatcherExprOptions
|
14913
|
+
# @private
|
14914
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14915
|
+
property :recaptcha_options, as: 'recaptchaOptions', class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions::Representation
|
14916
|
+
|
14917
|
+
end
|
14918
|
+
end
|
14919
|
+
|
14920
|
+
class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
|
14921
|
+
# @private
|
14922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14923
|
+
collection :action_token_site_keys, as: 'actionTokenSiteKeys'
|
14924
|
+
collection :session_token_site_keys, as: 'sessionTokenSiteKeys'
|
14925
|
+
end
|
14926
|
+
end
|
14927
|
+
|
14846
14928
|
class SecurityPolicyRuleNetworkMatcher
|
14847
14929
|
# @private
|
14848
14930
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15216,6 +15298,7 @@ module Google
|
|
15216
15298
|
property :description, as: 'description'
|
15217
15299
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
15218
15300
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
15301
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
15219
15302
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
15220
15303
|
|
15221
15304
|
property :id, :numeric_string => true, as: 'id'
|
@@ -10000,8 +10000,7 @@ module Google
|
|
10000
10000
|
# creating an instance, the currentAction is CREATING. If a previous action
|
10001
10001
|
# failed, the list displays the errors for that failed action. The orderBy query
|
10002
10002
|
# parameter is not supported. The `pageToken` query parameter is supported only
|
10003
|
-
#
|
10004
|
-
# field is set to `PAGINATED`.
|
10003
|
+
# if the group's `listManagedInstancesResults` field is set to `PAGINATED`.
|
10005
10004
|
# @param [String] project
|
10006
10005
|
# Project ID for this request.
|
10007
10006
|
# @param [String] zone
|
@@ -13810,8 +13809,9 @@ module Google
|
|
13810
13809
|
# @param [String] instance
|
13811
13810
|
# Name of the instance resource to stop.
|
13812
13811
|
# @param [Boolean] discard_local_ssd
|
13813
|
-
#
|
13814
|
-
#
|
13812
|
+
# This property is required if the instance has any attached Local SSD disks. If
|
13813
|
+
# false, Local SSD data will be preserved when the instance is suspended. If
|
13814
|
+
# true, the contents of any attached Local SSD disks will be discarded.
|
13815
13815
|
# @param [String] request_id
|
13816
13816
|
# An optional request ID to identify requests. Specify a unique request ID so
|
13817
13817
|
# that if you must retry your request, the server will know to ignore the
|
@@ -13870,8 +13870,9 @@ module Google
|
|
13870
13870
|
# @param [String] instance
|
13871
13871
|
# Name of the instance resource to suspend.
|
13872
13872
|
# @param [Boolean] discard_local_ssd
|
13873
|
-
#
|
13874
|
-
#
|
13873
|
+
# This property is required if the instance has any attached Local SSD disks. If
|
13874
|
+
# false, Local SSD data will be preserved when the instance is suspended. If
|
13875
|
+
# true, the contents of any attached Local SSD disks will be discarded.
|
13875
13876
|
# @param [String] request_id
|
13876
13877
|
# An optional request ID to identify requests. Specify a unique request ID so
|
13877
13878
|
# that if you must retry your request, the server will know to ignore the
|
@@ -26252,9 +26253,8 @@ module Google
|
|
26252
26253
|
# Lists the instances in the managed instance group and instances that are
|
26253
26254
|
# scheduled to be created. The list includes any current actions that the group
|
26254
26255
|
# has scheduled for its instances. The orderBy query parameter is not supported.
|
26255
|
-
# The `pageToken` query parameter is supported only
|
26256
|
-
#
|
26257
|
-
# PAGINATED`.
|
26256
|
+
# The `pageToken` query parameter is supported only if the group's `
|
26257
|
+
# listManagedInstancesResults` field is set to `PAGINATED`.
|
26258
26258
|
# @param [String] project
|
26259
26259
|
# Project ID for this request.
|
26260
26260
|
# @param [String] region
|
@@ -31542,6 +31542,99 @@ module Google
|
|
31542
31542
|
execute_or_queue_command(command, &block)
|
31543
31543
|
end
|
31544
31544
|
|
31545
|
+
# Retrieves the list of Zone resources under the specific region available to
|
31546
|
+
# the specified project.
|
31547
|
+
# @param [String] project
|
31548
|
+
# Project ID for this request.
|
31549
|
+
# @param [String] region
|
31550
|
+
# Region for this request.
|
31551
|
+
# @param [String] filter
|
31552
|
+
# A filter expression that filters resources listed in the response. Most
|
31553
|
+
# Compute resources support two types of filter expressions: expressions that
|
31554
|
+
# support regular expressions and expressions that follow API improvement
|
31555
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
31556
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
31557
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
31558
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
31559
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
31560
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
31561
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
31562
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
31563
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
31564
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
31565
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
31566
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
31567
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
31568
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
31569
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
31570
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
31571
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
31572
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
31573
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
31574
|
+
# un-parenthesized expression with or without quotes or against multiple
|
31575
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
31576
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
31577
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
31578
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
31579
|
+
# literal value must match the entire field. For example, to filter for
|
31580
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
31581
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
31582
|
+
# expressions.
|
31583
|
+
# @param [Fixnum] max_results
|
31584
|
+
# The maximum number of results per page that should be returned. If the number
|
31585
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
31586
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
31587
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
31588
|
+
# @param [String] order_by
|
31589
|
+
# Sorts list results by a certain order. By default, results are returned in
|
31590
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
31591
|
+
# descending order based on the creation timestamp using `orderBy="
|
31592
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
31593
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
31594
|
+
# resources like operations so that the newest operation is returned first.
|
31595
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
31596
|
+
# @param [String] page_token
|
31597
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
31598
|
+
# by a previous list request to get the next page of results.
|
31599
|
+
# @param [Boolean] return_partial_success
|
31600
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
31601
|
+
# failure. The default value is false.
|
31602
|
+
# @param [String] fields
|
31603
|
+
# Selector specifying which fields to include in a partial response.
|
31604
|
+
# @param [String] quota_user
|
31605
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31606
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31607
|
+
# @param [String] user_ip
|
31608
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31609
|
+
# @param [Google::Apis::RequestOptions] options
|
31610
|
+
# Request-specific options
|
31611
|
+
#
|
31612
|
+
# @yield [result, err] Result & error if block supplied
|
31613
|
+
# @yieldparam result [Google::Apis::ComputeV1::ZoneList] parsed result object
|
31614
|
+
# @yieldparam err [StandardError] error object if request failed
|
31615
|
+
#
|
31616
|
+
# @return [Google::Apis::ComputeV1::ZoneList]
|
31617
|
+
#
|
31618
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31619
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31620
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31621
|
+
def list_region_zones(project, region, 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)
|
31622
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/zones', options)
|
31623
|
+
command.response_representation = Google::Apis::ComputeV1::ZoneList::Representation
|
31624
|
+
command.response_class = Google::Apis::ComputeV1::ZoneList
|
31625
|
+
command.params['project'] = project unless project.nil?
|
31626
|
+
command.params['region'] = region unless region.nil?
|
31627
|
+
command.query['filter'] = filter unless filter.nil?
|
31628
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
31629
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
31630
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
31631
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
31632
|
+
command.query['fields'] = fields unless fields.nil?
|
31633
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31634
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31635
|
+
execute_or_queue_command(command, &block)
|
31636
|
+
end
|
31637
|
+
|
31545
31638
|
# Returns the specified Region resource. To decrease latency for this method,
|
31546
31639
|
# you can optionally omit any unneeded information from the response by using a
|
31547
31640
|
# field mask. This practice is especially recommended for unused quota
|
@@ -39655,8 +39748,8 @@ module Google
|
|
39655
39748
|
|
39656
39749
|
# Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-
|
39657
39750
|
# side support for SSL features. This affects connections between clients and
|
39658
|
-
# the
|
39659
|
-
#
|
39751
|
+
# the load balancer. They do not affect the connection between the load balancer
|
39752
|
+
# and the backends.
|
39660
39753
|
# @param [String] project
|
39661
39754
|
# Project ID for this request.
|
39662
39755
|
# @param [String] target_ssl_proxy
|
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.
|
4
|
+
version: 0.85.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: 2023-
|
11
|
+
date: 2023-12-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.85.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: []
|