google-api-client 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/api_names.yaml +37747 -36512
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
- data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +34 -8
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -5
- data/generated/google/apis/classroom_v1.rb +25 -22
- data/generated/google/apis/classroom_v1/classes.rb +910 -1001
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1064 -1272
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
- data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
- data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
- data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
- data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +813 -82
- data/generated/google/apis/compute_beta/representations.rb +305 -0
- data/generated/google/apis/compute_beta/service.rb +971 -180
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +147 -21
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +347 -65
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
- data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
- data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
- data/generated/google/apis/dataproc_v1/representations.rb +220 -204
- data/generated/google/apis/dataproc_v1/service.rb +299 -299
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +688 -688
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +487 -15
- data/generated/google/apis/drive_v2/representations.rb +120 -0
- data/generated/google/apis/drive_v2/service.rb +355 -38
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +416 -14
- data/generated/google/apis/drive_v3/representations.rb +99 -0
- data/generated/google/apis/drive_v3/service.rb +315 -28
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
- data/generated/google/apis/genomics_v1/representations.rb +239 -239
- data/generated/google/apis/genomics_v1/service.rb +599 -599
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +18 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +96 -96
- data/generated/google/apis/iam_v1/service.rb +150 -150
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +235 -235
- data/generated/google/apis/language_v1beta1/representations.rb +73 -73
- data/generated/google/apis/language_v1beta1/service.rb +49 -49
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
- data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
- data/generated/google/apis/logging_v2beta1/service.rb +315 -316
- data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
- data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
- data/generated/google/apis/manufacturers_v1/service.rb +32 -32
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +229 -229
- data/generated/google/apis/monitoring_v3/representations.rb +45 -45
- data/generated/google/apis/monitoring_v3/service.rb +141 -141
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1837 -483
- data/generated/google/apis/partners_v2/representations.rb +614 -157
- data/generated/google/apis/partners_v2/service.rb +881 -150
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +517 -465
- data/generated/google/apis/people_v1/representations.rb +138 -107
- data/generated/google/apis/people_v1/service.rb +56 -49
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +529 -458
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +203 -203
- data/generated/google/apis/pubsub_v1/representations.rb +65 -65
- data/generated/google/apis/pubsub_v1/service.rb +226 -217
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +213 -61
- data/generated/google/apis/reseller_v1/representations.rb +27 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +95 -95
- data/generated/google/apis/script_v1/representations.rb +25 -25
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
- data/generated/google/apis/sheets_v4/representations.rb +853 -837
- data/generated/google/apis/sheets_v4/service.rb +32 -32
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +804 -748
- data/generated/google/apis/slides_v1/representations.rb +204 -187
- data/generated/google/apis/slides_v1/service.rb +16 -16
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
- data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
- data/generated/google/apis/speech_v1beta1/service.rb +66 -66
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +10 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1393 -865
- data/generated/google/apis/vision_v1/representations.rb +367 -102
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -30
|
@@ -106,6 +106,12 @@ module Google
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
+
class AliasIpRange
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
109
115
|
class AttachedDisk
|
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
117
|
|
|
@@ -286,6 +292,42 @@ module Google
|
|
|
286
292
|
include Google::Apis::Core::JsonObjectSupport
|
|
287
293
|
end
|
|
288
294
|
|
|
295
|
+
class Commitment
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
class CommitmentAggregatedList
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
class CommitmentList
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
class CommitmentsScopedList
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
class Warning
|
|
317
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
318
|
+
|
|
319
|
+
class Datum
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
289
331
|
class Condition
|
|
290
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
333
|
|
|
@@ -934,6 +976,18 @@ module Google
|
|
|
934
976
|
include Google::Apis::Core::JsonObjectSupport
|
|
935
977
|
end
|
|
936
978
|
|
|
979
|
+
class NetworksAddPeeringRequest
|
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
981
|
+
|
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
983
|
+
end
|
|
984
|
+
|
|
985
|
+
class NetworksRemovePeeringRequest
|
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
987
|
+
|
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
989
|
+
end
|
|
990
|
+
|
|
937
991
|
class Operation
|
|
938
992
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
939
993
|
|
|
@@ -1018,6 +1072,24 @@ module Google
|
|
|
1018
1072
|
include Google::Apis::Core::JsonObjectSupport
|
|
1019
1073
|
end
|
|
1020
1074
|
|
|
1075
|
+
class ProjectsDisableXpnResourceRequest
|
|
1076
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1077
|
+
|
|
1078
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
class ProjectsEnableXpnResourceRequest
|
|
1082
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1083
|
+
|
|
1084
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1085
|
+
end
|
|
1086
|
+
|
|
1087
|
+
class ProjectsGetXpnResources
|
|
1088
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1089
|
+
|
|
1090
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1021
1093
|
class ProjectsListXpnHostsRequest
|
|
1022
1094
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1023
1095
|
|
|
@@ -1120,6 +1192,12 @@ module Google
|
|
|
1120
1192
|
include Google::Apis::Core::JsonObjectSupport
|
|
1121
1193
|
end
|
|
1122
1194
|
|
|
1195
|
+
class ResourceCommitment
|
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1197
|
+
|
|
1198
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1199
|
+
end
|
|
1200
|
+
|
|
1123
1201
|
class ResourceGroupReference
|
|
1124
1202
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1125
1203
|
|
|
@@ -1300,6 +1378,12 @@ module Google
|
|
|
1300
1378
|
include Google::Apis::Core::JsonObjectSupport
|
|
1301
1379
|
end
|
|
1302
1380
|
|
|
1381
|
+
class SubnetworkSecondaryRange
|
|
1382
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1383
|
+
|
|
1384
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1385
|
+
end
|
|
1386
|
+
|
|
1303
1387
|
class SubnetworksExpandIpCidrRangeRequest
|
|
1304
1388
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1305
1389
|
|
|
@@ -1504,6 +1588,30 @@ module Google
|
|
|
1504
1588
|
include Google::Apis::Core::JsonObjectSupport
|
|
1505
1589
|
end
|
|
1506
1590
|
|
|
1591
|
+
class TargetTcpProxiesSetBackendServiceRequest
|
|
1592
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1593
|
+
|
|
1594
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1595
|
+
end
|
|
1596
|
+
|
|
1597
|
+
class TargetTcpProxiesSetProxyHeaderRequest
|
|
1598
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1599
|
+
|
|
1600
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1601
|
+
end
|
|
1602
|
+
|
|
1603
|
+
class TargetTcpProxy
|
|
1604
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1605
|
+
|
|
1606
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1607
|
+
end
|
|
1608
|
+
|
|
1609
|
+
class TargetTcpProxyList
|
|
1610
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1611
|
+
|
|
1612
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1613
|
+
end
|
|
1614
|
+
|
|
1507
1615
|
class TargetVpnGateway
|
|
1508
1616
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1509
1617
|
|
|
@@ -1654,6 +1762,12 @@ module Google
|
|
|
1654
1762
|
include Google::Apis::Core::JsonObjectSupport
|
|
1655
1763
|
end
|
|
1656
1764
|
|
|
1765
|
+
class XpnResourceId
|
|
1766
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1767
|
+
|
|
1768
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1769
|
+
end
|
|
1770
|
+
|
|
1657
1771
|
class Zone
|
|
1658
1772
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1659
1773
|
|
|
@@ -1826,6 +1940,14 @@ module Google
|
|
|
1826
1940
|
end
|
|
1827
1941
|
end
|
|
1828
1942
|
|
|
1943
|
+
class AliasIpRange
|
|
1944
|
+
# @private
|
|
1945
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1946
|
+
property :ip_cidr_range, as: 'ipCidrRange'
|
|
1947
|
+
property :subnetwork_range_name, as: 'subnetworkRangeName'
|
|
1948
|
+
end
|
|
1949
|
+
end
|
|
1950
|
+
|
|
1829
1951
|
class AttachedDisk
|
|
1830
1952
|
# @private
|
|
1831
1953
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2173,6 +2295,78 @@ module Google
|
|
|
2173
2295
|
end
|
|
2174
2296
|
end
|
|
2175
2297
|
|
|
2298
|
+
class Commitment
|
|
2299
|
+
# @private
|
|
2300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2301
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
2302
|
+
property :description, as: 'description'
|
|
2303
|
+
property :end_timestamp, as: 'endTimestamp'
|
|
2304
|
+
property :id, as: 'id'
|
|
2305
|
+
property :kind, as: 'kind'
|
|
2306
|
+
property :name, as: 'name'
|
|
2307
|
+
property :plan, as: 'plan'
|
|
2308
|
+
property :region, as: 'region'
|
|
2309
|
+
collection :resources, as: 'resources', class: Google::Apis::ComputeBeta::ResourceCommitment, decorator: Google::Apis::ComputeBeta::ResourceCommitment::Representation
|
|
2310
|
+
|
|
2311
|
+
property :self_link, as: 'selfLink'
|
|
2312
|
+
property :start_timestamp, as: 'startTimestamp'
|
|
2313
|
+
property :status, as: 'status'
|
|
2314
|
+
property :status_message, as: 'statusMessage'
|
|
2315
|
+
end
|
|
2316
|
+
end
|
|
2317
|
+
|
|
2318
|
+
class CommitmentAggregatedList
|
|
2319
|
+
# @private
|
|
2320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2321
|
+
property :id, as: 'id'
|
|
2322
|
+
hash :items, as: 'items', class: Google::Apis::ComputeBeta::CommitmentsScopedList, decorator: Google::Apis::ComputeBeta::CommitmentsScopedList::Representation
|
|
2323
|
+
|
|
2324
|
+
property :kind, as: 'kind'
|
|
2325
|
+
property :next_page_token, as: 'nextPageToken'
|
|
2326
|
+
property :self_link, as: 'selfLink'
|
|
2327
|
+
end
|
|
2328
|
+
end
|
|
2329
|
+
|
|
2330
|
+
class CommitmentList
|
|
2331
|
+
# @private
|
|
2332
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2333
|
+
property :id, as: 'id'
|
|
2334
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::Commitment, decorator: Google::Apis::ComputeBeta::Commitment::Representation
|
|
2335
|
+
|
|
2336
|
+
property :kind, as: 'kind'
|
|
2337
|
+
property :next_page_token, as: 'nextPageToken'
|
|
2338
|
+
property :self_link, as: 'selfLink'
|
|
2339
|
+
end
|
|
2340
|
+
end
|
|
2341
|
+
|
|
2342
|
+
class CommitmentsScopedList
|
|
2343
|
+
# @private
|
|
2344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2345
|
+
collection :commitments, as: 'commitments', class: Google::Apis::ComputeBeta::Commitment, decorator: Google::Apis::ComputeBeta::Commitment::Representation
|
|
2346
|
+
|
|
2347
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::CommitmentsScopedList::Warning, decorator: Google::Apis::ComputeBeta::CommitmentsScopedList::Warning::Representation
|
|
2348
|
+
|
|
2349
|
+
end
|
|
2350
|
+
|
|
2351
|
+
class Warning
|
|
2352
|
+
# @private
|
|
2353
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2354
|
+
property :code, as: 'code'
|
|
2355
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::CommitmentsScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::CommitmentsScopedList::Warning::Datum::Representation
|
|
2356
|
+
|
|
2357
|
+
property :message, as: 'message'
|
|
2358
|
+
end
|
|
2359
|
+
|
|
2360
|
+
class Datum
|
|
2361
|
+
# @private
|
|
2362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2363
|
+
property :key, as: 'key'
|
|
2364
|
+
property :value, as: 'value'
|
|
2365
|
+
end
|
|
2366
|
+
end
|
|
2367
|
+
end
|
|
2368
|
+
end
|
|
2369
|
+
|
|
2176
2370
|
class Condition
|
|
2177
2371
|
# @private
|
|
2178
2372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3380,6 +3574,8 @@ module Google
|
|
|
3380
3574
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3381
3575
|
collection :access_configs, as: 'accessConfigs', class: Google::Apis::ComputeBeta::AccessConfig, decorator: Google::Apis::ComputeBeta::AccessConfig::Representation
|
|
3382
3576
|
|
|
3577
|
+
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeBeta::AliasIpRange, decorator: Google::Apis::ComputeBeta::AliasIpRange::Representation
|
|
3578
|
+
|
|
3383
3579
|
property :kind, as: 'kind'
|
|
3384
3580
|
property :name, as: 'name'
|
|
3385
3581
|
property :network, as: 'network'
|
|
@@ -3411,6 +3607,22 @@ module Google
|
|
|
3411
3607
|
end
|
|
3412
3608
|
end
|
|
3413
3609
|
|
|
3610
|
+
class NetworksAddPeeringRequest
|
|
3611
|
+
# @private
|
|
3612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3613
|
+
property :auto_create_routes, as: 'autoCreateRoutes'
|
|
3614
|
+
property :name, as: 'name'
|
|
3615
|
+
property :peer_network, as: 'peerNetwork'
|
|
3616
|
+
end
|
|
3617
|
+
end
|
|
3618
|
+
|
|
3619
|
+
class NetworksRemovePeeringRequest
|
|
3620
|
+
# @private
|
|
3621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3622
|
+
property :name, as: 'name'
|
|
3623
|
+
end
|
|
3624
|
+
end
|
|
3625
|
+
|
|
3414
3626
|
class Operation
|
|
3415
3627
|
# @private
|
|
3416
3628
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3584,6 +3796,32 @@ module Google
|
|
|
3584
3796
|
end
|
|
3585
3797
|
end
|
|
3586
3798
|
|
|
3799
|
+
class ProjectsDisableXpnResourceRequest
|
|
3800
|
+
# @private
|
|
3801
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3802
|
+
property :xpn_resource, as: 'xpnResource', class: Google::Apis::ComputeBeta::XpnResourceId, decorator: Google::Apis::ComputeBeta::XpnResourceId::Representation
|
|
3803
|
+
|
|
3804
|
+
end
|
|
3805
|
+
end
|
|
3806
|
+
|
|
3807
|
+
class ProjectsEnableXpnResourceRequest
|
|
3808
|
+
# @private
|
|
3809
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3810
|
+
property :xpn_resource, as: 'xpnResource', class: Google::Apis::ComputeBeta::XpnResourceId, decorator: Google::Apis::ComputeBeta::XpnResourceId::Representation
|
|
3811
|
+
|
|
3812
|
+
end
|
|
3813
|
+
end
|
|
3814
|
+
|
|
3815
|
+
class ProjectsGetXpnResources
|
|
3816
|
+
# @private
|
|
3817
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3818
|
+
property :kind, as: 'kind'
|
|
3819
|
+
property :next_page_token, as: 'nextPageToken'
|
|
3820
|
+
collection :resources, as: 'resources', class: Google::Apis::ComputeBeta::XpnResourceId, decorator: Google::Apis::ComputeBeta::XpnResourceId::Representation
|
|
3821
|
+
|
|
3822
|
+
end
|
|
3823
|
+
end
|
|
3824
|
+
|
|
3587
3825
|
class ProjectsListXpnHostsRequest
|
|
3588
3826
|
# @private
|
|
3589
3827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3747,6 +3985,14 @@ module Google
|
|
|
3747
3985
|
end
|
|
3748
3986
|
end
|
|
3749
3987
|
|
|
3988
|
+
class ResourceCommitment
|
|
3989
|
+
# @private
|
|
3990
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3991
|
+
property :amount, as: 'amount'
|
|
3992
|
+
property :type, as: 'type'
|
|
3993
|
+
end
|
|
3994
|
+
end
|
|
3995
|
+
|
|
3750
3996
|
class ResourceGroupReference
|
|
3751
3997
|
# @private
|
|
3752
3998
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4081,7 +4327,10 @@ module Google
|
|
|
4081
4327
|
property :kind, as: 'kind'
|
|
4082
4328
|
property :name, as: 'name'
|
|
4083
4329
|
property :network, as: 'network'
|
|
4330
|
+
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
|
4084
4331
|
property :region, as: 'region'
|
|
4332
|
+
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeBeta::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeBeta::SubnetworkSecondaryRange::Representation
|
|
4333
|
+
|
|
4085
4334
|
property :self_link, as: 'selfLink'
|
|
4086
4335
|
end
|
|
4087
4336
|
end
|
|
@@ -4110,6 +4359,14 @@ module Google
|
|
|
4110
4359
|
end
|
|
4111
4360
|
end
|
|
4112
4361
|
|
|
4362
|
+
class SubnetworkSecondaryRange
|
|
4363
|
+
# @private
|
|
4364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4365
|
+
property :ip_cidr_range, as: 'ipCidrRange'
|
|
4366
|
+
property :range_name, as: 'rangeName'
|
|
4367
|
+
end
|
|
4368
|
+
end
|
|
4369
|
+
|
|
4113
4370
|
class SubnetworksExpandIpCidrRangeRequest
|
|
4114
4371
|
# @private
|
|
4115
4372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4455,6 +4712,46 @@ module Google
|
|
|
4455
4712
|
end
|
|
4456
4713
|
end
|
|
4457
4714
|
|
|
4715
|
+
class TargetTcpProxiesSetBackendServiceRequest
|
|
4716
|
+
# @private
|
|
4717
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4718
|
+
property :service, as: 'service'
|
|
4719
|
+
end
|
|
4720
|
+
end
|
|
4721
|
+
|
|
4722
|
+
class TargetTcpProxiesSetProxyHeaderRequest
|
|
4723
|
+
# @private
|
|
4724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4725
|
+
property :proxy_header, as: 'proxyHeader'
|
|
4726
|
+
end
|
|
4727
|
+
end
|
|
4728
|
+
|
|
4729
|
+
class TargetTcpProxy
|
|
4730
|
+
# @private
|
|
4731
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4732
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
4733
|
+
property :description, as: 'description'
|
|
4734
|
+
property :id, as: 'id'
|
|
4735
|
+
property :kind, as: 'kind'
|
|
4736
|
+
property :name, as: 'name'
|
|
4737
|
+
property :proxy_header, as: 'proxyHeader'
|
|
4738
|
+
property :self_link, as: 'selfLink'
|
|
4739
|
+
property :service, as: 'service'
|
|
4740
|
+
end
|
|
4741
|
+
end
|
|
4742
|
+
|
|
4743
|
+
class TargetTcpProxyList
|
|
4744
|
+
# @private
|
|
4745
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4746
|
+
property :id, as: 'id'
|
|
4747
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::TargetTcpProxy, decorator: Google::Apis::ComputeBeta::TargetTcpProxy::Representation
|
|
4748
|
+
|
|
4749
|
+
property :kind, as: 'kind'
|
|
4750
|
+
property :next_page_token, as: 'nextPageToken'
|
|
4751
|
+
property :self_link, as: 'selfLink'
|
|
4752
|
+
end
|
|
4753
|
+
end
|
|
4754
|
+
|
|
4458
4755
|
class TargetVpnGateway
|
|
4459
4756
|
# @private
|
|
4460
4757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4729,6 +5026,14 @@ module Google
|
|
|
4729
5026
|
end
|
|
4730
5027
|
end
|
|
4731
5028
|
|
|
5029
|
+
class XpnResourceId
|
|
5030
|
+
# @private
|
|
5031
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5032
|
+
property :id, as: 'id'
|
|
5033
|
+
property :type, as: 'type'
|
|
5034
|
+
end
|
|
5035
|
+
end
|
|
5036
|
+
|
|
4732
5037
|
class Zone
|
|
4733
5038
|
# @private
|
|
4734
5039
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -80,7 +80,7 @@ module Google
|
|
|
80
80
|
# The maximum number of results per page that should be returned. If the number
|
|
81
81
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
82
82
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
83
|
-
# list requests.
|
|
83
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
84
84
|
# @param [String] order_by
|
|
85
85
|
# Sorts list results by a certain order. By default, results are returned in
|
|
86
86
|
# alphanumerical order based on the resource name.
|
|
@@ -201,7 +201,7 @@ module Google
|
|
|
201
201
|
# The maximum number of results per page that should be returned. If the number
|
|
202
202
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
203
203
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
204
|
-
# list requests.
|
|
204
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
205
205
|
# @param [String] order_by
|
|
206
206
|
# Sorts list results by a certain order. By default, results are returned in
|
|
207
207
|
# alphanumerical order based on the resource name.
|
|
@@ -279,7 +279,7 @@ module Google
|
|
|
279
279
|
# The maximum number of results per page that should be returned. If the number
|
|
280
280
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
281
281
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
282
|
-
# list requests.
|
|
282
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
283
283
|
# @param [String] order_by
|
|
284
284
|
# Sorts list results by a certain order. By default, results are returned in
|
|
285
285
|
# alphanumerical order based on the resource name.
|
|
@@ -482,7 +482,7 @@ module Google
|
|
|
482
482
|
# The maximum number of results per page that should be returned. If the number
|
|
483
483
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
484
484
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
485
|
-
# list requests.
|
|
485
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
486
486
|
# @param [String] order_by
|
|
487
487
|
# Sorts list results by a certain order. By default, results are returned in
|
|
488
488
|
# alphanumerical order based on the resource name.
|
|
@@ -604,7 +604,7 @@ module Google
|
|
|
604
604
|
# The maximum number of results per page that should be returned. If the number
|
|
605
605
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
606
606
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
607
|
-
# list requests.
|
|
607
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
608
608
|
# @param [String] order_by
|
|
609
609
|
# Sorts list results by a certain order. By default, results are returned in
|
|
610
610
|
# alphanumerical order based on the resource name.
|
|
@@ -808,7 +808,7 @@ module Google
|
|
|
808
808
|
# The maximum number of results per page that should be returned. If the number
|
|
809
809
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
810
810
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
811
|
-
# list requests.
|
|
811
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
812
812
|
# @param [String] order_by
|
|
813
813
|
# Sorts list results by a certain order. By default, results are returned in
|
|
814
814
|
# alphanumerical order based on the resource name.
|
|
@@ -1137,7 +1137,7 @@ module Google
|
|
|
1137
1137
|
# The maximum number of results per page that should be returned. If the number
|
|
1138
1138
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
1139
1139
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
1140
|
-
# list requests.
|
|
1140
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
1141
1141
|
# @param [String] order_by
|
|
1142
1142
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1143
1143
|
# alphanumerical order based on the resource name.
|
|
@@ -1299,7 +1299,7 @@ module Google
|
|
|
1299
1299
|
# The maximum number of results per page that should be returned. If the number
|
|
1300
1300
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
1301
1301
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
1302
|
-
# list requests.
|
|
1302
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
1303
1303
|
# @param [String] order_by
|
|
1304
1304
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1305
1305
|
# alphanumerical order based on the resource name.
|
|
@@ -1535,7 +1535,7 @@ module Google
|
|
|
1535
1535
|
# The maximum number of results per page that should be returned. If the number
|
|
1536
1536
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
1537
1537
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
1538
|
-
# list requests.
|
|
1538
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
1539
1539
|
# @param [String] order_by
|
|
1540
1540
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1541
1541
|
# alphanumerical order based on the resource name.
|
|
@@ -1713,6 +1713,83 @@ module Google
|
|
|
1713
1713
|
execute_or_queue_command(command, &block)
|
|
1714
1714
|
end
|
|
1715
1715
|
|
|
1716
|
+
# Retrieves an aggregated list of commitments.
|
|
1717
|
+
# @param [String] project
|
|
1718
|
+
# Project ID for this request.
|
|
1719
|
+
# @param [String] filter
|
|
1720
|
+
# Sets a filter expression for filtering listed resources, in the form filter=`
|
|
1721
|
+
# expression`. Your `expression` must be in the format: field_name
|
|
1722
|
+
# comparison_string literal_string.
|
|
1723
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
|
1724
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
|
1725
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
|
1726
|
+
# to filter to. The literal value must be valid for the type of field you are
|
|
1727
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
|
1728
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
|
1729
|
+
# must match the entire field.
|
|
1730
|
+
# For example, to filter for instances that do not have a name of example-
|
|
1731
|
+
# instance, you would use filter=name ne example-instance.
|
|
1732
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
1733
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
1734
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
1735
|
+
# based on label values.
|
|
1736
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
1737
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
1738
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
1739
|
+
# resources must match all expressions to pass the filters.
|
|
1740
|
+
# @param [Fixnum] max_results
|
|
1741
|
+
# The maximum number of results per page that should be returned. If the number
|
|
1742
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
1743
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
1744
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
1745
|
+
# @param [String] order_by
|
|
1746
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
1747
|
+
# alphanumerical order based on the resource name.
|
|
1748
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
1749
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
1750
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
1751
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
1752
|
+
# returned first.
|
|
1753
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
1754
|
+
# @param [String] page_token
|
|
1755
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
1756
|
+
# a previous list request to get the next page of results.
|
|
1757
|
+
# @param [String] fields
|
|
1758
|
+
# Selector specifying which fields to include in a partial response.
|
|
1759
|
+
# @param [String] quota_user
|
|
1760
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1761
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1762
|
+
# Overrides userIp if both are provided.
|
|
1763
|
+
# @param [String] user_ip
|
|
1764
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
1765
|
+
# enforce per-user limits.
|
|
1766
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1767
|
+
# Request-specific options
|
|
1768
|
+
#
|
|
1769
|
+
# @yield [result, err] Result & error if block supplied
|
|
1770
|
+
# @yieldparam result [Google::Apis::ComputeBeta::CommitmentAggregatedList] parsed result object
|
|
1771
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1772
|
+
#
|
|
1773
|
+
# @return [Google::Apis::ComputeBeta::CommitmentAggregatedList]
|
|
1774
|
+
#
|
|
1775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1778
|
+
def aggregated_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1779
|
+
command = make_simple_command(:get, '{project}/aggregated/commitments', options)
|
|
1780
|
+
command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation
|
|
1781
|
+
command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList
|
|
1782
|
+
command.params['project'] = project unless project.nil?
|
|
1783
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1784
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
1785
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1786
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1787
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1788
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1789
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1790
|
+
execute_or_queue_command(command, &block)
|
|
1791
|
+
end
|
|
1792
|
+
|
|
1716
1793
|
# Retrieves an aggregated list of disk types.
|
|
1717
1794
|
# @param [String] project
|
|
1718
1795
|
# Project ID for this request.
|
|
@@ -1741,7 +1818,7 @@ module Google
|
|
|
1741
1818
|
# The maximum number of results per page that should be returned. If the number
|
|
1742
1819
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
1743
1820
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
1744
|
-
# list requests.
|
|
1821
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
1745
1822
|
# @param [String] order_by
|
|
1746
1823
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1747
1824
|
# alphanumerical order based on the resource name.
|
|
@@ -1862,7 +1939,7 @@ module Google
|
|
|
1862
1939
|
# The maximum number of results per page that should be returned. If the number
|
|
1863
1940
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
1864
1941
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
1865
|
-
# list requests.
|
|
1942
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
1866
1943
|
# @param [String] order_by
|
|
1867
1944
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1868
1945
|
# alphanumerical order based on the resource name.
|
|
@@ -1940,7 +2017,7 @@ module Google
|
|
|
1940
2017
|
# The maximum number of results per page that should be returned. If the number
|
|
1941
2018
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
1942
2019
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
1943
|
-
# list requests.
|
|
2020
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
1944
2021
|
# @param [String] order_by
|
|
1945
2022
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1946
2023
|
# alphanumerical order based on the resource name.
|
|
@@ -2197,7 +2274,7 @@ module Google
|
|
|
2197
2274
|
# The maximum number of results per page that should be returned. If the number
|
|
2198
2275
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
2199
2276
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
2200
|
-
# list requests.
|
|
2277
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
2201
2278
|
# @param [String] order_by
|
|
2202
2279
|
# Sorts list results by a certain order. By default, results are returned in
|
|
2203
2280
|
# alphanumerical order based on the resource name.
|
|
@@ -2523,7 +2600,7 @@ module Google
|
|
|
2523
2600
|
# The maximum number of results per page that should be returned. If the number
|
|
2524
2601
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
2525
2602
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
2526
|
-
# list requests.
|
|
2603
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
2527
2604
|
# @param [String] order_by
|
|
2528
2605
|
# Sorts list results by a certain order. By default, results are returned in
|
|
2529
2606
|
# alphanumerical order based on the resource name.
|
|
@@ -2724,7 +2801,7 @@ module Google
|
|
|
2724
2801
|
# The maximum number of results per page that should be returned. If the number
|
|
2725
2802
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
2726
2803
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
2727
|
-
# list requests.
|
|
2804
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
2728
2805
|
# @param [String] order_by
|
|
2729
2806
|
# Sorts list results by a certain order. By default, results are returned in
|
|
2730
2807
|
# alphanumerical order based on the resource name.
|
|
@@ -2928,7 +3005,7 @@ module Google
|
|
|
2928
3005
|
# The maximum number of results per page that should be returned. If the number
|
|
2929
3006
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
2930
3007
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
2931
|
-
# list requests.
|
|
3008
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
2932
3009
|
# @param [String] order_by
|
|
2933
3010
|
# Sorts list results by a certain order. By default, results are returned in
|
|
2934
3011
|
# alphanumerical order based on the resource name.
|
|
@@ -3211,7 +3288,7 @@ module Google
|
|
|
3211
3288
|
# The maximum number of results per page that should be returned. If the number
|
|
3212
3289
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
3213
3290
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
3214
|
-
# list requests.
|
|
3291
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
3215
3292
|
# @param [String] order_by
|
|
3216
3293
|
# Sorts list results by a certain order. By default, results are returned in
|
|
3217
3294
|
# alphanumerical order based on the resource name.
|
|
@@ -3446,7 +3523,7 @@ module Google
|
|
|
3446
3523
|
# The maximum number of results per page that should be returned. If the number
|
|
3447
3524
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
3448
3525
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
3449
|
-
# list requests.
|
|
3526
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
3450
3527
|
# @param [String] order_by
|
|
3451
3528
|
# Sorts list results by a certain order. By default, results are returned in
|
|
3452
3529
|
# alphanumerical order based on the resource name.
|
|
@@ -3606,7 +3683,7 @@ module Google
|
|
|
3606
3683
|
# The maximum number of results per page that should be returned. If the number
|
|
3607
3684
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
3608
3685
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
3609
|
-
# list requests.
|
|
3686
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
3610
3687
|
# @param [String] order_by
|
|
3611
3688
|
# Sorts list results by a certain order. By default, results are returned in
|
|
3612
3689
|
# alphanumerical order based on the resource name.
|
|
@@ -3758,7 +3835,7 @@ module Google
|
|
|
3758
3835
|
# The maximum number of results per page that should be returned. If the number
|
|
3759
3836
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
3760
3837
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
3761
|
-
# list requests.
|
|
3838
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
3762
3839
|
# @param [String] order_by
|
|
3763
3840
|
# Sorts list results by a certain order. By default, results are returned in
|
|
3764
3841
|
# alphanumerical order based on the resource name.
|
|
@@ -3951,7 +4028,7 @@ module Google
|
|
|
3951
4028
|
# The maximum number of results per page that should be returned. If the number
|
|
3952
4029
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
3953
4030
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
3954
|
-
# list requests.
|
|
4031
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
3955
4032
|
# @param [String] order_by
|
|
3956
4033
|
# Sorts list results by a certain order. By default, results are returned in
|
|
3957
4034
|
# alphanumerical order based on the resource name.
|
|
@@ -4270,7 +4347,7 @@ module Google
|
|
|
4270
4347
|
# The maximum number of results per page that should be returned. If the number
|
|
4271
4348
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
4272
4349
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
4273
|
-
# list requests.
|
|
4350
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
4274
4351
|
# @param [String] order_by
|
|
4275
4352
|
# Sorts list results by a certain order. By default, results are returned in
|
|
4276
4353
|
# alphanumerical order based on the resource name.
|
|
@@ -4589,7 +4666,7 @@ module Google
|
|
|
4589
4666
|
# The maximum number of results per page that should be returned. If the number
|
|
4590
4667
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
4591
4668
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
4592
|
-
# list requests.
|
|
4669
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
4593
4670
|
# @param [String] order_by
|
|
4594
4671
|
# Sorts list results by a certain order. By default, results are returned in
|
|
4595
4672
|
# alphanumerical order based on the resource name.
|
|
@@ -4992,7 +5069,7 @@ module Google
|
|
|
4992
5069
|
# The maximum number of results per page that should be returned. If the number
|
|
4993
5070
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
4994
5071
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
4995
|
-
# list requests.
|
|
5072
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
4996
5073
|
# @param [String] order_by
|
|
4997
5074
|
# Sorts list results by a certain order. By default, results are returned in
|
|
4998
5075
|
# alphanumerical order based on the resource name.
|
|
@@ -5203,7 +5280,7 @@ module Google
|
|
|
5203
5280
|
# The maximum number of results per page that should be returned. If the number
|
|
5204
5281
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
5205
5282
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
5206
|
-
# list requests.
|
|
5283
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
5207
5284
|
# @param [String] order_by
|
|
5208
5285
|
# Sorts list results by a certain order. By default, results are returned in
|
|
5209
5286
|
# alphanumerical order based on the resource name.
|
|
@@ -5464,7 +5541,7 @@ module Google
|
|
|
5464
5541
|
# The maximum number of results per page that should be returned. If the number
|
|
5465
5542
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
5466
5543
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
5467
|
-
# list requests.
|
|
5544
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
5468
5545
|
# @param [String] order_by
|
|
5469
5546
|
# Sorts list results by a certain order. By default, results are returned in
|
|
5470
5547
|
# alphanumerical order based on the resource name.
|
|
@@ -5568,11 +5645,10 @@ module Google
|
|
|
5568
5645
|
end
|
|
5569
5646
|
|
|
5570
5647
|
# Updates a managed instance group using the information that you specify in the
|
|
5571
|
-
# request.
|
|
5572
|
-
#
|
|
5573
|
-
# the
|
|
5574
|
-
#
|
|
5575
|
-
# supports patch semantics.
|
|
5648
|
+
# request. This operation is marked as DONE when the group is updated even if
|
|
5649
|
+
# the instances in the group have not yet been updated. You must separately
|
|
5650
|
+
# verify the status of the individual instances with the listmanagedinstances
|
|
5651
|
+
# method. This method supports patch semantics.
|
|
5576
5652
|
# @param [String] project
|
|
5577
5653
|
# Project ID for this request.
|
|
5578
5654
|
# @param [String] zone
|
|
@@ -5952,10 +6028,10 @@ module Google
|
|
|
5952
6028
|
end
|
|
5953
6029
|
|
|
5954
6030
|
# Updates a managed instance group using the information that you specify in the
|
|
5955
|
-
# request.
|
|
5956
|
-
#
|
|
5957
|
-
# the
|
|
5958
|
-
#
|
|
6031
|
+
# request. This operation is marked as DONE when the group is updated even if
|
|
6032
|
+
# the instances in the group have not yet been updated. You must separately
|
|
6033
|
+
# verify the status of the individual instances with the listmanagedinstances
|
|
6034
|
+
# method.
|
|
5959
6035
|
# @param [String] project
|
|
5960
6036
|
# Project ID for this request.
|
|
5961
6037
|
# @param [String] zone
|
|
@@ -6073,7 +6149,7 @@ module Google
|
|
|
6073
6149
|
# The maximum number of results per page that should be returned. If the number
|
|
6074
6150
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
6075
6151
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
6076
|
-
# list requests.
|
|
6152
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
6077
6153
|
# @param [String] order_by
|
|
6078
6154
|
# Sorts list results by a certain order. By default, results are returned in
|
|
6079
6155
|
# alphanumerical order based on the resource name.
|
|
@@ -6280,7 +6356,7 @@ module Google
|
|
|
6280
6356
|
# The maximum number of results per page that should be returned. If the number
|
|
6281
6357
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
6282
6358
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
6283
|
-
# list requests.
|
|
6359
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
6284
6360
|
# @param [String] order_by
|
|
6285
6361
|
# Sorts list results by a certain order. By default, results are returned in
|
|
6286
6362
|
# alphanumerical order based on the resource name.
|
|
@@ -6364,7 +6440,7 @@ module Google
|
|
|
6364
6440
|
# The maximum number of results per page that should be returned. If the number
|
|
6365
6441
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
6366
6442
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
6367
|
-
# list requests.
|
|
6443
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
6368
6444
|
# @param [String] order_by
|
|
6369
6445
|
# Sorts list results by a certain order. By default, results are returned in
|
|
6370
6446
|
# alphanumerical order based on the resource name.
|
|
@@ -6700,7 +6776,7 @@ module Google
|
|
|
6700
6776
|
# The maximum number of results per page that should be returned. If the number
|
|
6701
6777
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
6702
6778
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
6703
|
-
# list requests.
|
|
6779
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
6704
6780
|
# @param [String] order_by
|
|
6705
6781
|
# Sorts list results by a certain order. By default, results are returned in
|
|
6706
6782
|
# alphanumerical order based on the resource name.
|
|
@@ -6865,7 +6941,7 @@ module Google
|
|
|
6865
6941
|
# The maximum number of results per page that should be returned. If the number
|
|
6866
6942
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
6867
6943
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
6868
|
-
# list requests.
|
|
6944
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
6869
6945
|
# @param [String] order_by
|
|
6870
6946
|
# Sorts list results by a certain order. By default, results are returned in
|
|
6871
6947
|
# alphanumerical order based on the resource name.
|
|
@@ -7143,9 +7219,10 @@ module Google
|
|
|
7143
7219
|
# @param [Fixnum] port
|
|
7144
7220
|
# Specifies which COM or serial port to retrieve data from.
|
|
7145
7221
|
# @param [String] start
|
|
7146
|
-
#
|
|
7147
|
-
#
|
|
7148
|
-
#
|
|
7222
|
+
# Returns output starting from a specific byte position. Use this to page
|
|
7223
|
+
# through output when the output is too large to return in a single request. For
|
|
7224
|
+
# the initial request, leave this field unspecified. For subsequent calls, this
|
|
7225
|
+
# field should be set to the next value returned in the previous call.
|
|
7149
7226
|
# @param [String] fields
|
|
7150
7227
|
# Selector specifying which fields to include in a partial response.
|
|
7151
7228
|
# @param [String] quota_user
|
|
@@ -7254,7 +7331,7 @@ module Google
|
|
|
7254
7331
|
# The maximum number of results per page that should be returned. If the number
|
|
7255
7332
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
7256
7333
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
7257
|
-
# list requests.
|
|
7334
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
7258
7335
|
# @param [String] order_by
|
|
7259
7336
|
# Sorts list results by a certain order. By default, results are returned in
|
|
7260
7337
|
# alphanumerical order based on the resource name.
|
|
@@ -7615,7 +7692,8 @@ module Google
|
|
|
7615
7692
|
execute_or_queue_command(command, &block)
|
|
7616
7693
|
end
|
|
7617
7694
|
|
|
7618
|
-
# Sets the service account on the instance.
|
|
7695
|
+
# Sets the service account on the instance. For more information, read Changing
|
|
7696
|
+
# the service account and access scopes for an instance.
|
|
7619
7697
|
# @param [String] project
|
|
7620
7698
|
# Project ID for this request.
|
|
7621
7699
|
# @param [String] zone
|
|
@@ -7947,7 +8025,7 @@ module Google
|
|
|
7947
8025
|
# The maximum number of results per page that should be returned. If the number
|
|
7948
8026
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
7949
8027
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
7950
|
-
# list requests.
|
|
8028
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
7951
8029
|
# @param [String] order_by
|
|
7952
8030
|
# Sorts list results by a certain order. By default, results are returned in
|
|
7953
8031
|
# alphanumerical order based on the resource name.
|
|
@@ -8068,7 +8146,7 @@ module Google
|
|
|
8068
8146
|
# The maximum number of results per page that should be returned. If the number
|
|
8069
8147
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
8070
8148
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
8071
|
-
# list requests.
|
|
8149
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
8072
8150
|
# @param [String] order_by
|
|
8073
8151
|
# Sorts list results by a certain order. By default, results are returned in
|
|
8074
8152
|
# alphanumerical order based on the resource name.
|
|
@@ -8118,6 +8196,47 @@ module Google
|
|
|
8118
8196
|
execute_or_queue_command(command, &block)
|
|
8119
8197
|
end
|
|
8120
8198
|
|
|
8199
|
+
# Adds a peering to the specified network.
|
|
8200
|
+
# @param [String] project
|
|
8201
|
+
# Project ID for this request.
|
|
8202
|
+
# @param [String] network
|
|
8203
|
+
# Name of the network resource to add peering to.
|
|
8204
|
+
# @param [Google::Apis::ComputeBeta::NetworksAddPeeringRequest] networks_add_peering_request_object
|
|
8205
|
+
# @param [String] fields
|
|
8206
|
+
# Selector specifying which fields to include in a partial response.
|
|
8207
|
+
# @param [String] quota_user
|
|
8208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8210
|
+
# Overrides userIp if both are provided.
|
|
8211
|
+
# @param [String] user_ip
|
|
8212
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
8213
|
+
# enforce per-user limits.
|
|
8214
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8215
|
+
# Request-specific options
|
|
8216
|
+
#
|
|
8217
|
+
# @yield [result, err] Result & error if block supplied
|
|
8218
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
8219
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8220
|
+
#
|
|
8221
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
8222
|
+
#
|
|
8223
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8224
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8225
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8226
|
+
def add_network_peering(project, network, networks_add_peering_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8227
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options)
|
|
8228
|
+
command.request_representation = Google::Apis::ComputeBeta::NetworksAddPeeringRequest::Representation
|
|
8229
|
+
command.request_object = networks_add_peering_request_object
|
|
8230
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8231
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8232
|
+
command.params['project'] = project unless project.nil?
|
|
8233
|
+
command.params['network'] = network unless network.nil?
|
|
8234
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8235
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8236
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8237
|
+
execute_or_queue_command(command, &block)
|
|
8238
|
+
end
|
|
8239
|
+
|
|
8121
8240
|
# Deletes the specified network.
|
|
8122
8241
|
# @param [String] project
|
|
8123
8242
|
# Project ID for this request.
|
|
@@ -8262,7 +8381,7 @@ module Google
|
|
|
8262
8381
|
# The maximum number of results per page that should be returned. If the number
|
|
8263
8382
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
8264
8383
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
8265
|
-
# list requests.
|
|
8384
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
8266
8385
|
# @param [String] order_by
|
|
8267
8386
|
# Sorts list results by a certain order. By default, results are returned in
|
|
8268
8387
|
# alphanumerical order based on the resource name.
|
|
@@ -8311,11 +8430,12 @@ module Google
|
|
|
8311
8430
|
execute_or_queue_command(command, &block)
|
|
8312
8431
|
end
|
|
8313
8432
|
|
|
8314
|
-
#
|
|
8433
|
+
# Removes a peering from the specified network.
|
|
8315
8434
|
# @param [String] project
|
|
8316
8435
|
# Project ID for this request.
|
|
8317
8436
|
# @param [String] network
|
|
8318
|
-
# Name of the network to
|
|
8437
|
+
# Name of the network resource to remove peering from.
|
|
8438
|
+
# @param [Google::Apis::ComputeBeta::NetworksRemovePeeringRequest] networks_remove_peering_request_object
|
|
8319
8439
|
# @param [String] fields
|
|
8320
8440
|
# Selector specifying which fields to include in a partial response.
|
|
8321
8441
|
# @param [String] quota_user
|
|
@@ -8337,8 +8457,10 @@ module Google
|
|
|
8337
8457
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8338
8458
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8339
8459
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8340
|
-
def
|
|
8341
|
-
command = make_simple_command(:post, '{project}/global/networks/{network}/
|
|
8460
|
+
def remove_network_peering(project, network, networks_remove_peering_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8461
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options)
|
|
8462
|
+
command.request_representation = Google::Apis::ComputeBeta::NetworksRemovePeeringRequest::Representation
|
|
8463
|
+
command.request_object = networks_remove_peering_request_object
|
|
8342
8464
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8343
8465
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8344
8466
|
command.params['project'] = project unless project.nil?
|
|
@@ -8349,12 +8471,11 @@ module Google
|
|
|
8349
8471
|
execute_or_queue_command(command, &block)
|
|
8350
8472
|
end
|
|
8351
8473
|
|
|
8352
|
-
#
|
|
8474
|
+
# Switches the network mode from auto subnet mode to custom subnet mode.
|
|
8353
8475
|
# @param [String] project
|
|
8354
8476
|
# Project ID for this request.
|
|
8355
|
-
# @param [String]
|
|
8356
|
-
# Name of the
|
|
8357
|
-
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
8477
|
+
# @param [String] network
|
|
8478
|
+
# Name of the network to be updated.
|
|
8358
8479
|
# @param [String] fields
|
|
8359
8480
|
# Selector specifying which fields to include in a partial response.
|
|
8360
8481
|
# @param [String] quota_user
|
|
@@ -8368,31 +8489,32 @@ module Google
|
|
|
8368
8489
|
# Request-specific options
|
|
8369
8490
|
#
|
|
8370
8491
|
# @yield [result, err] Result & error if block supplied
|
|
8371
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
8492
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
8372
8493
|
# @yieldparam err [StandardError] error object if request failed
|
|
8373
8494
|
#
|
|
8374
|
-
# @return [Google::Apis::ComputeBeta::
|
|
8495
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
8375
8496
|
#
|
|
8376
8497
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8377
8498
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8378
8499
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8379
|
-
def
|
|
8380
|
-
command = make_simple_command(:post, '{project}/global/networks/{
|
|
8381
|
-
command.
|
|
8382
|
-
command.
|
|
8383
|
-
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
8384
|
-
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
8500
|
+
def switch_network_to_custom_mode(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8501
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options)
|
|
8502
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8503
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8385
8504
|
command.params['project'] = project unless project.nil?
|
|
8386
|
-
command.params['
|
|
8505
|
+
command.params['network'] = network unless network.nil?
|
|
8387
8506
|
command.query['fields'] = fields unless fields.nil?
|
|
8388
8507
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8389
8508
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8390
8509
|
execute_or_queue_command(command, &block)
|
|
8391
8510
|
end
|
|
8392
8511
|
|
|
8393
|
-
# Returns the specified
|
|
8512
|
+
# Returns permissions that a caller has on the specified resource.
|
|
8394
8513
|
# @param [String] project
|
|
8395
8514
|
# Project ID for this request.
|
|
8515
|
+
# @param [String] resource
|
|
8516
|
+
# Name of the resource for this request.
|
|
8517
|
+
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
8396
8518
|
# @param [String] fields
|
|
8397
8519
|
# Selector specifying which fields to include in a partial response.
|
|
8398
8520
|
# @param [String] quota_user
|
|
@@ -8406,27 +8528,29 @@ module Google
|
|
|
8406
8528
|
# Request-specific options
|
|
8407
8529
|
#
|
|
8408
8530
|
# @yield [result, err] Result & error if block supplied
|
|
8409
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
8531
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
|
8410
8532
|
# @yieldparam err [StandardError] error object if request failed
|
|
8411
8533
|
#
|
|
8412
|
-
# @return [Google::Apis::ComputeBeta::
|
|
8534
|
+
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
|
8413
8535
|
#
|
|
8414
8536
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8415
8537
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8416
8538
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8417
|
-
def
|
|
8418
|
-
command = make_simple_command(:
|
|
8419
|
-
command.
|
|
8420
|
-
command.
|
|
8539
|
+
def test_network_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8540
|
+
command = make_simple_command(:post, '{project}/global/networks/{resource}/testIamPermissions', options)
|
|
8541
|
+
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
|
8542
|
+
command.request_object = test_permissions_request_object
|
|
8543
|
+
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
8544
|
+
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
8421
8545
|
command.params['project'] = project unless project.nil?
|
|
8546
|
+
command.params['resource'] = resource unless resource.nil?
|
|
8422
8547
|
command.query['fields'] = fields unless fields.nil?
|
|
8423
8548
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8424
8549
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8425
8550
|
execute_or_queue_command(command, &block)
|
|
8426
8551
|
end
|
|
8427
8552
|
|
|
8428
|
-
#
|
|
8429
|
-
# exists.
|
|
8553
|
+
# Disable this project as an XPN host project.
|
|
8430
8554
|
# @param [String] project
|
|
8431
8555
|
# Project ID for this request.
|
|
8432
8556
|
# @param [String] fields
|
|
@@ -8442,18 +8566,18 @@ module Google
|
|
|
8442
8566
|
# Request-specific options
|
|
8443
8567
|
#
|
|
8444
8568
|
# @yield [result, err] Result & error if block supplied
|
|
8445
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
8569
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
8446
8570
|
# @yieldparam err [StandardError] error object if request failed
|
|
8447
8571
|
#
|
|
8448
|
-
# @return [Google::Apis::ComputeBeta::
|
|
8572
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
8449
8573
|
#
|
|
8450
8574
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8451
8575
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8452
8576
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8453
|
-
def
|
|
8454
|
-
command = make_simple_command(:
|
|
8455
|
-
command.response_representation = Google::Apis::ComputeBeta::
|
|
8456
|
-
command.response_class = Google::Apis::ComputeBeta::
|
|
8577
|
+
def disable_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8578
|
+
command = make_simple_command(:post, '{project}/disableXpnHost', options)
|
|
8579
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8580
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8457
8581
|
command.params['project'] = project unless project.nil?
|
|
8458
8582
|
command.query['fields'] = fields unless fields.nil?
|
|
8459
8583
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -8461,14 +8585,10 @@ module Google
|
|
|
8461
8585
|
execute_or_queue_command(command, &block)
|
|
8462
8586
|
end
|
|
8463
8587
|
|
|
8464
|
-
#
|
|
8588
|
+
# Disable an XPN resource associated with this host project.
|
|
8465
8589
|
# @param [String] project
|
|
8466
8590
|
# Project ID for this request.
|
|
8467
|
-
# @param [Google::Apis::ComputeBeta::
|
|
8468
|
-
# @param [String] filter
|
|
8469
|
-
# @param [Fixnum] max_results
|
|
8470
|
-
# @param [String] order_by
|
|
8471
|
-
# @param [String] page_token
|
|
8591
|
+
# @param [Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object
|
|
8472
8592
|
# @param [String] fields
|
|
8473
8593
|
# Selector specifying which fields to include in a partial response.
|
|
8474
8594
|
# @param [String] quota_user
|
|
@@ -8482,35 +8602,30 @@ module Google
|
|
|
8482
8602
|
# Request-specific options
|
|
8483
8603
|
#
|
|
8484
8604
|
# @yield [result, err] Result & error if block supplied
|
|
8485
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
8605
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
8486
8606
|
# @yieldparam err [StandardError] error object if request failed
|
|
8487
8607
|
#
|
|
8488
|
-
# @return [Google::Apis::ComputeBeta::
|
|
8608
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
8489
8609
|
#
|
|
8490
8610
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8491
8611
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8492
8612
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8493
|
-
def
|
|
8494
|
-
command = make_simple_command(:post, '{project}/
|
|
8495
|
-
command.request_representation = Google::Apis::ComputeBeta::
|
|
8496
|
-
command.request_object =
|
|
8497
|
-
command.response_representation = Google::Apis::ComputeBeta::
|
|
8498
|
-
command.response_class = Google::Apis::ComputeBeta::
|
|
8613
|
+
def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8614
|
+
command = make_simple_command(:post, '{project}/disableXpnResource', options)
|
|
8615
|
+
command.request_representation = Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest::Representation
|
|
8616
|
+
command.request_object = projects_disable_xpn_resource_request_object
|
|
8617
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8618
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8499
8619
|
command.params['project'] = project unless project.nil?
|
|
8500
|
-
command.query['filter'] = filter unless filter.nil?
|
|
8501
|
-
command.query['maxResults'] = max_results unless max_results.nil?
|
|
8502
|
-
command.query['order_by'] = order_by unless order_by.nil?
|
|
8503
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
8504
8620
|
command.query['fields'] = fields unless fields.nil?
|
|
8505
8621
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8506
8622
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8507
8623
|
execute_or_queue_command(command, &block)
|
|
8508
8624
|
end
|
|
8509
8625
|
|
|
8510
|
-
#
|
|
8626
|
+
# Enable this project as an XPN host project.
|
|
8511
8627
|
# @param [String] project
|
|
8512
8628
|
# Project ID for this request.
|
|
8513
|
-
# @param [Google::Apis::ComputeBeta::DiskMoveRequest] disk_move_request_object
|
|
8514
8629
|
# @param [String] fields
|
|
8515
8630
|
# Selector specifying which fields to include in a partial response.
|
|
8516
8631
|
# @param [String] quota_user
|
|
@@ -8532,10 +8647,8 @@ module Google
|
|
|
8532
8647
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8533
8648
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8534
8649
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8535
|
-
def
|
|
8536
|
-
command = make_simple_command(:post, '{project}/
|
|
8537
|
-
command.request_representation = Google::Apis::ComputeBeta::DiskMoveRequest::Representation
|
|
8538
|
-
command.request_object = disk_move_request_object
|
|
8650
|
+
def enable_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8651
|
+
command = make_simple_command(:post, '{project}/enableXpnHost', options)
|
|
8539
8652
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8540
8653
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8541
8654
|
command.params['project'] = project unless project.nil?
|
|
@@ -8545,10 +8658,12 @@ module Google
|
|
|
8545
8658
|
execute_or_queue_command(command, &block)
|
|
8546
8659
|
end
|
|
8547
8660
|
|
|
8548
|
-
#
|
|
8661
|
+
# Enable XPN resource (a.k.a service project or service folder in the future)
|
|
8662
|
+
# for a host project, so that subnetworks in the host project can be used by
|
|
8663
|
+
# instances in the service project or folder.
|
|
8549
8664
|
# @param [String] project
|
|
8550
8665
|
# Project ID for this request.
|
|
8551
|
-
# @param [Google::Apis::ComputeBeta::
|
|
8666
|
+
# @param [Google::Apis::ComputeBeta::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object
|
|
8552
8667
|
# @param [String] fields
|
|
8553
8668
|
# Selector specifying which fields to include in a partial response.
|
|
8554
8669
|
# @param [String] quota_user
|
|
@@ -8570,10 +8685,10 @@ module Google
|
|
|
8570
8685
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8571
8686
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8572
8687
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8573
|
-
def
|
|
8574
|
-
command = make_simple_command(:post, '{project}/
|
|
8575
|
-
command.request_representation = Google::Apis::ComputeBeta::
|
|
8576
|
-
command.request_object =
|
|
8688
|
+
def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8689
|
+
command = make_simple_command(:post, '{project}/enableXpnResource', options)
|
|
8690
|
+
command.request_representation = Google::Apis::ComputeBeta::ProjectsEnableXpnResourceRequest::Representation
|
|
8691
|
+
command.request_object = projects_enable_xpn_resource_request_object
|
|
8577
8692
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8578
8693
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8579
8694
|
command.params['project'] = project unless project.nil?
|
|
@@ -8583,11 +8698,9 @@ module Google
|
|
|
8583
8698
|
execute_or_queue_command(command, &block)
|
|
8584
8699
|
end
|
|
8585
8700
|
|
|
8586
|
-
#
|
|
8587
|
-
# data included in the request.
|
|
8701
|
+
# Returns the specified Project resource.
|
|
8588
8702
|
# @param [String] project
|
|
8589
8703
|
# Project ID for this request.
|
|
8590
|
-
# @param [Google::Apis::ComputeBeta::Metadata] metadata_object
|
|
8591
8704
|
# @param [String] fields
|
|
8592
8705
|
# Selector specifying which fields to include in a partial response.
|
|
8593
8706
|
# @param [String] quota_user
|
|
@@ -8601,20 +8714,18 @@ module Google
|
|
|
8601
8714
|
# Request-specific options
|
|
8602
8715
|
#
|
|
8603
8716
|
# @yield [result, err] Result & error if block supplied
|
|
8604
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
8717
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Project] parsed result object
|
|
8605
8718
|
# @yieldparam err [StandardError] error object if request failed
|
|
8606
8719
|
#
|
|
8607
|
-
# @return [Google::Apis::ComputeBeta::
|
|
8720
|
+
# @return [Google::Apis::ComputeBeta::Project]
|
|
8608
8721
|
#
|
|
8609
8722
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8610
8723
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8611
8724
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8612
|
-
def
|
|
8613
|
-
command = make_simple_command(:
|
|
8614
|
-
command.
|
|
8615
|
-
command.
|
|
8616
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8617
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8725
|
+
def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8726
|
+
command = make_simple_command(:get, '{project}', options)
|
|
8727
|
+
command.response_representation = Google::Apis::ComputeBeta::Project::Representation
|
|
8728
|
+
command.response_class = Google::Apis::ComputeBeta::Project
|
|
8618
8729
|
command.params['project'] = project unless project.nil?
|
|
8619
8730
|
command.query['fields'] = fields unless fields.nil?
|
|
8620
8731
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -8622,12 +8733,10 @@ module Google
|
|
|
8622
8733
|
execute_or_queue_command(command, &block)
|
|
8623
8734
|
end
|
|
8624
8735
|
|
|
8625
|
-
#
|
|
8626
|
-
#
|
|
8627
|
-
# the usage export feature will be disabled.
|
|
8736
|
+
# Get the XPN host project that this project links to. May be empty if no link
|
|
8737
|
+
# exists.
|
|
8628
8738
|
# @param [String] project
|
|
8629
8739
|
# Project ID for this request.
|
|
8630
|
-
# @param [Google::Apis::ComputeBeta::UsageExportLocation] usage_export_location_object
|
|
8631
8740
|
# @param [String] fields
|
|
8632
8741
|
# Selector specifying which fields to include in a partial response.
|
|
8633
8742
|
# @param [String] quota_user
|
|
@@ -8641,20 +8750,18 @@ module Google
|
|
|
8641
8750
|
# Request-specific options
|
|
8642
8751
|
#
|
|
8643
8752
|
# @yield [result, err] Result & error if block supplied
|
|
8644
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
8753
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Project] parsed result object
|
|
8645
8754
|
# @yieldparam err [StandardError] error object if request failed
|
|
8646
8755
|
#
|
|
8647
|
-
# @return [Google::Apis::ComputeBeta::
|
|
8756
|
+
# @return [Google::Apis::ComputeBeta::Project]
|
|
8648
8757
|
#
|
|
8649
8758
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8650
8759
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8651
8760
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8652
|
-
def
|
|
8653
|
-
command = make_simple_command(:
|
|
8654
|
-
command.
|
|
8655
|
-
command.
|
|
8656
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8657
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8761
|
+
def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8762
|
+
command = make_simple_command(:get, '{project}/getXpnHost', options)
|
|
8763
|
+
command.response_representation = Google::Apis::ComputeBeta::Project::Representation
|
|
8764
|
+
command.response_class = Google::Apis::ComputeBeta::Project
|
|
8658
8765
|
command.params['project'] = project unless project.nil?
|
|
8659
8766
|
command.query['fields'] = fields unless fields.nil?
|
|
8660
8767
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -8662,13 +8769,13 @@ module Google
|
|
|
8662
8769
|
execute_or_queue_command(command, &block)
|
|
8663
8770
|
end
|
|
8664
8771
|
|
|
8665
|
-
#
|
|
8772
|
+
# Get XPN resources associated with this host project.
|
|
8666
8773
|
# @param [String] project
|
|
8667
8774
|
# Project ID for this request.
|
|
8668
|
-
# @param [String]
|
|
8669
|
-
#
|
|
8670
|
-
# @param [String]
|
|
8671
|
-
#
|
|
8775
|
+
# @param [String] filter
|
|
8776
|
+
# @param [Fixnum] max_results
|
|
8777
|
+
# @param [String] order_by
|
|
8778
|
+
# @param [String] page_token
|
|
8672
8779
|
# @param [String] fields
|
|
8673
8780
|
# Selector specifying which fields to include in a partial response.
|
|
8674
8781
|
# @param [String] quota_user
|
|
@@ -8682,17 +8789,261 @@ module Google
|
|
|
8682
8789
|
# Request-specific options
|
|
8683
8790
|
#
|
|
8684
8791
|
# @yield [result, err] Result & error if block supplied
|
|
8685
|
-
# @yieldparam result [Google::Apis::ComputeBeta::
|
|
8792
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ProjectsGetXpnResources] parsed result object
|
|
8686
8793
|
# @yieldparam err [StandardError] error object if request failed
|
|
8687
8794
|
#
|
|
8688
|
-
# @return [Google::Apis::ComputeBeta::
|
|
8795
|
+
# @return [Google::Apis::ComputeBeta::ProjectsGetXpnResources]
|
|
8689
8796
|
#
|
|
8690
8797
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8691
8798
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8692
8799
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8693
|
-
def
|
|
8694
|
-
command = make_simple_command(:
|
|
8695
|
-
command.response_representation = Google::Apis::ComputeBeta::
|
|
8800
|
+
def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8801
|
+
command = make_simple_command(:get, '{project}/getXpnResources', options)
|
|
8802
|
+
command.response_representation = Google::Apis::ComputeBeta::ProjectsGetXpnResources::Representation
|
|
8803
|
+
command.response_class = Google::Apis::ComputeBeta::ProjectsGetXpnResources
|
|
8804
|
+
command.params['project'] = project unless project.nil?
|
|
8805
|
+
command.query['filter'] = filter unless filter.nil?
|
|
8806
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
8807
|
+
command.query['order_by'] = order_by unless order_by.nil?
|
|
8808
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
8809
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8810
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8811
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8812
|
+
execute_or_queue_command(command, &block)
|
|
8813
|
+
end
|
|
8814
|
+
|
|
8815
|
+
# List all XPN host projects visible to the user in an organization.
|
|
8816
|
+
# @param [String] project
|
|
8817
|
+
# Project ID for this request.
|
|
8818
|
+
# @param [Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object
|
|
8819
|
+
# @param [String] filter
|
|
8820
|
+
# @param [Fixnum] max_results
|
|
8821
|
+
# @param [String] order_by
|
|
8822
|
+
# @param [String] page_token
|
|
8823
|
+
# @param [String] fields
|
|
8824
|
+
# Selector specifying which fields to include in a partial response.
|
|
8825
|
+
# @param [String] quota_user
|
|
8826
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8827
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8828
|
+
# Overrides userIp if both are provided.
|
|
8829
|
+
# @param [String] user_ip
|
|
8830
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
8831
|
+
# enforce per-user limits.
|
|
8832
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8833
|
+
# Request-specific options
|
|
8834
|
+
#
|
|
8835
|
+
# @yield [result, err] Result & error if block supplied
|
|
8836
|
+
# @yieldparam result [Google::Apis::ComputeBeta::XpnHostList] parsed result object
|
|
8837
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8838
|
+
#
|
|
8839
|
+
# @return [Google::Apis::ComputeBeta::XpnHostList]
|
|
8840
|
+
#
|
|
8841
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8842
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8843
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8844
|
+
def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8845
|
+
command = make_simple_command(:post, '{project}/listXpnHosts', options)
|
|
8846
|
+
command.request_representation = Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest::Representation
|
|
8847
|
+
command.request_object = projects_list_xpn_hosts_request_object
|
|
8848
|
+
command.response_representation = Google::Apis::ComputeBeta::XpnHostList::Representation
|
|
8849
|
+
command.response_class = Google::Apis::ComputeBeta::XpnHostList
|
|
8850
|
+
command.params['project'] = project unless project.nil?
|
|
8851
|
+
command.query['filter'] = filter unless filter.nil?
|
|
8852
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
8853
|
+
command.query['order_by'] = order_by unless order_by.nil?
|
|
8854
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
8855
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8856
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8857
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8858
|
+
execute_or_queue_command(command, &block)
|
|
8859
|
+
end
|
|
8860
|
+
|
|
8861
|
+
# Moves a persistent disk from one zone to another.
|
|
8862
|
+
# @param [String] project
|
|
8863
|
+
# Project ID for this request.
|
|
8864
|
+
# @param [Google::Apis::ComputeBeta::DiskMoveRequest] disk_move_request_object
|
|
8865
|
+
# @param [String] fields
|
|
8866
|
+
# Selector specifying which fields to include in a partial response.
|
|
8867
|
+
# @param [String] quota_user
|
|
8868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8870
|
+
# Overrides userIp if both are provided.
|
|
8871
|
+
# @param [String] user_ip
|
|
8872
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
8873
|
+
# enforce per-user limits.
|
|
8874
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8875
|
+
# Request-specific options
|
|
8876
|
+
#
|
|
8877
|
+
# @yield [result, err] Result & error if block supplied
|
|
8878
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
8879
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8880
|
+
#
|
|
8881
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
8882
|
+
#
|
|
8883
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8884
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8885
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8886
|
+
def move_disk(project, disk_move_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8887
|
+
command = make_simple_command(:post, '{project}/moveDisk', options)
|
|
8888
|
+
command.request_representation = Google::Apis::ComputeBeta::DiskMoveRequest::Representation
|
|
8889
|
+
command.request_object = disk_move_request_object
|
|
8890
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8891
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8892
|
+
command.params['project'] = project unless project.nil?
|
|
8893
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8894
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8895
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8896
|
+
execute_or_queue_command(command, &block)
|
|
8897
|
+
end
|
|
8898
|
+
|
|
8899
|
+
# Moves an instance and its attached persistent disks from one zone to another.
|
|
8900
|
+
# @param [String] project
|
|
8901
|
+
# Project ID for this request.
|
|
8902
|
+
# @param [Google::Apis::ComputeBeta::MoveInstanceRequest] move_instance_request_object
|
|
8903
|
+
# @param [String] fields
|
|
8904
|
+
# Selector specifying which fields to include in a partial response.
|
|
8905
|
+
# @param [String] quota_user
|
|
8906
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8907
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8908
|
+
# Overrides userIp if both are provided.
|
|
8909
|
+
# @param [String] user_ip
|
|
8910
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
8911
|
+
# enforce per-user limits.
|
|
8912
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8913
|
+
# Request-specific options
|
|
8914
|
+
#
|
|
8915
|
+
# @yield [result, err] Result & error if block supplied
|
|
8916
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
8917
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8918
|
+
#
|
|
8919
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
8920
|
+
#
|
|
8921
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8922
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8923
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8924
|
+
def move_instance(project, move_instance_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8925
|
+
command = make_simple_command(:post, '{project}/moveInstance', options)
|
|
8926
|
+
command.request_representation = Google::Apis::ComputeBeta::MoveInstanceRequest::Representation
|
|
8927
|
+
command.request_object = move_instance_request_object
|
|
8928
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8929
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8930
|
+
command.params['project'] = project unless project.nil?
|
|
8931
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8932
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8933
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8934
|
+
execute_or_queue_command(command, &block)
|
|
8935
|
+
end
|
|
8936
|
+
|
|
8937
|
+
# Sets metadata common to all instances within the specified project using the
|
|
8938
|
+
# data included in the request.
|
|
8939
|
+
# @param [String] project
|
|
8940
|
+
# Project ID for this request.
|
|
8941
|
+
# @param [Google::Apis::ComputeBeta::Metadata] metadata_object
|
|
8942
|
+
# @param [String] fields
|
|
8943
|
+
# Selector specifying which fields to include in a partial response.
|
|
8944
|
+
# @param [String] quota_user
|
|
8945
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8946
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8947
|
+
# Overrides userIp if both are provided.
|
|
8948
|
+
# @param [String] user_ip
|
|
8949
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
8950
|
+
# enforce per-user limits.
|
|
8951
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8952
|
+
# Request-specific options
|
|
8953
|
+
#
|
|
8954
|
+
# @yield [result, err] Result & error if block supplied
|
|
8955
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
8956
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8957
|
+
#
|
|
8958
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
8959
|
+
#
|
|
8960
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8961
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8962
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8963
|
+
def set_common_instance_metadata(project, metadata_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8964
|
+
command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', options)
|
|
8965
|
+
command.request_representation = Google::Apis::ComputeBeta::Metadata::Representation
|
|
8966
|
+
command.request_object = metadata_object
|
|
8967
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8968
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8969
|
+
command.params['project'] = project unless project.nil?
|
|
8970
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8971
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8972
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
8973
|
+
execute_or_queue_command(command, &block)
|
|
8974
|
+
end
|
|
8975
|
+
|
|
8976
|
+
# Enables the usage export feature and sets the usage export bucket where
|
|
8977
|
+
# reports are stored. If you provide an empty request body using this method,
|
|
8978
|
+
# the usage export feature will be disabled.
|
|
8979
|
+
# @param [String] project
|
|
8980
|
+
# Project ID for this request.
|
|
8981
|
+
# @param [Google::Apis::ComputeBeta::UsageExportLocation] usage_export_location_object
|
|
8982
|
+
# @param [String] fields
|
|
8983
|
+
# Selector specifying which fields to include in a partial response.
|
|
8984
|
+
# @param [String] quota_user
|
|
8985
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8986
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8987
|
+
# Overrides userIp if both are provided.
|
|
8988
|
+
# @param [String] user_ip
|
|
8989
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
8990
|
+
# enforce per-user limits.
|
|
8991
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8992
|
+
# Request-specific options
|
|
8993
|
+
#
|
|
8994
|
+
# @yield [result, err] Result & error if block supplied
|
|
8995
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
8996
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8997
|
+
#
|
|
8998
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
8999
|
+
#
|
|
9000
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9001
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9002
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9003
|
+
def set_usage_export_bucket(project, usage_export_location_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9004
|
+
command = make_simple_command(:post, '{project}/setUsageExportBucket', options)
|
|
9005
|
+
command.request_representation = Google::Apis::ComputeBeta::UsageExportLocation::Representation
|
|
9006
|
+
command.request_object = usage_export_location_object
|
|
9007
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
9008
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
9009
|
+
command.params['project'] = project unless project.nil?
|
|
9010
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9011
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9012
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
9013
|
+
execute_or_queue_command(command, &block)
|
|
9014
|
+
end
|
|
9015
|
+
|
|
9016
|
+
# Deletes the specified autoscaler.
|
|
9017
|
+
# @param [String] project
|
|
9018
|
+
# Project ID for this request.
|
|
9019
|
+
# @param [String] region
|
|
9020
|
+
# Name of the region scoping this request.
|
|
9021
|
+
# @param [String] autoscaler
|
|
9022
|
+
# Name of the autoscaler to delete.
|
|
9023
|
+
# @param [String] fields
|
|
9024
|
+
# Selector specifying which fields to include in a partial response.
|
|
9025
|
+
# @param [String] quota_user
|
|
9026
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9027
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9028
|
+
# Overrides userIp if both are provided.
|
|
9029
|
+
# @param [String] user_ip
|
|
9030
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
9031
|
+
# enforce per-user limits.
|
|
9032
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9033
|
+
# Request-specific options
|
|
9034
|
+
#
|
|
9035
|
+
# @yield [result, err] Result & error if block supplied
|
|
9036
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
9037
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9038
|
+
#
|
|
9039
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
9040
|
+
#
|
|
9041
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9042
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9043
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9044
|
+
def delete_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9045
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options)
|
|
9046
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
8696
9047
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
8697
9048
|
command.params['project'] = project unless project.nil?
|
|
8698
9049
|
command.params['region'] = region unless region.nil?
|
|
@@ -8816,7 +9167,7 @@ module Google
|
|
|
8816
9167
|
# The maximum number of results per page that should be returned. If the number
|
|
8817
9168
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
8818
9169
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
8819
|
-
# list requests.
|
|
9170
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
8820
9171
|
# @param [String] order_by
|
|
8821
9172
|
# Sorts list results by a certain order. By default, results are returned in
|
|
8822
9173
|
# alphanumerical order based on the resource name.
|
|
@@ -9200,7 +9551,7 @@ module Google
|
|
|
9200
9551
|
# The maximum number of results per page that should be returned. If the number
|
|
9201
9552
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
9202
9553
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
9203
|
-
# list requests.
|
|
9554
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
9204
9555
|
# @param [String] order_by
|
|
9205
9556
|
# Sorts list results by a certain order. By default, results are returned in
|
|
9206
9557
|
# alphanumerical order based on the resource name.
|
|
@@ -9365,23 +9716,187 @@ module Google
|
|
|
9365
9716
|
# Request-specific options
|
|
9366
9717
|
#
|
|
9367
9718
|
# @yield [result, err] Result & error if block supplied
|
|
9368
|
-
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
9719
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
9720
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9721
|
+
#
|
|
9722
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
9723
|
+
#
|
|
9724
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9725
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9726
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9727
|
+
def update_region_backend_service(project, region, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9728
|
+
command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options)
|
|
9729
|
+
command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation
|
|
9730
|
+
command.request_object = backend_service_object
|
|
9731
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
9732
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
9733
|
+
command.params['project'] = project unless project.nil?
|
|
9734
|
+
command.params['region'] = region unless region.nil?
|
|
9735
|
+
command.params['backendService'] = backend_service unless backend_service.nil?
|
|
9736
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9737
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9738
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
9739
|
+
execute_or_queue_command(command, &block)
|
|
9740
|
+
end
|
|
9741
|
+
|
|
9742
|
+
# Returns the specified commitment resource. Get a list of available commitments
|
|
9743
|
+
# by making a list() request.
|
|
9744
|
+
# @param [String] project
|
|
9745
|
+
# Project ID for this request.
|
|
9746
|
+
# @param [String] region
|
|
9747
|
+
# Name of the region for this request.
|
|
9748
|
+
# @param [String] commitment
|
|
9749
|
+
# Name of the commitment to return.
|
|
9750
|
+
# @param [String] fields
|
|
9751
|
+
# Selector specifying which fields to include in a partial response.
|
|
9752
|
+
# @param [String] quota_user
|
|
9753
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9754
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9755
|
+
# Overrides userIp if both are provided.
|
|
9756
|
+
# @param [String] user_ip
|
|
9757
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
9758
|
+
# enforce per-user limits.
|
|
9759
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9760
|
+
# Request-specific options
|
|
9761
|
+
#
|
|
9762
|
+
# @yield [result, err] Result & error if block supplied
|
|
9763
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Commitment] parsed result object
|
|
9764
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9765
|
+
#
|
|
9766
|
+
# @return [Google::Apis::ComputeBeta::Commitment]
|
|
9767
|
+
#
|
|
9768
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9769
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9770
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9771
|
+
def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9772
|
+
command = make_simple_command(:get, '{project}/regions/{region}/commitments/{commitment}', options)
|
|
9773
|
+
command.response_representation = Google::Apis::ComputeBeta::Commitment::Representation
|
|
9774
|
+
command.response_class = Google::Apis::ComputeBeta::Commitment
|
|
9775
|
+
command.params['project'] = project unless project.nil?
|
|
9776
|
+
command.params['region'] = region unless region.nil?
|
|
9777
|
+
command.params['commitment'] = commitment unless commitment.nil?
|
|
9778
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9779
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9780
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
9781
|
+
execute_or_queue_command(command, &block)
|
|
9782
|
+
end
|
|
9783
|
+
|
|
9784
|
+
# Creates an commitment in the specified project using the data included in the
|
|
9785
|
+
# request.
|
|
9786
|
+
# @param [String] project
|
|
9787
|
+
# Project ID for this request.
|
|
9788
|
+
# @param [String] region
|
|
9789
|
+
# Name of the region for this request.
|
|
9790
|
+
# @param [Google::Apis::ComputeBeta::Commitment] commitment_object
|
|
9791
|
+
# @param [String] fields
|
|
9792
|
+
# Selector specifying which fields to include in a partial response.
|
|
9793
|
+
# @param [String] quota_user
|
|
9794
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9795
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9796
|
+
# Overrides userIp if both are provided.
|
|
9797
|
+
# @param [String] user_ip
|
|
9798
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
9799
|
+
# enforce per-user limits.
|
|
9800
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9801
|
+
# Request-specific options
|
|
9802
|
+
#
|
|
9803
|
+
# @yield [result, err] Result & error if block supplied
|
|
9804
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
9805
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9806
|
+
#
|
|
9807
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
9808
|
+
#
|
|
9809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9812
|
+
def insert_region_commitment(project, region, commitment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9813
|
+
command = make_simple_command(:post, '{project}/regions/{region}/commitments', options)
|
|
9814
|
+
command.request_representation = Google::Apis::ComputeBeta::Commitment::Representation
|
|
9815
|
+
command.request_object = commitment_object
|
|
9816
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
9817
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
9818
|
+
command.params['project'] = project unless project.nil?
|
|
9819
|
+
command.params['region'] = region unless region.nil?
|
|
9820
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9821
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9822
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
9823
|
+
execute_or_queue_command(command, &block)
|
|
9824
|
+
end
|
|
9825
|
+
|
|
9826
|
+
# Retrieves a list of commitments contained within the specified region.
|
|
9827
|
+
# @param [String] project
|
|
9828
|
+
# Project ID for this request.
|
|
9829
|
+
# @param [String] region
|
|
9830
|
+
# Name of the region for this request.
|
|
9831
|
+
# @param [String] filter
|
|
9832
|
+
# Sets a filter expression for filtering listed resources, in the form filter=`
|
|
9833
|
+
# expression`. Your `expression` must be in the format: field_name
|
|
9834
|
+
# comparison_string literal_string.
|
|
9835
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
|
9836
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
|
9837
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
|
9838
|
+
# to filter to. The literal value must be valid for the type of field you are
|
|
9839
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
|
9840
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
|
9841
|
+
# must match the entire field.
|
|
9842
|
+
# For example, to filter for instances that do not have a name of example-
|
|
9843
|
+
# instance, you would use filter=name ne example-instance.
|
|
9844
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
9845
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
9846
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
9847
|
+
# based on label values.
|
|
9848
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
9849
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
9850
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
9851
|
+
# resources must match all expressions to pass the filters.
|
|
9852
|
+
# @param [Fixnum] max_results
|
|
9853
|
+
# The maximum number of results per page that should be returned. If the number
|
|
9854
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
9855
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
9856
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
9857
|
+
# @param [String] order_by
|
|
9858
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
9859
|
+
# alphanumerical order based on the resource name.
|
|
9860
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
9861
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
9862
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
9863
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
9864
|
+
# returned first.
|
|
9865
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
9866
|
+
# @param [String] page_token
|
|
9867
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
9868
|
+
# a previous list request to get the next page of results.
|
|
9869
|
+
# @param [String] fields
|
|
9870
|
+
# Selector specifying which fields to include in a partial response.
|
|
9871
|
+
# @param [String] quota_user
|
|
9872
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9873
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9874
|
+
# Overrides userIp if both are provided.
|
|
9875
|
+
# @param [String] user_ip
|
|
9876
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
9877
|
+
# enforce per-user limits.
|
|
9878
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9879
|
+
# Request-specific options
|
|
9880
|
+
#
|
|
9881
|
+
# @yield [result, err] Result & error if block supplied
|
|
9882
|
+
# @yieldparam result [Google::Apis::ComputeBeta::CommitmentList] parsed result object
|
|
9369
9883
|
# @yieldparam err [StandardError] error object if request failed
|
|
9370
9884
|
#
|
|
9371
|
-
# @return [Google::Apis::ComputeBeta::
|
|
9885
|
+
# @return [Google::Apis::ComputeBeta::CommitmentList]
|
|
9372
9886
|
#
|
|
9373
9887
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9374
9888
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9375
9889
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9376
|
-
def
|
|
9377
|
-
command = make_simple_command(:
|
|
9378
|
-
command.
|
|
9379
|
-
command.
|
|
9380
|
-
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
9381
|
-
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
9890
|
+
def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
9891
|
+
command = make_simple_command(:get, '{project}/regions/{region}/commitments', options)
|
|
9892
|
+
command.response_representation = Google::Apis::ComputeBeta::CommitmentList::Representation
|
|
9893
|
+
command.response_class = Google::Apis::ComputeBeta::CommitmentList
|
|
9382
9894
|
command.params['project'] = project unless project.nil?
|
|
9383
9895
|
command.params['region'] = region unless region.nil?
|
|
9384
|
-
command.
|
|
9896
|
+
command.query['filter'] = filter unless filter.nil?
|
|
9897
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
9898
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
9899
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
9385
9900
|
command.query['fields'] = fields unless fields.nil?
|
|
9386
9901
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9387
9902
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -9649,7 +10164,7 @@ module Google
|
|
|
9649
10164
|
# The maximum number of results per page that should be returned. If the number
|
|
9650
10165
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
9651
10166
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
9652
|
-
# list requests.
|
|
10167
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
9653
10168
|
# @param [String] order_by
|
|
9654
10169
|
# Sorts list results by a certain order. By default, results are returned in
|
|
9655
10170
|
# alphanumerical order based on the resource name.
|
|
@@ -10196,7 +10711,7 @@ module Google
|
|
|
10196
10711
|
# The maximum number of results per page that should be returned. If the number
|
|
10197
10712
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
10198
10713
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10199
|
-
# list requests.
|
|
10714
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10200
10715
|
# @param [String] order_by
|
|
10201
10716
|
# Sorts list results by a certain order. By default, results are returned in
|
|
10202
10717
|
# alphanumerical order based on the resource name.
|
|
@@ -10281,7 +10796,7 @@ module Google
|
|
|
10281
10796
|
# The maximum number of results per page that should be returned. If the number
|
|
10282
10797
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
10283
10798
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10284
|
-
# list requests.
|
|
10799
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10285
10800
|
# @param [String] order_by
|
|
10286
10801
|
# Sorts list results by a certain order. By default, results are returned in
|
|
10287
10802
|
# alphanumerical order based on the resource name.
|
|
@@ -10532,7 +11047,7 @@ module Google
|
|
|
10532
11047
|
# The maximum number of results per page that should be returned. If the number
|
|
10533
11048
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
10534
11049
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10535
|
-
# list requests.
|
|
11050
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10536
11051
|
# @param [String] order_by
|
|
10537
11052
|
# Sorts list results by a certain order. By default, results are returned in
|
|
10538
11053
|
# alphanumerical order based on the resource name.
|
|
@@ -10649,7 +11164,7 @@ module Google
|
|
|
10649
11164
|
# The maximum number of results per page that should be returned. If the number
|
|
10650
11165
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
10651
11166
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10652
|
-
# list requests.
|
|
11167
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10653
11168
|
# @param [String] order_by
|
|
10654
11169
|
# Sorts list results by a certain order. By default, results are returned in
|
|
10655
11170
|
# alphanumerical order based on the resource name.
|
|
@@ -10726,7 +11241,7 @@ module Google
|
|
|
10726
11241
|
# The maximum number of results per page that should be returned. If the number
|
|
10727
11242
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
10728
11243
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10729
|
-
# list requests.
|
|
11244
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10730
11245
|
# @param [String] order_by
|
|
10731
11246
|
# Sorts list results by a certain order. By default, results are returned in
|
|
10732
11247
|
# alphanumerical order based on the resource name.
|
|
@@ -10971,7 +11486,7 @@ module Google
|
|
|
10971
11486
|
# The maximum number of results per page that should be returned. If the number
|
|
10972
11487
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
10973
11488
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
10974
|
-
# list requests.
|
|
11489
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
10975
11490
|
# @param [String] order_by
|
|
10976
11491
|
# Sorts list results by a certain order. By default, results are returned in
|
|
10977
11492
|
# alphanumerical order based on the resource name.
|
|
@@ -11343,7 +11858,7 @@ module Google
|
|
|
11343
11858
|
# The maximum number of results per page that should be returned. If the number
|
|
11344
11859
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
11345
11860
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
11346
|
-
# list requests.
|
|
11861
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
11347
11862
|
# @param [String] order_by
|
|
11348
11863
|
# Sorts list results by a certain order. By default, results are returned in
|
|
11349
11864
|
# alphanumerical order based on the resource name.
|
|
@@ -11543,7 +12058,7 @@ module Google
|
|
|
11543
12058
|
# The maximum number of results per page that should be returned. If the number
|
|
11544
12059
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
11545
12060
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
11546
|
-
# list requests.
|
|
12061
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
11547
12062
|
# @param [String] order_by
|
|
11548
12063
|
# Sorts list results by a certain order. By default, results are returned in
|
|
11549
12064
|
# alphanumerical order based on the resource name.
|
|
@@ -11820,7 +12335,7 @@ module Google
|
|
|
11820
12335
|
# The maximum number of results per page that should be returned. If the number
|
|
11821
12336
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
11822
12337
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
11823
|
-
# list requests.
|
|
12338
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
11824
12339
|
# @param [String] order_by
|
|
11825
12340
|
# Sorts list results by a certain order. By default, results are returned in
|
|
11826
12341
|
# alphanumerical order based on the resource name.
|
|
@@ -11938,7 +12453,7 @@ module Google
|
|
|
11938
12453
|
# The maximum number of results per page that should be returned. If the number
|
|
11939
12454
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
11940
12455
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
11941
|
-
# list requests.
|
|
12456
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
11942
12457
|
# @param [String] order_by
|
|
11943
12458
|
# Sorts list results by a certain order. By default, results are returned in
|
|
11944
12459
|
# alphanumerical order based on the resource name.
|
|
@@ -12228,7 +12743,7 @@ module Google
|
|
|
12228
12743
|
# The maximum number of results per page that should be returned. If the number
|
|
12229
12744
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
12230
12745
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
12231
|
-
# list requests.
|
|
12746
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
12232
12747
|
# @param [String] order_by
|
|
12233
12748
|
# Sorts list results by a certain order. By default, results are returned in
|
|
12234
12749
|
# alphanumerical order based on the resource name.
|
|
@@ -12512,7 +13027,7 @@ module Google
|
|
|
12512
13027
|
# The maximum number of results per page that should be returned. If the number
|
|
12513
13028
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
12514
13029
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
12515
|
-
# list requests.
|
|
13030
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
12516
13031
|
# @param [String] order_by
|
|
12517
13032
|
# Sorts list results by a certain order. By default, results are returned in
|
|
12518
13033
|
# alphanumerical order based on the resource name.
|
|
@@ -12788,7 +13303,7 @@ module Google
|
|
|
12788
13303
|
# The maximum number of results per page that should be returned. If the number
|
|
12789
13304
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
12790
13305
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
12791
|
-
# list requests.
|
|
13306
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
12792
13307
|
# @param [String] order_by
|
|
12793
13308
|
# Sorts list results by a certain order. By default, results are returned in
|
|
12794
13309
|
# alphanumerical order based on the resource name.
|
|
@@ -12988,7 +13503,7 @@ module Google
|
|
|
12988
13503
|
# The maximum number of results per page that should be returned. If the number
|
|
12989
13504
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
12990
13505
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
12991
|
-
# list requests.
|
|
13506
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
12992
13507
|
# @param [String] order_by
|
|
12993
13508
|
# Sorts list results by a certain order. By default, results are returned in
|
|
12994
13509
|
# alphanumerical order based on the resource name.
|
|
@@ -13193,7 +13708,7 @@ module Google
|
|
|
13193
13708
|
# The maximum number of results per page that should be returned. If the number
|
|
13194
13709
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
13195
13710
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
13196
|
-
# list requests.
|
|
13711
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
13197
13712
|
# @param [String] order_by
|
|
13198
13713
|
# Sorts list results by a certain order. By default, results are returned in
|
|
13199
13714
|
# alphanumerical order based on the resource name.
|
|
@@ -13403,7 +13918,7 @@ module Google
|
|
|
13403
13918
|
# The maximum number of results per page that should be returned. If the number
|
|
13404
13919
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
13405
13920
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
13406
|
-
# list requests.
|
|
13921
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
13407
13922
|
# @param [String] order_by
|
|
13408
13923
|
# Sorts list results by a certain order. By default, results are returned in
|
|
13409
13924
|
# alphanumerical order based on the resource name.
|
|
@@ -13652,7 +14167,7 @@ module Google
|
|
|
13652
14167
|
# The maximum number of results per page that should be returned. If the number
|
|
13653
14168
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
13654
14169
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
13655
|
-
# list requests.
|
|
14170
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
13656
14171
|
# @param [String] order_by
|
|
13657
14172
|
# Sorts list results by a certain order. By default, results are returned in
|
|
13658
14173
|
# alphanumerical order based on the resource name.
|
|
@@ -14026,7 +14541,7 @@ module Google
|
|
|
14026
14541
|
# The maximum number of results per page that should be returned. If the number
|
|
14027
14542
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
14028
14543
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
14029
|
-
# list requests.
|
|
14544
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
14030
14545
|
# @param [String] order_by
|
|
14031
14546
|
# Sorts list results by a certain order. By default, results are returned in
|
|
14032
14547
|
# alphanumerical order based on the resource name.
|
|
@@ -14239,6 +14754,282 @@ module Google
|
|
|
14239
14754
|
execute_or_queue_command(command, &block)
|
|
14240
14755
|
end
|
|
14241
14756
|
|
|
14757
|
+
# Deletes the specified TargetTcpProxy resource.
|
|
14758
|
+
# @param [String] project
|
|
14759
|
+
# Project ID for this request.
|
|
14760
|
+
# @param [String] target_tcp_proxy
|
|
14761
|
+
# Name of the TargetTcpProxy resource to delete.
|
|
14762
|
+
# @param [String] fields
|
|
14763
|
+
# Selector specifying which fields to include in a partial response.
|
|
14764
|
+
# @param [String] quota_user
|
|
14765
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
14766
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
14767
|
+
# Overrides userIp if both are provided.
|
|
14768
|
+
# @param [String] user_ip
|
|
14769
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
14770
|
+
# enforce per-user limits.
|
|
14771
|
+
# @param [Google::Apis::RequestOptions] options
|
|
14772
|
+
# Request-specific options
|
|
14773
|
+
#
|
|
14774
|
+
# @yield [result, err] Result & error if block supplied
|
|
14775
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
14776
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
14777
|
+
#
|
|
14778
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
14779
|
+
#
|
|
14780
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
14781
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14782
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14783
|
+
def delete_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14784
|
+
command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', options)
|
|
14785
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
14786
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
14787
|
+
command.params['project'] = project unless project.nil?
|
|
14788
|
+
command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
|
|
14789
|
+
command.query['fields'] = fields unless fields.nil?
|
|
14790
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
14791
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
14792
|
+
execute_or_queue_command(command, &block)
|
|
14793
|
+
end
|
|
14794
|
+
|
|
14795
|
+
# Returns the specified TargetTcpProxy resource. Get a list of available target
|
|
14796
|
+
# TCP proxies by making a list() request.
|
|
14797
|
+
# @param [String] project
|
|
14798
|
+
# Project ID for this request.
|
|
14799
|
+
# @param [String] target_tcp_proxy
|
|
14800
|
+
# Name of the TargetTcpProxy resource to return.
|
|
14801
|
+
# @param [String] fields
|
|
14802
|
+
# Selector specifying which fields to include in a partial response.
|
|
14803
|
+
# @param [String] quota_user
|
|
14804
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
14805
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
14806
|
+
# Overrides userIp if both are provided.
|
|
14807
|
+
# @param [String] user_ip
|
|
14808
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
14809
|
+
# enforce per-user limits.
|
|
14810
|
+
# @param [Google::Apis::RequestOptions] options
|
|
14811
|
+
# Request-specific options
|
|
14812
|
+
#
|
|
14813
|
+
# @yield [result, err] Result & error if block supplied
|
|
14814
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxy] parsed result object
|
|
14815
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
14816
|
+
#
|
|
14817
|
+
# @return [Google::Apis::ComputeBeta::TargetTcpProxy]
|
|
14818
|
+
#
|
|
14819
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
14820
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14821
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14822
|
+
def get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14823
|
+
command = make_simple_command(:get, '{project}/global/targetTcpProxies/{targetTcpProxy}', options)
|
|
14824
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation
|
|
14825
|
+
command.response_class = Google::Apis::ComputeBeta::TargetTcpProxy
|
|
14826
|
+
command.params['project'] = project unless project.nil?
|
|
14827
|
+
command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
|
|
14828
|
+
command.query['fields'] = fields unless fields.nil?
|
|
14829
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
14830
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
14831
|
+
execute_or_queue_command(command, &block)
|
|
14832
|
+
end
|
|
14833
|
+
|
|
14834
|
+
# Creates a TargetTcpProxy resource in the specified project using the data
|
|
14835
|
+
# included in the request.
|
|
14836
|
+
# @param [String] project
|
|
14837
|
+
# Project ID for this request.
|
|
14838
|
+
# @param [Google::Apis::ComputeBeta::TargetTcpProxy] target_tcp_proxy_object
|
|
14839
|
+
# @param [String] fields
|
|
14840
|
+
# Selector specifying which fields to include in a partial response.
|
|
14841
|
+
# @param [String] quota_user
|
|
14842
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
14843
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
14844
|
+
# Overrides userIp if both are provided.
|
|
14845
|
+
# @param [String] user_ip
|
|
14846
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
14847
|
+
# enforce per-user limits.
|
|
14848
|
+
# @param [Google::Apis::RequestOptions] options
|
|
14849
|
+
# Request-specific options
|
|
14850
|
+
#
|
|
14851
|
+
# @yield [result, err] Result & error if block supplied
|
|
14852
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
14853
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
14854
|
+
#
|
|
14855
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
14856
|
+
#
|
|
14857
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
14858
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14859
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14860
|
+
def insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14861
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies', options)
|
|
14862
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation
|
|
14863
|
+
command.request_object = target_tcp_proxy_object
|
|
14864
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
14865
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
14866
|
+
command.params['project'] = project unless project.nil?
|
|
14867
|
+
command.query['fields'] = fields unless fields.nil?
|
|
14868
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
14869
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
14870
|
+
execute_or_queue_command(command, &block)
|
|
14871
|
+
end
|
|
14872
|
+
|
|
14873
|
+
# Retrieves the list of TargetTcpProxy resources available to the specified
|
|
14874
|
+
# project.
|
|
14875
|
+
# @param [String] project
|
|
14876
|
+
# Project ID for this request.
|
|
14877
|
+
# @param [String] filter
|
|
14878
|
+
# Sets a filter expression for filtering listed resources, in the form filter=`
|
|
14879
|
+
# expression`. Your `expression` must be in the format: field_name
|
|
14880
|
+
# comparison_string literal_string.
|
|
14881
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
|
14882
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
|
14883
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
|
14884
|
+
# to filter to. The literal value must be valid for the type of field you are
|
|
14885
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
|
14886
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
|
14887
|
+
# must match the entire field.
|
|
14888
|
+
# For example, to filter for instances that do not have a name of example-
|
|
14889
|
+
# instance, you would use filter=name ne example-instance.
|
|
14890
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
14891
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
14892
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
14893
|
+
# based on label values.
|
|
14894
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
14895
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
14896
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
14897
|
+
# resources must match all expressions to pass the filters.
|
|
14898
|
+
# @param [Fixnum] max_results
|
|
14899
|
+
# The maximum number of results per page that should be returned. If the number
|
|
14900
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
|
14901
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
|
14902
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
14903
|
+
# @param [String] order_by
|
|
14904
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
14905
|
+
# alphanumerical order based on the resource name.
|
|
14906
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
14907
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
|
14908
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
|
14909
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
14910
|
+
# returned first.
|
|
14911
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
|
14912
|
+
# @param [String] page_token
|
|
14913
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
|
14914
|
+
# a previous list request to get the next page of results.
|
|
14915
|
+
# @param [String] fields
|
|
14916
|
+
# Selector specifying which fields to include in a partial response.
|
|
14917
|
+
# @param [String] quota_user
|
|
14918
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
14919
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
14920
|
+
# Overrides userIp if both are provided.
|
|
14921
|
+
# @param [String] user_ip
|
|
14922
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
14923
|
+
# enforce per-user limits.
|
|
14924
|
+
# @param [Google::Apis::RequestOptions] options
|
|
14925
|
+
# Request-specific options
|
|
14926
|
+
#
|
|
14927
|
+
# @yield [result, err] Result & error if block supplied
|
|
14928
|
+
# @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxyList] parsed result object
|
|
14929
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
14930
|
+
#
|
|
14931
|
+
# @return [Google::Apis::ComputeBeta::TargetTcpProxyList]
|
|
14932
|
+
#
|
|
14933
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
14934
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14935
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14936
|
+
def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14937
|
+
command = make_simple_command(:get, '{project}/global/targetTcpProxies', options)
|
|
14938
|
+
command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyList::Representation
|
|
14939
|
+
command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyList
|
|
14940
|
+
command.params['project'] = project unless project.nil?
|
|
14941
|
+
command.query['filter'] = filter unless filter.nil?
|
|
14942
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
14943
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
14944
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
14945
|
+
command.query['fields'] = fields unless fields.nil?
|
|
14946
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
14947
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
14948
|
+
execute_or_queue_command(command, &block)
|
|
14949
|
+
end
|
|
14950
|
+
|
|
14951
|
+
# Changes the BackendService for TargetTcpProxy.
|
|
14952
|
+
# @param [String] project
|
|
14953
|
+
# Project ID for this request.
|
|
14954
|
+
# @param [String] target_tcp_proxy
|
|
14955
|
+
# Name of the TargetTcpProxy resource whose BackendService resource is to be set.
|
|
14956
|
+
# @param [Google::Apis::ComputeBeta::TargetTcpProxiesSetBackendServiceRequest] target_tcp_proxies_set_backend_service_request_object
|
|
14957
|
+
# @param [String] fields
|
|
14958
|
+
# Selector specifying which fields to include in a partial response.
|
|
14959
|
+
# @param [String] quota_user
|
|
14960
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
14961
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
14962
|
+
# Overrides userIp if both are provided.
|
|
14963
|
+
# @param [String] user_ip
|
|
14964
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
14965
|
+
# enforce per-user limits.
|
|
14966
|
+
# @param [Google::Apis::RequestOptions] options
|
|
14967
|
+
# Request-specific options
|
|
14968
|
+
#
|
|
14969
|
+
# @yield [result, err] Result & error if block supplied
|
|
14970
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
14971
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
14972
|
+
#
|
|
14973
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
14974
|
+
#
|
|
14975
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
14976
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
14977
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
14978
|
+
def set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
14979
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options)
|
|
14980
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxiesSetBackendServiceRequest::Representation
|
|
14981
|
+
command.request_object = target_tcp_proxies_set_backend_service_request_object
|
|
14982
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
14983
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
14984
|
+
command.params['project'] = project unless project.nil?
|
|
14985
|
+
command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
|
|
14986
|
+
command.query['fields'] = fields unless fields.nil?
|
|
14987
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
14988
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
14989
|
+
execute_or_queue_command(command, &block)
|
|
14990
|
+
end
|
|
14991
|
+
|
|
14992
|
+
# Changes the ProxyHeaderType for TargetTcpProxy.
|
|
14993
|
+
# @param [String] project
|
|
14994
|
+
# Project ID for this request.
|
|
14995
|
+
# @param [String] target_tcp_proxy
|
|
14996
|
+
# Name of the TargetTcpProxy resource whose ProxyHeader is to be set.
|
|
14997
|
+
# @param [Google::Apis::ComputeBeta::TargetTcpProxiesSetProxyHeaderRequest] target_tcp_proxies_set_proxy_header_request_object
|
|
14998
|
+
# @param [String] fields
|
|
14999
|
+
# Selector specifying which fields to include in a partial response.
|
|
15000
|
+
# @param [String] quota_user
|
|
15001
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
15002
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
15003
|
+
# Overrides userIp if both are provided.
|
|
15004
|
+
# @param [String] user_ip
|
|
15005
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
15006
|
+
# enforce per-user limits.
|
|
15007
|
+
# @param [Google::Apis::RequestOptions] options
|
|
15008
|
+
# Request-specific options
|
|
15009
|
+
#
|
|
15010
|
+
# @yield [result, err] Result & error if block supplied
|
|
15011
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
15012
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
15013
|
+
#
|
|
15014
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
15015
|
+
#
|
|
15016
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15017
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15018
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15019
|
+
def set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15020
|
+
command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options)
|
|
15021
|
+
command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxiesSetProxyHeaderRequest::Representation
|
|
15022
|
+
command.request_object = target_tcp_proxies_set_proxy_header_request_object
|
|
15023
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
15024
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
15025
|
+
command.params['project'] = project unless project.nil?
|
|
15026
|
+
command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
|
|
15027
|
+
command.query['fields'] = fields unless fields.nil?
|
|
15028
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15029
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
15030
|
+
execute_or_queue_command(command, &block)
|
|
15031
|
+
end
|
|
15032
|
+
|
|
14242
15033
|
# Retrieves an aggregated list of target VPN gateways.
|
|
14243
15034
|
# @param [String] project
|
|
14244
15035
|
# Project ID for this request.
|
|
@@ -14267,7 +15058,7 @@ module Google
|
|
|
14267
15058
|
# The maximum number of results per page that should be returned. If the number
|
|
14268
15059
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
14269
15060
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
14270
|
-
# list requests.
|
|
15061
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
14271
15062
|
# @param [String] order_by
|
|
14272
15063
|
# Sorts list results by a certain order. By default, results are returned in
|
|
14273
15064
|
# alphanumerical order based on the resource name.
|
|
@@ -14472,7 +15263,7 @@ module Google
|
|
|
14472
15263
|
# The maximum number of results per page that should be returned. If the number
|
|
14473
15264
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
14474
15265
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
14475
|
-
# list requests.
|
|
15266
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
14476
15267
|
# @param [String] order_by
|
|
14477
15268
|
# Sorts list results by a certain order. By default, results are returned in
|
|
14478
15269
|
# alphanumerical order based on the resource name.
|
|
@@ -14752,7 +15543,7 @@ module Google
|
|
|
14752
15543
|
# The maximum number of results per page that should be returned. If the number
|
|
14753
15544
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
14754
15545
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
14755
|
-
# list requests.
|
|
15546
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
14756
15547
|
# @param [String] order_by
|
|
14757
15548
|
# Sorts list results by a certain order. By default, results are returned in
|
|
14758
15549
|
# alphanumerical order based on the resource name.
|
|
@@ -14995,7 +15786,7 @@ module Google
|
|
|
14995
15786
|
# The maximum number of results per page that should be returned. If the number
|
|
14996
15787
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
14997
15788
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
14998
|
-
# list requests.
|
|
15789
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
14999
15790
|
# @param [String] order_by
|
|
15000
15791
|
# Sorts list results by a certain order. By default, results are returned in
|
|
15001
15792
|
# alphanumerical order based on the resource name.
|
|
@@ -15200,7 +15991,7 @@ module Google
|
|
|
15200
15991
|
# The maximum number of results per page that should be returned. If the number
|
|
15201
15992
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
15202
15993
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
15203
|
-
# list requests.
|
|
15994
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
15204
15995
|
# @param [String] order_by
|
|
15205
15996
|
# Sorts list results by a certain order. By default, results are returned in
|
|
15206
15997
|
# alphanumerical order based on the resource name.
|
|
@@ -15404,7 +16195,7 @@ module Google
|
|
|
15404
16195
|
# The maximum number of results per page that should be returned. If the number
|
|
15405
16196
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
15406
16197
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
15407
|
-
# list requests.
|
|
16198
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
15408
16199
|
# @param [String] order_by
|
|
15409
16200
|
# Sorts list results by a certain order. By default, results are returned in
|
|
15410
16201
|
# alphanumerical order based on the resource name.
|
|
@@ -15521,7 +16312,7 @@ module Google
|
|
|
15521
16312
|
# The maximum number of results per page that should be returned. If the number
|
|
15522
16313
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
15523
16314
|
# nextPageToken that can be used to get the next page of results in subsequent
|
|
15524
|
-
# list requests.
|
|
16315
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
|
15525
16316
|
# @param [String] order_by
|
|
15526
16317
|
# Sorts list results by a certain order. By default, results are returned in
|
|
15527
16318
|
# alphanumerical order based on the resource name.
|