google-apis-compute_v1 0.121.0 → 0.123.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.
@@ -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.123.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250626"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -580,6 +580,18 @@ module Google
|
|
580
580
|
include Google::Apis::Core::JsonObjectSupport
|
581
581
|
end
|
582
582
|
|
583
|
+
class BackendServiceTlsSettings
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
589
|
+
class BackendServiceTlsSettingsSubjectAltName
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
583
595
|
class BackendServiceUsedBy
|
584
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
597
|
|
@@ -670,6 +682,18 @@ module Google
|
|
670
682
|
include Google::Apis::Core::JsonObjectSupport
|
671
683
|
end
|
672
684
|
|
685
|
+
class BulkSetLabelsRequest
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
|
+
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
689
|
+
end
|
690
|
+
|
691
|
+
class BulkZoneSetLabelsRequest
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
|
+
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
695
|
+
end
|
696
|
+
|
673
697
|
class CacheInvalidationRule
|
674
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
699
|
|
@@ -3538,6 +3562,12 @@ module Google
|
|
3538
3562
|
include Google::Apis::Core::JsonObjectSupport
|
3539
3563
|
end
|
3540
3564
|
|
3565
|
+
class NetworkParams
|
3566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3567
|
+
|
3568
|
+
include Google::Apis::Core::JsonObjectSupport
|
3569
|
+
end
|
3570
|
+
|
3541
3571
|
class NetworkPeering
|
3542
3572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3543
3573
|
|
@@ -4732,6 +4762,42 @@ module Google
|
|
4732
4762
|
include Google::Apis::Core::JsonObjectSupport
|
4733
4763
|
end
|
4734
4764
|
|
4765
|
+
class ReservationSubBlock
|
4766
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4767
|
+
|
4768
|
+
include Google::Apis::Core::JsonObjectSupport
|
4769
|
+
end
|
4770
|
+
|
4771
|
+
class ReservationSubBlockPhysicalTopology
|
4772
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4773
|
+
|
4774
|
+
include Google::Apis::Core::JsonObjectSupport
|
4775
|
+
end
|
4776
|
+
|
4777
|
+
class ReservationSubBlocksGetResponse
|
4778
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4779
|
+
|
4780
|
+
include Google::Apis::Core::JsonObjectSupport
|
4781
|
+
end
|
4782
|
+
|
4783
|
+
class ReservationSubBlocksListResponse
|
4784
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4785
|
+
|
4786
|
+
class Warning
|
4787
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4788
|
+
|
4789
|
+
class Datum
|
4790
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4791
|
+
|
4792
|
+
include Google::Apis::Core::JsonObjectSupport
|
4793
|
+
end
|
4794
|
+
|
4795
|
+
include Google::Apis::Core::JsonObjectSupport
|
4796
|
+
end
|
4797
|
+
|
4798
|
+
include Google::Apis::Core::JsonObjectSupport
|
4799
|
+
end
|
4800
|
+
|
4735
4801
|
class ReservationsBlocksPerformMaintenanceRequest
|
4736
4802
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4737
4803
|
|
@@ -4924,6 +4990,12 @@ module Google
|
|
4924
4990
|
include Google::Apis::Core::JsonObjectSupport
|
4925
4991
|
end
|
4926
4992
|
|
4993
|
+
class ResourcePolicyWorkloadPolicy
|
4994
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4995
|
+
|
4996
|
+
include Google::Apis::Core::JsonObjectSupport
|
4997
|
+
end
|
4998
|
+
|
4927
4999
|
class ResourceStatus
|
4928
5000
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4929
5001
|
|
@@ -6088,6 +6160,12 @@ module Google
|
|
6088
6160
|
include Google::Apis::Core::JsonObjectSupport
|
6089
6161
|
end
|
6090
6162
|
|
6163
|
+
class SubnetworkParams
|
6164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6165
|
+
|
6166
|
+
include Google::Apis::Core::JsonObjectSupport
|
6167
|
+
end
|
6168
|
+
|
6091
6169
|
class SubnetworkSecondaryRange
|
6092
6170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6093
6171
|
|
@@ -7918,6 +7996,8 @@ module Google
|
|
7918
7996
|
property :subsetting, as: 'subsetting', class: Google::Apis::ComputeV1::Subsetting, decorator: Google::Apis::ComputeV1::Subsetting::Representation
|
7919
7997
|
|
7920
7998
|
property :timeout_sec, as: 'timeoutSec'
|
7999
|
+
property :tls_settings, as: 'tlsSettings', class: Google::Apis::ComputeV1::BackendServiceTlsSettings, decorator: Google::Apis::ComputeV1::BackendServiceTlsSettings::Representation
|
8000
|
+
|
7921
8001
|
collection :used_by, as: 'usedBy', class: Google::Apis::ComputeV1::BackendServiceUsedBy, decorator: Google::Apis::ComputeV1::BackendServiceUsedBy::Representation
|
7922
8002
|
|
7923
8003
|
end
|
@@ -8180,6 +8260,24 @@ module Google
|
|
8180
8260
|
end
|
8181
8261
|
end
|
8182
8262
|
|
8263
|
+
class BackendServiceTlsSettings
|
8264
|
+
# @private
|
8265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8266
|
+
property :authentication_config, as: 'authenticationConfig'
|
8267
|
+
property :sni, as: 'sni'
|
8268
|
+
collection :subject_alt_names, as: 'subjectAltNames', class: Google::Apis::ComputeV1::BackendServiceTlsSettingsSubjectAltName, decorator: Google::Apis::ComputeV1::BackendServiceTlsSettingsSubjectAltName::Representation
|
8269
|
+
|
8270
|
+
end
|
8271
|
+
end
|
8272
|
+
|
8273
|
+
class BackendServiceTlsSettingsSubjectAltName
|
8274
|
+
# @private
|
8275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8276
|
+
property :dns_name, as: 'dnsName'
|
8277
|
+
property :uniform_resource_identifier, as: 'uniformResourceIdentifier'
|
8278
|
+
end
|
8279
|
+
end
|
8280
|
+
|
8183
8281
|
class BackendServiceUsedBy
|
8184
8282
|
# @private
|
8185
8283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8348,6 +8446,22 @@ module Google
|
|
8348
8446
|
end
|
8349
8447
|
end
|
8350
8448
|
|
8449
|
+
class BulkSetLabelsRequest
|
8450
|
+
# @private
|
8451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8452
|
+
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
8453
|
+
hash :labels, as: 'labels'
|
8454
|
+
end
|
8455
|
+
end
|
8456
|
+
|
8457
|
+
class BulkZoneSetLabelsRequest
|
8458
|
+
# @private
|
8459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8460
|
+
collection :requests, as: 'requests', class: Google::Apis::ComputeV1::BulkSetLabelsRequest, decorator: Google::Apis::ComputeV1::BulkSetLabelsRequest::Representation
|
8461
|
+
|
8462
|
+
end
|
8463
|
+
end
|
8464
|
+
|
8351
8465
|
class CacheInvalidationRule
|
8352
8466
|
# @private
|
8353
8467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9361,6 +9475,7 @@ module Google
|
|
9361
9475
|
collection :dest_address_groups, as: 'destAddressGroups'
|
9362
9476
|
collection :dest_fqdns, as: 'destFqdns'
|
9363
9477
|
collection :dest_ip_ranges, as: 'destIpRanges'
|
9478
|
+
property :dest_network_type, as: 'destNetworkType'
|
9364
9479
|
collection :dest_region_codes, as: 'destRegionCodes'
|
9365
9480
|
collection :dest_threat_intelligences, as: 'destThreatIntelligences'
|
9366
9481
|
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config::Representation
|
@@ -9368,6 +9483,8 @@ module Google
|
|
9368
9483
|
collection :src_address_groups, as: 'srcAddressGroups'
|
9369
9484
|
collection :src_fqdns, as: 'srcFqdns'
|
9370
9485
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
9486
|
+
property :src_network_type, as: 'srcNetworkType'
|
9487
|
+
collection :src_networks, as: 'srcNetworks'
|
9371
9488
|
collection :src_region_codes, as: 'srcRegionCodes'
|
9372
9489
|
collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag::Representation
|
9373
9490
|
|
@@ -9435,6 +9552,7 @@ module Google
|
|
9435
9552
|
property :psc_connection_status, as: 'pscConnectionStatus'
|
9436
9553
|
property :region, as: 'region'
|
9437
9554
|
property :self_link, as: 'selfLink'
|
9555
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
9438
9556
|
collection :service_directory_registrations, as: 'serviceDirectoryRegistrations', class: Google::Apis::ComputeV1::ForwardingRuleServiceDirectoryRegistration, decorator: Google::Apis::ComputeV1::ForwardingRuleServiceDirectoryRegistration::Representation
|
9439
9557
|
|
9440
9558
|
property :service_label, as: 'serviceLabel'
|
@@ -9621,9 +9739,13 @@ module Google
|
|
9621
9739
|
class GroupMaintenanceInfo
|
9622
9740
|
# @private
|
9623
9741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9742
|
+
property :instance_maintenance_ongoing_count, as: 'instanceMaintenanceOngoingCount'
|
9743
|
+
property :instance_maintenance_pending_count, as: 'instanceMaintenancePendingCount'
|
9624
9744
|
property :maintenance_ongoing_count, as: 'maintenanceOngoingCount'
|
9625
9745
|
property :maintenance_pending_count, as: 'maintenancePendingCount'
|
9626
9746
|
property :scheduling_type, as: 'schedulingType'
|
9747
|
+
property :subblock_infra_maintenance_ongoing_count, as: 'subblockInfraMaintenanceOngoingCount'
|
9748
|
+
property :subblock_infra_maintenance_pending_count, as: 'subblockInfraMaintenancePendingCount'
|
9627
9749
|
property :upcoming_group_maintenance, as: 'upcomingGroupMaintenance', class: Google::Apis::ComputeV1::UpcomingMaintenance, decorator: Google::Apis::ComputeV1::UpcomingMaintenance::Representation
|
9628
9750
|
|
9629
9751
|
end
|
@@ -13218,6 +13340,8 @@ module Google
|
|
13218
13340
|
property :name, as: 'name'
|
13219
13341
|
property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
|
13220
13342
|
property :network_profile, as: 'networkProfile'
|
13343
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::NetworkParams, decorator: Google::Apis::ComputeV1::NetworkParams::Representation
|
13344
|
+
|
13221
13345
|
collection :peerings, as: 'peerings', class: Google::Apis::ComputeV1::NetworkPeering, decorator: Google::Apis::ComputeV1::NetworkPeering::Representation
|
13222
13346
|
|
13223
13347
|
property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeV1::NetworkRoutingConfig, decorator: Google::Apis::ComputeV1::NetworkRoutingConfig::Representation
|
@@ -13758,6 +13882,13 @@ module Google
|
|
13758
13882
|
end
|
13759
13883
|
end
|
13760
13884
|
|
13885
|
+
class NetworkParams
|
13886
|
+
# @private
|
13887
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13888
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
13889
|
+
end
|
13890
|
+
end
|
13891
|
+
|
13761
13892
|
class NetworkPeering
|
13762
13893
|
# @private
|
13763
13894
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15785,6 +15916,7 @@ module Google
|
|
15785
15916
|
property :delete_at_time, as: 'deleteAtTime'
|
15786
15917
|
property :deployment_type, as: 'deploymentType'
|
15787
15918
|
property :description, as: 'description'
|
15919
|
+
property :enable_emergent_maintenance, as: 'enableEmergentMaintenance'
|
15788
15920
|
property :id, :numeric_string => true, as: 'id'
|
15789
15921
|
property :kind, as: 'kind'
|
15790
15922
|
collection :linked_commitments, as: 'linkedCommitments'
|
@@ -15861,6 +15993,8 @@ module Google
|
|
15861
15993
|
|
15862
15994
|
property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeV1::GroupMaintenanceInfo, decorator: Google::Apis::ComputeV1::GroupMaintenanceInfo::Representation
|
15863
15995
|
|
15996
|
+
property :reservation_sub_block_count, as: 'reservationSubBlockCount'
|
15997
|
+
property :reservation_sub_block_in_use_count, as: 'reservationSubBlockInUseCount'
|
15864
15998
|
property :self_link, as: 'selfLink'
|
15865
15999
|
property :self_link_with_id, as: 'selfLinkWithId'
|
15866
16000
|
property :status, as: 'status'
|
@@ -15948,6 +16082,75 @@ module Google
|
|
15948
16082
|
end
|
15949
16083
|
end
|
15950
16084
|
|
16085
|
+
class ReservationSubBlock
|
16086
|
+
# @private
|
16087
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16088
|
+
property :count, as: 'count'
|
16089
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
16090
|
+
property :id, :numeric_string => true, as: 'id'
|
16091
|
+
property :in_use_count, as: 'inUseCount'
|
16092
|
+
property :kind, as: 'kind'
|
16093
|
+
property :name, as: 'name'
|
16094
|
+
property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology::Representation
|
16095
|
+
|
16096
|
+
property :reservation_sub_block_maintenance, as: 'reservationSubBlockMaintenance', class: Google::Apis::ComputeV1::GroupMaintenanceInfo, decorator: Google::Apis::ComputeV1::GroupMaintenanceInfo::Representation
|
16097
|
+
|
16098
|
+
property :self_link, as: 'selfLink'
|
16099
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
16100
|
+
property :status, as: 'status'
|
16101
|
+
property :zone, as: 'zone'
|
16102
|
+
end
|
16103
|
+
end
|
16104
|
+
|
16105
|
+
class ReservationSubBlockPhysicalTopology
|
16106
|
+
# @private
|
16107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16108
|
+
property :block, as: 'block'
|
16109
|
+
property :cluster, as: 'cluster'
|
16110
|
+
property :sub_block, as: 'subBlock'
|
16111
|
+
end
|
16112
|
+
end
|
16113
|
+
|
16114
|
+
class ReservationSubBlocksGetResponse
|
16115
|
+
# @private
|
16116
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16117
|
+
property :resource, as: 'resource', class: Google::Apis::ComputeV1::ReservationSubBlock, decorator: Google::Apis::ComputeV1::ReservationSubBlock::Representation
|
16118
|
+
|
16119
|
+
end
|
16120
|
+
end
|
16121
|
+
|
16122
|
+
class ReservationSubBlocksListResponse
|
16123
|
+
# @private
|
16124
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16125
|
+
property :id, as: 'id'
|
16126
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::ReservationSubBlock, decorator: Google::Apis::ComputeV1::ReservationSubBlock::Representation
|
16127
|
+
|
16128
|
+
property :kind, as: 'kind'
|
16129
|
+
property :next_page_token, as: 'nextPageToken'
|
16130
|
+
property :self_link, as: 'selfLink'
|
16131
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Warning, decorator: Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Warning::Representation
|
16132
|
+
|
16133
|
+
end
|
16134
|
+
|
16135
|
+
class Warning
|
16136
|
+
# @private
|
16137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16138
|
+
property :code, as: 'code'
|
16139
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Warning::Datum, decorator: Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Warning::Datum::Representation
|
16140
|
+
|
16141
|
+
property :message, as: 'message'
|
16142
|
+
end
|
16143
|
+
|
16144
|
+
class Datum
|
16145
|
+
# @private
|
16146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16147
|
+
property :key, as: 'key'
|
16148
|
+
property :value, as: 'value'
|
16149
|
+
end
|
16150
|
+
end
|
16151
|
+
end
|
16152
|
+
end
|
16153
|
+
|
15951
16154
|
class ReservationsBlocksPerformMaintenanceRequest
|
15952
16155
|
# @private
|
15953
16156
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16062,6 +16265,8 @@ module Google
|
|
16062
16265
|
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicy::Representation
|
16063
16266
|
|
16064
16267
|
property :status, as: 'status'
|
16268
|
+
property :workload_policy, as: 'workloadPolicy', class: Google::Apis::ComputeV1::ResourcePolicyWorkloadPolicy, decorator: Google::Apis::ComputeV1::ResourcePolicyWorkloadPolicy::Representation
|
16269
|
+
|
16065
16270
|
end
|
16066
16271
|
end
|
16067
16272
|
|
@@ -16119,6 +16324,7 @@ module Google
|
|
16119
16324
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16120
16325
|
property :availability_domain_count, as: 'availabilityDomainCount'
|
16121
16326
|
property :collocation, as: 'collocation'
|
16327
|
+
property :gpu_topology, as: 'gpuTopology'
|
16122
16328
|
property :vm_count, as: 'vmCount'
|
16123
16329
|
end
|
16124
16330
|
end
|
@@ -16260,6 +16466,15 @@ module Google
|
|
16260
16466
|
end
|
16261
16467
|
end
|
16262
16468
|
|
16469
|
+
class ResourcePolicyWorkloadPolicy
|
16470
|
+
# @private
|
16471
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16472
|
+
property :accelerator_topology, as: 'acceleratorTopology'
|
16473
|
+
property :max_topology_distance, as: 'maxTopologyDistance'
|
16474
|
+
property :type, as: 'type'
|
16475
|
+
end
|
16476
|
+
end
|
16477
|
+
|
16263
16478
|
class ResourceStatus
|
16264
16479
|
# @private
|
16265
16480
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -18423,6 +18638,8 @@ module Google
|
|
18423
18638
|
|
18424
18639
|
property :name, as: 'name'
|
18425
18640
|
property :network, as: 'network'
|
18641
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::SubnetworkParams, decorator: Google::Apis::ComputeV1::SubnetworkParams::Representation
|
18642
|
+
|
18426
18643
|
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
18427
18644
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
18428
18645
|
property :purpose, as: 'purpose'
|
@@ -18516,6 +18733,13 @@ module Google
|
|
18516
18733
|
end
|
18517
18734
|
end
|
18518
18735
|
|
18736
|
+
class SubnetworkParams
|
18737
|
+
# @private
|
18738
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
18739
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
18740
|
+
end
|
18741
|
+
end
|
18742
|
+
|
18519
18743
|
class SubnetworkSecondaryRange
|
18520
18744
|
# @private
|
18521
18745
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3116,6 +3116,60 @@ module Google
|
|
3116
3116
|
execute_or_queue_command(command, &block)
|
3117
3117
|
end
|
3118
3118
|
|
3119
|
+
# Sets the labels on many disks at once. To learn more about labels, read the
|
3120
|
+
# Labeling Resources documentation.
|
3121
|
+
# @param [String] project
|
3122
|
+
# Project ID for this request.
|
3123
|
+
# @param [String] zone
|
3124
|
+
# The name of the zone for this request.
|
3125
|
+
# @param [Google::Apis::ComputeV1::BulkZoneSetLabelsRequest] bulk_zone_set_labels_request_object
|
3126
|
+
# @param [String] request_id
|
3127
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
3128
|
+
# that if you must retry your request, the server will know to ignore the
|
3129
|
+
# request if it has already been completed. For example, consider a situation
|
3130
|
+
# where you make an initial request and the request times out. If you make the
|
3131
|
+
# request again with the same request ID, the server can check if original
|
3132
|
+
# operation with the same request ID was received, and if so, will ignore the
|
3133
|
+
# second request. This prevents clients from accidentally creating duplicate
|
3134
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
3135
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
3136
|
+
# @param [String] resource
|
3137
|
+
# Name or id of the resource for this request.
|
3138
|
+
# @param [String] fields
|
3139
|
+
# Selector specifying which fields to include in a partial response.
|
3140
|
+
# @param [String] quota_user
|
3141
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3142
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3143
|
+
# @param [String] user_ip
|
3144
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
3145
|
+
# @param [Google::Apis::RequestOptions] options
|
3146
|
+
# Request-specific options
|
3147
|
+
#
|
3148
|
+
# @yield [result, err] Result & error if block supplied
|
3149
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
3150
|
+
# @yieldparam err [StandardError] error object if request failed
|
3151
|
+
#
|
3152
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
3153
|
+
#
|
3154
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3155
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3156
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3157
|
+
def bulk_disk_set_labels(project, zone, bulk_zone_set_labels_request_object = nil, request_id: nil, resource: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3158
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/bulkSetLabels', options)
|
3159
|
+
command.request_representation = Google::Apis::ComputeV1::BulkZoneSetLabelsRequest::Representation
|
3160
|
+
command.request_object = bulk_zone_set_labels_request_object
|
3161
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
3162
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
3163
|
+
command.params['project'] = project unless project.nil?
|
3164
|
+
command.params['zone'] = zone unless zone.nil?
|
3165
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3166
|
+
command.query['resource'] = resource unless resource.nil?
|
3167
|
+
command.query['fields'] = fields unless fields.nil?
|
3168
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3169
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
3170
|
+
execute_or_queue_command(command, &block)
|
3171
|
+
end
|
3172
|
+
|
3119
3173
|
# Creates a snapshot of a specified persistent disk. For regular snapshot
|
3120
3174
|
# creation, consider using snapshots.insert instead, as that method supports
|
3121
3175
|
# more features, such as creating snapshots in a project different from the
|
@@ -35869,6 +35923,203 @@ module Google
|
|
35869
35923
|
execute_or_queue_command(command, &block)
|
35870
35924
|
end
|
35871
35925
|
|
35926
|
+
# Retrieves information about the specified reservation subBlock.
|
35927
|
+
# @param [String] project
|
35928
|
+
# Project ID for this request.
|
35929
|
+
# @param [String] zone
|
35930
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
35931
|
+
# @param [String] parent_name
|
35932
|
+
# The name of the parent reservation and parent block. In the format of
|
35933
|
+
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
|
35934
|
+
# @param [String] reservation_sub_block
|
35935
|
+
# The name of the reservation subBlock. Name should conform to RFC1035 or be a
|
35936
|
+
# resource ID.
|
35937
|
+
# @param [String] fields
|
35938
|
+
# Selector specifying which fields to include in a partial response.
|
35939
|
+
# @param [String] quota_user
|
35940
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
35941
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
35942
|
+
# @param [String] user_ip
|
35943
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
35944
|
+
# @param [Google::Apis::RequestOptions] options
|
35945
|
+
# Request-specific options
|
35946
|
+
#
|
35947
|
+
# @yield [result, err] Result & error if block supplied
|
35948
|
+
# @yieldparam result [Google::Apis::ComputeV1::ReservationSubBlocksGetResponse] parsed result object
|
35949
|
+
# @yieldparam err [StandardError] error object if request failed
|
35950
|
+
#
|
35951
|
+
# @return [Google::Apis::ComputeV1::ReservationSubBlocksGetResponse]
|
35952
|
+
#
|
35953
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35954
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35955
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35956
|
+
def get_reservation_sub_block(project, zone, parent_name, reservation_sub_block, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35957
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}', options)
|
35958
|
+
command.response_representation = Google::Apis::ComputeV1::ReservationSubBlocksGetResponse::Representation
|
35959
|
+
command.response_class = Google::Apis::ComputeV1::ReservationSubBlocksGetResponse
|
35960
|
+
command.params['project'] = project unless project.nil?
|
35961
|
+
command.params['zone'] = zone unless zone.nil?
|
35962
|
+
command.params['parentName'] = parent_name unless parent_name.nil?
|
35963
|
+
command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
|
35964
|
+
command.query['fields'] = fields unless fields.nil?
|
35965
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35966
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
35967
|
+
execute_or_queue_command(command, &block)
|
35968
|
+
end
|
35969
|
+
|
35970
|
+
# Retrieves a list of reservation subBlocks under a single reservation.
|
35971
|
+
# @param [String] project
|
35972
|
+
# Project ID for this request.
|
35973
|
+
# @param [String] zone
|
35974
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
35975
|
+
# @param [String] parent_name
|
35976
|
+
# The name of the parent reservation and parent block. In the format of
|
35977
|
+
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
|
35978
|
+
# @param [String] filter
|
35979
|
+
# A filter expression that filters resources listed in the response. Most
|
35980
|
+
# Compute resources support two types of filter expressions: expressions that
|
35981
|
+
# support regular expressions and expressions that follow API improvement
|
35982
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
35983
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
35984
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
35985
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
35986
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
35987
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
35988
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
35989
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
35990
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
35991
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
35992
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
35993
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
35994
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
35995
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
35996
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
35997
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
35998
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
35999
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
36000
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
36001
|
+
# un-parenthesized expression with or without quotes or against multiple
|
36002
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
36003
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
36004
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
36005
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
36006
|
+
# literal value must match the entire field. For example, to filter for
|
36007
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
36008
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
36009
|
+
# expressions.
|
36010
|
+
# @param [Fixnum] max_results
|
36011
|
+
# The maximum number of results per page that should be returned. If the number
|
36012
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
36013
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
36014
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
36015
|
+
# @param [String] order_by
|
36016
|
+
# Sorts list results by a certain order. By default, results are returned in
|
36017
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
36018
|
+
# descending order based on the creation timestamp using `orderBy="
|
36019
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
36020
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
36021
|
+
# resources like operations so that the newest operation is returned first.
|
36022
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
36023
|
+
# @param [String] page_token
|
36024
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
36025
|
+
# by a previous list request to get the next page of results.
|
36026
|
+
# @param [Boolean] return_partial_success
|
36027
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
36028
|
+
# failure. The default value is false. For example, when partial success
|
36029
|
+
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
36030
|
+
# resources in the zone or no resources, with an error code.
|
36031
|
+
# @param [String] fields
|
36032
|
+
# Selector specifying which fields to include in a partial response.
|
36033
|
+
# @param [String] quota_user
|
36034
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36035
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36036
|
+
# @param [String] user_ip
|
36037
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36038
|
+
# @param [Google::Apis::RequestOptions] options
|
36039
|
+
# Request-specific options
|
36040
|
+
#
|
36041
|
+
# @yield [result, err] Result & error if block supplied
|
36042
|
+
# @yieldparam result [Google::Apis::ComputeV1::ReservationSubBlocksListResponse] parsed result object
|
36043
|
+
# @yieldparam err [StandardError] error object if request failed
|
36044
|
+
#
|
36045
|
+
# @return [Google::Apis::ComputeV1::ReservationSubBlocksListResponse]
|
36046
|
+
#
|
36047
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36048
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36049
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36050
|
+
def list_reservation_sub_blocks(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)
|
36051
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks', options)
|
36052
|
+
command.response_representation = Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Representation
|
36053
|
+
command.response_class = Google::Apis::ComputeV1::ReservationSubBlocksListResponse
|
36054
|
+
command.params['project'] = project unless project.nil?
|
36055
|
+
command.params['zone'] = zone unless zone.nil?
|
36056
|
+
command.params['parentName'] = parent_name unless parent_name.nil?
|
36057
|
+
command.query['filter'] = filter unless filter.nil?
|
36058
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
36059
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
36060
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
36061
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
36062
|
+
command.query['fields'] = fields unless fields.nil?
|
36063
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36064
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36065
|
+
execute_or_queue_command(command, &block)
|
36066
|
+
end
|
36067
|
+
|
36068
|
+
# Allows customers to perform maintenance on a reservation subBlock
|
36069
|
+
# @param [String] project
|
36070
|
+
# Project ID for this request.
|
36071
|
+
# @param [String] zone
|
36072
|
+
# Name of the zone for this request. Zone name should conform to RFC1035.
|
36073
|
+
# @param [String] parent_name
|
36074
|
+
# The name of the parent reservation and parent block. In the format of
|
36075
|
+
# reservations/`reservation_name`/reservationBlocks/`reservation_block_name`
|
36076
|
+
# @param [String] reservation_sub_block
|
36077
|
+
# The name of the reservation subBlock. Name should conform to RFC1035 or be a
|
36078
|
+
# resource ID.
|
36079
|
+
# @param [String] request_id
|
36080
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
36081
|
+
# that if you must retry your request, the server will know to ignore the
|
36082
|
+
# request if it has already been completed. For example, consider a situation
|
36083
|
+
# where you make an initial request and the request times out. If you make the
|
36084
|
+
# request again with the same request ID, the server can check if original
|
36085
|
+
# operation with the same request ID was received, and if so, will ignore the
|
36086
|
+
# second request. This prevents clients from accidentally creating duplicate
|
36087
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
36088
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
36089
|
+
# @param [String] fields
|
36090
|
+
# Selector specifying which fields to include in a partial response.
|
36091
|
+
# @param [String] quota_user
|
36092
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36093
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36094
|
+
# @param [String] user_ip
|
36095
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36096
|
+
# @param [Google::Apis::RequestOptions] options
|
36097
|
+
# Request-specific options
|
36098
|
+
#
|
36099
|
+
# @yield [result, err] Result & error if block supplied
|
36100
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
36101
|
+
# @yieldparam err [StandardError] error object if request failed
|
36102
|
+
#
|
36103
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
36104
|
+
#
|
36105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36108
|
+
def perform_reservation_sub_block_maintenance(project, zone, parent_name, reservation_sub_block, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36109
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance', options)
|
36110
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
36111
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
36112
|
+
command.params['project'] = project unless project.nil?
|
36113
|
+
command.params['zone'] = zone unless zone.nil?
|
36114
|
+
command.params['parentName'] = parent_name unless parent_name.nil?
|
36115
|
+
command.params['reservationSubBlock'] = reservation_sub_block unless reservation_sub_block.nil?
|
36116
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
36117
|
+
command.query['fields'] = fields unless fields.nil?
|
36118
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36119
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36120
|
+
execute_or_queue_command(command, &block)
|
36121
|
+
end
|
36122
|
+
|
35872
36123
|
# Retrieves an aggregated list of reservations. To prevent failure, Google
|
35873
36124
|
# recommends that you set the `returnPartialSuccess` parameter to `true`.
|
35874
36125
|
# @param [String] project
|