google-apis-compute_beta 0.91.0 → 0.92.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 +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/compute_beta/classes.rb +72 -4
- data/lib/google/apis/compute_beta/gem_version.rb +3 -3
- data/lib/google/apis/compute_beta/representations.rb +31 -0
- data/lib/google/apis/compute_beta/service.rb +616 -202
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78d5c003a39d605ed6f7febe5e486a2cc2d0713f84485f973a2cea924d8cdbfb
|
4
|
+
data.tar.gz: b5e8f317f1bd228a1b214a721d081fee3cb3888048efd092d337d6eff7a1ddee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d49bb0ba11d9761e46cc901227b8da5a30b0507c7f35b4f27cfac7f574890cd7d2f21d550e070fb68a72b37f3d1c82ba4637c4262a20c51b037b501013ec415
|
7
|
+
data.tar.gz: c54b083715d265351027bc9eec524f287847f707890c24c964144a95b099e461475fa0156b0fd3af65a20cf95d917ac8e60d45aa7405342f76d2523326a2c457
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-compute_beta
|
2
2
|
|
3
|
+
### v0.92.0 (2024-02-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240218
|
6
|
+
* Regenerated using generator version 0.14.0
|
7
|
+
|
3
8
|
### v0.91.0 (2024-02-11)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240130
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/compute/) may provide guida
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -1750,8 +1750,8 @@ module Google
|
|
1750
1750
|
attr_accessor :provisioned_iops
|
1751
1751
|
|
1752
1752
|
# Indicates how much throughput to provision for the disk. This sets the number
|
1753
|
-
# of throughput mb per second that the disk can handle. Values must
|
1754
|
-
#
|
1753
|
+
# of throughput mb per second that the disk can handle. Values must greater than
|
1754
|
+
# or equal to 1.
|
1755
1755
|
# Corresponds to the JSON property `provisionedThroughput`
|
1756
1756
|
# @return [Fixnum]
|
1757
1757
|
attr_accessor :provisioned_throughput
|
@@ -6746,8 +6746,8 @@ module Google
|
|
6746
6746
|
attr_accessor :provisioned_iops
|
6747
6747
|
|
6748
6748
|
# Indicates how much throughput to provision for the disk. This sets the number
|
6749
|
-
# of throughput mb per second that the disk can handle. Values must be
|
6750
|
-
#
|
6749
|
+
# of throughput mb per second that the disk can handle. Values must be greater
|
6750
|
+
# than or equal to 1.
|
6751
6751
|
# Corresponds to the JSON property `provisionedThroughput`
|
6752
6752
|
# @return [Fixnum]
|
6753
6753
|
attr_accessor :provisioned_throughput
|
@@ -25707,6 +25707,12 @@ module Google
|
|
25707
25707
|
# @return [Hash<String,String>]
|
25708
25708
|
attr_accessor :annotations
|
25709
25709
|
|
25710
|
+
# Represents the port number to which PSC consumer sends packets. Only valid for
|
25711
|
+
# network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.
|
25712
|
+
# Corresponds to the JSON property `clientPort`
|
25713
|
+
# @return [Fixnum]
|
25714
|
+
attr_accessor :client_port
|
25715
|
+
|
25710
25716
|
# Optional fully qualified domain name of network endpoint. This can only be
|
25711
25717
|
# specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
|
25712
25718
|
# Corresponds to the JSON property `fqdn`
|
@@ -25756,6 +25762,7 @@ module Google
|
|
25756
25762
|
# Update properties of this object
|
25757
25763
|
def update!(**args)
|
25758
25764
|
@annotations = args[:annotations] if args.key?(:annotations)
|
25765
|
+
@client_port = args[:client_port] if args.key?(:client_port)
|
25759
25766
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
25760
25767
|
@instance = args[:instance] if args.key?(:instance)
|
25761
25768
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
@@ -25785,6 +25792,11 @@ module Google
|
|
25785
25792
|
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine]
|
25786
25793
|
attr_accessor :app_engine
|
25787
25794
|
|
25795
|
+
# Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.
|
25796
|
+
# Corresponds to the JSON property `clientPortMappingMode`
|
25797
|
+
# @return [String]
|
25798
|
+
attr_accessor :client_port_mapping_mode
|
25799
|
+
|
25788
25800
|
# Configuration for a Cloud Function network endpoint group (NEG). The function
|
25789
25801
|
# must be provided explicitly or in the URL mask. Note: Cloud Function must be
|
25790
25802
|
# in the same project and located in the same region as the Serverless NEG.
|
@@ -25913,6 +25925,7 @@ module Google
|
|
25913
25925
|
def update!(**args)
|
25914
25926
|
@annotations = args[:annotations] if args.key?(:annotations)
|
25915
25927
|
@app_engine = args[:app_engine] if args.key?(:app_engine)
|
25928
|
+
@client_port_mapping_mode = args[:client_port_mapping_mode] if args.key?(:client_port_mapping_mode)
|
25916
25929
|
@cloud_function = args[:cloud_function] if args.key?(:cloud_function)
|
25917
25930
|
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
25918
25931
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
@@ -31368,6 +31381,13 @@ module Google
|
|
31368
31381
|
class Project
|
31369
31382
|
include Google::Apis::Core::Hashable
|
31370
31383
|
|
31384
|
+
# [Output Only] The Cloud Armor tier for this project. It can be one of the
|
31385
|
+
# following values: CA_STANDARD, CA_ENTERPRISE_PAYGO. If this field is not
|
31386
|
+
# specified, it is assumed to be CA_STANDARD.
|
31387
|
+
# Corresponds to the JSON property `cloudArmorTier`
|
31388
|
+
# @return [String]
|
31389
|
+
attr_accessor :cloud_armor_tier
|
31390
|
+
|
31371
31391
|
# A metadata key/value entry.
|
31372
31392
|
# Corresponds to the JSON property `commonInstanceMetadata`
|
31373
31393
|
# @return [Google::Apis::ComputeBeta::Metadata]
|
@@ -31459,6 +31479,7 @@ module Google
|
|
31459
31479
|
|
31460
31480
|
# Update properties of this object
|
31461
31481
|
def update!(**args)
|
31482
|
+
@cloud_armor_tier = args[:cloud_armor_tier] if args.key?(:cloud_armor_tier)
|
31462
31483
|
@common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata)
|
31463
31484
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
31464
31485
|
@default_network_tier = args[:default_network_tier] if args.key?(:default_network_tier)
|
@@ -31573,6 +31594,25 @@ module Google
|
|
31573
31594
|
end
|
31574
31595
|
end
|
31575
31596
|
|
31597
|
+
#
|
31598
|
+
class ProjectsSetCloudArmorTierRequest
|
31599
|
+
include Google::Apis::Core::Hashable
|
31600
|
+
|
31601
|
+
# Managed protection tier to be set.
|
31602
|
+
# Corresponds to the JSON property `cloudArmorTier`
|
31603
|
+
# @return [String]
|
31604
|
+
attr_accessor :cloud_armor_tier
|
31605
|
+
|
31606
|
+
def initialize(**args)
|
31607
|
+
update!(**args)
|
31608
|
+
end
|
31609
|
+
|
31610
|
+
# Update properties of this object
|
31611
|
+
def update!(**args)
|
31612
|
+
@cloud_armor_tier = args[:cloud_armor_tier] if args.key?(:cloud_armor_tier)
|
31613
|
+
end
|
31614
|
+
end
|
31615
|
+
|
31576
31616
|
#
|
31577
31617
|
class ProjectsSetDefaultNetworkTierRequest
|
31578
31618
|
include Google::Apis::Core::Hashable
|
@@ -38349,6 +38389,11 @@ module Google
|
|
38349
38389
|
# @return [String]
|
38350
38390
|
attr_accessor :on_host_maintenance
|
38351
38391
|
|
38392
|
+
# Defines the behaviour for instances with the instance_termination_action STOP.
|
38393
|
+
# Corresponds to the JSON property `onInstanceStopAction`
|
38394
|
+
# @return [Google::Apis::ComputeBeta::SchedulingOnInstanceStopAction]
|
38395
|
+
attr_accessor :on_instance_stop_action
|
38396
|
+
|
38352
38397
|
# Defines whether the instance is preemptible. This can only be set during
|
38353
38398
|
# instance creation or while the instance is stopped and therefore, in a `
|
38354
38399
|
# TERMINATED` state. See Instance Life Cycle for more information on the
|
@@ -38387,6 +38432,7 @@ module Google
|
|
38387
38432
|
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
38388
38433
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
38389
38434
|
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
38435
|
+
@on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
|
38390
38436
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
38391
38437
|
@provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
|
38392
38438
|
@termination_time = args[:termination_time] if args.key?(:termination_time)
|
@@ -38426,6 +38472,28 @@ module Google
|
|
38426
38472
|
end
|
38427
38473
|
end
|
38428
38474
|
|
38475
|
+
# Defines the behaviour for instances with the instance_termination_action STOP.
|
38476
|
+
class SchedulingOnInstanceStopAction
|
38477
|
+
include Google::Apis::Core::Hashable
|
38478
|
+
|
38479
|
+
# If true, the contents of any attached Local SSD disks will be discarded else,
|
38480
|
+
# the Local SSD data will be preserved when the instance is stopped at the end
|
38481
|
+
# of the run duration/termination time.
|
38482
|
+
# Corresponds to the JSON property `discardLocalSsd`
|
38483
|
+
# @return [Boolean]
|
38484
|
+
attr_accessor :discard_local_ssd
|
38485
|
+
alias_method :discard_local_ssd?, :discard_local_ssd
|
38486
|
+
|
38487
|
+
def initialize(**args)
|
38488
|
+
update!(**args)
|
38489
|
+
end
|
38490
|
+
|
38491
|
+
# Update properties of this object
|
38492
|
+
def update!(**args)
|
38493
|
+
@discard_local_ssd = args[:discard_local_ssd] if args.key?(:discard_local_ssd)
|
38494
|
+
end
|
38495
|
+
end
|
38496
|
+
|
38429
38497
|
# An instance's screenshot.
|
38430
38498
|
class Screenshot
|
38431
38499
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeBeta
|
18
18
|
# Version of the google-apis-compute_beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.92.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240218"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -4018,6 +4018,12 @@ module Google
|
|
4018
4018
|
include Google::Apis::Core::JsonObjectSupport
|
4019
4019
|
end
|
4020
4020
|
|
4021
|
+
class ProjectsSetCloudArmorTierRequest
|
4022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4023
|
+
|
4024
|
+
include Google::Apis::Core::JsonObjectSupport
|
4025
|
+
end
|
4026
|
+
|
4021
4027
|
class ProjectsSetDefaultNetworkTierRequest
|
4022
4028
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4023
4029
|
|
@@ -4984,6 +4990,12 @@ module Google
|
|
4984
4990
|
include Google::Apis::Core::JsonObjectSupport
|
4985
4991
|
end
|
4986
4992
|
|
4993
|
+
class SchedulingOnInstanceStopAction
|
4994
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4995
|
+
|
4996
|
+
include Google::Apis::Core::JsonObjectSupport
|
4997
|
+
end
|
4998
|
+
|
4987
4999
|
class Screenshot
|
4988
5000
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4989
5001
|
|
@@ -12830,6 +12842,7 @@ module Google
|
|
12830
12842
|
# @private
|
12831
12843
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12832
12844
|
hash :annotations, as: 'annotations'
|
12845
|
+
property :client_port, as: 'clientPort'
|
12833
12846
|
property :fqdn, as: 'fqdn'
|
12834
12847
|
property :instance, as: 'instance'
|
12835
12848
|
property :ip_address, as: 'ipAddress'
|
@@ -12844,6 +12857,7 @@ module Google
|
|
12844
12857
|
hash :annotations, as: 'annotations'
|
12845
12858
|
property :app_engine, as: 'appEngine', class: Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine::Representation
|
12846
12859
|
|
12860
|
+
property :client_port_mapping_mode, as: 'clientPortMappingMode'
|
12847
12861
|
property :cloud_function, as: 'cloudFunction', class: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction::Representation
|
12848
12862
|
|
12849
12863
|
property :cloud_run, as: 'cloudRun', class: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun::Representation
|
@@ -14270,6 +14284,7 @@ module Google
|
|
14270
14284
|
class Project
|
14271
14285
|
# @private
|
14272
14286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14287
|
+
property :cloud_armor_tier, as: 'cloudArmorTier'
|
14273
14288
|
property :common_instance_metadata, as: 'commonInstanceMetadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
14274
14289
|
|
14275
14290
|
property :creation_timestamp, as: 'creationTimestamp'
|
@@ -14324,6 +14339,13 @@ module Google
|
|
14324
14339
|
end
|
14325
14340
|
end
|
14326
14341
|
|
14342
|
+
class ProjectsSetCloudArmorTierRequest
|
14343
|
+
# @private
|
14344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14345
|
+
property :cloud_armor_tier, as: 'cloudArmorTier'
|
14346
|
+
end
|
14347
|
+
end
|
14348
|
+
|
14327
14349
|
class ProjectsSetDefaultNetworkTierRequest
|
14328
14350
|
# @private
|
14329
14351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16053,6 +16075,8 @@ module Google
|
|
16053
16075
|
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeBeta::SchedulingNodeAffinity, decorator: Google::Apis::ComputeBeta::SchedulingNodeAffinity::Representation
|
16054
16076
|
|
16055
16077
|
property :on_host_maintenance, as: 'onHostMaintenance'
|
16078
|
+
property :on_instance_stop_action, as: 'onInstanceStopAction', class: Google::Apis::ComputeBeta::SchedulingOnInstanceStopAction, decorator: Google::Apis::ComputeBeta::SchedulingOnInstanceStopAction::Representation
|
16079
|
+
|
16056
16080
|
property :preemptible, as: 'preemptible'
|
16057
16081
|
property :provisioning_model, as: 'provisioningModel'
|
16058
16082
|
property :termination_time, as: 'terminationTime'
|
@@ -16068,6 +16092,13 @@ module Google
|
|
16068
16092
|
end
|
16069
16093
|
end
|
16070
16094
|
|
16095
|
+
class SchedulingOnInstanceStopAction
|
16096
|
+
# @private
|
16097
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16098
|
+
property :discard_local_ssd, as: 'discardLocalSsd'
|
16099
|
+
end
|
16100
|
+
end
|
16101
|
+
|
16071
16102
|
class Screenshot
|
16072
16103
|
# @private
|
16073
16104
|
class Representation < Google::Apis::Core::JsonRepresentation
|