google-apis-compute_v1 0.120.0 → 0.122.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.122.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 = "20250601"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -670,6 +670,18 @@ module Google
|
|
670
670
|
include Google::Apis::Core::JsonObjectSupport
|
671
671
|
end
|
672
672
|
|
673
|
+
class BulkSetLabelsRequest
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
679
|
+
class BulkZoneSetLabelsRequest
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
673
685
|
class CacheInvalidationRule
|
674
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
687
|
|
@@ -1144,6 +1156,12 @@ module Google
|
|
1144
1156
|
include Google::Apis::Core::JsonObjectSupport
|
1145
1157
|
end
|
1146
1158
|
|
1159
|
+
class FirewallParams
|
1160
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1161
|
+
|
1162
|
+
include Google::Apis::Core::JsonObjectSupport
|
1163
|
+
end
|
1164
|
+
|
1147
1165
|
class FirewallPoliciesListAssociationsResponse
|
1148
1166
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
1167
|
|
@@ -3532,6 +3550,12 @@ module Google
|
|
3532
3550
|
include Google::Apis::Core::JsonObjectSupport
|
3533
3551
|
end
|
3534
3552
|
|
3553
|
+
class NetworkParams
|
3554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3555
|
+
|
3556
|
+
include Google::Apis::Core::JsonObjectSupport
|
3557
|
+
end
|
3558
|
+
|
3535
3559
|
class NetworkPeering
|
3536
3560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3537
3561
|
|
@@ -4726,6 +4750,42 @@ module Google
|
|
4726
4750
|
include Google::Apis::Core::JsonObjectSupport
|
4727
4751
|
end
|
4728
4752
|
|
4753
|
+
class ReservationSubBlock
|
4754
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4755
|
+
|
4756
|
+
include Google::Apis::Core::JsonObjectSupport
|
4757
|
+
end
|
4758
|
+
|
4759
|
+
class ReservationSubBlockPhysicalTopology
|
4760
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4761
|
+
|
4762
|
+
include Google::Apis::Core::JsonObjectSupport
|
4763
|
+
end
|
4764
|
+
|
4765
|
+
class ReservationSubBlocksGetResponse
|
4766
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4767
|
+
|
4768
|
+
include Google::Apis::Core::JsonObjectSupport
|
4769
|
+
end
|
4770
|
+
|
4771
|
+
class ReservationSubBlocksListResponse
|
4772
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4773
|
+
|
4774
|
+
class Warning
|
4775
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4776
|
+
|
4777
|
+
class Datum
|
4778
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4779
|
+
|
4780
|
+
include Google::Apis::Core::JsonObjectSupport
|
4781
|
+
end
|
4782
|
+
|
4783
|
+
include Google::Apis::Core::JsonObjectSupport
|
4784
|
+
end
|
4785
|
+
|
4786
|
+
include Google::Apis::Core::JsonObjectSupport
|
4787
|
+
end
|
4788
|
+
|
4729
4789
|
class ReservationsBlocksPerformMaintenanceRequest
|
4730
4790
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4731
4791
|
|
@@ -4918,6 +4978,12 @@ module Google
|
|
4918
4978
|
include Google::Apis::Core::JsonObjectSupport
|
4919
4979
|
end
|
4920
4980
|
|
4981
|
+
class ResourcePolicyWorkloadPolicy
|
4982
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4983
|
+
|
4984
|
+
include Google::Apis::Core::JsonObjectSupport
|
4985
|
+
end
|
4986
|
+
|
4921
4987
|
class ResourceStatus
|
4922
4988
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4923
4989
|
|
@@ -4978,6 +5044,12 @@ module Google
|
|
4978
5044
|
include Google::Apis::Core::JsonObjectSupport
|
4979
5045
|
end
|
4980
5046
|
|
5047
|
+
class RouteParams
|
5048
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5049
|
+
|
5050
|
+
include Google::Apis::Core::JsonObjectSupport
|
5051
|
+
end
|
5052
|
+
|
4981
5053
|
class RoutePolicy
|
4982
5054
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4983
5055
|
|
@@ -6076,6 +6148,12 @@ module Google
|
|
6076
6148
|
include Google::Apis::Core::JsonObjectSupport
|
6077
6149
|
end
|
6078
6150
|
|
6151
|
+
class SubnetworkParams
|
6152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6153
|
+
|
6154
|
+
include Google::Apis::Core::JsonObjectSupport
|
6155
|
+
end
|
6156
|
+
|
6079
6157
|
class SubnetworkSecondaryRange
|
6080
6158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6081
6159
|
|
@@ -8336,6 +8414,22 @@ module Google
|
|
8336
8414
|
end
|
8337
8415
|
end
|
8338
8416
|
|
8417
|
+
class BulkSetLabelsRequest
|
8418
|
+
# @private
|
8419
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8420
|
+
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
8421
|
+
hash :labels, as: 'labels'
|
8422
|
+
end
|
8423
|
+
end
|
8424
|
+
|
8425
|
+
class BulkZoneSetLabelsRequest
|
8426
|
+
# @private
|
8427
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8428
|
+
collection :requests, as: 'requests', class: Google::Apis::ComputeV1::BulkSetLabelsRequest, decorator: Google::Apis::ComputeV1::BulkSetLabelsRequest::Representation
|
8429
|
+
|
8430
|
+
end
|
8431
|
+
end
|
8432
|
+
|
8339
8433
|
class CacheInvalidationRule
|
8340
8434
|
# @private
|
8341
8435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9141,6 +9235,8 @@ module Google
|
|
9141
9235
|
|
9142
9236
|
property :name, as: 'name'
|
9143
9237
|
property :network, as: 'network'
|
9238
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::FirewallParams, decorator: Google::Apis::ComputeV1::FirewallParams::Representation
|
9239
|
+
|
9144
9240
|
property :priority, as: 'priority'
|
9145
9241
|
property :self_link, as: 'selfLink'
|
9146
9242
|
collection :source_ranges, as: 'sourceRanges'
|
@@ -9207,6 +9303,13 @@ module Google
|
|
9207
9303
|
end
|
9208
9304
|
end
|
9209
9305
|
|
9306
|
+
class FirewallParams
|
9307
|
+
# @private
|
9308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9309
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
9310
|
+
end
|
9311
|
+
end
|
9312
|
+
|
9210
9313
|
class FirewallPoliciesListAssociationsResponse
|
9211
9314
|
# @private
|
9212
9315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9340,6 +9443,7 @@ module Google
|
|
9340
9443
|
collection :dest_address_groups, as: 'destAddressGroups'
|
9341
9444
|
collection :dest_fqdns, as: 'destFqdns'
|
9342
9445
|
collection :dest_ip_ranges, as: 'destIpRanges'
|
9446
|
+
property :dest_network_type, as: 'destNetworkType'
|
9343
9447
|
collection :dest_region_codes, as: 'destRegionCodes'
|
9344
9448
|
collection :dest_threat_intelligences, as: 'destThreatIntelligences'
|
9345
9449
|
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config::Representation
|
@@ -9347,6 +9451,8 @@ module Google
|
|
9347
9451
|
collection :src_address_groups, as: 'srcAddressGroups'
|
9348
9452
|
collection :src_fqdns, as: 'srcFqdns'
|
9349
9453
|
collection :src_ip_ranges, as: 'srcIpRanges'
|
9454
|
+
property :src_network_type, as: 'srcNetworkType'
|
9455
|
+
collection :src_networks, as: 'srcNetworks'
|
9350
9456
|
collection :src_region_codes, as: 'srcRegionCodes'
|
9351
9457
|
collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag::Representation
|
9352
9458
|
|
@@ -9414,6 +9520,7 @@ module Google
|
|
9414
9520
|
property :psc_connection_status, as: 'pscConnectionStatus'
|
9415
9521
|
property :region, as: 'region'
|
9416
9522
|
property :self_link, as: 'selfLink'
|
9523
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
9417
9524
|
collection :service_directory_registrations, as: 'serviceDirectoryRegistrations', class: Google::Apis::ComputeV1::ForwardingRuleServiceDirectoryRegistration, decorator: Google::Apis::ComputeV1::ForwardingRuleServiceDirectoryRegistration::Representation
|
9418
9525
|
|
9419
9526
|
property :service_label, as: 'serviceLabel'
|
@@ -13197,6 +13304,8 @@ module Google
|
|
13197
13304
|
property :name, as: 'name'
|
13198
13305
|
property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
|
13199
13306
|
property :network_profile, as: 'networkProfile'
|
13307
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::NetworkParams, decorator: Google::Apis::ComputeV1::NetworkParams::Representation
|
13308
|
+
|
13200
13309
|
collection :peerings, as: 'peerings', class: Google::Apis::ComputeV1::NetworkPeering, decorator: Google::Apis::ComputeV1::NetworkPeering::Representation
|
13201
13310
|
|
13202
13311
|
property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeV1::NetworkRoutingConfig, decorator: Google::Apis::ComputeV1::NetworkRoutingConfig::Representation
|
@@ -13737,6 +13846,13 @@ module Google
|
|
13737
13846
|
end
|
13738
13847
|
end
|
13739
13848
|
|
13849
|
+
class NetworkParams
|
13850
|
+
# @private
|
13851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13852
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
13853
|
+
end
|
13854
|
+
end
|
13855
|
+
|
13740
13856
|
class NetworkPeering
|
13741
13857
|
# @private
|
13742
13858
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15764,6 +15880,7 @@ module Google
|
|
15764
15880
|
property :delete_at_time, as: 'deleteAtTime'
|
15765
15881
|
property :deployment_type, as: 'deploymentType'
|
15766
15882
|
property :description, as: 'description'
|
15883
|
+
property :enable_emergent_maintenance, as: 'enableEmergentMaintenance'
|
15767
15884
|
property :id, :numeric_string => true, as: 'id'
|
15768
15885
|
property :kind, as: 'kind'
|
15769
15886
|
collection :linked_commitments, as: 'linkedCommitments'
|
@@ -15840,6 +15957,8 @@ module Google
|
|
15840
15957
|
|
15841
15958
|
property :reservation_maintenance, as: 'reservationMaintenance', class: Google::Apis::ComputeV1::GroupMaintenanceInfo, decorator: Google::Apis::ComputeV1::GroupMaintenanceInfo::Representation
|
15842
15959
|
|
15960
|
+
property :reservation_sub_block_count, as: 'reservationSubBlockCount'
|
15961
|
+
property :reservation_sub_block_in_use_count, as: 'reservationSubBlockInUseCount'
|
15843
15962
|
property :self_link, as: 'selfLink'
|
15844
15963
|
property :self_link_with_id, as: 'selfLinkWithId'
|
15845
15964
|
property :status, as: 'status'
|
@@ -15927,6 +16046,73 @@ module Google
|
|
15927
16046
|
end
|
15928
16047
|
end
|
15929
16048
|
|
16049
|
+
class ReservationSubBlock
|
16050
|
+
# @private
|
16051
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16052
|
+
property :count, as: 'count'
|
16053
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
16054
|
+
property :id, :numeric_string => true, as: 'id'
|
16055
|
+
property :in_use_count, as: 'inUseCount'
|
16056
|
+
property :kind, as: 'kind'
|
16057
|
+
property :name, as: 'name'
|
16058
|
+
property :physical_topology, as: 'physicalTopology', class: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology, decorator: Google::Apis::ComputeV1::ReservationSubBlockPhysicalTopology::Representation
|
16059
|
+
|
16060
|
+
property :self_link, as: 'selfLink'
|
16061
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
16062
|
+
property :status, as: 'status'
|
16063
|
+
property :zone, as: 'zone'
|
16064
|
+
end
|
16065
|
+
end
|
16066
|
+
|
16067
|
+
class ReservationSubBlockPhysicalTopology
|
16068
|
+
# @private
|
16069
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16070
|
+
property :block, as: 'block'
|
16071
|
+
property :cluster, as: 'cluster'
|
16072
|
+
property :sub_block, as: 'subBlock'
|
16073
|
+
end
|
16074
|
+
end
|
16075
|
+
|
16076
|
+
class ReservationSubBlocksGetResponse
|
16077
|
+
# @private
|
16078
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16079
|
+
property :resource, as: 'resource', class: Google::Apis::ComputeV1::ReservationSubBlock, decorator: Google::Apis::ComputeV1::ReservationSubBlock::Representation
|
16080
|
+
|
16081
|
+
end
|
16082
|
+
end
|
16083
|
+
|
16084
|
+
class ReservationSubBlocksListResponse
|
16085
|
+
# @private
|
16086
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16087
|
+
property :id, as: 'id'
|
16088
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::ReservationSubBlock, decorator: Google::Apis::ComputeV1::ReservationSubBlock::Representation
|
16089
|
+
|
16090
|
+
property :kind, as: 'kind'
|
16091
|
+
property :next_page_token, as: 'nextPageToken'
|
16092
|
+
property :self_link, as: 'selfLink'
|
16093
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Warning, decorator: Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Warning::Representation
|
16094
|
+
|
16095
|
+
end
|
16096
|
+
|
16097
|
+
class Warning
|
16098
|
+
# @private
|
16099
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16100
|
+
property :code, as: 'code'
|
16101
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Warning::Datum, decorator: Google::Apis::ComputeV1::ReservationSubBlocksListResponse::Warning::Datum::Representation
|
16102
|
+
|
16103
|
+
property :message, as: 'message'
|
16104
|
+
end
|
16105
|
+
|
16106
|
+
class Datum
|
16107
|
+
# @private
|
16108
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16109
|
+
property :key, as: 'key'
|
16110
|
+
property :value, as: 'value'
|
16111
|
+
end
|
16112
|
+
end
|
16113
|
+
end
|
16114
|
+
end
|
16115
|
+
|
15930
16116
|
class ReservationsBlocksPerformMaintenanceRequest
|
15931
16117
|
# @private
|
15932
16118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16041,6 +16227,8 @@ module Google
|
|
16041
16227
|
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicy::Representation
|
16042
16228
|
|
16043
16229
|
property :status, as: 'status'
|
16230
|
+
property :workload_policy, as: 'workloadPolicy', class: Google::Apis::ComputeV1::ResourcePolicyWorkloadPolicy, decorator: Google::Apis::ComputeV1::ResourcePolicyWorkloadPolicy::Representation
|
16231
|
+
|
16044
16232
|
end
|
16045
16233
|
end
|
16046
16234
|
|
@@ -16098,6 +16286,7 @@ module Google
|
|
16098
16286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16099
16287
|
property :availability_domain_count, as: 'availabilityDomainCount'
|
16100
16288
|
property :collocation, as: 'collocation'
|
16289
|
+
property :gpu_topology, as: 'gpuTopology'
|
16101
16290
|
property :vm_count, as: 'vmCount'
|
16102
16291
|
end
|
16103
16292
|
end
|
@@ -16239,6 +16428,15 @@ module Google
|
|
16239
16428
|
end
|
16240
16429
|
end
|
16241
16430
|
|
16431
|
+
class ResourcePolicyWorkloadPolicy
|
16432
|
+
# @private
|
16433
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16434
|
+
property :accelerator_topology, as: 'acceleratorTopology'
|
16435
|
+
property :max_topology_distance, as: 'maxTopologyDistance'
|
16436
|
+
property :type, as: 'type'
|
16437
|
+
end
|
16438
|
+
end
|
16439
|
+
|
16242
16440
|
class ResourceStatus
|
16243
16441
|
# @private
|
16244
16442
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -16292,6 +16490,8 @@ module Google
|
|
16292
16490
|
property :next_hop_origin, as: 'nextHopOrigin'
|
16293
16491
|
property :next_hop_peering, as: 'nextHopPeering'
|
16294
16492
|
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
|
16493
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::RouteParams, decorator: Google::Apis::ComputeV1::RouteParams::Representation
|
16494
|
+
|
16295
16495
|
property :priority, as: 'priority'
|
16296
16496
|
property :route_status, as: 'routeStatus'
|
16297
16497
|
property :route_type, as: 'routeType'
|
@@ -16360,6 +16560,13 @@ module Google
|
|
16360
16560
|
end
|
16361
16561
|
end
|
16362
16562
|
|
16563
|
+
class RouteParams
|
16564
|
+
# @private
|
16565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16566
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
16567
|
+
end
|
16568
|
+
end
|
16569
|
+
|
16363
16570
|
class RoutePolicy
|
16364
16571
|
# @private
|
16365
16572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -18393,6 +18600,8 @@ module Google
|
|
18393
18600
|
|
18394
18601
|
property :name, as: 'name'
|
18395
18602
|
property :network, as: 'network'
|
18603
|
+
property :params, as: 'params', class: Google::Apis::ComputeV1::SubnetworkParams, decorator: Google::Apis::ComputeV1::SubnetworkParams::Representation
|
18604
|
+
|
18396
18605
|
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
18397
18606
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
18398
18607
|
property :purpose, as: 'purpose'
|
@@ -18486,6 +18695,13 @@ module Google
|
|
18486
18695
|
end
|
18487
18696
|
end
|
18488
18697
|
|
18698
|
+
class SubnetworkParams
|
18699
|
+
# @private
|
18700
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
18701
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
18702
|
+
end
|
18703
|
+
end
|
18704
|
+
|
18489
18705
|
class SubnetworkSecondaryRange
|
18490
18706
|
# @private
|
18491
18707
|
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,148 @@ 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
|
+
|
35872
36068
|
# Retrieves an aggregated list of reservations. To prevent failure, Google
|
35873
36069
|
# recommends that you set the `returnPartialSuccess` parameter to `true`.
|
35874
36070
|
# @param [String] project
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.122.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.122.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Compute Engine API V1
|
79
79
|
test_files: []
|