google-apis-compute_beta 0.130.0 → 0.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e4371ddd742479b30c6c542ba60418f65e534d3aaeaafdbc803e6dde8b88e2d1
|
|
4
|
+
data.tar.gz: 8306da7b52dc2466a6014a96ace2b1a7ec329f8f5ca7832a526cbbd3748d74df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 676bac7cee183a7f59bdb7a1e3aa196b4e1e405dd016f7cfedac1ec60b5de7f50843df3eb17499552c91fbdaabbb63b3eeef0470344fe852b614ce0899f05d3b
|
|
7
|
+
data.tar.gz: e7449062ae6c744c5f782b0e3bd8ccea56a7f2b346669b97f5a3e3f4b02a0f2167196787b875689f33ededb0b341d361c03016ba5cd73a8237d02332cbd6c2a8
|
data/CHANGELOG.md
CHANGED
|
@@ -7168,6 +7168,11 @@ module Google
|
|
|
7168
7168
|
# @return [Fixnum]
|
|
7169
7169
|
attr_accessor :count
|
|
7170
7170
|
|
|
7171
|
+
# A flexible specification of machine types for instances to create.
|
|
7172
|
+
# Corresponds to the JSON property `instanceFlexibilityPolicy`
|
|
7173
|
+
# @return [Google::Apis::ComputeBeta::InstanceFlexibilityPolicy]
|
|
7174
|
+
attr_accessor :instance_flexibility_policy
|
|
7175
|
+
|
|
7171
7176
|
# The instance properties defining the VM instances to be created. Required
|
|
7172
7177
|
# if sourceInstanceTemplate is not provided.
|
|
7173
7178
|
# Corresponds to the JSON property `instanceProperties`
|
|
@@ -7238,6 +7243,7 @@ module Google
|
|
|
7238
7243
|
# Update properties of this object
|
|
7239
7244
|
def update!(**args)
|
|
7240
7245
|
@count = args[:count] if args.key?(:count)
|
|
7246
|
+
@instance_flexibility_policy = args[:instance_flexibility_policy] if args.key?(:instance_flexibility_policy)
|
|
7241
7247
|
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
|
7242
7248
|
@location_policy = args[:location_policy] if args.key?(:location_policy)
|
|
7243
7249
|
@min_count = args[:min_count] if args.key?(:min_count)
|
|
@@ -21617,6 +21623,76 @@ module Google
|
|
|
21617
21623
|
end
|
|
21618
21624
|
end
|
|
21619
21625
|
|
|
21626
|
+
# A flexible specification of machine types for instances to create.
|
|
21627
|
+
class InstanceFlexibilityPolicy
|
|
21628
|
+
include Google::Apis::Core::Hashable
|
|
21629
|
+
|
|
21630
|
+
# Specification of alternative, flexible instance subsets.
|
|
21631
|
+
# One of them will be selected to create the instances
|
|
21632
|
+
# based on various criteria, like:
|
|
21633
|
+
# - ranks,
|
|
21634
|
+
# - location policy,
|
|
21635
|
+
# - current capacity,
|
|
21636
|
+
# - available reservations (you can specify affinity in
|
|
21637
|
+
# InstanceProperties),
|
|
21638
|
+
# - SWAN/GOOSE limitations.
|
|
21639
|
+
# Key is an arbitrary, unique RFC1035 string that identifies the instance
|
|
21640
|
+
# selection.
|
|
21641
|
+
# Corresponds to the JSON property `instanceSelections`
|
|
21642
|
+
# @return [Hash<String,Google::Apis::ComputeBeta::InstanceFlexibilityPolicyInstanceSelection>]
|
|
21643
|
+
attr_accessor :instance_selections
|
|
21644
|
+
|
|
21645
|
+
def initialize(**args)
|
|
21646
|
+
update!(**args)
|
|
21647
|
+
end
|
|
21648
|
+
|
|
21649
|
+
# Update properties of this object
|
|
21650
|
+
def update!(**args)
|
|
21651
|
+
@instance_selections = args[:instance_selections] if args.key?(:instance_selections)
|
|
21652
|
+
end
|
|
21653
|
+
end
|
|
21654
|
+
|
|
21655
|
+
# Specification of machine type to use. Every position inside this message
|
|
21656
|
+
# is an alternative.
|
|
21657
|
+
# The count specified in the shape flexibility must not exceed the number
|
|
21658
|
+
# of entries in per_instance_properties or the capacity of the
|
|
21659
|
+
# name_pattern, if used.
|
|
21660
|
+
class InstanceFlexibilityPolicyInstanceSelection
|
|
21661
|
+
include Google::Apis::Core::Hashable
|
|
21662
|
+
|
|
21663
|
+
# Disks to be attached to the instances created from in this selection.
|
|
21664
|
+
# They override the disks specified in the instance properties.
|
|
21665
|
+
# Corresponds to the JSON property `disks`
|
|
21666
|
+
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
|
|
21667
|
+
attr_accessor :disks
|
|
21668
|
+
|
|
21669
|
+
# Alternative machine types to use for instances that are created from
|
|
21670
|
+
# these properties. This field only accepts a machine type names, for
|
|
21671
|
+
# example `n2-standard-4` and not URLs or partial URLs.
|
|
21672
|
+
# Corresponds to the JSON property `machineTypes`
|
|
21673
|
+
# @return [Array<String>]
|
|
21674
|
+
attr_accessor :machine_types
|
|
21675
|
+
|
|
21676
|
+
# Rank when prioritizing the shape flexibilities.
|
|
21677
|
+
# The instance selections with rank are considered
|
|
21678
|
+
# first, in the ascending order of the rank.
|
|
21679
|
+
# If not set, defaults to 0.
|
|
21680
|
+
# Corresponds to the JSON property `rank`
|
|
21681
|
+
# @return [Fixnum]
|
|
21682
|
+
attr_accessor :rank
|
|
21683
|
+
|
|
21684
|
+
def initialize(**args)
|
|
21685
|
+
update!(**args)
|
|
21686
|
+
end
|
|
21687
|
+
|
|
21688
|
+
# Update properties of this object
|
|
21689
|
+
def update!(**args)
|
|
21690
|
+
@disks = args[:disks] if args.key?(:disks)
|
|
21691
|
+
@machine_types = args[:machine_types] if args.key?(:machine_types)
|
|
21692
|
+
@rank = args[:rank] if args.key?(:rank)
|
|
21693
|
+
end
|
|
21694
|
+
end
|
|
21695
|
+
|
|
21620
21696
|
# Represents an Instance Group resource.
|
|
21621
21697
|
# Instance Groups can be used to configure a target forload
|
|
21622
21698
|
# balancing.
|
|
@@ -28041,6 +28117,7 @@ module Google
|
|
|
28041
28117
|
# - BPS_20G: 20 Gbit/s
|
|
28042
28118
|
# - BPS_50G: 50 Gbit/s
|
|
28043
28119
|
# - BPS_100G: 100 Gbit/s
|
|
28120
|
+
# - BPS_400G: 400 Gbit/s
|
|
28044
28121
|
# Corresponds to the JSON property `bandwidth`
|
|
28045
28122
|
# @return [String]
|
|
28046
28123
|
attr_accessor :bandwidth
|
|
@@ -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.131.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260106"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2380,6 +2380,18 @@ module Google
|
|
|
2380
2380
|
include Google::Apis::Core::JsonObjectSupport
|
|
2381
2381
|
end
|
|
2382
2382
|
|
|
2383
|
+
class InstanceFlexibilityPolicy
|
|
2384
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2385
|
+
|
|
2386
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2387
|
+
end
|
|
2388
|
+
|
|
2389
|
+
class InstanceFlexibilityPolicyInstanceSelection
|
|
2390
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2391
|
+
|
|
2392
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2393
|
+
end
|
|
2394
|
+
|
|
2383
2395
|
class InstanceGroup
|
|
2384
2396
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2385
2397
|
|
|
@@ -10326,6 +10338,8 @@ module Google
|
|
|
10326
10338
|
# @private
|
|
10327
10339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10328
10340
|
property :count, :numeric_string => true, as: 'count'
|
|
10341
|
+
property :instance_flexibility_policy, as: 'instanceFlexibilityPolicy', class: Google::Apis::ComputeBeta::InstanceFlexibilityPolicy, decorator: Google::Apis::ComputeBeta::InstanceFlexibilityPolicy::Representation
|
|
10342
|
+
|
|
10329
10343
|
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeBeta::InstanceProperties, decorator: Google::Apis::ComputeBeta::InstanceProperties::Representation
|
|
10330
10344
|
|
|
10331
10345
|
property :location_policy, as: 'locationPolicy', class: Google::Apis::ComputeBeta::LocationPolicy, decorator: Google::Apis::ComputeBeta::LocationPolicy::Representation
|
|
@@ -13429,6 +13443,24 @@ module Google
|
|
|
13429
13443
|
end
|
|
13430
13444
|
end
|
|
13431
13445
|
|
|
13446
|
+
class InstanceFlexibilityPolicy
|
|
13447
|
+
# @private
|
|
13448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13449
|
+
hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeBeta::InstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeBeta::InstanceFlexibilityPolicyInstanceSelection::Representation
|
|
13450
|
+
|
|
13451
|
+
end
|
|
13452
|
+
end
|
|
13453
|
+
|
|
13454
|
+
class InstanceFlexibilityPolicyInstanceSelection
|
|
13455
|
+
# @private
|
|
13456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13457
|
+
collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::AttachedDisk, decorator: Google::Apis::ComputeBeta::AttachedDisk::Representation
|
|
13458
|
+
|
|
13459
|
+
collection :machine_types, as: 'machineTypes'
|
|
13460
|
+
property :rank, :numeric_string => true, as: 'rank'
|
|
13461
|
+
end
|
|
13462
|
+
end
|
|
13463
|
+
|
|
13432
13464
|
class InstanceGroup
|
|
13433
13465
|
# @private
|
|
13434
13466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.131.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.131.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|