google-apis-compute_v1 0.46.0 → 0.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/compute_v1/classes.rb +180 -38
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +46 -0
- data/lib/google/apis/compute_v1/service.rb +914 -197
- 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: 5ca085ef6bce7c80db9c98e2c396ca6581ea20730a831cd5340e88d40452dafb
|
4
|
+
data.tar.gz: b161dd188f5dd52bd2b8114ca4ee9a6ce220ed95936c76b27a36b6e52366fa32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f65ebd456ed8bb2fad8e0eef4fa38692f00143da204031f62ab517808a06b253fe6f500813fc73d1e5e398f7a64f09790c101d302e555b7e98482dcc9b6b6f3
|
7
|
+
data.tar.gz: 61902fda82eecdeeb9cb2d39d4949f1df828d08cc1731086be32bb2a244610b0b2b6bafa0d538c50c87b43e7e1fbdcccca63b487083b38c208538626bc3f03f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.49.0 (2022-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220823
|
6
|
+
|
7
|
+
### v0.48.0 (2022-08-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220816
|
10
|
+
|
11
|
+
### v0.47.0 (2022-08-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220809
|
14
|
+
|
3
15
|
### v0.46.0 (2022-08-06)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220726
|
@@ -1064,6 +1064,14 @@ module Google
|
|
1064
1064
|
# @return [Fixnum]
|
1065
1065
|
attr_accessor :threads_per_core
|
1066
1066
|
|
1067
|
+
# The number of physical cores to expose to an instance. Multiply by the number
|
1068
|
+
# of threads per core to compute the total number of virtual CPUs to expose to
|
1069
|
+
# the instance. If unset, the number of cores is inferred from the instance's
|
1070
|
+
# nominal CPU count and the underlying platform's SMT width.
|
1071
|
+
# Corresponds to the JSON property `visibleCoreCount`
|
1072
|
+
# @return [Fixnum]
|
1073
|
+
attr_accessor :visible_core_count
|
1074
|
+
|
1067
1075
|
def initialize(**args)
|
1068
1076
|
update!(**args)
|
1069
1077
|
end
|
@@ -1073,6 +1081,7 @@ module Google
|
|
1073
1081
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1074
1082
|
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
1075
1083
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1084
|
+
@visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
|
1076
1085
|
end
|
1077
1086
|
end
|
1078
1087
|
|
@@ -1274,6 +1283,14 @@ module Google
|
|
1274
1283
|
# @return [Fixnum]
|
1275
1284
|
attr_accessor :disk_size_gb
|
1276
1285
|
|
1286
|
+
# [Input Only] Whether to force attach the regional disk even if it's currently
|
1287
|
+
# attached to another instance. If you try to force attach a zonal disk to an
|
1288
|
+
# instance, you will receive an error.
|
1289
|
+
# Corresponds to the JSON property `forceAttach`
|
1290
|
+
# @return [Boolean]
|
1291
|
+
attr_accessor :force_attach
|
1292
|
+
alias_method :force_attach?, :force_attach
|
1293
|
+
|
1277
1294
|
# A list of features to enable on the guest operating system. Applicable only
|
1278
1295
|
# for bootable images. Read Enabling guest operating system features to see a
|
1279
1296
|
# list of available options.
|
@@ -1299,10 +1316,9 @@ module Google
|
|
1299
1316
|
attr_accessor :initialize_params
|
1300
1317
|
|
1301
1318
|
# Specifies the disk interface to use for attaching this disk, which is either
|
1302
|
-
# SCSI or NVME.
|
1303
|
-
#
|
1304
|
-
#
|
1305
|
-
# characteristics of SCSI over NVMe, see Local SSD performance.
|
1319
|
+
# SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use
|
1320
|
+
# either NVME or SCSI. In certain configurations, persistent disks can use NVMe.
|
1321
|
+
# For more information, see About persistent disks.
|
1306
1322
|
# Corresponds to the JSON property `interface`
|
1307
1323
|
# @return [String]
|
1308
1324
|
attr_accessor :interface
|
@@ -1359,6 +1375,7 @@ module Google
|
|
1359
1375
|
@device_name = args[:device_name] if args.key?(:device_name)
|
1360
1376
|
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
|
1361
1377
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1378
|
+
@force_attach = args[:force_attach] if args.key?(:force_attach)
|
1362
1379
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
1363
1380
|
@index = args[:index] if args.key?(:index)
|
1364
1381
|
@initialize_params = args[:initialize_params] if args.key?(:initialize_params)
|
@@ -2593,6 +2610,12 @@ module Google
|
|
2593
2610
|
# @return [Google::Apis::ComputeV1::BackendBucketCdnPolicy]
|
2594
2611
|
attr_accessor :cdn_policy
|
2595
2612
|
|
2613
|
+
# Compress text responses using Brotli or gzip compression, based on the client'
|
2614
|
+
# s Accept-Encoding header.
|
2615
|
+
# Corresponds to the JSON property `compressionMode`
|
2616
|
+
# @return [String]
|
2617
|
+
attr_accessor :compression_mode
|
2618
|
+
|
2596
2619
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
2597
2620
|
# Corresponds to the JSON property `creationTimestamp`
|
2598
2621
|
# @return [String]
|
@@ -2654,6 +2677,7 @@ module Google
|
|
2654
2677
|
def update!(**args)
|
2655
2678
|
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
2656
2679
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
2680
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
2657
2681
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
2658
2682
|
@custom_response_headers = args[:custom_response_headers] if args.key?(:custom_response_headers)
|
2659
2683
|
@description = args[:description] if args.key?(:description)
|
@@ -3058,6 +3082,12 @@ module Google
|
|
3058
3082
|
# @return [Google::Apis::ComputeV1::CircuitBreakers]
|
3059
3083
|
attr_accessor :circuit_breakers
|
3060
3084
|
|
3085
|
+
# Compress text responses using Brotli or gzip compression, based on the client'
|
3086
|
+
# s Accept-Encoding header.
|
3087
|
+
# Corresponds to the JSON property `compressionMode`
|
3088
|
+
# @return [String]
|
3089
|
+
attr_accessor :compression_mode
|
3090
|
+
|
3061
3091
|
# Message containing connection draining configuration.
|
3062
3092
|
# Corresponds to the JSON property `connectionDraining`
|
3063
3093
|
# @return [Google::Apis::ComputeV1::ConnectionDraining]
|
@@ -3337,6 +3367,7 @@ module Google
|
|
3337
3367
|
@backends = args[:backends] if args.key?(:backends)
|
3338
3368
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
3339
3369
|
@circuit_breakers = args[:circuit_breakers] if args.key?(:circuit_breakers)
|
3370
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
3340
3371
|
@connection_draining = args[:connection_draining] if args.key?(:connection_draining)
|
3341
3372
|
@connection_tracking_policy = args[:connection_tracking_policy] if args.key?(:connection_tracking_policy)
|
3342
3373
|
@consistent_hash = args[:consistent_hash] if args.key?(:consistent_hash)
|
@@ -4528,25 +4559,28 @@ module Google
|
|
4528
4559
|
# anyone who is authenticated with a Google account or a service account. * `
|
4529
4560
|
# user:`emailid``: An email address that represents a specific Google account.
|
4530
4561
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
4531
|
-
# address that represents a service account. For example, `my-other-app@
|
4532
|
-
# gserviceaccount.com`. * `
|
4533
|
-
#
|
4534
|
-
#
|
4535
|
-
#
|
4536
|
-
#
|
4537
|
-
#
|
4538
|
-
#
|
4539
|
-
#
|
4540
|
-
#
|
4541
|
-
#
|
4542
|
-
# emailid
|
4543
|
-
#
|
4544
|
-
#
|
4545
|
-
#
|
4546
|
-
#
|
4547
|
-
#
|
4548
|
-
#
|
4549
|
-
#
|
4562
|
+
# address that represents a Google service account. For example, `my-other-app@
|
4563
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
4564
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
4565
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
4566
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
4567
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
4568
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
4569
|
+
# email address (plus unique identifier) representing a user that has been
|
4570
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
4571
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
4572
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
4573
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
4574
|
+
# representing a service account that has been recently deleted. For example, `
|
4575
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
4576
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
4577
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
4578
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
4579
|
+
# representing a Google group that has been recently deleted. For example, `
|
4580
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
4581
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
4582
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
4583
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
4550
4584
|
# Corresponds to the JSON property `members`
|
4551
4585
|
# @return [Array<String>]
|
4552
4586
|
attr_accessor :members
|
@@ -4882,6 +4916,11 @@ module Google
|
|
4882
4916
|
# @return [Google::Apis::ComputeV1::LicenseResourceCommitment]
|
4883
4917
|
attr_accessor :license_resource
|
4884
4918
|
|
4919
|
+
# List of source commitments to be merged into a new commitment.
|
4920
|
+
# Corresponds to the JSON property `mergeSourceCommitments`
|
4921
|
+
# @return [Array<String>]
|
4922
|
+
attr_accessor :merge_source_commitments
|
4923
|
+
|
4885
4924
|
# Name of the resource. Provided by the client when the resource is created. The
|
4886
4925
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
4887
4926
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -4920,6 +4959,11 @@ module Google
|
|
4920
4959
|
# @return [String]
|
4921
4960
|
attr_accessor :self_link
|
4922
4961
|
|
4962
|
+
# Source commitment to be splitted into a new commitment.
|
4963
|
+
# Corresponds to the JSON property `splitSourceCommitment`
|
4964
|
+
# @return [String]
|
4965
|
+
attr_accessor :split_source_commitment
|
4966
|
+
|
4923
4967
|
# [Output Only] Commitment start time in RFC3339 text format.
|
4924
4968
|
# Corresponds to the JSON property `startTimestamp`
|
4925
4969
|
# @return [String]
|
@@ -4959,12 +5003,14 @@ module Google
|
|
4959
5003
|
@id = args[:id] if args.key?(:id)
|
4960
5004
|
@kind = args[:kind] if args.key?(:kind)
|
4961
5005
|
@license_resource = args[:license_resource] if args.key?(:license_resource)
|
5006
|
+
@merge_source_commitments = args[:merge_source_commitments] if args.key?(:merge_source_commitments)
|
4962
5007
|
@name = args[:name] if args.key?(:name)
|
4963
5008
|
@plan = args[:plan] if args.key?(:plan)
|
4964
5009
|
@region = args[:region] if args.key?(:region)
|
4965
5010
|
@reservations = args[:reservations] if args.key?(:reservations)
|
4966
5011
|
@resources = args[:resources] if args.key?(:resources)
|
4967
5012
|
@self_link = args[:self_link] if args.key?(:self_link)
|
5013
|
+
@split_source_commitment = args[:split_source_commitment] if args.key?(:split_source_commitment)
|
4968
5014
|
@start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
|
4969
5015
|
@status = args[:status] if args.key?(:status)
|
4970
5016
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -7619,9 +7665,8 @@ module Google
|
|
7619
7665
|
attr_accessor :destination_ranges
|
7620
7666
|
|
7621
7667
|
# Direction of traffic to which this firewall applies, either `INGRESS` or `
|
7622
|
-
# EGRESS`. The default is `INGRESS`. For `
|
7623
|
-
# the
|
7624
|
-
# sourceRanges or sourceTags fields.
|
7668
|
+
# EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify
|
7669
|
+
# the sourceTags fields.
|
7625
7670
|
# Corresponds to the JSON property `direction`
|
7626
7671
|
# @return [String]
|
7627
7672
|
attr_accessor :direction
|
@@ -11629,9 +11674,9 @@ module Google
|
|
11629
11674
|
# forwarding the request to the selected backend. If routeAction specifies any
|
11630
11675
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
11631
11676
|
# routeAction cannot contain any weightedBackendServices. Only one of
|
11632
|
-
# urlRedirect, service or routeAction.weightedBackendService must be set.
|
11633
|
-
#
|
11634
|
-
# within a route rule's routeAction.
|
11677
|
+
# urlRedirect, service or routeAction.weightedBackendService must be set. URL
|
11678
|
+
# maps for Classic external HTTP(S) load balancers only support the urlRewrite
|
11679
|
+
# action within a route rule's routeAction.
|
11635
11680
|
# Corresponds to the JSON property `routeAction`
|
11636
11681
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
11637
11682
|
attr_accessor :route_action
|
@@ -12920,6 +12965,68 @@ module Google
|
|
12920
12965
|
end
|
12921
12966
|
end
|
12922
12967
|
|
12968
|
+
#
|
12969
|
+
class InstanceConsumptionData
|
12970
|
+
include Google::Apis::Core::Hashable
|
12971
|
+
|
12972
|
+
# Resources consumed by the instance.
|
12973
|
+
# Corresponds to the JSON property `consumptionInfo`
|
12974
|
+
# @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]
|
12975
|
+
attr_accessor :consumption_info
|
12976
|
+
|
12977
|
+
# Server-defined URL for the instance.
|
12978
|
+
# Corresponds to the JSON property `instance`
|
12979
|
+
# @return [String]
|
12980
|
+
attr_accessor :instance
|
12981
|
+
|
12982
|
+
def initialize(**args)
|
12983
|
+
update!(**args)
|
12984
|
+
end
|
12985
|
+
|
12986
|
+
# Update properties of this object
|
12987
|
+
def update!(**args)
|
12988
|
+
@consumption_info = args[:consumption_info] if args.key?(:consumption_info)
|
12989
|
+
@instance = args[:instance] if args.key?(:instance)
|
12990
|
+
end
|
12991
|
+
end
|
12992
|
+
|
12993
|
+
#
|
12994
|
+
class InstanceConsumptionInfo
|
12995
|
+
include Google::Apis::Core::Hashable
|
12996
|
+
|
12997
|
+
# The number of virtual CPUs that are available to the instance.
|
12998
|
+
# Corresponds to the JSON property `guestCpus`
|
12999
|
+
# @return [Fixnum]
|
13000
|
+
attr_accessor :guest_cpus
|
13001
|
+
|
13002
|
+
# The amount of local SSD storage available to the instance, defined in GiB.
|
13003
|
+
# Corresponds to the JSON property `localSsdGb`
|
13004
|
+
# @return [Fixnum]
|
13005
|
+
attr_accessor :local_ssd_gb
|
13006
|
+
|
13007
|
+
# The amount of physical memory available to the instance, defined in MiB.
|
13008
|
+
# Corresponds to the JSON property `memoryMb`
|
13009
|
+
# @return [Fixnum]
|
13010
|
+
attr_accessor :memory_mb
|
13011
|
+
|
13012
|
+
# The minimal guaranteed number of virtual CPUs that are reserved.
|
13013
|
+
# Corresponds to the JSON property `minNodeCpus`
|
13014
|
+
# @return [Fixnum]
|
13015
|
+
attr_accessor :min_node_cpus
|
13016
|
+
|
13017
|
+
def initialize(**args)
|
13018
|
+
update!(**args)
|
13019
|
+
end
|
13020
|
+
|
13021
|
+
# Update properties of this object
|
13022
|
+
def update!(**args)
|
13023
|
+
@guest_cpus = args[:guest_cpus] if args.key?(:guest_cpus)
|
13024
|
+
@local_ssd_gb = args[:local_ssd_gb] if args.key?(:local_ssd_gb)
|
13025
|
+
@memory_mb = args[:memory_mb] if args.key?(:memory_mb)
|
13026
|
+
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
13027
|
+
end
|
13028
|
+
end
|
13029
|
+
|
12923
13030
|
# Represents an Instance Group resource. Instance Groups can be used to
|
12924
13031
|
# configure a target for load balancing. Instance groups can either be managed
|
12925
13032
|
# or unmanaged. To create managed instance groups, use the instanceGroupManager
|
@@ -18069,7 +18176,7 @@ module Google
|
|
18069
18176
|
class LocalizedMessage
|
18070
18177
|
include Google::Apis::Core::Hashable
|
18071
18178
|
|
18072
|
-
# The locale used following the specification defined at
|
18179
|
+
# The locale used following the specification defined at https://www.rfc-editor.
|
18073
18180
|
# org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
|
18074
18181
|
# Corresponds to the JSON property `locale`
|
18075
18182
|
# @return [String]
|
@@ -19559,8 +19666,10 @@ module Google
|
|
19559
19666
|
# @return [String]
|
19560
19667
|
attr_accessor :kind
|
19561
19668
|
|
19562
|
-
# Maximum Transmission Unit in bytes. The minimum value for this field is
|
19563
|
-
# and the maximum value is
|
19669
|
+
# Maximum Transmission Unit in bytes. The minimum value for this field is 1300
|
19670
|
+
# and the maximum value is 8896. The suggested value is 1500, which is the
|
19671
|
+
# default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If
|
19672
|
+
# unspecified, the value defaults to 1460.
|
19564
19673
|
# Corresponds to the JSON property `mtu`
|
19565
19674
|
# @return [Fixnum]
|
19566
19675
|
attr_accessor :mtu
|
@@ -21458,6 +21567,11 @@ module Google
|
|
21458
21567
|
# @return [String]
|
21459
21568
|
attr_accessor :self_link
|
21460
21569
|
|
21570
|
+
# The share setting for reservations and sole tenancy node groups.
|
21571
|
+
# Corresponds to the JSON property `shareSettings`
|
21572
|
+
# @return [Google::Apis::ComputeV1::ShareSettings]
|
21573
|
+
attr_accessor :share_settings
|
21574
|
+
|
21461
21575
|
# [Output Only] The total number of nodes in the node group.
|
21462
21576
|
# Corresponds to the JSON property `size`
|
21463
21577
|
# @return [Fixnum]
|
@@ -21492,6 +21606,7 @@ module Google
|
|
21492
21606
|
@name = args[:name] if args.key?(:name)
|
21493
21607
|
@node_template = args[:node_template] if args.key?(:node_template)
|
21494
21608
|
@self_link = args[:self_link] if args.key?(:self_link)
|
21609
|
+
@share_settings = args[:share_settings] if args.key?(:share_settings)
|
21495
21610
|
@size = args[:size] if args.key?(:size)
|
21496
21611
|
@status = args[:status] if args.key?(:status)
|
21497
21612
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -21813,6 +21928,11 @@ module Google
|
|
21813
21928
|
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
21814
21929
|
attr_accessor :accelerators
|
21815
21930
|
|
21931
|
+
# Node resources that are reserved by all instances.
|
21932
|
+
# Corresponds to the JSON property `consumedResources`
|
21933
|
+
# @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]
|
21934
|
+
attr_accessor :consumed_resources
|
21935
|
+
|
21816
21936
|
# CPU overcommit.
|
21817
21937
|
# Corresponds to the JSON property `cpuOvercommitType`
|
21818
21938
|
# @return [String]
|
@@ -21823,6 +21943,11 @@ module Google
|
|
21823
21943
|
# @return [Array<Google::Apis::ComputeV1::LocalDisk>]
|
21824
21944
|
attr_accessor :disks
|
21825
21945
|
|
21946
|
+
# Instance data that shows consumed resources on the node.
|
21947
|
+
# Corresponds to the JSON property `instanceConsumptionData`
|
21948
|
+
# @return [Array<Google::Apis::ComputeV1::InstanceConsumptionData>]
|
21949
|
+
attr_accessor :instance_consumption_data
|
21950
|
+
|
21826
21951
|
# Instances scheduled on this node.
|
21827
21952
|
# Corresponds to the JSON property `instances`
|
21828
21953
|
# @return [Array<String>]
|
@@ -21859,6 +21984,11 @@ module Google
|
|
21859
21984
|
# @return [String]
|
21860
21985
|
attr_accessor :status
|
21861
21986
|
|
21987
|
+
# Total amount of available resources on the node.
|
21988
|
+
# Corresponds to the JSON property `totalResources`
|
21989
|
+
# @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]
|
21990
|
+
attr_accessor :total_resources
|
21991
|
+
|
21862
21992
|
def initialize(**args)
|
21863
21993
|
update!(**args)
|
21864
21994
|
end
|
@@ -21866,8 +21996,10 @@ module Google
|
|
21866
21996
|
# Update properties of this object
|
21867
21997
|
def update!(**args)
|
21868
21998
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
21999
|
+
@consumed_resources = args[:consumed_resources] if args.key?(:consumed_resources)
|
21869
22000
|
@cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
|
21870
22001
|
@disks = args[:disks] if args.key?(:disks)
|
22002
|
+
@instance_consumption_data = args[:instance_consumption_data] if args.key?(:instance_consumption_data)
|
21871
22003
|
@instances = args[:instances] if args.key?(:instances)
|
21872
22004
|
@name = args[:name] if args.key?(:name)
|
21873
22005
|
@node_type = args[:node_type] if args.key?(:node_type)
|
@@ -21875,6 +22007,7 @@ module Google
|
|
21875
22007
|
@server_binding = args[:server_binding] if args.key?(:server_binding)
|
21876
22008
|
@server_id = args[:server_id] if args.key?(:server_id)
|
21877
22009
|
@status = args[:status] if args.key?(:status)
|
22010
|
+
@total_resources = args[:total_resources] if args.key?(:total_resources)
|
21878
22011
|
end
|
21879
22012
|
end
|
21880
22013
|
|
@@ -24795,8 +24928,9 @@ module Google
|
|
24795
24928
|
# If defaultRouteAction specifies any weightedBackendServices, defaultService
|
24796
24929
|
# must not be set. Conversely if defaultService is set, defaultRouteAction
|
24797
24930
|
# cannot contain any weightedBackendServices. Only one of defaultRouteAction or
|
24798
|
-
# defaultUrlRedirect must be set.
|
24799
|
-
#
|
24931
|
+
# defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
|
24932
|
+
# balancers only support the urlRewrite action within a path matcher's
|
24933
|
+
# defaultRouteAction.
|
24800
24934
|
# Corresponds to the JSON property `defaultRouteAction`
|
24801
24935
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
24802
24936
|
attr_accessor :default_route_action
|
@@ -24895,8 +25029,9 @@ module Google
|
|
24895
25029
|
# the request to the selected backend. If routeAction specifies any
|
24896
25030
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
24897
25031
|
# routeAction cannot contain any weightedBackendServices. Only one of
|
24898
|
-
# routeAction or urlRedirect must be set. URL maps for external HTTP(S)
|
24899
|
-
# balancers support
|
25032
|
+
# routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S)
|
25033
|
+
# load balancers only support the urlRewrite action within a path rule's
|
25034
|
+
# routeAction.
|
24900
25035
|
# Corresponds to the JSON property `routeAction`
|
24901
25036
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
24902
25037
|
attr_accessor :route_action
|
@@ -34553,6 +34688,12 @@ module Google
|
|
34553
34688
|
# @return [String]
|
34554
34689
|
attr_accessor :profile
|
34555
34690
|
|
34691
|
+
# [Output Only] URL of the region where the regional SSL policy resides. This
|
34692
|
+
# field is not applicable to global SSL policies.
|
34693
|
+
# Corresponds to the JSON property `region`
|
34694
|
+
# @return [String]
|
34695
|
+
attr_accessor :region
|
34696
|
+
|
34556
34697
|
# [Output Only] Server-defined URL for the resource.
|
34557
34698
|
# Corresponds to the JSON property `selfLink`
|
34558
34699
|
# @return [String]
|
@@ -34580,6 +34721,7 @@ module Google
|
|
34580
34721
|
@min_tls_version = args[:min_tls_version] if args.key?(:min_tls_version)
|
34581
34722
|
@name = args[:name] if args.key?(:name)
|
34582
34723
|
@profile = args[:profile] if args.key?(:profile)
|
34724
|
+
@region = args[:region] if args.key?(:region)
|
34583
34725
|
@self_link = args[:self_link] if args.key?(:self_link)
|
34584
34726
|
@warnings = args[:warnings] if args.key?(:warnings)
|
34585
34727
|
end
|
@@ -38820,8 +38962,8 @@ module Google
|
|
38820
38962
|
# defaultRouteAction specifies any weightedBackendServices, defaultService must
|
38821
38963
|
# not be set. Conversely if defaultService is set, defaultRouteAction cannot
|
38822
38964
|
# contain any weightedBackendServices. Only one of defaultRouteAction or
|
38823
|
-
# defaultUrlRedirect must be set.
|
38824
|
-
#
|
38965
|
+
# defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
|
38966
|
+
# balancers only support the urlRewrite action within defaultRouteAction.
|
38825
38967
|
# defaultRouteAction has no effect when the URL map is bound to a target gRPC
|
38826
38968
|
# proxy that has the validateForProxyless field set to true.
|
38827
38969
|
# Corresponds to the JSON property `defaultRouteAction`
|
@@ -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.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220823"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1498,6 +1498,18 @@ module Google
|
|
1498
1498
|
include Google::Apis::Core::JsonObjectSupport
|
1499
1499
|
end
|
1500
1500
|
|
1501
|
+
class InstanceConsumptionData
|
1502
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
|
+
|
1504
|
+
include Google::Apis::Core::JsonObjectSupport
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
class InstanceConsumptionInfo
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
|
+
|
1510
|
+
include Google::Apis::Core::JsonObjectSupport
|
1511
|
+
end
|
1512
|
+
|
1501
1513
|
class InstanceGroup
|
1502
1514
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
1515
|
|
@@ -5802,6 +5814,7 @@ module Google
|
|
5802
5814
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
5803
5815
|
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
5804
5816
|
property :threads_per_core, as: 'threadsPerCore'
|
5817
|
+
property :visible_core_count, as: 'visibleCoreCount'
|
5805
5818
|
end
|
5806
5819
|
end
|
5807
5820
|
|
@@ -5855,6 +5868,7 @@ module Google
|
|
5855
5868
|
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
5856
5869
|
|
5857
5870
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
5871
|
+
property :force_attach, as: 'forceAttach'
|
5858
5872
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
5859
5873
|
|
5860
5874
|
property :index, as: 'index'
|
@@ -6135,6 +6149,7 @@ module Google
|
|
6135
6149
|
property :bucket_name, as: 'bucketName'
|
6136
6150
|
property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeV1::BackendBucketCdnPolicy, decorator: Google::Apis::ComputeV1::BackendBucketCdnPolicy::Representation
|
6137
6151
|
|
6152
|
+
property :compression_mode, as: 'compressionMode'
|
6138
6153
|
property :creation_timestamp, as: 'creationTimestamp'
|
6139
6154
|
collection :custom_response_headers, as: 'customResponseHeaders'
|
6140
6155
|
property :description, as: 'description'
|
@@ -6233,6 +6248,7 @@ module Google
|
|
6233
6248
|
|
6234
6249
|
property :circuit_breakers, as: 'circuitBreakers', class: Google::Apis::ComputeV1::CircuitBreakers, decorator: Google::Apis::ComputeV1::CircuitBreakers::Representation
|
6235
6250
|
|
6251
|
+
property :compression_mode, as: 'compressionMode'
|
6236
6252
|
property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeV1::ConnectionDraining, decorator: Google::Apis::ComputeV1::ConnectionDraining::Representation
|
6237
6253
|
|
6238
6254
|
property :connection_tracking_policy, as: 'connectionTrackingPolicy', class: Google::Apis::ComputeV1::BackendServiceConnectionTrackingPolicy, decorator: Google::Apis::ComputeV1::BackendServiceConnectionTrackingPolicy::Representation
|
@@ -6619,6 +6635,7 @@ module Google
|
|
6619
6635
|
property :kind, as: 'kind'
|
6620
6636
|
property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeV1::LicenseResourceCommitment, decorator: Google::Apis::ComputeV1::LicenseResourceCommitment::Representation
|
6621
6637
|
|
6638
|
+
collection :merge_source_commitments, as: 'mergeSourceCommitments'
|
6622
6639
|
property :name, as: 'name'
|
6623
6640
|
property :plan, as: 'plan'
|
6624
6641
|
property :region, as: 'region'
|
@@ -6627,6 +6644,7 @@ module Google
|
|
6627
6644
|
collection :resources, as: 'resources', class: Google::Apis::ComputeV1::ResourceCommitment, decorator: Google::Apis::ComputeV1::ResourceCommitment::Representation
|
6628
6645
|
|
6629
6646
|
property :self_link, as: 'selfLink'
|
6647
|
+
property :split_source_commitment, as: 'splitSourceCommitment'
|
6630
6648
|
property :start_timestamp, as: 'startTimestamp'
|
6631
6649
|
property :status, as: 'status'
|
6632
6650
|
property :status_message, as: 'statusMessage'
|
@@ -8481,6 +8499,25 @@ module Google
|
|
8481
8499
|
end
|
8482
8500
|
end
|
8483
8501
|
|
8502
|
+
class InstanceConsumptionData
|
8503
|
+
# @private
|
8504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8505
|
+
property :consumption_info, as: 'consumptionInfo', class: Google::Apis::ComputeV1::InstanceConsumptionInfo, decorator: Google::Apis::ComputeV1::InstanceConsumptionInfo::Representation
|
8506
|
+
|
8507
|
+
property :instance, as: 'instance'
|
8508
|
+
end
|
8509
|
+
end
|
8510
|
+
|
8511
|
+
class InstanceConsumptionInfo
|
8512
|
+
# @private
|
8513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8514
|
+
property :guest_cpus, as: 'guestCpus'
|
8515
|
+
property :local_ssd_gb, as: 'localSsdGb'
|
8516
|
+
property :memory_mb, as: 'memoryMb'
|
8517
|
+
property :min_node_cpus, as: 'minNodeCpus'
|
8518
|
+
end
|
8519
|
+
end
|
8520
|
+
|
8484
8521
|
class InstanceGroup
|
8485
8522
|
# @private
|
8486
8523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10658,6 +10695,8 @@ module Google
|
|
10658
10695
|
property :name, as: 'name'
|
10659
10696
|
property :node_template, as: 'nodeTemplate'
|
10660
10697
|
property :self_link, as: 'selfLink'
|
10698
|
+
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
|
10699
|
+
|
10661
10700
|
property :size, as: 'size'
|
10662
10701
|
property :status, as: 'status'
|
10663
10702
|
property :zone, as: 'zone'
|
@@ -10752,9 +10791,13 @@ module Google
|
|
10752
10791
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10753
10792
|
collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
10754
10793
|
|
10794
|
+
property :consumed_resources, as: 'consumedResources', class: Google::Apis::ComputeV1::InstanceConsumptionInfo, decorator: Google::Apis::ComputeV1::InstanceConsumptionInfo::Representation
|
10795
|
+
|
10755
10796
|
property :cpu_overcommit_type, as: 'cpuOvercommitType'
|
10756
10797
|
collection :disks, as: 'disks', class: Google::Apis::ComputeV1::LocalDisk, decorator: Google::Apis::ComputeV1::LocalDisk::Representation
|
10757
10798
|
|
10799
|
+
collection :instance_consumption_data, as: 'instanceConsumptionData', class: Google::Apis::ComputeV1::InstanceConsumptionData, decorator: Google::Apis::ComputeV1::InstanceConsumptionData::Representation
|
10800
|
+
|
10758
10801
|
collection :instances, as: 'instances'
|
10759
10802
|
property :name, as: 'name'
|
10760
10803
|
property :node_type, as: 'nodeType'
|
@@ -10763,6 +10806,8 @@ module Google
|
|
10763
10806
|
|
10764
10807
|
property :server_id, as: 'serverId'
|
10765
10808
|
property :status, as: 'status'
|
10809
|
+
property :total_resources, as: 'totalResources', class: Google::Apis::ComputeV1::InstanceConsumptionInfo, decorator: Google::Apis::ComputeV1::InstanceConsumptionInfo::Representation
|
10810
|
+
|
10766
10811
|
end
|
10767
10812
|
end
|
10768
10813
|
|
@@ -14009,6 +14054,7 @@ module Google
|
|
14009
14054
|
property :min_tls_version, as: 'minTlsVersion'
|
14010
14055
|
property :name, as: 'name'
|
14011
14056
|
property :profile, as: 'profile'
|
14057
|
+
property :region, as: 'region'
|
14012
14058
|
property :self_link, as: 'selfLink'
|
14013
14059
|
collection :warnings, as: 'warnings', class: Google::Apis::ComputeV1::SslPolicy::Warning, decorator: Google::Apis::ComputeV1::SslPolicy::Warning::Representation
|
14014
14060
|
|