google-apis-compute_v1 0.84.0 → 0.86.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 +8 -0
- data/lib/google/apis/compute_v1/classes.rb +469 -202
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +90 -0
- data/lib/google/apis/compute_v1/service.rb +160 -13
- metadata +4 -4
@@ -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.86.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231231"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,24 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class AllocationAggregateReservation
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class AllocationAggregateReservationReservedResourceInfo
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class AllocationAggregateReservationReservedResourceInfoAccelerator
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
175
193
|
class AllocationResourceStatus
|
176
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
195
|
|
@@ -4654,6 +4672,18 @@ module Google
|
|
4654
4672
|
include Google::Apis::Core::JsonObjectSupport
|
4655
4673
|
end
|
4656
4674
|
|
4675
|
+
class SecurityPolicyRuleMatcherExprOptions
|
4676
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4677
|
+
|
4678
|
+
include Google::Apis::Core::JsonObjectSupport
|
4679
|
+
end
|
4680
|
+
|
4681
|
+
class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
|
4682
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4683
|
+
|
4684
|
+
include Google::Apis::Core::JsonObjectSupport
|
4685
|
+
end
|
4686
|
+
|
4657
4687
|
class SecurityPolicyRuleNetworkMatcher
|
4658
4688
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4659
4689
|
|
@@ -6416,6 +6446,34 @@ module Google
|
|
6416
6446
|
end
|
6417
6447
|
end
|
6418
6448
|
|
6449
|
+
class AllocationAggregateReservation
|
6450
|
+
# @private
|
6451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6452
|
+
collection :in_use_resources, as: 'inUseResources', class: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo::Representation
|
6453
|
+
|
6454
|
+
collection :reserved_resources, as: 'reservedResources', class: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfo::Representation
|
6455
|
+
|
6456
|
+
property :vm_family, as: 'vmFamily'
|
6457
|
+
property :workload_type, as: 'workloadType'
|
6458
|
+
end
|
6459
|
+
end
|
6460
|
+
|
6461
|
+
class AllocationAggregateReservationReservedResourceInfo
|
6462
|
+
# @private
|
6463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6464
|
+
property :accelerator, as: 'accelerator', class: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfoAccelerator, decorator: Google::Apis::ComputeV1::AllocationAggregateReservationReservedResourceInfoAccelerator::Representation
|
6465
|
+
|
6466
|
+
end
|
6467
|
+
end
|
6468
|
+
|
6469
|
+
class AllocationAggregateReservationReservedResourceInfoAccelerator
|
6470
|
+
# @private
|
6471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6472
|
+
property :accelerator_count, as: 'acceleratorCount'
|
6473
|
+
property :accelerator_type, as: 'acceleratorType'
|
6474
|
+
end
|
6475
|
+
end
|
6476
|
+
|
6419
6477
|
class AllocationResourceStatus
|
6420
6478
|
# @private
|
6421
6479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6500,6 +6558,7 @@ module Google
|
|
6500
6558
|
property :disk_name, as: 'diskName'
|
6501
6559
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
6502
6560
|
property :disk_type, as: 'diskType'
|
6561
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
6503
6562
|
hash :labels, as: 'labels'
|
6504
6563
|
collection :licenses, as: 'licenses'
|
6505
6564
|
property :on_update_action, as: 'onUpdateAction'
|
@@ -7303,6 +7362,7 @@ module Google
|
|
7303
7362
|
property :creation_timestamp, as: 'creationTimestamp'
|
7304
7363
|
property :description, as: 'description'
|
7305
7364
|
property :end_timestamp, as: 'endTimestamp'
|
7365
|
+
collection :existing_reservations, as: 'existingReservations'
|
7306
7366
|
property :id, :numeric_string => true, as: 'id'
|
7307
7367
|
property :kind, as: 'kind'
|
7308
7368
|
property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeV1::LicenseResourceCommitment, decorator: Google::Apis::ComputeV1::LicenseResourceCommitment::Representation
|
@@ -7519,6 +7579,7 @@ module Google
|
|
7519
7579
|
property :description, as: 'description'
|
7520
7580
|
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
7521
7581
|
|
7582
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
7522
7583
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
7523
7584
|
|
7524
7585
|
property :id, :numeric_string => true, as: 'id'
|
@@ -7542,6 +7603,7 @@ module Google
|
|
7542
7603
|
collection :resource_policies, as: 'resourcePolicies'
|
7543
7604
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::DiskResourceStatus, decorator: Google::Apis::ComputeV1::DiskResourceStatus::Representation
|
7544
7605
|
|
7606
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
7545
7607
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
7546
7608
|
property :self_link, as: 'selfLink'
|
7547
7609
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
@@ -9052,6 +9114,7 @@ module Google
|
|
9052
9114
|
|
9053
9115
|
property :description, as: 'description'
|
9054
9116
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
9117
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
9055
9118
|
property :family, as: 'family'
|
9056
9119
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
9057
9120
|
|
@@ -9066,6 +9129,7 @@ module Google
|
|
9066
9129
|
property :name, as: 'name'
|
9067
9130
|
property :raw_disk, as: 'rawDisk', class: Google::Apis::ComputeV1::Image::RawDisk, decorator: Google::Apis::ComputeV1::Image::RawDisk::Representation
|
9068
9131
|
|
9132
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
9069
9133
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
9070
9134
|
property :self_link, as: 'selfLink'
|
9071
9135
|
property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeV1::InitialStateConfig, decorator: Google::Apis::ComputeV1::InitialStateConfig::Representation
|
@@ -9198,6 +9262,7 @@ module Google
|
|
9198
9262
|
collection :resource_policies, as: 'resourcePolicies'
|
9199
9263
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeV1::ResourceStatus, decorator: Google::Apis::ComputeV1::ResourceStatus::Representation
|
9200
9264
|
|
9265
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
9201
9266
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
9202
9267
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
|
9203
9268
|
|
@@ -10944,6 +11009,7 @@ module Google
|
|
10944
11009
|
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
10945
11010
|
|
10946
11011
|
property :name, as: 'name'
|
11012
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
10947
11013
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
10948
11014
|
collection :saved_disks, as: 'savedDisks', class: Google::Apis::ComputeV1::SavedDisk, decorator: Google::Apis::ComputeV1::SavedDisk::Representation
|
10949
11015
|
|
@@ -13629,6 +13695,8 @@ module Google
|
|
13629
13695
|
class Reservation
|
13630
13696
|
# @private
|
13631
13697
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13698
|
+
property :aggregate_reservation, as: 'aggregateReservation', class: Google::Apis::ComputeV1::AllocationAggregateReservation, decorator: Google::Apis::ComputeV1::AllocationAggregateReservation::Representation
|
13699
|
+
|
13632
13700
|
property :commitment, as: 'commitment'
|
13633
13701
|
property :creation_timestamp, as: 'creationTimestamp'
|
13634
13702
|
property :description, as: 'description'
|
@@ -14832,6 +14900,8 @@ module Google
|
|
14832
14900
|
|
14833
14901
|
property :expr, as: 'expr', class: Google::Apis::ComputeV1::Expr, decorator: Google::Apis::ComputeV1::Expr::Representation
|
14834
14902
|
|
14903
|
+
property :expr_options, as: 'exprOptions', class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptions, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptions::Representation
|
14904
|
+
|
14835
14905
|
property :versioned_expr, as: 'versionedExpr'
|
14836
14906
|
end
|
14837
14907
|
end
|
@@ -14843,6 +14913,22 @@ module Google
|
|
14843
14913
|
end
|
14844
14914
|
end
|
14845
14915
|
|
14916
|
+
class SecurityPolicyRuleMatcherExprOptions
|
14917
|
+
# @private
|
14918
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14919
|
+
property :recaptcha_options, as: 'recaptchaOptions', class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions, decorator: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions::Representation
|
14920
|
+
|
14921
|
+
end
|
14922
|
+
end
|
14923
|
+
|
14924
|
+
class SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
|
14925
|
+
# @private
|
14926
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14927
|
+
collection :action_token_site_keys, as: 'actionTokenSiteKeys'
|
14928
|
+
collection :session_token_site_keys, as: 'sessionTokenSiteKeys'
|
14929
|
+
end
|
14930
|
+
end
|
14931
|
+
|
14846
14932
|
class SecurityPolicyRuleNetworkMatcher
|
14847
14933
|
# @private
|
14848
14934
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15216,6 +15302,7 @@ module Google
|
|
15216
15302
|
property :description, as: 'description'
|
15217
15303
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
15218
15304
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
15305
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
15219
15306
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
15220
15307
|
|
15221
15308
|
property :id, :numeric_string => true, as: 'id'
|
@@ -15226,6 +15313,7 @@ module Google
|
|
15226
15313
|
collection :licenses, as: 'licenses'
|
15227
15314
|
property :location_hint, as: 'locationHint'
|
15228
15315
|
property :name, as: 'name'
|
15316
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
15229
15317
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
15230
15318
|
property :self_link, as: 'selfLink'
|
15231
15319
|
property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
@@ -15689,6 +15777,7 @@ module Google
|
|
15689
15777
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
15690
15778
|
property :purpose, as: 'purpose'
|
15691
15779
|
property :region, as: 'region'
|
15780
|
+
property :reserved_internal_range, as: 'reservedInternalRange'
|
15692
15781
|
property :role, as: 'role'
|
15693
15782
|
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeV1::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeV1::SubnetworkSecondaryRange::Representation
|
15694
15783
|
|
@@ -15780,6 +15869,7 @@ module Google
|
|
15780
15869
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15781
15870
|
property :ip_cidr_range, as: 'ipCidrRange'
|
15782
15871
|
property :range_name, as: 'rangeName'
|
15872
|
+
property :reserved_internal_range, as: 'reservedInternalRange'
|
15783
15873
|
end
|
15784
15874
|
end
|
15785
15875
|
|
@@ -1581,7 +1581,7 @@ module Google
|
|
1581
1581
|
# @param [String] project
|
1582
1582
|
# Project ID for this request.
|
1583
1583
|
# @param [String] backend_bucket
|
1584
|
-
# Name of the
|
1584
|
+
# Name of the BackendBucket resource to which the security policy should be set.
|
1585
1585
|
# The name should conform to RFC1035.
|
1586
1586
|
# @param [Google::Apis::ComputeV1::SecurityPolicyReference] security_policy_reference_object
|
1587
1587
|
# @param [String] request_id
|
@@ -10000,8 +10000,7 @@ module Google
|
|
10000
10000
|
# creating an instance, the currentAction is CREATING. If a previous action
|
10001
10001
|
# failed, the list displays the errors for that failed action. The orderBy query
|
10002
10002
|
# parameter is not supported. The `pageToken` query parameter is supported only
|
10003
|
-
#
|
10004
|
-
# field is set to `PAGINATED`.
|
10003
|
+
# if the group's `listManagedInstancesResults` field is set to `PAGINATED`.
|
10005
10004
|
# @param [String] project
|
10006
10005
|
# Project ID for this request.
|
10007
10006
|
# @param [String] zone
|
@@ -12700,6 +12699,56 @@ module Google
|
|
12700
12699
|
execute_or_queue_command(command, &block)
|
12701
12700
|
end
|
12702
12701
|
|
12702
|
+
# Perform a manual maintenance on the instance.
|
12703
|
+
# @param [String] project
|
12704
|
+
# Project ID for this request.
|
12705
|
+
# @param [String] zone
|
12706
|
+
# The name of the zone for this request.
|
12707
|
+
# @param [String] instance
|
12708
|
+
# Name of the instance scoping this request.
|
12709
|
+
# @param [String] request_id
|
12710
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
12711
|
+
# that if you must retry your request, the server will know to ignore the
|
12712
|
+
# request if it has already been completed. For example, consider a situation
|
12713
|
+
# where you make an initial request and the request times out. If you make the
|
12714
|
+
# request again with the same request ID, the server can check if original
|
12715
|
+
# operation with the same request ID was received, and if so, will ignore the
|
12716
|
+
# second request. This prevents clients from accidentally creating duplicate
|
12717
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
12718
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
12719
|
+
# @param [String] fields
|
12720
|
+
# Selector specifying which fields to include in a partial response.
|
12721
|
+
# @param [String] quota_user
|
12722
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
12723
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
12724
|
+
# @param [String] user_ip
|
12725
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
12726
|
+
# @param [Google::Apis::RequestOptions] options
|
12727
|
+
# Request-specific options
|
12728
|
+
#
|
12729
|
+
# @yield [result, err] Result & error if block supplied
|
12730
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
12731
|
+
# @yieldparam err [StandardError] error object if request failed
|
12732
|
+
#
|
12733
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
12734
|
+
#
|
12735
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12736
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12737
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12738
|
+
def perform_instance_maintenance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12739
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/performMaintenance', options)
|
12740
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
12741
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
12742
|
+
command.params['project'] = project unless project.nil?
|
12743
|
+
command.params['zone'] = zone unless zone.nil?
|
12744
|
+
command.params['instance'] = instance unless instance.nil?
|
12745
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
12746
|
+
command.query['fields'] = fields unless fields.nil?
|
12747
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
12748
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
12749
|
+
execute_or_queue_command(command, &block)
|
12750
|
+
end
|
12751
|
+
|
12703
12752
|
# Removes resource policies from an instance.
|
12704
12753
|
# @param [String] project
|
12705
12754
|
# Project ID for this request.
|
@@ -13660,6 +13709,9 @@ module Google
|
|
13660
13709
|
# second request. This prevents clients from accidentally creating duplicate
|
13661
13710
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
13662
13711
|
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
13712
|
+
# @param [Boolean] with_extended_notifications
|
13713
|
+
# Determines whether the customers receive notifications before migration. Only
|
13714
|
+
# applicable to SF vms.
|
13663
13715
|
# @param [String] fields
|
13664
13716
|
# Selector specifying which fields to include in a partial response.
|
13665
13717
|
# @param [String] quota_user
|
@@ -13679,7 +13731,7 @@ module Google
|
|
13679
13731
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13680
13732
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13681
13733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13682
|
-
def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13734
|
+
def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, with_extended_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13683
13735
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
|
13684
13736
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
13685
13737
|
command.response_class = Google::Apis::ComputeV1::Operation
|
@@ -13687,6 +13739,7 @@ module Google
|
|
13687
13739
|
command.params['zone'] = zone unless zone.nil?
|
13688
13740
|
command.params['instance'] = instance unless instance.nil?
|
13689
13741
|
command.query['requestId'] = request_id unless request_id.nil?
|
13742
|
+
command.query['withExtendedNotifications'] = with_extended_notifications unless with_extended_notifications.nil?
|
13690
13743
|
command.query['fields'] = fields unless fields.nil?
|
13691
13744
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13692
13745
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -13810,8 +13863,9 @@ module Google
|
|
13810
13863
|
# @param [String] instance
|
13811
13864
|
# Name of the instance resource to stop.
|
13812
13865
|
# @param [Boolean] discard_local_ssd
|
13813
|
-
#
|
13814
|
-
#
|
13866
|
+
# This property is required if the instance has any attached Local SSD disks. If
|
13867
|
+
# false, Local SSD data will be preserved when the instance is suspended. If
|
13868
|
+
# true, the contents of any attached Local SSD disks will be discarded.
|
13815
13869
|
# @param [String] request_id
|
13816
13870
|
# An optional request ID to identify requests. Specify a unique request ID so
|
13817
13871
|
# that if you must retry your request, the server will know to ignore the
|
@@ -13870,8 +13924,9 @@ module Google
|
|
13870
13924
|
# @param [String] instance
|
13871
13925
|
# Name of the instance resource to suspend.
|
13872
13926
|
# @param [Boolean] discard_local_ssd
|
13873
|
-
#
|
13874
|
-
#
|
13927
|
+
# This property is required if the instance has any attached Local SSD disks. If
|
13928
|
+
# false, Local SSD data will be preserved when the instance is suspended. If
|
13929
|
+
# true, the contents of any attached Local SSD disks will be discarded.
|
13875
13930
|
# @param [String] request_id
|
13876
13931
|
# An optional request ID to identify requests. Specify a unique request ID so
|
13877
13932
|
# that if you must retry your request, the server will know to ignore the
|
@@ -26252,9 +26307,8 @@ module Google
|
|
26252
26307
|
# Lists the instances in the managed instance group and instances that are
|
26253
26308
|
# scheduled to be created. The list includes any current actions that the group
|
26254
26309
|
# has scheduled for its instances. The orderBy query parameter is not supported.
|
26255
|
-
# The `pageToken` query parameter is supported only
|
26256
|
-
#
|
26257
|
-
# PAGINATED`.
|
26310
|
+
# The `pageToken` query parameter is supported only if the group's `
|
26311
|
+
# listManagedInstancesResults` field is set to `PAGINATED`.
|
26258
26312
|
# @param [String] project
|
26259
26313
|
# Project ID for this request.
|
26260
26314
|
# @param [String] region
|
@@ -31542,6 +31596,99 @@ module Google
|
|
31542
31596
|
execute_or_queue_command(command, &block)
|
31543
31597
|
end
|
31544
31598
|
|
31599
|
+
# Retrieves the list of Zone resources under the specific region available to
|
31600
|
+
# the specified project.
|
31601
|
+
# @param [String] project
|
31602
|
+
# Project ID for this request.
|
31603
|
+
# @param [String] region
|
31604
|
+
# Region for this request.
|
31605
|
+
# @param [String] filter
|
31606
|
+
# A filter expression that filters resources listed in the response. Most
|
31607
|
+
# Compute resources support two types of filter expressions: expressions that
|
31608
|
+
# support regular expressions and expressions that follow API improvement
|
31609
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
31610
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
31611
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
31612
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
31613
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
31614
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
31615
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
31616
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
31617
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
31618
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
31619
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
31620
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
31621
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
31622
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
31623
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
31624
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
31625
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
31626
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
31627
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
31628
|
+
# un-parenthesized expression with or without quotes or against multiple
|
31629
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
31630
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
31631
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
31632
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
31633
|
+
# literal value must match the entire field. For example, to filter for
|
31634
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
31635
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
31636
|
+
# expressions.
|
31637
|
+
# @param [Fixnum] max_results
|
31638
|
+
# The maximum number of results per page that should be returned. If the number
|
31639
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
31640
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
31641
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
31642
|
+
# @param [String] order_by
|
31643
|
+
# Sorts list results by a certain order. By default, results are returned in
|
31644
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
31645
|
+
# descending order based on the creation timestamp using `orderBy="
|
31646
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
31647
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
31648
|
+
# resources like operations so that the newest operation is returned first.
|
31649
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
31650
|
+
# @param [String] page_token
|
31651
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
31652
|
+
# by a previous list request to get the next page of results.
|
31653
|
+
# @param [Boolean] return_partial_success
|
31654
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
31655
|
+
# failure. The default value is false.
|
31656
|
+
# @param [String] fields
|
31657
|
+
# Selector specifying which fields to include in a partial response.
|
31658
|
+
# @param [String] quota_user
|
31659
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
31660
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
31661
|
+
# @param [String] user_ip
|
31662
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
31663
|
+
# @param [Google::Apis::RequestOptions] options
|
31664
|
+
# Request-specific options
|
31665
|
+
#
|
31666
|
+
# @yield [result, err] Result & error if block supplied
|
31667
|
+
# @yieldparam result [Google::Apis::ComputeV1::ZoneList] parsed result object
|
31668
|
+
# @yieldparam err [StandardError] error object if request failed
|
31669
|
+
#
|
31670
|
+
# @return [Google::Apis::ComputeV1::ZoneList]
|
31671
|
+
#
|
31672
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
31673
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
31674
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
31675
|
+
def list_region_zones(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
31676
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/zones', options)
|
31677
|
+
command.response_representation = Google::Apis::ComputeV1::ZoneList::Representation
|
31678
|
+
command.response_class = Google::Apis::ComputeV1::ZoneList
|
31679
|
+
command.params['project'] = project unless project.nil?
|
31680
|
+
command.params['region'] = region unless region.nil?
|
31681
|
+
command.query['filter'] = filter unless filter.nil?
|
31682
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
31683
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
31684
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
31685
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
31686
|
+
command.query['fields'] = fields unless fields.nil?
|
31687
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
31688
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
31689
|
+
execute_or_queue_command(command, &block)
|
31690
|
+
end
|
31691
|
+
|
31545
31692
|
# Returns the specified Region resource. To decrease latency for this method,
|
31546
31693
|
# you can optionally omit any unneeded information from the response by using a
|
31547
31694
|
# field mask. This practice is especially recommended for unused quota
|
@@ -39655,8 +39802,8 @@ module Google
|
|
39655
39802
|
|
39656
39803
|
# Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-
|
39657
39804
|
# side support for SSL features. This affects connections between clients and
|
39658
|
-
# the
|
39659
|
-
#
|
39805
|
+
# the load balancer. They do not affect the connection between the load balancer
|
39806
|
+
# and the backends.
|
39660
39807
|
# @param [String] project
|
39661
39808
|
# Project ID for this request.
|
39662
39809
|
# @param [String] target_ssl_proxy
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.86.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.86.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Compute Engine API V1
|