google-apis-compute_alpha 0.126.0 → 0.127.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_alpha/classes.rb +2939 -1909
- data/lib/google/apis/compute_alpha/gem_version.rb +2 -2
- data/lib/google/apis/compute_alpha/representations.rb +187 -0
- data/lib/google/apis/compute_alpha/service.rb +230 -0
- metadata +2 -2
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeAlpha
|
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.127.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 = "20251202"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -4300,6 +4300,12 @@ module Google
|
|
|
4300
4300
|
include Google::Apis::Core::JsonObjectSupport
|
|
4301
4301
|
end
|
|
4302
4302
|
|
|
4303
|
+
class LicenseParams
|
|
4304
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4305
|
+
|
|
4306
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4307
|
+
end
|
|
4308
|
+
|
|
4303
4309
|
class LicenseResourceCommitment
|
|
4304
4310
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4305
4311
|
|
|
@@ -4396,6 +4402,12 @@ module Google
|
|
|
4396
4402
|
include Google::Apis::Core::JsonObjectSupport
|
|
4397
4403
|
end
|
|
4398
4404
|
|
|
4405
|
+
class LocationPolicyZoneConfiguration
|
|
4406
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4407
|
+
|
|
4408
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4409
|
+
end
|
|
4410
|
+
|
|
4399
4411
|
class MachineImage
|
|
4400
4412
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4401
4413
|
|
|
@@ -6442,6 +6454,12 @@ module Google
|
|
|
6442
6454
|
include Google::Apis::Core::JsonObjectSupport
|
|
6443
6455
|
end
|
|
6444
6456
|
|
|
6457
|
+
class RegionInstanceGroupManagersAdoptInstancesRequest
|
|
6458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6459
|
+
|
|
6460
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6461
|
+
end
|
|
6462
|
+
|
|
6445
6463
|
class RegionInstanceGroupManagersApplyUpdatesRequest
|
|
6446
6464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6447
6465
|
|
|
@@ -6796,6 +6814,48 @@ module Google
|
|
|
6796
6814
|
include Google::Apis::Core::JsonObjectSupport
|
|
6797
6815
|
end
|
|
6798
6816
|
|
|
6817
|
+
class ReservationSlot
|
|
6818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6819
|
+
|
|
6820
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6821
|
+
end
|
|
6822
|
+
|
|
6823
|
+
class ReservationSlotPhysicalTopology
|
|
6824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6825
|
+
|
|
6826
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6827
|
+
end
|
|
6828
|
+
|
|
6829
|
+
class ReservationSlotStatus
|
|
6830
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6831
|
+
|
|
6832
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6833
|
+
end
|
|
6834
|
+
|
|
6835
|
+
class ReservationSlotsGetResponse
|
|
6836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6837
|
+
|
|
6838
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6839
|
+
end
|
|
6840
|
+
|
|
6841
|
+
class ReservationSlotsListResponse
|
|
6842
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6843
|
+
|
|
6844
|
+
class Warning
|
|
6845
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6846
|
+
|
|
6847
|
+
class Datum
|
|
6848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6849
|
+
|
|
6850
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6851
|
+
end
|
|
6852
|
+
|
|
6853
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6854
|
+
end
|
|
6855
|
+
|
|
6856
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
6857
|
+
end
|
|
6858
|
+
|
|
6799
6859
|
class ReservationSubBlock
|
|
6800
6860
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
6801
6861
|
|
|
@@ -8518,6 +8578,12 @@ module Google
|
|
|
8518
8578
|
include Google::Apis::Core::JsonObjectSupport
|
|
8519
8579
|
end
|
|
8520
8580
|
|
|
8581
|
+
class StoragePoolParams
|
|
8582
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8583
|
+
|
|
8584
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
8585
|
+
end
|
|
8586
|
+
|
|
8521
8587
|
class StoragePoolResourceStatus
|
|
8522
8588
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
8523
8589
|
|
|
@@ -10695,6 +10761,7 @@ module Google
|
|
|
10695
10761
|
property :max_rate_per_instance, as: 'maxRatePerInstance'
|
|
10696
10762
|
property :max_utilization, as: 'maxUtilization'
|
|
10697
10763
|
property :preference, as: 'preference'
|
|
10764
|
+
property :service, as: 'service'
|
|
10698
10765
|
property :traffic_duration, as: 'trafficDuration'
|
|
10699
10766
|
end
|
|
10700
10767
|
end
|
|
@@ -11673,6 +11740,7 @@ module Google
|
|
|
11673
11740
|
class CapacityAdviceResponseRecommendationScores
|
|
11674
11741
|
# @private
|
|
11675
11742
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11743
|
+
property :estimated_uptime, as: 'estimatedUptime'
|
|
11676
11744
|
property :obtainability, as: 'obtainability'
|
|
11677
11745
|
property :uptime_score, as: 'uptimeScore'
|
|
11678
11746
|
end
|
|
@@ -13813,6 +13881,7 @@ module Google
|
|
|
13813
13881
|
collection :backend_services, as: 'backendServices'
|
|
13814
13882
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
13815
13883
|
property :description, as: 'description'
|
|
13884
|
+
property :failover_capacity, as: 'failoverCapacity'
|
|
13816
13885
|
property :failover_initiation, as: 'failoverInitiation'
|
|
13817
13886
|
property :id, :numeric_string => true, as: 'id'
|
|
13818
13887
|
property :instance_name, as: 'instanceName'
|
|
@@ -15349,6 +15418,7 @@ module Google
|
|
|
15349
15418
|
# @private
|
|
15350
15419
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15351
15420
|
property :abandoning, as: 'abandoning'
|
|
15421
|
+
property :adopting, as: 'adopting'
|
|
15352
15422
|
property :creating, as: 'creating'
|
|
15353
15423
|
property :creating_atomically, as: 'creatingAtomically'
|
|
15354
15424
|
property :creating_without_retries, as: 'creatingWithoutRetries'
|
|
@@ -18019,6 +18089,8 @@ module Google
|
|
|
18019
18089
|
property :multi_tenant_only, as: 'multiTenantOnly'
|
|
18020
18090
|
property :name, as: 'name'
|
|
18021
18091
|
property :os_license, as: 'osLicense'
|
|
18092
|
+
property :params, as: 'params', class: Google::Apis::ComputeAlpha::LicenseParams, decorator: Google::Apis::ComputeAlpha::LicenseParams::Representation
|
|
18093
|
+
|
|
18022
18094
|
property :removable_from_disk, as: 'removableFromDisk'
|
|
18023
18095
|
collection :required_coattached_licenses, as: 'requiredCoattachedLicenses'
|
|
18024
18096
|
property :resource_requirements, as: 'resourceRequirements', class: Google::Apis::ComputeAlpha::LicenseResourceRequirements, decorator: Google::Apis::ComputeAlpha::LicenseResourceRequirements::Representation
|
|
@@ -18066,6 +18138,13 @@ module Google
|
|
|
18066
18138
|
end
|
|
18067
18139
|
end
|
|
18068
18140
|
|
|
18141
|
+
class LicenseParams
|
|
18142
|
+
# @private
|
|
18143
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
18144
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
|
18145
|
+
end
|
|
18146
|
+
end
|
|
18147
|
+
|
|
18069
18148
|
class LicenseResourceCommitment
|
|
18070
18149
|
# @private
|
|
18071
18150
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -18205,6 +18284,8 @@ module Google
|
|
|
18205
18284
|
hash :locations, as: 'locations', class: Google::Apis::ComputeAlpha::LocationPolicyLocation, decorator: Google::Apis::ComputeAlpha::LocationPolicyLocation::Representation
|
|
18206
18285
|
|
|
18207
18286
|
property :target_shape, as: 'targetShape'
|
|
18287
|
+
collection :zones, as: 'zones', class: Google::Apis::ComputeAlpha::LocationPolicyZoneConfiguration, decorator: Google::Apis::ComputeAlpha::LocationPolicyZoneConfiguration::Representation
|
|
18288
|
+
|
|
18208
18289
|
end
|
|
18209
18290
|
end
|
|
18210
18291
|
|
|
@@ -18225,6 +18306,13 @@ module Google
|
|
|
18225
18306
|
end
|
|
18226
18307
|
end
|
|
18227
18308
|
|
|
18309
|
+
class LocationPolicyZoneConfiguration
|
|
18310
|
+
# @private
|
|
18311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
18312
|
+
property :zone, as: 'zone'
|
|
18313
|
+
end
|
|
18314
|
+
end
|
|
18315
|
+
|
|
18228
18316
|
class MachineImage
|
|
18229
18317
|
# @private
|
|
18230
18318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -18930,6 +19018,7 @@ module Google
|
|
|
18930
19018
|
property :ipv6_address, as: 'ipv6Address'
|
|
18931
19019
|
property :project_id_or_num, as: 'projectIdOrNum'
|
|
18932
19020
|
collection :secondary_ip_cidr_ranges, as: 'secondaryIpCidrRanges'
|
|
19021
|
+
property :service_class_id, as: 'serviceClassId'
|
|
18933
19022
|
property :status, as: 'status'
|
|
18934
19023
|
property :subnetwork, as: 'subnetwork'
|
|
18935
19024
|
property :subnetwork_cidr_range, as: 'subnetworkCidrRange'
|
|
@@ -19401,6 +19490,7 @@ module Google
|
|
|
19401
19490
|
property :nic_type, as: 'nicType'
|
|
19402
19491
|
property :parent_nic_name, as: 'parentNicName'
|
|
19403
19492
|
property :queue_count, as: 'queueCount'
|
|
19493
|
+
property :service_class_id, as: 'serviceClassId'
|
|
19404
19494
|
property :stack_type, as: 'stackType'
|
|
19405
19495
|
collection :subinterfaces, as: 'subinterfaces', class: Google::Apis::ComputeAlpha::NetworkInterfaceSubInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterfaceSubInterface::Representation
|
|
19406
19496
|
|
|
@@ -22101,6 +22191,14 @@ module Google
|
|
|
22101
22191
|
end
|
|
22102
22192
|
end
|
|
22103
22193
|
|
|
22194
|
+
class RegionInstanceGroupManagersAdoptInstancesRequest
|
|
22195
|
+
# @private
|
|
22196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22197
|
+
collection :instances, as: 'instances', class: Google::Apis::ComputeAlpha::PerInstanceConfig, decorator: Google::Apis::ComputeAlpha::PerInstanceConfig::Representation
|
|
22198
|
+
|
|
22199
|
+
end
|
|
22200
|
+
end
|
|
22201
|
+
|
|
22104
22202
|
class RegionInstanceGroupManagersApplyUpdatesRequest
|
|
22105
22203
|
# @private
|
|
22106
22204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -22703,6 +22801,83 @@ module Google
|
|
|
22703
22801
|
end
|
|
22704
22802
|
end
|
|
22705
22803
|
|
|
22804
|
+
class ReservationSlot
|
|
22805
|
+
# @private
|
|
22806
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22807
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
22808
|
+
property :description, as: 'description'
|
|
22809
|
+
property :id, :numeric_string => true, as: 'id'
|
|
22810
|
+
property :kind, as: 'kind'
|
|
22811
|
+
property :name, as: 'name'
|
|
22812
|
+
property :self_link, as: 'selfLink'
|
|
22813
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
|
22814
|
+
property :state, as: 'state'
|
|
22815
|
+
property :status, as: 'status', class: Google::Apis::ComputeAlpha::ReservationSlotStatus, decorator: Google::Apis::ComputeAlpha::ReservationSlotStatus::Representation
|
|
22816
|
+
|
|
22817
|
+
property :zone, as: 'zone'
|
|
22818
|
+
end
|
|
22819
|
+
end
|
|
22820
|
+
|
|
22821
|
+
class ReservationSlotPhysicalTopology
|
|
22822
|
+
# @private
|
|
22823
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22824
|
+
property :block, as: 'block'
|
|
22825
|
+
property :cluster, as: 'cluster'
|
|
22826
|
+
property :host, as: 'host'
|
|
22827
|
+
property :sub_block, as: 'subBlock'
|
|
22828
|
+
end
|
|
22829
|
+
end
|
|
22830
|
+
|
|
22831
|
+
class ReservationSlotStatus
|
|
22832
|
+
# @private
|
|
22833
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22834
|
+
property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeAlpha::ReservationSlotPhysicalTopology, decorator: Google::Apis::ComputeAlpha::ReservationSlotPhysicalTopology::Representation
|
|
22835
|
+
|
|
22836
|
+
collection :rdma_ip_addresses, as: 'rdmaIpAddresses'
|
|
22837
|
+
collection :running_instances, as: 'runningInstances'
|
|
22838
|
+
end
|
|
22839
|
+
end
|
|
22840
|
+
|
|
22841
|
+
class ReservationSlotsGetResponse
|
|
22842
|
+
# @private
|
|
22843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22844
|
+
property :resource, as: 'resource', class: Google::Apis::ComputeAlpha::ReservationSlot, decorator: Google::Apis::ComputeAlpha::ReservationSlot::Representation
|
|
22845
|
+
|
|
22846
|
+
end
|
|
22847
|
+
end
|
|
22848
|
+
|
|
22849
|
+
class ReservationSlotsListResponse
|
|
22850
|
+
# @private
|
|
22851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22852
|
+
property :id, as: 'id'
|
|
22853
|
+
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::ReservationSlot, decorator: Google::Apis::ComputeAlpha::ReservationSlot::Representation
|
|
22854
|
+
|
|
22855
|
+
property :kind, as: 'kind'
|
|
22856
|
+
property :next_page_token, as: 'nextPageToken'
|
|
22857
|
+
property :self_link, as: 'selfLink'
|
|
22858
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::ReservationSlotsListResponse::Warning, decorator: Google::Apis::ComputeAlpha::ReservationSlotsListResponse::Warning::Representation
|
|
22859
|
+
|
|
22860
|
+
end
|
|
22861
|
+
|
|
22862
|
+
class Warning
|
|
22863
|
+
# @private
|
|
22864
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22865
|
+
property :code, as: 'code'
|
|
22866
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::ReservationSlotsListResponse::Warning::Datum, decorator: Google::Apis::ComputeAlpha::ReservationSlotsListResponse::Warning::Datum::Representation
|
|
22867
|
+
|
|
22868
|
+
property :message, as: 'message'
|
|
22869
|
+
end
|
|
22870
|
+
|
|
22871
|
+
class Datum
|
|
22872
|
+
# @private
|
|
22873
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22874
|
+
property :key, as: 'key'
|
|
22875
|
+
property :value, as: 'value'
|
|
22876
|
+
end
|
|
22877
|
+
end
|
|
22878
|
+
end
|
|
22879
|
+
end
|
|
22880
|
+
|
|
22706
22881
|
class ReservationSubBlock
|
|
22707
22882
|
# @private
|
|
22708
22883
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -24733,6 +24908,8 @@ module Google
|
|
|
24733
24908
|
class SecurityPolicyRulePreconfiguredWafConfigExclusion
|
|
24734
24909
|
# @private
|
|
24735
24910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
24911
|
+
collection :request_bodies_to_exclude, as: 'requestBodiesToExclude', class: Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
|
24912
|
+
|
|
24736
24913
|
collection :request_cookies_to_exclude, as: 'requestCookiesToExclude', class: Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
|
24737
24914
|
|
|
24738
24915
|
collection :request_headers_to_exclude, as: 'requestHeadersToExclude', class: Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams::Representation
|
|
@@ -25802,6 +25979,8 @@ module Google
|
|
|
25802
25979
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
|
25803
25980
|
hash :labels, as: 'labels'
|
|
25804
25981
|
property :name, as: 'name'
|
|
25982
|
+
property :params, as: 'params', class: Google::Apis::ComputeAlpha::StoragePoolParams, decorator: Google::Apis::ComputeAlpha::StoragePoolParams::Representation
|
|
25983
|
+
|
|
25805
25984
|
property :performance_provisioning_type, as: 'performanceProvisioningType'
|
|
25806
25985
|
property :pool_provisioned_capacity_gb, :numeric_string => true, as: 'poolProvisionedCapacityGb'
|
|
25807
25986
|
property :pool_provisioned_iops, :numeric_string => true, as: 'poolProvisionedIops'
|
|
@@ -25949,6 +26128,13 @@ module Google
|
|
|
25949
26128
|
end
|
|
25950
26129
|
end
|
|
25951
26130
|
|
|
26131
|
+
class StoragePoolParams
|
|
26132
|
+
# @private
|
|
26133
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
26134
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
|
26135
|
+
end
|
|
26136
|
+
end
|
|
26137
|
+
|
|
25952
26138
|
class StoragePoolResourceStatus
|
|
25953
26139
|
# @private
|
|
25954
26140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -27100,6 +27286,7 @@ module Google
|
|
|
27100
27286
|
property :description, as: 'description'
|
|
27101
27287
|
property :id, :numeric_string => true, as: 'id'
|
|
27102
27288
|
property :kind, as: 'kind'
|
|
27289
|
+
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
|
27103
27290
|
property :name, as: 'name'
|
|
27104
27291
|
property :proxy_bind, as: 'proxyBind'
|
|
27105
27292
|
property :proxy_header, as: 'proxyHeader'
|
|
@@ -41717,6 +41717,69 @@ module Google
|
|
|
41717
41717
|
execute_or_queue_command(command, &block)
|
|
41718
41718
|
end
|
|
41719
41719
|
|
|
41720
|
+
# Flags the specified instances to be adopted to the managed instance
|
|
41721
|
+
# group. Adopting an instance does not change the instance status, but it
|
|
41722
|
+
# adds the instance to any target pools that are applied by the managed
|
|
41723
|
+
# instance group. This method increases the targetSize of the managed
|
|
41724
|
+
# instance group by the number of instances that you adopt. This operation
|
|
41725
|
+
# is marked as DONE when the action is scheduled even if the instances have
|
|
41726
|
+
# not been adopted to the group yet. You must separately verify the status
|
|
41727
|
+
# of the adopting action with the listManagedInstances method.
|
|
41728
|
+
# @param [String] project
|
|
41729
|
+
# Project ID for this request.
|
|
41730
|
+
# @param [String] region
|
|
41731
|
+
# Name of the region scoping this request. It should conform to RFC1035.
|
|
41732
|
+
# @param [String] instance_group_manager
|
|
41733
|
+
# Name of the managed instance group. It should conform to RFC1035 or be a
|
|
41734
|
+
# resource ID.
|
|
41735
|
+
# @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAdoptInstancesRequest] region_instance_group_managers_adopt_instances_request_object
|
|
41736
|
+
# @param [String] request_id
|
|
41737
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
41738
|
+
# that if you must retry your request, the server will know to ignore the
|
|
41739
|
+
# request if it has already been completed.
|
|
41740
|
+
# For example, consider a situation where you make an initial request and
|
|
41741
|
+
# the request times out. If you make the request again with the same
|
|
41742
|
+
# request ID, the server can check if original operation with the same
|
|
41743
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
41744
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
41745
|
+
# The request ID must be
|
|
41746
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
41747
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
41748
|
+
# @param [String] fields
|
|
41749
|
+
# Selector specifying which fields to include in a partial response.
|
|
41750
|
+
# @param [String] quota_user
|
|
41751
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
41752
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
41753
|
+
# @param [String] user_ip
|
|
41754
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
41755
|
+
# @param [Google::Apis::RequestOptions] options
|
|
41756
|
+
# Request-specific options
|
|
41757
|
+
#
|
|
41758
|
+
# @yield [result, err] Result & error if block supplied
|
|
41759
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
41760
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
41761
|
+
#
|
|
41762
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
41763
|
+
#
|
|
41764
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
41765
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
41766
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
41767
|
+
def adopt_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_adopt_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
41768
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/adoptInstances', options)
|
|
41769
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAdoptInstancesRequest::Representation
|
|
41770
|
+
command.request_object = region_instance_group_managers_adopt_instances_request_object
|
|
41771
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
41772
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
41773
|
+
command.params['project'] = project unless project.nil?
|
|
41774
|
+
command.params['region'] = region unless region.nil?
|
|
41775
|
+
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
|
41776
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
41777
|
+
command.query['fields'] = fields unless fields.nil?
|
|
41778
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
41779
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
41780
|
+
execute_or_queue_command(command, &block)
|
|
41781
|
+
end
|
|
41782
|
+
|
|
41720
41783
|
# Apply updates to selected instances the managed instance group.
|
|
41721
41784
|
# @param [String] project
|
|
41722
41785
|
# Project ID for this request.
|
|
@@ -53128,6 +53191,173 @@ module Google
|
|
|
53128
53191
|
execute_or_queue_command(command, &block)
|
|
53129
53192
|
end
|
|
53130
53193
|
|
|
53194
|
+
# Retrieves information about the specified reservation slot.
|
|
53195
|
+
# @param [String] project
|
|
53196
|
+
# Project ID for this request.
|
|
53197
|
+
# @param [String] zone
|
|
53198
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
|
53199
|
+
# @param [String] parent_name
|
|
53200
|
+
# The name of the parent reservation and parent block. In the format of
|
|
53201
|
+
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`/
|
|
53202
|
+
# reservationSubBlocks/`reservation_sub_block_name`
|
|
53203
|
+
# @param [String] reservation_slot
|
|
53204
|
+
# The name of the reservation slot.
|
|
53205
|
+
# Name should conform to RFC1035 or be a resource ID.
|
|
53206
|
+
# @param [String] fields
|
|
53207
|
+
# Selector specifying which fields to include in a partial response.
|
|
53208
|
+
# @param [String] quota_user
|
|
53209
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
53210
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
53211
|
+
# @param [String] user_ip
|
|
53212
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
53213
|
+
# @param [Google::Apis::RequestOptions] options
|
|
53214
|
+
# Request-specific options
|
|
53215
|
+
#
|
|
53216
|
+
# @yield [result, err] Result & error if block supplied
|
|
53217
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::ReservationSlotsGetResponse] parsed result object
|
|
53218
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
53219
|
+
#
|
|
53220
|
+
# @return [Google::Apis::ComputeAlpha::ReservationSlotsGetResponse]
|
|
53221
|
+
#
|
|
53222
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
53223
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
53224
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
53225
|
+
def get_reservation_slot(project, zone, parent_name, reservation_slot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
53226
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{+parentName}/reservationSlots/{reservationSlot}', options)
|
|
53227
|
+
command.response_representation = Google::Apis::ComputeAlpha::ReservationSlotsGetResponse::Representation
|
|
53228
|
+
command.response_class = Google::Apis::ComputeAlpha::ReservationSlotsGetResponse
|
|
53229
|
+
command.params['project'] = project unless project.nil?
|
|
53230
|
+
command.params['zone'] = zone unless zone.nil?
|
|
53231
|
+
command.params['parentName'] = parent_name unless parent_name.nil?
|
|
53232
|
+
command.params['reservationSlot'] = reservation_slot unless reservation_slot.nil?
|
|
53233
|
+
command.query['fields'] = fields unless fields.nil?
|
|
53234
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
53235
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
53236
|
+
execute_or_queue_command(command, &block)
|
|
53237
|
+
end
|
|
53238
|
+
|
|
53239
|
+
# Retrieves a list of reservation slots under a single reservation.
|
|
53240
|
+
# @param [String] project
|
|
53241
|
+
# Project ID for this request.
|
|
53242
|
+
# @param [String] zone
|
|
53243
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
|
53244
|
+
# @param [String] parent_name
|
|
53245
|
+
# The name of the parent reservation and parent block. In the format of
|
|
53246
|
+
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`/
|
|
53247
|
+
# reservationSubBlocks/`reservation_sub_block_name`
|
|
53248
|
+
# @param [String] filter
|
|
53249
|
+
# A filter expression that filters resources listed in the response. Most
|
|
53250
|
+
# Compute resources support two types of filter expressions:
|
|
53251
|
+
# expressions that support regular expressions and expressions that follow
|
|
53252
|
+
# API improvement proposal AIP-160.
|
|
53253
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
53254
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
53255
|
+
# operator, and the value that you want to use for filtering. The value
|
|
53256
|
+
# must be a string, a number, or a boolean. The operator
|
|
53257
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
53258
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
53259
|
+
# exclude instances named `example-instance` by specifying
|
|
53260
|
+
# `name != example-instance`.
|
|
53261
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
53262
|
+
# For example, to find all objects with `owner` label use:
|
|
53263
|
+
# ```
|
|
53264
|
+
# labels.owner:*
|
|
53265
|
+
# ```
|
|
53266
|
+
# You can also filter nested fields. For example, you could specify
|
|
53267
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
53268
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
53269
|
+
# on nested fields to filter based onresource labels.
|
|
53270
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
53271
|
+
# parentheses. For example:
|
|
53272
|
+
# ```
|
|
53273
|
+
# (scheduling.automaticRestart = true)
|
|
53274
|
+
# (cpuPlatform = "Intel Skylake")
|
|
53275
|
+
# ```
|
|
53276
|
+
# By default, each expression is an `AND` expression. However, you
|
|
53277
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
53278
|
+
# For example:
|
|
53279
|
+
# ```
|
|
53280
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
53281
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
53282
|
+
# (scheduling.automaticRestart = true)
|
|
53283
|
+
# ```
|
|
53284
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
53285
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
53286
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
53287
|
+
# `fieldname eq unquoted literal`
|
|
53288
|
+
# `fieldname eq 'single quoted literal'`
|
|
53289
|
+
# `fieldname eq "double quoted literal"`
|
|
53290
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
53291
|
+
# The literal value is interpreted as a regular expression using GoogleRE2
|
|
53292
|
+
# library syntax.
|
|
53293
|
+
# The literal value must match the entire field.
|
|
53294
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
53295
|
+
# you would use `name ne .*instance`.
|
|
53296
|
+
# You cannot combine constraints on multiple fields using regular
|
|
53297
|
+
# expressions.
|
|
53298
|
+
# @param [Fixnum] max_results
|
|
53299
|
+
# The maximum number of results per page that should be returned.
|
|
53300
|
+
# If the number of available results is larger than `maxResults`,
|
|
53301
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
53302
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
53303
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
53304
|
+
# @param [String] order_by
|
|
53305
|
+
# Sorts list results by a certain order. By default, results
|
|
53306
|
+
# are returned in alphanumerical order based on the resource name.
|
|
53307
|
+
# You can also sort results in descending order based on the creation
|
|
53308
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
53309
|
+
# results based on the `creationTimestamp` field in
|
|
53310
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
53311
|
+
# resources like operations so that the newest operation is returned first.
|
|
53312
|
+
# Currently, only sorting by `name` or
|
|
53313
|
+
# `creationTimestamp desc` is supported.
|
|
53314
|
+
# @param [String] page_token
|
|
53315
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
53316
|
+
# `nextPageToken` returned by a previous list request to get
|
|
53317
|
+
# the next page of results.
|
|
53318
|
+
# @param [Boolean] return_partial_success
|
|
53319
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
53320
|
+
# of failure. The default value is false.
|
|
53321
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
53322
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
53323
|
+
# with an error code.
|
|
53324
|
+
# @param [String] fields
|
|
53325
|
+
# Selector specifying which fields to include in a partial response.
|
|
53326
|
+
# @param [String] quota_user
|
|
53327
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
53328
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
53329
|
+
# @param [String] user_ip
|
|
53330
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
53331
|
+
# @param [Google::Apis::RequestOptions] options
|
|
53332
|
+
# Request-specific options
|
|
53333
|
+
#
|
|
53334
|
+
# @yield [result, err] Result & error if block supplied
|
|
53335
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::ReservationSlotsListResponse] parsed result object
|
|
53336
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
53337
|
+
#
|
|
53338
|
+
# @return [Google::Apis::ComputeAlpha::ReservationSlotsListResponse]
|
|
53339
|
+
#
|
|
53340
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
53341
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
53342
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
53343
|
+
def list_reservation_slots(project, zone, parent_name, 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)
|
|
53344
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{+parentName}/reservationSlots', options)
|
|
53345
|
+
command.response_representation = Google::Apis::ComputeAlpha::ReservationSlotsListResponse::Representation
|
|
53346
|
+
command.response_class = Google::Apis::ComputeAlpha::ReservationSlotsListResponse
|
|
53347
|
+
command.params['project'] = project unless project.nil?
|
|
53348
|
+
command.params['zone'] = zone unless zone.nil?
|
|
53349
|
+
command.params['parentName'] = parent_name unless parent_name.nil?
|
|
53350
|
+
command.query['filter'] = filter unless filter.nil?
|
|
53351
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
53352
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
53353
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
53354
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
53355
|
+
command.query['fields'] = fields unless fields.nil?
|
|
53356
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
53357
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
53358
|
+
execute_or_queue_command(command, &block)
|
|
53359
|
+
end
|
|
53360
|
+
|
|
53131
53361
|
# Retrieves information about the specified reservation subBlock.
|
|
53132
53362
|
# @param [String] project
|
|
53133
53363
|
# Project ID for this request.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.127.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_alpha/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.127.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|