google-api-client 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- 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 +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- 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 +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -22,6 +22,48 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ComputeV1
|
24
24
|
|
25
|
+
class AcceleratorConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AcceleratorType
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AcceleratorTypeAggregatedList
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AcceleratorTypeList
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AcceleratorTypesScopedList
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
class Warning
|
53
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
54
|
+
|
55
|
+
class Datum
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
include Google::Apis::Core::JsonObjectSupport
|
62
|
+
end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
25
67
|
class AccessConfig
|
26
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
69
|
|
@@ -262,7 +304,7 @@ module Google
|
|
262
304
|
include Google::Apis::Core::JsonObjectSupport
|
263
305
|
end
|
264
306
|
|
265
|
-
class
|
307
|
+
class MoveDiskRequest
|
266
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
309
|
|
268
310
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -640,7 +682,7 @@ module Google
|
|
640
682
|
include Google::Apis::Core::JsonObjectSupport
|
641
683
|
end
|
642
684
|
|
643
|
-
class
|
685
|
+
class MoveInstanceRequest
|
644
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
687
|
|
646
688
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -700,6 +742,12 @@ module Google
|
|
700
742
|
include Google::Apis::Core::JsonObjectSupport
|
701
743
|
end
|
702
744
|
|
745
|
+
class InstancesSetMachineResourcesRequest
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
703
751
|
class InstancesSetMachineTypeRequest
|
704
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
753
|
|
@@ -826,6 +874,24 @@ module Google
|
|
826
874
|
include Google::Apis::Core::JsonObjectSupport
|
827
875
|
end
|
828
876
|
|
877
|
+
class NetworkPeering
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
883
|
+
class NetworksAddPeeringRequest
|
884
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
|
+
|
886
|
+
include Google::Apis::Core::JsonObjectSupport
|
887
|
+
end
|
888
|
+
|
889
|
+
class NetworksRemovePeeringRequest
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
891
|
+
|
892
|
+
include Google::Apis::Core::JsonObjectSupport
|
893
|
+
end
|
894
|
+
|
829
895
|
class Operation
|
830
896
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
897
|
|
@@ -1324,25 +1390,25 @@ module Google
|
|
1324
1390
|
include Google::Apis::Core::JsonObjectSupport
|
1325
1391
|
end
|
1326
1392
|
|
1327
|
-
class
|
1393
|
+
class AddTargetPoolsHealthCheckRequest
|
1328
1394
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1329
1395
|
|
1330
1396
|
include Google::Apis::Core::JsonObjectSupport
|
1331
1397
|
end
|
1332
1398
|
|
1333
|
-
class
|
1399
|
+
class AddTargetPoolsInstanceRequest
|
1334
1400
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1335
1401
|
|
1336
1402
|
include Google::Apis::Core::JsonObjectSupport
|
1337
1403
|
end
|
1338
1404
|
|
1339
|
-
class
|
1405
|
+
class RemoveTargetPoolsHealthCheckRequest
|
1340
1406
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1341
1407
|
|
1342
1408
|
include Google::Apis::Core::JsonObjectSupport
|
1343
1409
|
end
|
1344
1410
|
|
1345
|
-
class
|
1411
|
+
class RemoveTargetPoolsInstanceRequest
|
1346
1412
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1347
1413
|
|
1348
1414
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1498,13 +1564,13 @@ module Google
|
|
1498
1564
|
include Google::Apis::Core::JsonObjectSupport
|
1499
1565
|
end
|
1500
1566
|
|
1501
|
-
class
|
1567
|
+
class ValidateUrlMapsRequest
|
1502
1568
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
1569
|
|
1504
1570
|
include Google::Apis::Core::JsonObjectSupport
|
1505
1571
|
end
|
1506
1572
|
|
1507
|
-
class
|
1573
|
+
class ValidateUrlMapsResponse
|
1508
1574
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
1575
|
|
1510
1576
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1582,6 +1648,82 @@ module Google
|
|
1582
1648
|
include Google::Apis::Core::JsonObjectSupport
|
1583
1649
|
end
|
1584
1650
|
|
1651
|
+
class AcceleratorConfig
|
1652
|
+
# @private
|
1653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1654
|
+
property :accelerator_count, as: 'acceleratorCount'
|
1655
|
+
property :accelerator_type, as: 'acceleratorType'
|
1656
|
+
end
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
class AcceleratorType
|
1660
|
+
# @private
|
1661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1662
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
1663
|
+
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation
|
1664
|
+
|
1665
|
+
property :description, as: 'description'
|
1666
|
+
property :id, :numeric_string => true, as: 'id'
|
1667
|
+
property :kind, as: 'kind'
|
1668
|
+
property :maximum_cards_per_instance, as: 'maximumCardsPerInstance'
|
1669
|
+
property :name, as: 'name'
|
1670
|
+
property :self_link, as: 'selfLink'
|
1671
|
+
property :zone, as: 'zone'
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
class AcceleratorTypeAggregatedList
|
1676
|
+
# @private
|
1677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1678
|
+
property :id, as: 'id'
|
1679
|
+
hash :items, as: 'items', class: Google::Apis::ComputeV1::AcceleratorTypesScopedList, decorator: Google::Apis::ComputeV1::AcceleratorTypesScopedList::Representation
|
1680
|
+
|
1681
|
+
property :kind, as: 'kind'
|
1682
|
+
property :next_page_token, as: 'nextPageToken'
|
1683
|
+
property :self_link, as: 'selfLink'
|
1684
|
+
end
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
class AcceleratorTypeList
|
1688
|
+
# @private
|
1689
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1690
|
+
property :id, as: 'id'
|
1691
|
+
collection :items, as: 'items', class: Google::Apis::ComputeV1::AcceleratorType, decorator: Google::Apis::ComputeV1::AcceleratorType::Representation
|
1692
|
+
|
1693
|
+
property :kind, as: 'kind'
|
1694
|
+
property :next_page_token, as: 'nextPageToken'
|
1695
|
+
property :self_link, as: 'selfLink'
|
1696
|
+
end
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
class AcceleratorTypesScopedList
|
1700
|
+
# @private
|
1701
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1702
|
+
collection :accelerator_types, as: 'acceleratorTypes', class: Google::Apis::ComputeV1::AcceleratorType, decorator: Google::Apis::ComputeV1::AcceleratorType::Representation
|
1703
|
+
|
1704
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::AcceleratorTypesScopedList::Warning, decorator: Google::Apis::ComputeV1::AcceleratorTypesScopedList::Warning::Representation
|
1705
|
+
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
class Warning
|
1709
|
+
# @private
|
1710
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1711
|
+
property :code, as: 'code'
|
1712
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::AcceleratorTypesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::AcceleratorTypesScopedList::Warning::Datum::Representation
|
1713
|
+
|
1714
|
+
property :message, as: 'message'
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
class Datum
|
1718
|
+
# @private
|
1719
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1720
|
+
property :key, as: 'key'
|
1721
|
+
property :value, as: 'value'
|
1722
|
+
end
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
end
|
1726
|
+
|
1585
1727
|
class AccessConfig
|
1586
1728
|
# @private
|
1587
1729
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1599,6 +1741,7 @@ module Google
|
|
1599
1741
|
property :creation_timestamp, as: 'creationTimestamp'
|
1600
1742
|
property :description, as: 'description'
|
1601
1743
|
property :id, :numeric_string => true, as: 'id'
|
1744
|
+
property :ip_version, as: 'ipVersion'
|
1602
1745
|
property :kind, as: 'kind'
|
1603
1746
|
property :name, as: 'name'
|
1604
1747
|
property :region, as: 'region'
|
@@ -2061,7 +2204,7 @@ module Google
|
|
2061
2204
|
end
|
2062
2205
|
end
|
2063
2206
|
|
2064
|
-
class
|
2207
|
+
class MoveDiskRequest
|
2065
2208
|
# @private
|
2066
2209
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2067
2210
|
property :destination_zone, as: 'destinationZone'
|
@@ -2220,6 +2363,7 @@ module Google
|
|
2220
2363
|
property :creation_timestamp, as: 'creationTimestamp'
|
2221
2364
|
property :description, as: 'description'
|
2222
2365
|
property :id, :numeric_string => true, as: 'id'
|
2366
|
+
property :ip_version, as: 'ipVersion'
|
2223
2367
|
property :kind, as: 'kind'
|
2224
2368
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
2225
2369
|
property :name, as: 'name'
|
@@ -2509,6 +2653,8 @@ module Google
|
|
2509
2653
|
property :description, as: 'description'
|
2510
2654
|
collection :disks, as: 'disks', class: Google::Apis::ComputeV1::AttachedDisk, decorator: Google::Apis::ComputeV1::AttachedDisk::Representation
|
2511
2655
|
|
2656
|
+
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
2657
|
+
|
2512
2658
|
property :id, :numeric_string => true, as: 'id'
|
2513
2659
|
property :kind, as: 'kind'
|
2514
2660
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
@@ -2807,7 +2953,7 @@ module Google
|
|
2807
2953
|
end
|
2808
2954
|
end
|
2809
2955
|
|
2810
|
-
class
|
2956
|
+
class MoveInstanceRequest
|
2811
2957
|
# @private
|
2812
2958
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2813
2959
|
property :destination_zone, as: 'destinationZone'
|
@@ -2822,6 +2968,8 @@ module Google
|
|
2822
2968
|
property :description, as: 'description'
|
2823
2969
|
collection :disks, as: 'disks', class: Google::Apis::ComputeV1::AttachedDisk, decorator: Google::Apis::ComputeV1::AttachedDisk::Representation
|
2824
2970
|
|
2971
|
+
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
2972
|
+
|
2825
2973
|
hash :labels, as: 'labels'
|
2826
2974
|
property :machine_type, as: 'machineType'
|
2827
2975
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeV1::Metadata, decorator: Google::Apis::ComputeV1::Metadata::Representation
|
@@ -2916,6 +3064,14 @@ module Google
|
|
2916
3064
|
end
|
2917
3065
|
end
|
2918
3066
|
|
3067
|
+
class InstancesSetMachineResourcesRequest
|
3068
|
+
# @private
|
3069
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3070
|
+
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
3071
|
+
|
3072
|
+
end
|
3073
|
+
end
|
3074
|
+
|
2919
3075
|
class InstancesSetMachineTypeRequest
|
2920
3076
|
# @private
|
2921
3077
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3105,6 +3261,8 @@ module Google
|
|
3105
3261
|
property :id, :numeric_string => true, as: 'id'
|
3106
3262
|
property :kind, as: 'kind'
|
3107
3263
|
property :name, as: 'name'
|
3264
|
+
collection :peerings, as: 'peerings', class: Google::Apis::ComputeV1::NetworkPeering, decorator: Google::Apis::ComputeV1::NetworkPeering::Representation
|
3265
|
+
|
3108
3266
|
property :self_link, as: 'selfLink'
|
3109
3267
|
collection :subnetworks, as: 'subnetworks'
|
3110
3268
|
end
|
@@ -3135,6 +3293,33 @@ module Google
|
|
3135
3293
|
end
|
3136
3294
|
end
|
3137
3295
|
|
3296
|
+
class NetworkPeering
|
3297
|
+
# @private
|
3298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3299
|
+
property :auto_create_routes, as: 'autoCreateRoutes'
|
3300
|
+
property :name, as: 'name'
|
3301
|
+
property :network, as: 'network'
|
3302
|
+
property :state, as: 'state'
|
3303
|
+
property :state_details, as: 'stateDetails'
|
3304
|
+
end
|
3305
|
+
end
|
3306
|
+
|
3307
|
+
class NetworksAddPeeringRequest
|
3308
|
+
# @private
|
3309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3310
|
+
property :auto_create_routes, as: 'autoCreateRoutes'
|
3311
|
+
property :name, as: 'name'
|
3312
|
+
property :peer_network, as: 'peerNetwork'
|
3313
|
+
end
|
3314
|
+
end
|
3315
|
+
|
3316
|
+
class NetworksRemovePeeringRequest
|
3317
|
+
# @private
|
3318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3319
|
+
property :name, as: 'name'
|
3320
|
+
end
|
3321
|
+
end
|
3322
|
+
|
3138
3323
|
class Operation
|
3139
3324
|
# @private
|
3140
3325
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3495,6 +3680,7 @@ module Google
|
|
3495
3680
|
property :next_hop_instance, as: 'nextHopInstance'
|
3496
3681
|
property :next_hop_ip, as: 'nextHopIp'
|
3497
3682
|
property :next_hop_network, as: 'nextHopNetwork'
|
3683
|
+
property :next_hop_peering, as: 'nextHopPeering'
|
3498
3684
|
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
|
3499
3685
|
property :priority, as: 'priority'
|
3500
3686
|
property :self_link, as: 'selfLink'
|
@@ -4061,7 +4247,7 @@ module Google
|
|
4061
4247
|
end
|
4062
4248
|
end
|
4063
4249
|
|
4064
|
-
class
|
4250
|
+
class AddTargetPoolsHealthCheckRequest
|
4065
4251
|
# @private
|
4066
4252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4067
4253
|
collection :health_checks, as: 'healthChecks', class: Google::Apis::ComputeV1::HealthCheckReference, decorator: Google::Apis::ComputeV1::HealthCheckReference::Representation
|
@@ -4069,7 +4255,7 @@ module Google
|
|
4069
4255
|
end
|
4070
4256
|
end
|
4071
4257
|
|
4072
|
-
class
|
4258
|
+
class AddTargetPoolsInstanceRequest
|
4073
4259
|
# @private
|
4074
4260
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4075
4261
|
collection :instances, as: 'instances', class: Google::Apis::ComputeV1::InstanceReference, decorator: Google::Apis::ComputeV1::InstanceReference::Representation
|
@@ -4077,7 +4263,7 @@ module Google
|
|
4077
4263
|
end
|
4078
4264
|
end
|
4079
4265
|
|
4080
|
-
class
|
4266
|
+
class RemoveTargetPoolsHealthCheckRequest
|
4081
4267
|
# @private
|
4082
4268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4083
4269
|
collection :health_checks, as: 'healthChecks', class: Google::Apis::ComputeV1::HealthCheckReference, decorator: Google::Apis::ComputeV1::HealthCheckReference::Representation
|
@@ -4085,7 +4271,7 @@ module Google
|
|
4085
4271
|
end
|
4086
4272
|
end
|
4087
4273
|
|
4088
|
-
class
|
4274
|
+
class RemoveTargetPoolsInstanceRequest
|
4089
4275
|
# @private
|
4090
4276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4091
4277
|
collection :instances, as: 'instances', class: Google::Apis::ComputeV1::InstanceReference, decorator: Google::Apis::ComputeV1::InstanceReference::Representation
|
@@ -4355,7 +4541,7 @@ module Google
|
|
4355
4541
|
end
|
4356
4542
|
end
|
4357
4543
|
|
4358
|
-
class
|
4544
|
+
class ValidateUrlMapsRequest
|
4359
4545
|
# @private
|
4360
4546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4361
4547
|
property :resource, as: 'resource', class: Google::Apis::ComputeV1::UrlMap, decorator: Google::Apis::ComputeV1::UrlMap::Representation
|
@@ -4363,7 +4549,7 @@ module Google
|
|
4363
4549
|
end
|
4364
4550
|
end
|
4365
4551
|
|
4366
|
-
class
|
4552
|
+
class ValidateUrlMapsResponse
|
4367
4553
|
# @private
|
4368
4554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4369
4555
|
property :result, as: 'result', class: Google::Apis::ComputeV1::UrlMapValidationResult, decorator: Google::Apis::ComputeV1::UrlMapValidationResult::Representation
|
@@ -53,13 +53,209 @@ module Google
|
|
53
53
|
@batch_path = 'batch'
|
54
54
|
end
|
55
55
|
|
56
|
+
# Retrieves an aggregated list of accelerator types.
|
57
|
+
# @param [String] project
|
58
|
+
# Project ID for this request.
|
59
|
+
# @param [String] filter
|
60
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
61
|
+
# must be in the format: field_name comparison_string literal_string.
|
62
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
63
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
64
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
65
|
+
# to filter to. The literal value must be valid for the type of field you are
|
66
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
67
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
68
|
+
# must match the entire field.
|
69
|
+
# For example, to filter for instances that do not have a name of example-
|
70
|
+
# instance, you would use name ne example-instance.
|
71
|
+
# You can filter on nested fields. For example, you could filter on instances
|
72
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
73
|
+
# nested fields to take advantage of labels to organize and search for results
|
74
|
+
# based on label values.
|
75
|
+
# To filter on multiple expressions, provide each separate expression within
|
76
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
77
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
78
|
+
# resources must match all expressions to pass the filters.
|
79
|
+
# @param [Fixnum] max_results
|
80
|
+
# The maximum number of results per page that should be returned. If the number
|
81
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
82
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
83
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
84
|
+
# @param [String] order_by
|
85
|
+
# Sorts list results by a certain order. By default, results are returned in
|
86
|
+
# alphanumerical order based on the resource name.
|
87
|
+
# You can also sort results in descending order based on the creation timestamp
|
88
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
89
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
90
|
+
# Use this to sort resources like operations so that the newest operation is
|
91
|
+
# returned first.
|
92
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
93
|
+
# @param [String] page_token
|
94
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
95
|
+
# a previous list request to get the next page of results.
|
96
|
+
# @param [String] fields
|
97
|
+
# Selector specifying which fields to include in a partial response.
|
98
|
+
# @param [String] quota_user
|
99
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
101
|
+
# Overrides userIp if both are provided.
|
102
|
+
# @param [String] user_ip
|
103
|
+
# IP address of the site where the request originates. Use this if you want to
|
104
|
+
# enforce per-user limits.
|
105
|
+
# @param [Google::Apis::RequestOptions] options
|
106
|
+
# Request-specific options
|
107
|
+
#
|
108
|
+
# @yield [result, err] Result & error if block supplied
|
109
|
+
# @yieldparam result [Google::Apis::ComputeV1::AcceleratorTypeAggregatedList] parsed result object
|
110
|
+
# @yieldparam err [StandardError] error object if request failed
|
111
|
+
#
|
112
|
+
# @return [Google::Apis::ComputeV1::AcceleratorTypeAggregatedList]
|
113
|
+
#
|
114
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
+
def aggregated_accelerator_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
118
|
+
command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', options)
|
119
|
+
command.response_representation = Google::Apis::ComputeV1::AcceleratorTypeAggregatedList::Representation
|
120
|
+
command.response_class = Google::Apis::ComputeV1::AcceleratorTypeAggregatedList
|
121
|
+
command.params['project'] = project unless project.nil?
|
122
|
+
command.query['filter'] = filter unless filter.nil?
|
123
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
124
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
125
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
126
|
+
command.query['fields'] = fields unless fields.nil?
|
127
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
128
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
129
|
+
execute_or_queue_command(command, &block)
|
130
|
+
end
|
131
|
+
|
132
|
+
# Returns the specified accelerator type. Get a list of available accelerator
|
133
|
+
# types by making a list() request.
|
134
|
+
# @param [String] project
|
135
|
+
# Project ID for this request.
|
136
|
+
# @param [String] zone
|
137
|
+
# The name of the zone for this request.
|
138
|
+
# @param [String] accelerator_type
|
139
|
+
# Name of the accelerator type to return.
|
140
|
+
# @param [String] fields
|
141
|
+
# Selector specifying which fields to include in a partial response.
|
142
|
+
# @param [String] quota_user
|
143
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
144
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
145
|
+
# Overrides userIp if both are provided.
|
146
|
+
# @param [String] user_ip
|
147
|
+
# IP address of the site where the request originates. Use this if you want to
|
148
|
+
# enforce per-user limits.
|
149
|
+
# @param [Google::Apis::RequestOptions] options
|
150
|
+
# Request-specific options
|
151
|
+
#
|
152
|
+
# @yield [result, err] Result & error if block supplied
|
153
|
+
# @yieldparam result [Google::Apis::ComputeV1::AcceleratorType] parsed result object
|
154
|
+
# @yieldparam err [StandardError] error object if request failed
|
155
|
+
#
|
156
|
+
# @return [Google::Apis::ComputeV1::AcceleratorType]
|
157
|
+
#
|
158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
|
+
def get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
162
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options)
|
163
|
+
command.response_representation = Google::Apis::ComputeV1::AcceleratorType::Representation
|
164
|
+
command.response_class = Google::Apis::ComputeV1::AcceleratorType
|
165
|
+
command.params['project'] = project unless project.nil?
|
166
|
+
command.params['zone'] = zone unless zone.nil?
|
167
|
+
command.params['acceleratorType'] = accelerator_type unless accelerator_type.nil?
|
168
|
+
command.query['fields'] = fields unless fields.nil?
|
169
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
170
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
171
|
+
execute_or_queue_command(command, &block)
|
172
|
+
end
|
173
|
+
|
174
|
+
# Retrieves a list of accelerator types available to the specified project.
|
175
|
+
# @param [String] project
|
176
|
+
# Project ID for this request.
|
177
|
+
# @param [String] zone
|
178
|
+
# The name of the zone for this request.
|
179
|
+
# @param [String] filter
|
180
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
181
|
+
# must be in the format: field_name comparison_string literal_string.
|
182
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
183
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
184
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
185
|
+
# to filter to. The literal value must be valid for the type of field you are
|
186
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
187
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
188
|
+
# must match the entire field.
|
189
|
+
# For example, to filter for instances that do not have a name of example-
|
190
|
+
# instance, you would use name ne example-instance.
|
191
|
+
# You can filter on nested fields. For example, you could filter on instances
|
192
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
193
|
+
# nested fields to take advantage of labels to organize and search for results
|
194
|
+
# based on label values.
|
195
|
+
# To filter on multiple expressions, provide each separate expression within
|
196
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
197
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
198
|
+
# resources must match all expressions to pass the filters.
|
199
|
+
# @param [Fixnum] max_results
|
200
|
+
# The maximum number of results per page that should be returned. If the number
|
201
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
202
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
203
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
204
|
+
# @param [String] order_by
|
205
|
+
# Sorts list results by a certain order. By default, results are returned in
|
206
|
+
# alphanumerical order based on the resource name.
|
207
|
+
# You can also sort results in descending order based on the creation timestamp
|
208
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
209
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
210
|
+
# Use this to sort resources like operations so that the newest operation is
|
211
|
+
# returned first.
|
212
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
213
|
+
# @param [String] page_token
|
214
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
215
|
+
# a previous list request to get the next page of results.
|
216
|
+
# @param [String] fields
|
217
|
+
# Selector specifying which fields to include in a partial response.
|
218
|
+
# @param [String] quota_user
|
219
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
220
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
221
|
+
# Overrides userIp if both are provided.
|
222
|
+
# @param [String] user_ip
|
223
|
+
# IP address of the site where the request originates. Use this if you want to
|
224
|
+
# enforce per-user limits.
|
225
|
+
# @param [Google::Apis::RequestOptions] options
|
226
|
+
# Request-specific options
|
227
|
+
#
|
228
|
+
# @yield [result, err] Result & error if block supplied
|
229
|
+
# @yieldparam result [Google::Apis::ComputeV1::AcceleratorTypeList] parsed result object
|
230
|
+
# @yieldparam err [StandardError] error object if request failed
|
231
|
+
#
|
232
|
+
# @return [Google::Apis::ComputeV1::AcceleratorTypeList]
|
233
|
+
#
|
234
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
235
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
236
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
237
|
+
def list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
238
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes', options)
|
239
|
+
command.response_representation = Google::Apis::ComputeV1::AcceleratorTypeList::Representation
|
240
|
+
command.response_class = Google::Apis::ComputeV1::AcceleratorTypeList
|
241
|
+
command.params['project'] = project unless project.nil?
|
242
|
+
command.params['zone'] = zone unless zone.nil?
|
243
|
+
command.query['filter'] = filter unless filter.nil?
|
244
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
245
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
246
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
247
|
+
command.query['fields'] = fields unless fields.nil?
|
248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
249
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
250
|
+
execute_or_queue_command(command, &block)
|
251
|
+
end
|
252
|
+
|
56
253
|
# Retrieves an aggregated list of addresses.
|
57
254
|
# @param [String] project
|
58
255
|
# Project ID for this request.
|
59
256
|
# @param [String] filter
|
60
|
-
# Sets a filter expression for filtering listed resources
|
61
|
-
#
|
62
|
-
# comparison_string literal_string.
|
257
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
258
|
+
# must be in the format: field_name comparison_string literal_string.
|
63
259
|
# The field_name is the name of the field you want to compare. Only atomic field
|
64
260
|
# types are supported (string, number, boolean). The comparison_string must be
|
65
261
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -68,7 +264,7 @@ module Google
|
|
68
264
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
69
265
|
# must match the entire field.
|
70
266
|
# For example, to filter for instances that do not have a name of example-
|
71
|
-
# instance, you would use
|
267
|
+
# instance, you would use name ne example-instance.
|
72
268
|
# You can filter on nested fields. For example, you could filter on instances
|
73
269
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
74
270
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -115,7 +311,7 @@ module Google
|
|
115
311
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
116
312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
117
313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
118
|
-
def
|
314
|
+
def list_aggregated_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
119
315
|
command = make_simple_command(:get, '{project}/aggregated/addresses', options)
|
120
316
|
command.response_representation = Google::Apis::ComputeV1::AddressAggregatedList::Representation
|
121
317
|
command.response_class = Google::Apis::ComputeV1::AddressAggregatedList
|
@@ -260,9 +456,8 @@ module Google
|
|
260
456
|
# @param [String] region
|
261
457
|
# Name of the region for this request.
|
262
458
|
# @param [String] filter
|
263
|
-
# Sets a filter expression for filtering listed resources
|
264
|
-
#
|
265
|
-
# comparison_string literal_string.
|
459
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
460
|
+
# must be in the format: field_name comparison_string literal_string.
|
266
461
|
# The field_name is the name of the field you want to compare. Only atomic field
|
267
462
|
# types are supported (string, number, boolean). The comparison_string must be
|
268
463
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -271,7 +466,7 @@ module Google
|
|
271
466
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
272
467
|
# must match the entire field.
|
273
468
|
# For example, to filter for instances that do not have a name of example-
|
274
|
-
# instance, you would use
|
469
|
+
# instance, you would use name ne example-instance.
|
275
470
|
# You can filter on nested fields. For example, you could filter on instances
|
276
471
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
277
472
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -338,9 +533,8 @@ module Google
|
|
338
533
|
# @param [String] project
|
339
534
|
# Project ID for this request.
|
340
535
|
# @param [String] filter
|
341
|
-
# Sets a filter expression for filtering listed resources
|
342
|
-
#
|
343
|
-
# comparison_string literal_string.
|
536
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
537
|
+
# must be in the format: field_name comparison_string literal_string.
|
344
538
|
# The field_name is the name of the field you want to compare. Only atomic field
|
345
539
|
# types are supported (string, number, boolean). The comparison_string must be
|
346
540
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -349,7 +543,7 @@ module Google
|
|
349
543
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
350
544
|
# must match the entire field.
|
351
545
|
# For example, to filter for instances that do not have a name of example-
|
352
|
-
# instance, you would use
|
546
|
+
# instance, you would use name ne example-instance.
|
353
547
|
# You can filter on nested fields. For example, you could filter on instances
|
354
548
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
355
549
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -396,7 +590,7 @@ module Google
|
|
396
590
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
397
591
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
398
592
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
399
|
-
def
|
593
|
+
def list_aggregated_autoscalers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
400
594
|
command = make_simple_command(:get, '{project}/aggregated/autoscalers', options)
|
401
595
|
command.response_representation = Google::Apis::ComputeV1::AutoscalerAggregatedList::Representation
|
402
596
|
command.response_class = Google::Apis::ComputeV1::AutoscalerAggregatedList
|
@@ -542,9 +736,8 @@ module Google
|
|
542
736
|
# @param [String] zone
|
543
737
|
# Name of the zone for this request.
|
544
738
|
# @param [String] filter
|
545
|
-
# Sets a filter expression for filtering listed resources
|
546
|
-
#
|
547
|
-
# comparison_string literal_string.
|
739
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
740
|
+
# must be in the format: field_name comparison_string literal_string.
|
548
741
|
# The field_name is the name of the field you want to compare. Only atomic field
|
549
742
|
# types are supported (string, number, boolean). The comparison_string must be
|
550
743
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -553,7 +746,7 @@ module Google
|
|
553
746
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
554
747
|
# must match the entire field.
|
555
748
|
# For example, to filter for instances that do not have a name of example-
|
556
|
-
# instance, you would use
|
749
|
+
# instance, you would use name ne example-instance.
|
557
750
|
# You can filter on nested fields. For example, you could filter on instances
|
558
751
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
559
752
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -827,9 +1020,8 @@ module Google
|
|
827
1020
|
# @param [String] project
|
828
1021
|
# Project ID for this request.
|
829
1022
|
# @param [String] filter
|
830
|
-
# Sets a filter expression for filtering listed resources
|
831
|
-
#
|
832
|
-
# comparison_string literal_string.
|
1023
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
1024
|
+
# must be in the format: field_name comparison_string literal_string.
|
833
1025
|
# The field_name is the name of the field you want to compare. Only atomic field
|
834
1026
|
# types are supported (string, number, boolean). The comparison_string must be
|
835
1027
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -838,7 +1030,7 @@ module Google
|
|
838
1030
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
839
1031
|
# must match the entire field.
|
840
1032
|
# For example, to filter for instances that do not have a name of example-
|
841
|
-
# instance, you would use
|
1033
|
+
# instance, you would use name ne example-instance.
|
842
1034
|
# You can filter on nested fields. For example, you could filter on instances
|
843
1035
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
844
1036
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -989,9 +1181,8 @@ module Google
|
|
989
1181
|
# @param [String] project
|
990
1182
|
# Name of the project scoping this request.
|
991
1183
|
# @param [String] filter
|
992
|
-
# Sets a filter expression for filtering listed resources
|
993
|
-
#
|
994
|
-
# comparison_string literal_string.
|
1184
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
1185
|
+
# must be in the format: field_name comparison_string literal_string.
|
995
1186
|
# The field_name is the name of the field you want to compare. Only atomic field
|
996
1187
|
# types are supported (string, number, boolean). The comparison_string must be
|
997
1188
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -1000,7 +1191,7 @@ module Google
|
|
1000
1191
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
1001
1192
|
# must match the entire field.
|
1002
1193
|
# For example, to filter for instances that do not have a name of example-
|
1003
|
-
# instance, you would use
|
1194
|
+
# instance, you would use name ne example-instance.
|
1004
1195
|
# You can filter on nested fields. For example, you could filter on instances
|
1005
1196
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
1006
1197
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -1225,9 +1416,8 @@ module Google
|
|
1225
1416
|
# @param [String] project
|
1226
1417
|
# Project ID for this request.
|
1227
1418
|
# @param [String] filter
|
1228
|
-
# Sets a filter expression for filtering listed resources
|
1229
|
-
#
|
1230
|
-
# comparison_string literal_string.
|
1419
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
1420
|
+
# must be in the format: field_name comparison_string literal_string.
|
1231
1421
|
# The field_name is the name of the field you want to compare. Only atomic field
|
1232
1422
|
# types are supported (string, number, boolean). The comparison_string must be
|
1233
1423
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -1236,7 +1426,7 @@ module Google
|
|
1236
1426
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
1237
1427
|
# must match the entire field.
|
1238
1428
|
# For example, to filter for instances that do not have a name of example-
|
1239
|
-
# instance, you would use
|
1429
|
+
# instance, you would use name ne example-instance.
|
1240
1430
|
# You can filter on nested fields. For example, you could filter on instances
|
1241
1431
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
1242
1432
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -1390,9 +1580,8 @@ module Google
|
|
1390
1580
|
# @param [String] project
|
1391
1581
|
# Project ID for this request.
|
1392
1582
|
# @param [String] filter
|
1393
|
-
# Sets a filter expression for filtering listed resources
|
1394
|
-
#
|
1395
|
-
# comparison_string literal_string.
|
1583
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
1584
|
+
# must be in the format: field_name comparison_string literal_string.
|
1396
1585
|
# The field_name is the name of the field you want to compare. Only atomic field
|
1397
1586
|
# types are supported (string, number, boolean). The comparison_string must be
|
1398
1587
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -1401,7 +1590,7 @@ module Google
|
|
1401
1590
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
1402
1591
|
# must match the entire field.
|
1403
1592
|
# For example, to filter for instances that do not have a name of example-
|
1404
|
-
# instance, you would use
|
1593
|
+
# instance, you would use name ne example-instance.
|
1405
1594
|
# You can filter on nested fields. For example, you could filter on instances
|
1406
1595
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
1407
1596
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -1448,7 +1637,7 @@ module Google
|
|
1448
1637
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1449
1638
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1450
1639
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1451
|
-
def
|
1640
|
+
def list_aggregated_disk_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1452
1641
|
command = make_simple_command(:get, '{project}/aggregated/diskTypes', options)
|
1453
1642
|
command.response_representation = Google::Apis::ComputeV1::DiskTypeAggregatedList::Representation
|
1454
1643
|
command.response_class = Google::Apis::ComputeV1::DiskTypeAggregatedList
|
@@ -1511,9 +1700,8 @@ module Google
|
|
1511
1700
|
# @param [String] zone
|
1512
1701
|
# The name of the zone for this request.
|
1513
1702
|
# @param [String] filter
|
1514
|
-
# Sets a filter expression for filtering listed resources
|
1515
|
-
#
|
1516
|
-
# comparison_string literal_string.
|
1703
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
1704
|
+
# must be in the format: field_name comparison_string literal_string.
|
1517
1705
|
# The field_name is the name of the field you want to compare. Only atomic field
|
1518
1706
|
# types are supported (string, number, boolean). The comparison_string must be
|
1519
1707
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -1522,7 +1710,7 @@ module Google
|
|
1522
1710
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
1523
1711
|
# must match the entire field.
|
1524
1712
|
# For example, to filter for instances that do not have a name of example-
|
1525
|
-
# instance, you would use
|
1713
|
+
# instance, you would use name ne example-instance.
|
1526
1714
|
# You can filter on nested fields. For example, you could filter on instances
|
1527
1715
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
1528
1716
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -1589,9 +1777,8 @@ module Google
|
|
1589
1777
|
# @param [String] project
|
1590
1778
|
# Project ID for this request.
|
1591
1779
|
# @param [String] filter
|
1592
|
-
# Sets a filter expression for filtering listed resources
|
1593
|
-
#
|
1594
|
-
# comparison_string literal_string.
|
1780
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
1781
|
+
# must be in the format: field_name comparison_string literal_string.
|
1595
1782
|
# The field_name is the name of the field you want to compare. Only atomic field
|
1596
1783
|
# types are supported (string, number, boolean). The comparison_string must be
|
1597
1784
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -1600,7 +1787,7 @@ module Google
|
|
1600
1787
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
1601
1788
|
# must match the entire field.
|
1602
1789
|
# For example, to filter for instances that do not have a name of example-
|
1603
|
-
# instance, you would use
|
1790
|
+
# instance, you would use name ne example-instance.
|
1604
1791
|
# You can filter on nested fields. For example, you could filter on instances
|
1605
1792
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
1606
1793
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -1647,7 +1834,7 @@ module Google
|
|
1647
1834
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1648
1835
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1649
1836
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1650
|
-
def
|
1837
|
+
def list_aggregated_disk(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1651
1838
|
command = make_simple_command(:get, '{project}/aggregated/disks', options)
|
1652
1839
|
command.response_representation = Google::Apis::ComputeV1::DiskAggregatedList::Representation
|
1653
1840
|
command.response_class = Google::Apis::ComputeV1::DiskAggregatedList
|
@@ -1846,9 +2033,8 @@ module Google
|
|
1846
2033
|
# @param [String] zone
|
1847
2034
|
# The name of the zone for this request.
|
1848
2035
|
# @param [String] filter
|
1849
|
-
# Sets a filter expression for filtering listed resources
|
1850
|
-
#
|
1851
|
-
# comparison_string literal_string.
|
2036
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
2037
|
+
# must be in the format: field_name comparison_string literal_string.
|
1852
2038
|
# The field_name is the name of the field you want to compare. Only atomic field
|
1853
2039
|
# types are supported (string, number, boolean). The comparison_string must be
|
1854
2040
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -1857,7 +2043,7 @@ module Google
|
|
1857
2043
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
1858
2044
|
# must match the entire field.
|
1859
2045
|
# For example, to filter for instances that do not have a name of example-
|
1860
|
-
# instance, you would use
|
2046
|
+
# instance, you would use name ne example-instance.
|
1861
2047
|
# You can filter on nested fields. For example, you could filter on instances
|
1862
2048
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
1863
2049
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -1964,8 +2150,8 @@ module Google
|
|
1964
2150
|
execute_or_queue_command(command, &block)
|
1965
2151
|
end
|
1966
2152
|
|
1967
|
-
# Sets the labels on a disk. To learn more about labels, read the Labeling
|
1968
|
-
#
|
2153
|
+
# Sets the labels on a disk. To learn more about labels, read the Labeling
|
2154
|
+
# Resources documentation.
|
1969
2155
|
# @param [String] project
|
1970
2156
|
# Project ID for this request.
|
1971
2157
|
# @param [String] zone
|
@@ -2128,9 +2314,8 @@ module Google
|
|
2128
2314
|
# @param [String] project
|
2129
2315
|
# Project ID for this request.
|
2130
2316
|
# @param [String] filter
|
2131
|
-
# Sets a filter expression for filtering listed resources
|
2132
|
-
#
|
2133
|
-
# comparison_string literal_string.
|
2317
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
2318
|
+
# must be in the format: field_name comparison_string literal_string.
|
2134
2319
|
# The field_name is the name of the field you want to compare. Only atomic field
|
2135
2320
|
# types are supported (string, number, boolean). The comparison_string must be
|
2136
2321
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -2139,7 +2324,7 @@ module Google
|
|
2139
2324
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
2140
2325
|
# must match the entire field.
|
2141
2326
|
# For example, to filter for instances that do not have a name of example-
|
2142
|
-
# instance, you would use
|
2327
|
+
# instance, you would use name ne example-instance.
|
2143
2328
|
# You can filter on nested fields. For example, you could filter on instances
|
2144
2329
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
2145
2330
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -2292,9 +2477,8 @@ module Google
|
|
2292
2477
|
# @param [String] project
|
2293
2478
|
# Project ID for this request.
|
2294
2479
|
# @param [String] filter
|
2295
|
-
# Sets a filter expression for filtering listed resources
|
2296
|
-
#
|
2297
|
-
# comparison_string literal_string.
|
2480
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
2481
|
+
# must be in the format: field_name comparison_string literal_string.
|
2298
2482
|
# The field_name is the name of the field you want to compare. Only atomic field
|
2299
2483
|
# types are supported (string, number, boolean). The comparison_string must be
|
2300
2484
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -2303,7 +2487,7 @@ module Google
|
|
2303
2487
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
2304
2488
|
# must match the entire field.
|
2305
2489
|
# For example, to filter for instances that do not have a name of example-
|
2306
|
-
# instance, you would use
|
2490
|
+
# instance, you would use name ne example-instance.
|
2307
2491
|
# You can filter on nested fields. For example, you could filter on instances
|
2308
2492
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
2309
2493
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -2350,7 +2534,7 @@ module Google
|
|
2350
2534
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2351
2535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2352
2536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2353
|
-
def
|
2537
|
+
def list_aggregated_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2354
2538
|
command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options)
|
2355
2539
|
command.response_representation = Google::Apis::ComputeV1::ForwardingRuleAggregatedList::Representation
|
2356
2540
|
command.response_class = Google::Apis::ComputeV1::ForwardingRuleAggregatedList
|
@@ -2496,9 +2680,8 @@ module Google
|
|
2496
2680
|
# @param [String] region
|
2497
2681
|
# Name of the region scoping this request.
|
2498
2682
|
# @param [String] filter
|
2499
|
-
# Sets a filter expression for filtering listed resources
|
2500
|
-
#
|
2501
|
-
# comparison_string literal_string.
|
2683
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
2684
|
+
# must be in the format: field_name comparison_string literal_string.
|
2502
2685
|
# The field_name is the name of the field you want to compare. Only atomic field
|
2503
2686
|
# types are supported (string, number, boolean). The comparison_string must be
|
2504
2687
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -2507,7 +2690,7 @@ module Google
|
|
2507
2690
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
2508
2691
|
# must match the entire field.
|
2509
2692
|
# For example, to filter for instances that do not have a name of example-
|
2510
|
-
# instance, you would use
|
2693
|
+
# instance, you would use name ne example-instance.
|
2511
2694
|
# You can filter on nested fields. For example, you could filter on instances
|
2512
2695
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
2513
2696
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -2735,9 +2918,8 @@ module Google
|
|
2735
2918
|
# @param [String] project
|
2736
2919
|
# Project ID for this request.
|
2737
2920
|
# @param [String] filter
|
2738
|
-
# Sets a filter expression for filtering listed resources
|
2739
|
-
#
|
2740
|
-
# comparison_string literal_string.
|
2921
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
2922
|
+
# must be in the format: field_name comparison_string literal_string.
|
2741
2923
|
# The field_name is the name of the field you want to compare. Only atomic field
|
2742
2924
|
# types are supported (string, number, boolean). The comparison_string must be
|
2743
2925
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -2746,7 +2928,7 @@ module Google
|
|
2746
2928
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
2747
2929
|
# must match the entire field.
|
2748
2930
|
# For example, to filter for instances that do not have a name of example-
|
2749
|
-
# instance, you would use
|
2931
|
+
# instance, you would use name ne example-instance.
|
2750
2932
|
# You can filter on nested fields. For example, you could filter on instances
|
2751
2933
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
2752
2934
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -2929,9 +3111,8 @@ module Google
|
|
2929
3111
|
# @param [String] project
|
2930
3112
|
# Project ID for this request.
|
2931
3113
|
# @param [String] filter
|
2932
|
-
# Sets a filter expression for filtering listed resources
|
2933
|
-
#
|
2934
|
-
# comparison_string literal_string.
|
3114
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
3115
|
+
# must be in the format: field_name comparison_string literal_string.
|
2935
3116
|
# The field_name is the name of the field you want to compare. Only atomic field
|
2936
3117
|
# types are supported (string, number, boolean). The comparison_string must be
|
2937
3118
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -2940,7 +3121,7 @@ module Google
|
|
2940
3121
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
2941
3122
|
# must match the entire field.
|
2942
3123
|
# For example, to filter for instances that do not have a name of example-
|
2943
|
-
# instance, you would use
|
3124
|
+
# instance, you would use name ne example-instance.
|
2944
3125
|
# You can filter on nested fields. For example, you could filter on instances
|
2945
3126
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
2946
3127
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -3048,9 +3229,8 @@ module Google
|
|
3048
3229
|
# @param [String] project
|
3049
3230
|
# Project ID for this request.
|
3050
3231
|
# @param [String] filter
|
3051
|
-
# Sets a filter expression for filtering listed resources
|
3052
|
-
#
|
3053
|
-
# comparison_string literal_string.
|
3232
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
3233
|
+
# must be in the format: field_name comparison_string literal_string.
|
3054
3234
|
# The field_name is the name of the field you want to compare. Only atomic field
|
3055
3235
|
# types are supported (string, number, boolean). The comparison_string must be
|
3056
3236
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -3059,7 +3239,7 @@ module Google
|
|
3059
3239
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
3060
3240
|
# must match the entire field.
|
3061
3241
|
# For example, to filter for instances that do not have a name of example-
|
3062
|
-
# instance, you would use
|
3242
|
+
# instance, you would use name ne example-instance.
|
3063
3243
|
# You can filter on nested fields. For example, you could filter on instances
|
3064
3244
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
3065
3245
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -3106,7 +3286,7 @@ module Google
|
|
3106
3286
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3107
3287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3108
3288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3109
|
-
def
|
3289
|
+
def list_aggregated_global_operation(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3110
3290
|
command = make_simple_command(:get, '{project}/aggregated/operations', options)
|
3111
3291
|
command.response_representation = Google::Apis::ComputeV1::OperationAggregatedList::Representation
|
3112
3292
|
command.response_class = Google::Apis::ComputeV1::OperationAggregatedList
|
@@ -3200,9 +3380,8 @@ module Google
|
|
3200
3380
|
# @param [String] project
|
3201
3381
|
# Project ID for this request.
|
3202
3382
|
# @param [String] filter
|
3203
|
-
# Sets a filter expression for filtering listed resources
|
3204
|
-
#
|
3205
|
-
# comparison_string literal_string.
|
3383
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
3384
|
+
# must be in the format: field_name comparison_string literal_string.
|
3206
3385
|
# The field_name is the name of the field you want to compare. Only atomic field
|
3207
3386
|
# types are supported (string, number, boolean). The comparison_string must be
|
3208
3387
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -3211,7 +3390,7 @@ module Google
|
|
3211
3390
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
3212
3391
|
# must match the entire field.
|
3213
3392
|
# For example, to filter for instances that do not have a name of example-
|
3214
|
-
# instance, you would use
|
3393
|
+
# instance, you would use name ne example-instance.
|
3215
3394
|
# You can filter on nested fields. For example, you could filter on instances
|
3216
3395
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
3217
3396
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -3393,9 +3572,8 @@ module Google
|
|
3393
3572
|
# @param [String] project
|
3394
3573
|
# Project ID for this request.
|
3395
3574
|
# @param [String] filter
|
3396
|
-
# Sets a filter expression for filtering listed resources
|
3397
|
-
#
|
3398
|
-
# comparison_string literal_string.
|
3575
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
3576
|
+
# must be in the format: field_name comparison_string literal_string.
|
3399
3577
|
# The field_name is the name of the field you want to compare. Only atomic field
|
3400
3578
|
# types are supported (string, number, boolean). The comparison_string must be
|
3401
3579
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -3404,7 +3582,7 @@ module Google
|
|
3404
3582
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
3405
3583
|
# must match the entire field.
|
3406
3584
|
# For example, to filter for instances that do not have a name of example-
|
3407
|
-
# instance, you would use
|
3585
|
+
# instance, you would use name ne example-instance.
|
3408
3586
|
# You can filter on nested fields. For example, you could filter on instances
|
3409
3587
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
3410
3588
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -3671,9 +3849,8 @@ module Google
|
|
3671
3849
|
# @param [String] project
|
3672
3850
|
# Project ID for this request.
|
3673
3851
|
# @param [String] filter
|
3674
|
-
# Sets a filter expression for filtering listed resources
|
3675
|
-
#
|
3676
|
-
# comparison_string literal_string.
|
3852
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
3853
|
+
# must be in the format: field_name comparison_string literal_string.
|
3677
3854
|
# The field_name is the name of the field you want to compare. Only atomic field
|
3678
3855
|
# types are supported (string, number, boolean). The comparison_string must be
|
3679
3856
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -3682,7 +3859,7 @@ module Google
|
|
3682
3859
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
3683
3860
|
# must match the entire field.
|
3684
3861
|
# For example, to filter for instances that do not have a name of example-
|
3685
|
-
# instance, you would use
|
3862
|
+
# instance, you would use name ne example-instance.
|
3686
3863
|
# You can filter on nested fields. For example, you could filter on instances
|
3687
3864
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
3688
3865
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -3949,9 +4126,8 @@ module Google
|
|
3949
4126
|
# @param [String] project
|
3950
4127
|
# Project ID for this request.
|
3951
4128
|
# @param [String] filter
|
3952
|
-
# Sets a filter expression for filtering listed resources
|
3953
|
-
#
|
3954
|
-
# comparison_string literal_string.
|
4129
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
4130
|
+
# must be in the format: field_name comparison_string literal_string.
|
3955
4131
|
# The field_name is the name of the field you want to compare. Only atomic field
|
3956
4132
|
# types are supported (string, number, boolean). The comparison_string must be
|
3957
4133
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -3960,7 +4136,7 @@ module Google
|
|
3960
4136
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
3961
4137
|
# must match the entire field.
|
3962
4138
|
# For example, to filter for instances that do not have a name of example-
|
3963
|
-
# instance, you would use
|
4139
|
+
# instance, you would use name ne example-instance.
|
3964
4140
|
# You can filter on nested fields. For example, you could filter on instances
|
3965
4141
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
3966
4142
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -4268,6 +4444,8 @@ module Google
|
|
4268
4444
|
# @param [String] project
|
4269
4445
|
# Project ID for this request.
|
4270
4446
|
# @param [Google::Apis::ComputeV1::Image] image_object
|
4447
|
+
# @param [Boolean] force_create
|
4448
|
+
# Force image creation if true.
|
4271
4449
|
# @param [String] fields
|
4272
4450
|
# Selector specifying which fields to include in a partial response.
|
4273
4451
|
# @param [String] quota_user
|
@@ -4289,13 +4467,14 @@ module Google
|
|
4289
4467
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4290
4468
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4291
4469
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4292
|
-
def insert_image(project, image_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4470
|
+
def insert_image(project, image_object = nil, force_create: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4293
4471
|
command = make_simple_command(:post, '{project}/global/images', options)
|
4294
4472
|
command.request_representation = Google::Apis::ComputeV1::Image::Representation
|
4295
4473
|
command.request_object = image_object
|
4296
4474
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
4297
4475
|
command.response_class = Google::Apis::ComputeV1::Operation
|
4298
4476
|
command.params['project'] = project unless project.nil?
|
4477
|
+
command.query['forceCreate'] = force_create unless force_create.nil?
|
4299
4478
|
command.query['fields'] = fields unless fields.nil?
|
4300
4479
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4301
4480
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -4311,9 +4490,8 @@ module Google
|
|
4311
4490
|
# @param [String] project
|
4312
4491
|
# Project ID for this request.
|
4313
4492
|
# @param [String] filter
|
4314
|
-
# Sets a filter expression for filtering listed resources
|
4315
|
-
#
|
4316
|
-
# comparison_string literal_string.
|
4493
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
4494
|
+
# must be in the format: field_name comparison_string literal_string.
|
4317
4495
|
# The field_name is the name of the field you want to compare. Only atomic field
|
4318
4496
|
# types are supported (string, number, boolean). The comparison_string must be
|
4319
4497
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -4322,7 +4500,7 @@ module Google
|
|
4322
4500
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
4323
4501
|
# must match the entire field.
|
4324
4502
|
# For example, to filter for instances that do not have a name of example-
|
4325
|
-
# instance, you would use
|
4503
|
+
# instance, you would use name ne example-instance.
|
4326
4504
|
# You can filter on nested fields. For example, you could filter on instances
|
4327
4505
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
4328
4506
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -4384,8 +4562,8 @@ module Google
|
|
4384
4562
|
execute_or_queue_command(command, &block)
|
4385
4563
|
end
|
4386
4564
|
|
4387
|
-
# Sets the labels on an image. To learn more about labels, read the Labeling
|
4388
|
-
#
|
4565
|
+
# Sets the labels on an image. To learn more about labels, read the Labeling
|
4566
|
+
# Resources documentation.
|
4389
4567
|
# @param [String] project
|
4390
4568
|
# Project ID for this request.
|
4391
4569
|
# @param [String] resource
|
@@ -4485,9 +4663,8 @@ module Google
|
|
4485
4663
|
# @param [String] project
|
4486
4664
|
# Project ID for this request.
|
4487
4665
|
# @param [String] filter
|
4488
|
-
# Sets a filter expression for filtering listed resources
|
4489
|
-
#
|
4490
|
-
# comparison_string literal_string.
|
4666
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
4667
|
+
# must be in the format: field_name comparison_string literal_string.
|
4491
4668
|
# The field_name is the name of the field you want to compare. Only atomic field
|
4492
4669
|
# types are supported (string, number, boolean). The comparison_string must be
|
4493
4670
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -4496,7 +4673,7 @@ module Google
|
|
4496
4673
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
4497
4674
|
# must match the entire field.
|
4498
4675
|
# For example, to filter for instances that do not have a name of example-
|
4499
|
-
# instance, you would use
|
4676
|
+
# instance, you would use name ne example-instance.
|
4500
4677
|
# You can filter on nested fields. For example, you could filter on instances
|
4501
4678
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
4502
4679
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -4543,7 +4720,7 @@ module Google
|
|
4543
4720
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4544
4721
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4545
4722
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4546
|
-
def
|
4723
|
+
def list_aggregated_instance_group_managers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4547
4724
|
command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options)
|
4548
4725
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList::Representation
|
4549
4726
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList
|
@@ -4752,9 +4929,8 @@ module Google
|
|
4752
4929
|
# @param [String] zone
|
4753
4930
|
# The name of the zone where the managed instance group is located.
|
4754
4931
|
# @param [String] filter
|
4755
|
-
# Sets a filter expression for filtering listed resources
|
4756
|
-
#
|
4757
|
-
# comparison_string literal_string.
|
4932
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
4933
|
+
# must be in the format: field_name comparison_string literal_string.
|
4758
4934
|
# The field_name is the name of the field you want to compare. Only atomic field
|
4759
4935
|
# types are supported (string, number, boolean). The comparison_string must be
|
4760
4936
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -4763,7 +4939,7 @@ module Google
|
|
4763
4939
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
4764
4940
|
# must match the entire field.
|
4765
4941
|
# For example, to filter for instances that do not have a name of example-
|
4766
|
-
# instance, you would use
|
4942
|
+
# instance, you would use name ne example-instance.
|
4767
4943
|
# You can filter on nested fields. For example, you could filter on instances
|
4768
4944
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
4769
4945
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -5131,9 +5307,8 @@ module Google
|
|
5131
5307
|
# @param [String] project
|
5132
5308
|
# Project ID for this request.
|
5133
5309
|
# @param [String] filter
|
5134
|
-
# Sets a filter expression for filtering listed resources
|
5135
|
-
#
|
5136
|
-
# comparison_string literal_string.
|
5310
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
5311
|
+
# must be in the format: field_name comparison_string literal_string.
|
5137
5312
|
# The field_name is the name of the field you want to compare. Only atomic field
|
5138
5313
|
# types are supported (string, number, boolean). The comparison_string must be
|
5139
5314
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -5142,7 +5317,7 @@ module Google
|
|
5142
5317
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
5143
5318
|
# must match the entire field.
|
5144
5319
|
# For example, to filter for instances that do not have a name of example-
|
5145
|
-
# instance, you would use
|
5320
|
+
# instance, you would use name ne example-instance.
|
5146
5321
|
# You can filter on nested fields. For example, you could filter on instances
|
5147
5322
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
5148
5323
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -5189,7 +5364,7 @@ module Google
|
|
5189
5364
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5190
5365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5191
5366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5192
|
-
def
|
5367
|
+
def list_aggregated_instance_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
5193
5368
|
command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options)
|
5194
5369
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupAggregatedList::Representation
|
5195
5370
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupAggregatedList
|
@@ -5338,9 +5513,8 @@ module Google
|
|
5338
5513
|
# @param [String] zone
|
5339
5514
|
# The name of the zone where the instance group is located.
|
5340
5515
|
# @param [String] filter
|
5341
|
-
# Sets a filter expression for filtering listed resources
|
5342
|
-
#
|
5343
|
-
# comparison_string literal_string.
|
5516
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
5517
|
+
# must be in the format: field_name comparison_string literal_string.
|
5344
5518
|
# The field_name is the name of the field you want to compare. Only atomic field
|
5345
5519
|
# types are supported (string, number, boolean). The comparison_string must be
|
5346
5520
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -5349,7 +5523,7 @@ module Google
|
|
5349
5523
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
5350
5524
|
# must match the entire field.
|
5351
5525
|
# For example, to filter for instances that do not have a name of example-
|
5352
|
-
# instance, you would use
|
5526
|
+
# instance, you would use name ne example-instance.
|
5353
5527
|
# You can filter on nested fields. For example, you could filter on instances
|
5354
5528
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
5355
5529
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -5422,9 +5596,8 @@ module Google
|
|
5422
5596
|
# included instances.
|
5423
5597
|
# @param [Google::Apis::ComputeV1::InstanceGroupsListInstancesRequest] instance_groups_list_instances_request_object
|
5424
5598
|
# @param [String] filter
|
5425
|
-
# Sets a filter expression for filtering listed resources
|
5426
|
-
#
|
5427
|
-
# comparison_string literal_string.
|
5599
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
5600
|
+
# must be in the format: field_name comparison_string literal_string.
|
5428
5601
|
# The field_name is the name of the field you want to compare. Only atomic field
|
5429
5602
|
# types are supported (string, number, boolean). The comparison_string must be
|
5430
5603
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -5433,7 +5606,7 @@ module Google
|
|
5433
5606
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
5434
5607
|
# must match the entire field.
|
5435
5608
|
# For example, to filter for instances that do not have a name of example-
|
5436
|
-
# instance, you would use
|
5609
|
+
# instance, you would use name ne example-instance.
|
5437
5610
|
# You can filter on nested fields. For example, you could filter on instances
|
5438
5611
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
5439
5612
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -5717,9 +5890,8 @@ module Google
|
|
5717
5890
|
# @param [String] project
|
5718
5891
|
# Project ID for this request.
|
5719
5892
|
# @param [String] filter
|
5720
|
-
# Sets a filter expression for filtering listed resources
|
5721
|
-
#
|
5722
|
-
# comparison_string literal_string.
|
5893
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
5894
|
+
# must be in the format: field_name comparison_string literal_string.
|
5723
5895
|
# The field_name is the name of the field you want to compare. Only atomic field
|
5724
5896
|
# types are supported (string, number, boolean). The comparison_string must be
|
5725
5897
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -5728,7 +5900,7 @@ module Google
|
|
5728
5900
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
5729
5901
|
# must match the entire field.
|
5730
5902
|
# For example, to filter for instances that do not have a name of example-
|
5731
|
-
# instance, you would use
|
5903
|
+
# instance, you would use name ne example-instance.
|
5732
5904
|
# You can filter on nested fields. For example, you could filter on instances
|
5733
5905
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
5734
5906
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -5841,9 +6013,8 @@ module Google
|
|
5841
6013
|
# @param [String] project
|
5842
6014
|
# Project ID for this request.
|
5843
6015
|
# @param [String] filter
|
5844
|
-
# Sets a filter expression for filtering listed resources
|
5845
|
-
#
|
5846
|
-
# comparison_string literal_string.
|
6016
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
6017
|
+
# must be in the format: field_name comparison_string literal_string.
|
5847
6018
|
# The field_name is the name of the field you want to compare. Only atomic field
|
5848
6019
|
# types are supported (string, number, boolean). The comparison_string must be
|
5849
6020
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -5852,7 +6023,7 @@ module Google
|
|
5852
6023
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
5853
6024
|
# must match the entire field.
|
5854
6025
|
# For example, to filter for instances that do not have a name of example-
|
5855
|
-
# instance, you would use
|
6026
|
+
# instance, you would use name ne example-instance.
|
5856
6027
|
# You can filter on nested fields. For example, you could filter on instances
|
5857
6028
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
5858
6029
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -5899,7 +6070,7 @@ module Google
|
|
5899
6070
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5900
6071
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5901
6072
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5902
|
-
def
|
6073
|
+
def list_aggregated_instances(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
5903
6074
|
command = make_simple_command(:get, '{project}/aggregated/instances', options)
|
5904
6075
|
command.response_representation = Google::Apis::ComputeV1::InstanceAggregatedList::Representation
|
5905
6076
|
command.response_class = Google::Apis::ComputeV1::InstanceAggregatedList
|
@@ -5946,7 +6117,7 @@ module Google
|
|
5946
6117
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5947
6118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5948
6119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5949
|
-
def
|
6120
|
+
def attach_disk(project, zone, instance, attached_disk_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
5950
6121
|
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/attachDisk', options)
|
5951
6122
|
command.request_representation = Google::Apis::ComputeV1::AttachedDisk::Representation
|
5952
6123
|
command.request_object = attached_disk_object
|
@@ -6080,7 +6251,7 @@ module Google
|
|
6080
6251
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6081
6252
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6082
6253
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6083
|
-
def
|
6254
|
+
def detach_disk(project, zone, instance, device_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6084
6255
|
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/detachDisk', options)
|
6085
6256
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
6086
6257
|
command.response_class = Google::Apis::ComputeV1::Operation
|
@@ -6234,9 +6405,8 @@ module Google
|
|
6234
6405
|
# @param [String] zone
|
6235
6406
|
# The name of the zone for this request.
|
6236
6407
|
# @param [String] filter
|
6237
|
-
# Sets a filter expression for filtering listed resources
|
6238
|
-
#
|
6239
|
-
# comparison_string literal_string.
|
6408
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
6409
|
+
# must be in the format: field_name comparison_string literal_string.
|
6240
6410
|
# The field_name is the name of the field you want to compare. Only atomic field
|
6241
6411
|
# types are supported (string, number, boolean). The comparison_string must be
|
6242
6412
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -6245,7 +6415,7 @@ module Google
|
|
6245
6415
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
6246
6416
|
# must match the entire field.
|
6247
6417
|
# For example, to filter for instances that do not have a name of example-
|
6248
|
-
# instance, you would use
|
6418
|
+
# instance, you would use name ne example-instance.
|
6249
6419
|
# You can filter on nested fields. For example, you could filter on instances
|
6250
6420
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
6251
6421
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -6382,7 +6552,7 @@ module Google
|
|
6382
6552
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6383
6553
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6384
6554
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6385
|
-
def
|
6555
|
+
def set_disk_auto_delete(project, zone, instance, auto_delete, device_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6386
6556
|
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options)
|
6387
6557
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
6388
6558
|
command.response_class = Google::Apis::ComputeV1::Operation
|
@@ -6397,8 +6567,8 @@ module Google
|
|
6397
6567
|
execute_or_queue_command(command, &block)
|
6398
6568
|
end
|
6399
6569
|
|
6400
|
-
# Sets labels on an instance. To learn more about labels, read the Labeling
|
6401
|
-
#
|
6570
|
+
# Sets labels on an instance. To learn more about labels, read the Labeling
|
6571
|
+
# Resources documentation.
|
6402
6572
|
# @param [String] project
|
6403
6573
|
# Project ID for this request.
|
6404
6574
|
# @param [String] zone
|
@@ -6442,6 +6612,51 @@ module Google
|
|
6442
6612
|
execute_or_queue_command(command, &block)
|
6443
6613
|
end
|
6444
6614
|
|
6615
|
+
# Changes the number and/or type of accelerator for a stopped instance to the
|
6616
|
+
# values specified in the request.
|
6617
|
+
# @param [String] project
|
6618
|
+
# Project ID for this request.
|
6619
|
+
# @param [String] zone
|
6620
|
+
# The name of the zone for this request.
|
6621
|
+
# @param [String] instance
|
6622
|
+
# Name of the instance scoping this request.
|
6623
|
+
# @param [Google::Apis::ComputeV1::InstancesSetMachineResourcesRequest] instances_set_machine_resources_request_object
|
6624
|
+
# @param [String] fields
|
6625
|
+
# Selector specifying which fields to include in a partial response.
|
6626
|
+
# @param [String] quota_user
|
6627
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6628
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6629
|
+
# Overrides userIp if both are provided.
|
6630
|
+
# @param [String] user_ip
|
6631
|
+
# IP address of the site where the request originates. Use this if you want to
|
6632
|
+
# enforce per-user limits.
|
6633
|
+
# @param [Google::Apis::RequestOptions] options
|
6634
|
+
# Request-specific options
|
6635
|
+
#
|
6636
|
+
# @yield [result, err] Result & error if block supplied
|
6637
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
6638
|
+
# @yieldparam err [StandardError] error object if request failed
|
6639
|
+
#
|
6640
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
6641
|
+
#
|
6642
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6643
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6644
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6645
|
+
def set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6646
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', options)
|
6647
|
+
command.request_representation = Google::Apis::ComputeV1::InstancesSetMachineResourcesRequest::Representation
|
6648
|
+
command.request_object = instances_set_machine_resources_request_object
|
6649
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
6650
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
6651
|
+
command.params['project'] = project unless project.nil?
|
6652
|
+
command.params['zone'] = zone unless zone.nil?
|
6653
|
+
command.params['instance'] = instance unless instance.nil?
|
6654
|
+
command.query['fields'] = fields unless fields.nil?
|
6655
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6656
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
6657
|
+
execute_or_queue_command(command, &block)
|
6658
|
+
end
|
6659
|
+
|
6445
6660
|
# Changes the machine type for a stopped instance to the machine type specified
|
6446
6661
|
# in the request.
|
6447
6662
|
# @param [String] project
|
@@ -6797,8 +7012,7 @@ module Google
|
|
6797
7012
|
execute_or_queue_command(command, &block)
|
6798
7013
|
end
|
6799
7014
|
|
6800
|
-
# Returns the specified License resource.
|
6801
|
-
# making a list() request.
|
7015
|
+
# Returns the specified License resource.
|
6802
7016
|
# @param [String] project
|
6803
7017
|
# Project ID for this request.
|
6804
7018
|
# @param [String] license
|
@@ -6840,9 +7054,8 @@ module Google
|
|
6840
7054
|
# @param [String] project
|
6841
7055
|
# Project ID for this request.
|
6842
7056
|
# @param [String] filter
|
6843
|
-
# Sets a filter expression for filtering listed resources
|
6844
|
-
#
|
6845
|
-
# comparison_string literal_string.
|
7057
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
7058
|
+
# must be in the format: field_name comparison_string literal_string.
|
6846
7059
|
# The field_name is the name of the field you want to compare. Only atomic field
|
6847
7060
|
# types are supported (string, number, boolean). The comparison_string must be
|
6848
7061
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -6851,7 +7064,7 @@ module Google
|
|
6851
7064
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
6852
7065
|
# must match the entire field.
|
6853
7066
|
# For example, to filter for instances that do not have a name of example-
|
6854
|
-
# instance, you would use
|
7067
|
+
# instance, you would use name ne example-instance.
|
6855
7068
|
# You can filter on nested fields. For example, you could filter on instances
|
6856
7069
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
6857
7070
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -6898,7 +7111,7 @@ module Google
|
|
6898
7111
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6899
7112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6900
7113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6901
|
-
def
|
7114
|
+
def list_aggregated_machine_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6902
7115
|
command = make_simple_command(:get, '{project}/aggregated/machineTypes', options)
|
6903
7116
|
command.response_representation = Google::Apis::ComputeV1::MachineTypeAggregatedList::Representation
|
6904
7117
|
command.response_class = Google::Apis::ComputeV1::MachineTypeAggregatedList
|
@@ -6961,9 +7174,8 @@ module Google
|
|
6961
7174
|
# @param [String] zone
|
6962
7175
|
# The name of the zone for this request.
|
6963
7176
|
# @param [String] filter
|
6964
|
-
# Sets a filter expression for filtering listed resources
|
6965
|
-
#
|
6966
|
-
# comparison_string literal_string.
|
7177
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
7178
|
+
# must be in the format: field_name comparison_string literal_string.
|
6967
7179
|
# The field_name is the name of the field you want to compare. Only atomic field
|
6968
7180
|
# types are supported (string, number, boolean). The comparison_string must be
|
6969
7181
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -6972,7 +7184,7 @@ module Google
|
|
6972
7184
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
6973
7185
|
# must match the entire field.
|
6974
7186
|
# For example, to filter for instances that do not have a name of example-
|
6975
|
-
# instance, you would use
|
7187
|
+
# instance, you would use name ne example-instance.
|
6976
7188
|
# You can filter on nested fields. For example, you could filter on instances
|
6977
7189
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
6978
7190
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -7035,6 +7247,47 @@ module Google
|
|
7035
7247
|
execute_or_queue_command(command, &block)
|
7036
7248
|
end
|
7037
7249
|
|
7250
|
+
# Adds a peering to the specified network.
|
7251
|
+
# @param [String] project
|
7252
|
+
# Project ID for this request.
|
7253
|
+
# @param [String] network
|
7254
|
+
# Name of the network resource to add peering to.
|
7255
|
+
# @param [Google::Apis::ComputeV1::NetworksAddPeeringRequest] networks_add_peering_request_object
|
7256
|
+
# @param [String] fields
|
7257
|
+
# Selector specifying which fields to include in a partial response.
|
7258
|
+
# @param [String] quota_user
|
7259
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7260
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7261
|
+
# Overrides userIp if both are provided.
|
7262
|
+
# @param [String] user_ip
|
7263
|
+
# IP address of the site where the request originates. Use this if you want to
|
7264
|
+
# enforce per-user limits.
|
7265
|
+
# @param [Google::Apis::RequestOptions] options
|
7266
|
+
# Request-specific options
|
7267
|
+
#
|
7268
|
+
# @yield [result, err] Result & error if block supplied
|
7269
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
7270
|
+
# @yieldparam err [StandardError] error object if request failed
|
7271
|
+
#
|
7272
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
7273
|
+
#
|
7274
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7275
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7276
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7277
|
+
def add_network_peering(project, network, networks_add_peering_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7278
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options)
|
7279
|
+
command.request_representation = Google::Apis::ComputeV1::NetworksAddPeeringRequest::Representation
|
7280
|
+
command.request_object = networks_add_peering_request_object
|
7281
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
7282
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
7283
|
+
command.params['project'] = project unless project.nil?
|
7284
|
+
command.params['network'] = network unless network.nil?
|
7285
|
+
command.query['fields'] = fields unless fields.nil?
|
7286
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7287
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
7288
|
+
execute_or_queue_command(command, &block)
|
7289
|
+
end
|
7290
|
+
|
7038
7291
|
# Deletes the specified network.
|
7039
7292
|
# @param [String] project
|
7040
7293
|
# Project ID for this request.
|
@@ -7155,9 +7408,8 @@ module Google
|
|
7155
7408
|
# @param [String] project
|
7156
7409
|
# Project ID for this request.
|
7157
7410
|
# @param [String] filter
|
7158
|
-
# Sets a filter expression for filtering listed resources
|
7159
|
-
#
|
7160
|
-
# comparison_string literal_string.
|
7411
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
7412
|
+
# must be in the format: field_name comparison_string literal_string.
|
7161
7413
|
# The field_name is the name of the field you want to compare. Only atomic field
|
7162
7414
|
# types are supported (string, number, boolean). The comparison_string must be
|
7163
7415
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -7166,7 +7418,7 @@ module Google
|
|
7166
7418
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
7167
7419
|
# must match the entire field.
|
7168
7420
|
# For example, to filter for instances that do not have a name of example-
|
7169
|
-
# instance, you would use
|
7421
|
+
# instance, you would use name ne example-instance.
|
7170
7422
|
# You can filter on nested fields. For example, you could filter on instances
|
7171
7423
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
7172
7424
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -7228,6 +7480,47 @@ module Google
|
|
7228
7480
|
execute_or_queue_command(command, &block)
|
7229
7481
|
end
|
7230
7482
|
|
7483
|
+
# Removes a peering from the specified network.
|
7484
|
+
# @param [String] project
|
7485
|
+
# Project ID for this request.
|
7486
|
+
# @param [String] network
|
7487
|
+
# Name of the network resource to remove peering from.
|
7488
|
+
# @param [Google::Apis::ComputeV1::NetworksRemovePeeringRequest] networks_remove_peering_request_object
|
7489
|
+
# @param [String] fields
|
7490
|
+
# Selector specifying which fields to include in a partial response.
|
7491
|
+
# @param [String] quota_user
|
7492
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7493
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7494
|
+
# Overrides userIp if both are provided.
|
7495
|
+
# @param [String] user_ip
|
7496
|
+
# IP address of the site where the request originates. Use this if you want to
|
7497
|
+
# enforce per-user limits.
|
7498
|
+
# @param [Google::Apis::RequestOptions] options
|
7499
|
+
# Request-specific options
|
7500
|
+
#
|
7501
|
+
# @yield [result, err] Result & error if block supplied
|
7502
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
7503
|
+
# @yieldparam err [StandardError] error object if request failed
|
7504
|
+
#
|
7505
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
7506
|
+
#
|
7507
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7508
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7509
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7510
|
+
def remove_network_peering(project, network, networks_remove_peering_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7511
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options)
|
7512
|
+
command.request_representation = Google::Apis::ComputeV1::NetworksRemovePeeringRequest::Representation
|
7513
|
+
command.request_object = networks_remove_peering_request_object
|
7514
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
7515
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
7516
|
+
command.params['project'] = project unless project.nil?
|
7517
|
+
command.params['network'] = network unless network.nil?
|
7518
|
+
command.query['fields'] = fields unless fields.nil?
|
7519
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7520
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
7521
|
+
execute_or_queue_command(command, &block)
|
7522
|
+
end
|
7523
|
+
|
7231
7524
|
# Switches the network mode from auto subnet mode to custom subnet mode.
|
7232
7525
|
# @param [String] project
|
7233
7526
|
# Project ID for this request.
|
@@ -7577,7 +7870,7 @@ module Google
|
|
7577
7870
|
# Moves a persistent disk from one zone to another.
|
7578
7871
|
# @param [String] project
|
7579
7872
|
# Project ID for this request.
|
7580
|
-
# @param [Google::Apis::ComputeV1::
|
7873
|
+
# @param [Google::Apis::ComputeV1::MoveDiskRequest] move_disk_request_object
|
7581
7874
|
# @param [String] fields
|
7582
7875
|
# Selector specifying which fields to include in a partial response.
|
7583
7876
|
# @param [String] quota_user
|
@@ -7599,10 +7892,10 @@ module Google
|
|
7599
7892
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7600
7893
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7601
7894
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7602
|
-
def
|
7895
|
+
def move_disk(project, move_disk_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7603
7896
|
command = make_simple_command(:post, '{project}/moveDisk', options)
|
7604
|
-
command.request_representation = Google::Apis::ComputeV1::
|
7605
|
-
command.request_object =
|
7897
|
+
command.request_representation = Google::Apis::ComputeV1::MoveDiskRequest::Representation
|
7898
|
+
command.request_object = move_disk_request_object
|
7606
7899
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
7607
7900
|
command.response_class = Google::Apis::ComputeV1::Operation
|
7608
7901
|
command.params['project'] = project unless project.nil?
|
@@ -7615,7 +7908,7 @@ module Google
|
|
7615
7908
|
# Moves an instance and its attached persistent disks from one zone to another.
|
7616
7909
|
# @param [String] project
|
7617
7910
|
# Project ID for this request.
|
7618
|
-
# @param [Google::Apis::ComputeV1::
|
7911
|
+
# @param [Google::Apis::ComputeV1::MoveInstanceRequest] move_instance_request_object
|
7619
7912
|
# @param [String] fields
|
7620
7913
|
# Selector specifying which fields to include in a partial response.
|
7621
7914
|
# @param [String] quota_user
|
@@ -7637,10 +7930,10 @@ module Google
|
|
7637
7930
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7638
7931
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7639
7932
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7640
|
-
def
|
7933
|
+
def move_instance(project, move_instance_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7641
7934
|
command = make_simple_command(:post, '{project}/moveInstance', options)
|
7642
|
-
command.request_representation = Google::Apis::ComputeV1::
|
7643
|
-
command.request_object =
|
7935
|
+
command.request_representation = Google::Apis::ComputeV1::MoveInstanceRequest::Representation
|
7936
|
+
command.request_object = move_instance_request_object
|
7644
7937
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
7645
7938
|
command.response_class = Google::Apis::ComputeV1::Operation
|
7646
7939
|
command.params['project'] = project unless project.nil?
|
@@ -7676,7 +7969,7 @@ module Google
|
|
7676
7969
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7677
7970
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7678
7971
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7679
|
-
def
|
7972
|
+
def set_common_instance_metadata(project, metadata_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7680
7973
|
command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', options)
|
7681
7974
|
command.request_representation = Google::Apis::ComputeV1::Metadata::Representation
|
7682
7975
|
command.request_object = metadata_object
|
@@ -7716,7 +8009,7 @@ module Google
|
|
7716
8009
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7717
8010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7718
8011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7719
|
-
def
|
8012
|
+
def set_usage_export_bucket(project, usage_export_location_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7720
8013
|
command = make_simple_command(:post, '{project}/setUsageExportBucket', options)
|
7721
8014
|
command.request_representation = Google::Apis::ComputeV1::UsageExportLocation::Representation
|
7722
8015
|
command.request_object = usage_export_location_object
|
@@ -7859,9 +8152,8 @@ module Google
|
|
7859
8152
|
# @param [String] region
|
7860
8153
|
# Name of the region scoping this request.
|
7861
8154
|
# @param [String] filter
|
7862
|
-
# Sets a filter expression for filtering listed resources
|
7863
|
-
#
|
7864
|
-
# comparison_string literal_string.
|
8155
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
8156
|
+
# must be in the format: field_name comparison_string literal_string.
|
7865
8157
|
# The field_name is the name of the field you want to compare. Only atomic field
|
7866
8158
|
# types are supported (string, number, boolean). The comparison_string must be
|
7867
8159
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -7870,7 +8162,7 @@ module Google
|
|
7870
8162
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
7871
8163
|
# must match the entire field.
|
7872
8164
|
# For example, to filter for instances that do not have a name of example-
|
7873
|
-
# instance, you would use
|
8165
|
+
# instance, you would use name ne example-instance.
|
7874
8166
|
# You can filter on nested fields. For example, you could filter on instances
|
7875
8167
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
7876
8168
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -8199,9 +8491,8 @@ module Google
|
|
8199
8491
|
# @param [String] region
|
8200
8492
|
# Name of the region scoping this request.
|
8201
8493
|
# @param [String] filter
|
8202
|
-
# Sets a filter expression for filtering listed resources
|
8203
|
-
#
|
8204
|
-
# comparison_string literal_string.
|
8494
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
8495
|
+
# must be in the format: field_name comparison_string literal_string.
|
8205
8496
|
# The field_name is the name of the field you want to compare. Only atomic field
|
8206
8497
|
# types are supported (string, number, boolean). The comparison_string must be
|
8207
8498
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -8210,7 +8501,7 @@ module Google
|
|
8210
8501
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
8211
8502
|
# must match the entire field.
|
8212
8503
|
# For example, to filter for instances that do not have a name of example-
|
8213
|
-
# instance, you would use
|
8504
|
+
# instance, you would use name ne example-instance.
|
8214
8505
|
# You can filter on nested fields. For example, you could filter on instances
|
8215
8506
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
8216
8507
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -8613,9 +8904,8 @@ module Google
|
|
8613
8904
|
# @param [String] region
|
8614
8905
|
# Name of the region scoping this request.
|
8615
8906
|
# @param [String] filter
|
8616
|
-
# Sets a filter expression for filtering listed resources
|
8617
|
-
#
|
8618
|
-
# comparison_string literal_string.
|
8907
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
8908
|
+
# must be in the format: field_name comparison_string literal_string.
|
8619
8909
|
# The field_name is the name of the field you want to compare. Only atomic field
|
8620
8910
|
# types are supported (string, number, boolean). The comparison_string must be
|
8621
8911
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -8624,7 +8914,7 @@ module Google
|
|
8624
8914
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
8625
8915
|
# must match the entire field.
|
8626
8916
|
# For example, to filter for instances that do not have a name of example-
|
8627
|
-
# instance, you would use
|
8917
|
+
# instance, you would use name ne example-instance.
|
8628
8918
|
# You can filter on nested fields. For example, you could filter on instances
|
8629
8919
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
8630
8920
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -8982,9 +9272,8 @@ module Google
|
|
8982
9272
|
# @param [String] region
|
8983
9273
|
# Name of the region scoping this request.
|
8984
9274
|
# @param [String] filter
|
8985
|
-
# Sets a filter expression for filtering listed resources
|
8986
|
-
#
|
8987
|
-
# comparison_string literal_string.
|
9275
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
9276
|
+
# must be in the format: field_name comparison_string literal_string.
|
8988
9277
|
# The field_name is the name of the field you want to compare. Only atomic field
|
8989
9278
|
# types are supported (string, number, boolean). The comparison_string must be
|
8990
9279
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -8993,7 +9282,7 @@ module Google
|
|
8993
9282
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
8994
9283
|
# must match the entire field.
|
8995
9284
|
# For example, to filter for instances that do not have a name of example-
|
8996
|
-
# instance, you would use
|
9285
|
+
# instance, you would use name ne example-instance.
|
8997
9286
|
# You can filter on nested fields. For example, you could filter on instances
|
8998
9287
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
8999
9288
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -9067,9 +9356,8 @@ module Google
|
|
9067
9356
|
# Name of the regional instance group for which we want to list the instances.
|
9068
9357
|
# @param [Google::Apis::ComputeV1::RegionInstanceGroupsListInstancesRequest] region_instance_groups_list_instances_request_object
|
9069
9358
|
# @param [String] filter
|
9070
|
-
# Sets a filter expression for filtering listed resources
|
9071
|
-
#
|
9072
|
-
# comparison_string literal_string.
|
9359
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
9360
|
+
# must be in the format: field_name comparison_string literal_string.
|
9073
9361
|
# The field_name is the name of the field you want to compare. Only atomic field
|
9074
9362
|
# types are supported (string, number, boolean). The comparison_string must be
|
9075
9363
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -9078,7 +9366,7 @@ module Google
|
|
9078
9366
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
9079
9367
|
# must match the entire field.
|
9080
9368
|
# For example, to filter for instances that do not have a name of example-
|
9081
|
-
# instance, you would use
|
9369
|
+
# instance, you would use name ne example-instance.
|
9082
9370
|
# You can filter on nested fields. For example, you could filter on instances
|
9083
9371
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
9084
9372
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -9274,9 +9562,8 @@ module Google
|
|
9274
9562
|
# @param [String] region
|
9275
9563
|
# Name of the region for this request.
|
9276
9564
|
# @param [String] filter
|
9277
|
-
# Sets a filter expression for filtering listed resources
|
9278
|
-
#
|
9279
|
-
# comparison_string literal_string.
|
9565
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
9566
|
+
# must be in the format: field_name comparison_string literal_string.
|
9280
9567
|
# The field_name is the name of the field you want to compare. Only atomic field
|
9281
9568
|
# types are supported (string, number, boolean). The comparison_string must be
|
9282
9569
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -9285,7 +9572,7 @@ module Google
|
|
9285
9572
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
9286
9573
|
# must match the entire field.
|
9287
9574
|
# For example, to filter for instances that do not have a name of example-
|
9288
|
-
# instance, you would use
|
9575
|
+
# instance, you would use name ne example-instance.
|
9289
9576
|
# You can filter on nested fields. For example, you could filter on instances
|
9290
9577
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
9291
9578
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -9391,9 +9678,8 @@ module Google
|
|
9391
9678
|
# @param [String] project
|
9392
9679
|
# Project ID for this request.
|
9393
9680
|
# @param [String] filter
|
9394
|
-
# Sets a filter expression for filtering listed resources
|
9395
|
-
#
|
9396
|
-
# comparison_string literal_string.
|
9681
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
9682
|
+
# must be in the format: field_name comparison_string literal_string.
|
9397
9683
|
# The field_name is the name of the field you want to compare. Only atomic field
|
9398
9684
|
# types are supported (string, number, boolean). The comparison_string must be
|
9399
9685
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -9402,7 +9688,7 @@ module Google
|
|
9402
9688
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
9403
9689
|
# must match the entire field.
|
9404
9690
|
# For example, to filter for instances that do not have a name of example-
|
9405
|
-
# instance, you would use
|
9691
|
+
# instance, you would use name ne example-instance.
|
9406
9692
|
# You can filter on nested fields. For example, you could filter on instances
|
9407
9693
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
9408
9694
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -9468,9 +9754,8 @@ module Google
|
|
9468
9754
|
# @param [String] project
|
9469
9755
|
# Project ID for this request.
|
9470
9756
|
# @param [String] filter
|
9471
|
-
# Sets a filter expression for filtering listed resources
|
9472
|
-
#
|
9473
|
-
# comparison_string literal_string.
|
9757
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
9758
|
+
# must be in the format: field_name comparison_string literal_string.
|
9474
9759
|
# The field_name is the name of the field you want to compare. Only atomic field
|
9475
9760
|
# types are supported (string, number, boolean). The comparison_string must be
|
9476
9761
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -9479,7 +9764,7 @@ module Google
|
|
9479
9764
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
9480
9765
|
# must match the entire field.
|
9481
9766
|
# For example, to filter for instances that do not have a name of example-
|
9482
|
-
# instance, you would use
|
9767
|
+
# instance, you would use name ne example-instance.
|
9483
9768
|
# You can filter on nested fields. For example, you could filter on instances
|
9484
9769
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
9485
9770
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -9713,9 +9998,8 @@ module Google
|
|
9713
9998
|
# @param [String] region
|
9714
9999
|
# Name of the region for this request.
|
9715
10000
|
# @param [String] filter
|
9716
|
-
# Sets a filter expression for filtering listed resources
|
9717
|
-
#
|
9718
|
-
# comparison_string literal_string.
|
10001
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
10002
|
+
# must be in the format: field_name comparison_string literal_string.
|
9719
10003
|
# The field_name is the name of the field you want to compare. Only atomic field
|
9720
10004
|
# types are supported (string, number, boolean). The comparison_string must be
|
9721
10005
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -9724,7 +10008,7 @@ module Google
|
|
9724
10008
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
9725
10009
|
# must match the entire field.
|
9726
10010
|
# For example, to filter for instances that do not have a name of example-
|
9727
|
-
# instance, you would use
|
10011
|
+
# instance, you would use name ne example-instance.
|
9728
10012
|
# You can filter on nested fields. For example, you could filter on instances
|
9729
10013
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
9730
10014
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -10041,9 +10325,8 @@ module Google
|
|
10041
10325
|
# @param [String] project
|
10042
10326
|
# Project ID for this request.
|
10043
10327
|
# @param [String] filter
|
10044
|
-
# Sets a filter expression for filtering listed resources
|
10045
|
-
#
|
10046
|
-
# comparison_string literal_string.
|
10328
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
10329
|
+
# must be in the format: field_name comparison_string literal_string.
|
10047
10330
|
# The field_name is the name of the field you want to compare. Only atomic field
|
10048
10331
|
# types are supported (string, number, boolean). The comparison_string must be
|
10049
10332
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -10052,7 +10335,7 @@ module Google
|
|
10052
10335
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
10053
10336
|
# must match the entire field.
|
10054
10337
|
# For example, to filter for instances that do not have a name of example-
|
10055
|
-
# instance, you would use
|
10338
|
+
# instance, you would use name ne example-instance.
|
10056
10339
|
# You can filter on nested fields. For example, you could filter on instances
|
10057
10340
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
10058
10341
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -10200,9 +10483,8 @@ module Google
|
|
10200
10483
|
# @param [String] project
|
10201
10484
|
# Project ID for this request.
|
10202
10485
|
# @param [String] filter
|
10203
|
-
# Sets a filter expression for filtering listed resources
|
10204
|
-
#
|
10205
|
-
# comparison_string literal_string.
|
10486
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
10487
|
+
# must be in the format: field_name comparison_string literal_string.
|
10206
10488
|
# The field_name is the name of the field you want to compare. Only atomic field
|
10207
10489
|
# types are supported (string, number, boolean). The comparison_string must be
|
10208
10490
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -10211,7 +10493,7 @@ module Google
|
|
10211
10493
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
10212
10494
|
# must match the entire field.
|
10213
10495
|
# For example, to filter for instances that do not have a name of example-
|
10214
|
-
# instance, you would use
|
10496
|
+
# instance, you would use name ne example-instance.
|
10215
10497
|
# You can filter on nested fields. For example, you could filter on instances
|
10216
10498
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
10217
10499
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -10274,7 +10556,7 @@ module Google
|
|
10274
10556
|
end
|
10275
10557
|
|
10276
10558
|
# Sets the labels on a snapshot. To learn more about labels, read the Labeling
|
10277
|
-
#
|
10559
|
+
# Resources documentation.
|
10278
10560
|
# @param [String] project
|
10279
10561
|
# Project ID for this request.
|
10280
10562
|
# @param [String] resource
|
@@ -10436,9 +10718,8 @@ module Google
|
|
10436
10718
|
# @param [String] project
|
10437
10719
|
# Project ID for this request.
|
10438
10720
|
# @param [String] filter
|
10439
|
-
# Sets a filter expression for filtering listed resources
|
10440
|
-
#
|
10441
|
-
# comparison_string literal_string.
|
10721
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
10722
|
+
# must be in the format: field_name comparison_string literal_string.
|
10442
10723
|
# The field_name is the name of the field you want to compare. Only atomic field
|
10443
10724
|
# types are supported (string, number, boolean). The comparison_string must be
|
10444
10725
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -10447,7 +10728,7 @@ module Google
|
|
10447
10728
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
10448
10729
|
# must match the entire field.
|
10449
10730
|
# For example, to filter for instances that do not have a name of example-
|
10450
|
-
# instance, you would use
|
10731
|
+
# instance, you would use name ne example-instance.
|
10451
10732
|
# You can filter on nested fields. For example, you could filter on instances
|
10452
10733
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
10453
10734
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -10513,9 +10794,8 @@ module Google
|
|
10513
10794
|
# @param [String] project
|
10514
10795
|
# Project ID for this request.
|
10515
10796
|
# @param [String] filter
|
10516
|
-
# Sets a filter expression for filtering listed resources
|
10517
|
-
#
|
10518
|
-
# comparison_string literal_string.
|
10797
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
10798
|
+
# must be in the format: field_name comparison_string literal_string.
|
10519
10799
|
# The field_name is the name of the field you want to compare. Only atomic field
|
10520
10800
|
# types are supported (string, number, boolean). The comparison_string must be
|
10521
10801
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -10524,7 +10804,7 @@ module Google
|
|
10524
10804
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
10525
10805
|
# must match the entire field.
|
10526
10806
|
# For example, to filter for instances that do not have a name of example-
|
10527
|
-
# instance, you would use
|
10807
|
+
# instance, you would use name ne example-instance.
|
10528
10808
|
# You can filter on nested fields. For example, you could filter on instances
|
10529
10809
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
10530
10810
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -10761,9 +11041,8 @@ module Google
|
|
10761
11041
|
# @param [String] region
|
10762
11042
|
# Name of the region scoping this request.
|
10763
11043
|
# @param [String] filter
|
10764
|
-
# Sets a filter expression for filtering listed resources
|
10765
|
-
#
|
10766
|
-
# comparison_string literal_string.
|
11044
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
11045
|
+
# must be in the format: field_name comparison_string literal_string.
|
10767
11046
|
# The field_name is the name of the field you want to compare. Only atomic field
|
10768
11047
|
# types are supported (string, number, boolean). The comparison_string must be
|
10769
11048
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -10772,7 +11051,7 @@ module Google
|
|
10772
11051
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
10773
11052
|
# must match the entire field.
|
10774
11053
|
# For example, to filter for instances that do not have a name of example-
|
10775
|
-
# instance, you would use
|
11054
|
+
# instance, you would use name ne example-instance.
|
10776
11055
|
# You can filter on nested fields. For example, you could filter on instances
|
10777
11056
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
10778
11057
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -11001,9 +11280,8 @@ module Google
|
|
11001
11280
|
# @param [String] project
|
11002
11281
|
# Project ID for this request.
|
11003
11282
|
# @param [String] filter
|
11004
|
-
# Sets a filter expression for filtering listed resources
|
11005
|
-
#
|
11006
|
-
# comparison_string literal_string.
|
11283
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
11284
|
+
# must be in the format: field_name comparison_string literal_string.
|
11007
11285
|
# The field_name is the name of the field you want to compare. Only atomic field
|
11008
11286
|
# types are supported (string, number, boolean). The comparison_string must be
|
11009
11287
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -11012,7 +11290,7 @@ module Google
|
|
11012
11290
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
11013
11291
|
# must match the entire field.
|
11014
11292
|
# For example, to filter for instances that do not have a name of example-
|
11015
|
-
# instance, you would use
|
11293
|
+
# instance, you would use name ne example-instance.
|
11016
11294
|
# You can filter on nested fields. For example, you could filter on instances
|
11017
11295
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
11018
11296
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -11236,9 +11514,8 @@ module Google
|
|
11236
11514
|
# @param [String] project
|
11237
11515
|
# Project ID for this request.
|
11238
11516
|
# @param [String] filter
|
11239
|
-
# Sets a filter expression for filtering listed resources
|
11240
|
-
#
|
11241
|
-
# comparison_string literal_string.
|
11517
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
11518
|
+
# must be in the format: field_name comparison_string literal_string.
|
11242
11519
|
# The field_name is the name of the field you want to compare. Only atomic field
|
11243
11520
|
# types are supported (string, number, boolean). The comparison_string must be
|
11244
11521
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -11247,7 +11524,7 @@ module Google
|
|
11247
11524
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
11248
11525
|
# must match the entire field.
|
11249
11526
|
# For example, to filter for instances that do not have a name of example-
|
11250
|
-
# instance, you would use
|
11527
|
+
# instance, you would use name ne example-instance.
|
11251
11528
|
# You can filter on nested fields. For example, you could filter on instances
|
11252
11529
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
11253
11530
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -11395,9 +11672,8 @@ module Google
|
|
11395
11672
|
# @param [String] project
|
11396
11673
|
# Project ID for this request.
|
11397
11674
|
# @param [String] filter
|
11398
|
-
# Sets a filter expression for filtering listed resources
|
11399
|
-
#
|
11400
|
-
# comparison_string literal_string.
|
11675
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
11676
|
+
# must be in the format: field_name comparison_string literal_string.
|
11401
11677
|
# The field_name is the name of the field you want to compare. Only atomic field
|
11402
11678
|
# types are supported (string, number, boolean). The comparison_string must be
|
11403
11679
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -11406,7 +11682,7 @@ module Google
|
|
11406
11682
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
11407
11683
|
# must match the entire field.
|
11408
11684
|
# For example, to filter for instances that do not have a name of example-
|
11409
|
-
# instance, you would use
|
11685
|
+
# instance, you would use name ne example-instance.
|
11410
11686
|
# You can filter on nested fields. For example, you could filter on instances
|
11411
11687
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
11412
11688
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -11453,7 +11729,7 @@ module Google
|
|
11453
11729
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11454
11730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11455
11731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11456
|
-
def
|
11732
|
+
def list_aggregated_target_instance(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11457
11733
|
command = make_simple_command(:get, '{project}/aggregated/targetInstances', options)
|
11458
11734
|
command.response_representation = Google::Apis::ComputeV1::TargetInstanceAggregatedList::Representation
|
11459
11735
|
command.response_class = Google::Apis::ComputeV1::TargetInstanceAggregatedList
|
@@ -11600,9 +11876,8 @@ module Google
|
|
11600
11876
|
# @param [String] zone
|
11601
11877
|
# Name of the zone scoping this request.
|
11602
11878
|
# @param [String] filter
|
11603
|
-
# Sets a filter expression for filtering listed resources
|
11604
|
-
#
|
11605
|
-
# comparison_string literal_string.
|
11879
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
11880
|
+
# must be in the format: field_name comparison_string literal_string.
|
11606
11881
|
# The field_name is the name of the field you want to compare. Only atomic field
|
11607
11882
|
# types are supported (string, number, boolean). The comparison_string must be
|
11608
11883
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -11611,7 +11886,7 @@ module Google
|
|
11611
11886
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
11612
11887
|
# must match the entire field.
|
11613
11888
|
# For example, to filter for instances that do not have a name of example-
|
11614
|
-
# instance, you would use
|
11889
|
+
# instance, you would use name ne example-instance.
|
11615
11890
|
# You can filter on nested fields. For example, you could filter on instances
|
11616
11891
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
11617
11892
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -11681,7 +11956,7 @@ module Google
|
|
11681
11956
|
# Name of the region scoping this request.
|
11682
11957
|
# @param [String] target_pool
|
11683
11958
|
# Name of the target pool to add a health check to.
|
11684
|
-
# @param [Google::Apis::ComputeV1::
|
11959
|
+
# @param [Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest] add_target_pools_health_check_request_object
|
11685
11960
|
# @param [String] fields
|
11686
11961
|
# Selector specifying which fields to include in a partial response.
|
11687
11962
|
# @param [String] quota_user
|
@@ -11703,10 +11978,10 @@ module Google
|
|
11703
11978
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11704
11979
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11705
11980
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11706
|
-
def add_target_pool_health_check(project, region, target_pool,
|
11981
|
+
def add_target_pool_health_check(project, region, target_pool, add_target_pools_health_check_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11707
11982
|
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options)
|
11708
|
-
command.request_representation = Google::Apis::ComputeV1::
|
11709
|
-
command.request_object =
|
11983
|
+
command.request_representation = Google::Apis::ComputeV1::AddTargetPoolsHealthCheckRequest::Representation
|
11984
|
+
command.request_object = add_target_pools_health_check_request_object
|
11710
11985
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
11711
11986
|
command.response_class = Google::Apis::ComputeV1::Operation
|
11712
11987
|
command.params['project'] = project unless project.nil?
|
@@ -11725,7 +12000,7 @@ module Google
|
|
11725
12000
|
# Name of the region scoping this request.
|
11726
12001
|
# @param [String] target_pool
|
11727
12002
|
# Name of the TargetPool resource to add instances to.
|
11728
|
-
# @param [Google::Apis::ComputeV1::
|
12003
|
+
# @param [Google::Apis::ComputeV1::AddTargetPoolsInstanceRequest] add_target_pools_instance_request_object
|
11729
12004
|
# @param [String] fields
|
11730
12005
|
# Selector specifying which fields to include in a partial response.
|
11731
12006
|
# @param [String] quota_user
|
@@ -11747,10 +12022,10 @@ module Google
|
|
11747
12022
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11748
12023
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11749
12024
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11750
|
-
def add_target_pool_instance(project, region, target_pool,
|
12025
|
+
def add_target_pool_instance(project, region, target_pool, add_target_pools_instance_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11751
12026
|
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addInstance', options)
|
11752
|
-
command.request_representation = Google::Apis::ComputeV1::
|
11753
|
-
command.request_object =
|
12027
|
+
command.request_representation = Google::Apis::ComputeV1::AddTargetPoolsInstanceRequest::Representation
|
12028
|
+
command.request_object = add_target_pools_instance_request_object
|
11754
12029
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
11755
12030
|
command.response_class = Google::Apis::ComputeV1::Operation
|
11756
12031
|
command.params['project'] = project unless project.nil?
|
@@ -11766,9 +12041,8 @@ module Google
|
|
11766
12041
|
# @param [String] project
|
11767
12042
|
# Project ID for this request.
|
11768
12043
|
# @param [String] filter
|
11769
|
-
# Sets a filter expression for filtering listed resources
|
11770
|
-
#
|
11771
|
-
# comparison_string literal_string.
|
12044
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
12045
|
+
# must be in the format: field_name comparison_string literal_string.
|
11772
12046
|
# The field_name is the name of the field you want to compare. Only atomic field
|
11773
12047
|
# types are supported (string, number, boolean). The comparison_string must be
|
11774
12048
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -11777,7 +12051,7 @@ module Google
|
|
11777
12051
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
11778
12052
|
# must match the entire field.
|
11779
12053
|
# For example, to filter for instances that do not have a name of example-
|
11780
|
-
# instance, you would use
|
12054
|
+
# instance, you would use name ne example-instance.
|
11781
12055
|
# You can filter on nested fields. For example, you could filter on instances
|
11782
12056
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
11783
12057
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -11824,7 +12098,7 @@ module Google
|
|
11824
12098
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11825
12099
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11826
12100
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11827
|
-
def
|
12101
|
+
def list_aggregated_target_pools(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
11828
12102
|
command = make_simple_command(:get, '{project}/aggregated/targetPools', options)
|
11829
12103
|
command.response_representation = Google::Apis::ComputeV1::TargetPoolAggregatedList::Representation
|
11830
12104
|
command.response_class = Google::Apis::ComputeV1::TargetPoolAggregatedList
|
@@ -12015,9 +12289,8 @@ module Google
|
|
12015
12289
|
# @param [String] region
|
12016
12290
|
# Name of the region scoping this request.
|
12017
12291
|
# @param [String] filter
|
12018
|
-
# Sets a filter expression for filtering listed resources
|
12019
|
-
#
|
12020
|
-
# comparison_string literal_string.
|
12292
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
12293
|
+
# must be in the format: field_name comparison_string literal_string.
|
12021
12294
|
# The field_name is the name of the field you want to compare. Only atomic field
|
12022
12295
|
# types are supported (string, number, boolean). The comparison_string must be
|
12023
12296
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -12026,7 +12299,7 @@ module Google
|
|
12026
12299
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
12027
12300
|
# must match the entire field.
|
12028
12301
|
# For example, to filter for instances that do not have a name of example-
|
12029
|
-
# instance, you would use
|
12302
|
+
# instance, you would use name ne example-instance.
|
12030
12303
|
# You can filter on nested fields. For example, you could filter on instances
|
12031
12304
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
12032
12305
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -12096,7 +12369,7 @@ module Google
|
|
12096
12369
|
# Name of the region for this request.
|
12097
12370
|
# @param [String] target_pool
|
12098
12371
|
# Name of the target pool to remove health checks from.
|
12099
|
-
# @param [Google::Apis::ComputeV1::
|
12372
|
+
# @param [Google::Apis::ComputeV1::RemoveTargetPoolsHealthCheckRequest] remove_target_pools_health_check_request_object
|
12100
12373
|
# @param [String] fields
|
12101
12374
|
# Selector specifying which fields to include in a partial response.
|
12102
12375
|
# @param [String] quota_user
|
@@ -12118,10 +12391,10 @@ module Google
|
|
12118
12391
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12119
12392
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12120
12393
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12121
|
-
def remove_target_pool_health_check(project, region, target_pool,
|
12394
|
+
def remove_target_pool_health_check(project, region, target_pool, remove_target_pools_health_check_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12122
12395
|
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options)
|
12123
|
-
command.request_representation = Google::Apis::ComputeV1::
|
12124
|
-
command.request_object =
|
12396
|
+
command.request_representation = Google::Apis::ComputeV1::RemoveTargetPoolsHealthCheckRequest::Representation
|
12397
|
+
command.request_object = remove_target_pools_health_check_request_object
|
12125
12398
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
12126
12399
|
command.response_class = Google::Apis::ComputeV1::Operation
|
12127
12400
|
command.params['project'] = project unless project.nil?
|
@@ -12140,7 +12413,7 @@ module Google
|
|
12140
12413
|
# Name of the region scoping this request.
|
12141
12414
|
# @param [String] target_pool
|
12142
12415
|
# Name of the TargetPool resource to remove instances from.
|
12143
|
-
# @param [Google::Apis::ComputeV1::
|
12416
|
+
# @param [Google::Apis::ComputeV1::RemoveTargetPoolsInstanceRequest] remove_target_pools_instance_request_object
|
12144
12417
|
# @param [String] fields
|
12145
12418
|
# Selector specifying which fields to include in a partial response.
|
12146
12419
|
# @param [String] quota_user
|
@@ -12162,10 +12435,10 @@ module Google
|
|
12162
12435
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12163
12436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12164
12437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12165
|
-
def remove_target_pool_instance(project, region, target_pool,
|
12438
|
+
def remove_target_pool_instance(project, region, target_pool, remove_target_pools_instance_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12166
12439
|
command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options)
|
12167
|
-
command.request_representation = Google::Apis::ComputeV1::
|
12168
|
-
command.request_object =
|
12440
|
+
command.request_representation = Google::Apis::ComputeV1::RemoveTargetPoolsInstanceRequest::Representation
|
12441
|
+
command.request_object = remove_target_pools_instance_request_object
|
12169
12442
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
12170
12443
|
command.response_class = Google::Apis::ComputeV1::Operation
|
12171
12444
|
command.params['project'] = project unless project.nil?
|
@@ -12345,9 +12618,8 @@ module Google
|
|
12345
12618
|
# @param [String] project
|
12346
12619
|
# Project ID for this request.
|
12347
12620
|
# @param [String] filter
|
12348
|
-
# Sets a filter expression for filtering listed resources
|
12349
|
-
#
|
12350
|
-
# comparison_string literal_string.
|
12621
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
12622
|
+
# must be in the format: field_name comparison_string literal_string.
|
12351
12623
|
# The field_name is the name of the field you want to compare. Only atomic field
|
12352
12624
|
# types are supported (string, number, boolean). The comparison_string must be
|
12353
12625
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -12356,7 +12628,7 @@ module Google
|
|
12356
12628
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
12357
12629
|
# must match the entire field.
|
12358
12630
|
# For example, to filter for instances that do not have a name of example-
|
12359
|
-
# instance, you would use
|
12631
|
+
# instance, you would use name ne example-instance.
|
12360
12632
|
# You can filter on nested fields. For example, you could filter on instances
|
12361
12633
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
12362
12634
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -12662,9 +12934,8 @@ module Google
|
|
12662
12934
|
# @param [String] project
|
12663
12935
|
# Project ID for this request.
|
12664
12936
|
# @param [String] filter
|
12665
|
-
# Sets a filter expression for filtering listed resources
|
12666
|
-
#
|
12667
|
-
# comparison_string literal_string.
|
12937
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
12938
|
+
# must be in the format: field_name comparison_string literal_string.
|
12668
12939
|
# The field_name is the name of the field you want to compare. Only atomic field
|
12669
12940
|
# types are supported (string, number, boolean). The comparison_string must be
|
12670
12941
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -12673,7 +12944,7 @@ module Google
|
|
12673
12944
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
12674
12945
|
# must match the entire field.
|
12675
12946
|
# For example, to filter for instances that do not have a name of example-
|
12676
|
-
# instance, you would use
|
12947
|
+
# instance, you would use name ne example-instance.
|
12677
12948
|
# You can filter on nested fields. For example, you could filter on instances
|
12678
12949
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
12679
12950
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -12821,9 +13092,8 @@ module Google
|
|
12821
13092
|
# @param [String] project
|
12822
13093
|
# Project ID for this request.
|
12823
13094
|
# @param [String] filter
|
12824
|
-
# Sets a filter expression for filtering listed resources
|
12825
|
-
#
|
12826
|
-
# comparison_string literal_string.
|
13095
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
13096
|
+
# must be in the format: field_name comparison_string literal_string.
|
12827
13097
|
# The field_name is the name of the field you want to compare. Only atomic field
|
12828
13098
|
# types are supported (string, number, boolean). The comparison_string must be
|
12829
13099
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -12832,7 +13102,7 @@ module Google
|
|
12832
13102
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
12833
13103
|
# must match the entire field.
|
12834
13104
|
# For example, to filter for instances that do not have a name of example-
|
12835
|
-
# instance, you would use
|
13105
|
+
# instance, you would use name ne example-instance.
|
12836
13106
|
# You can filter on nested fields. For example, you could filter on instances
|
12837
13107
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
12838
13108
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -12879,7 +13149,7 @@ module Google
|
|
12879
13149
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12880
13150
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12881
13151
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12882
|
-
def
|
13152
|
+
def list_aggregated_target_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
12883
13153
|
command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options)
|
12884
13154
|
command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Representation
|
12885
13155
|
command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList
|
@@ -13026,9 +13296,8 @@ module Google
|
|
13026
13296
|
# @param [String] region
|
13027
13297
|
# Name of the region for this request.
|
13028
13298
|
# @param [String] filter
|
13029
|
-
# Sets a filter expression for filtering listed resources
|
13030
|
-
#
|
13031
|
-
# comparison_string literal_string.
|
13299
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
13300
|
+
# must be in the format: field_name comparison_string literal_string.
|
13032
13301
|
# The field_name is the name of the field you want to compare. Only atomic field
|
13033
13302
|
# types are supported (string, number, boolean). The comparison_string must be
|
13034
13303
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -13037,7 +13306,7 @@ module Google
|
|
13037
13306
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
13038
13307
|
# must match the entire field.
|
13039
13308
|
# For example, to filter for instances that do not have a name of example-
|
13040
|
-
# instance, you would use
|
13309
|
+
# instance, you would use name ne example-instance.
|
13041
13310
|
# You can filter on nested fields. For example, you could filter on instances
|
13042
13311
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
13043
13312
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -13262,9 +13531,8 @@ module Google
|
|
13262
13531
|
# @param [String] project
|
13263
13532
|
# Project ID for this request.
|
13264
13533
|
# @param [String] filter
|
13265
|
-
# Sets a filter expression for filtering listed resources
|
13266
|
-
#
|
13267
|
-
# comparison_string literal_string.
|
13534
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
13535
|
+
# must be in the format: field_name comparison_string literal_string.
|
13268
13536
|
# The field_name is the name of the field you want to compare. Only atomic field
|
13269
13537
|
# types are supported (string, number, boolean). The comparison_string must be
|
13270
13538
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -13273,7 +13541,7 @@ module Google
|
|
13273
13541
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
13274
13542
|
# must match the entire field.
|
13275
13543
|
# For example, to filter for instances that do not have a name of example-
|
13276
|
-
# instance, you would use
|
13544
|
+
# instance, you would use name ne example-instance.
|
13277
13545
|
# You can filter on nested fields. For example, you could filter on instances
|
13278
13546
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
13279
13547
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -13424,7 +13692,7 @@ module Google
|
|
13424
13692
|
# Project ID for this request.
|
13425
13693
|
# @param [String] url_map
|
13426
13694
|
# Name of the UrlMap resource to be validated as.
|
13427
|
-
# @param [Google::Apis::ComputeV1::
|
13695
|
+
# @param [Google::Apis::ComputeV1::ValidateUrlMapsRequest] validate_url_maps_request_object
|
13428
13696
|
# @param [String] fields
|
13429
13697
|
# Selector specifying which fields to include in a partial response.
|
13430
13698
|
# @param [String] quota_user
|
@@ -13438,20 +13706,20 @@ module Google
|
|
13438
13706
|
# Request-specific options
|
13439
13707
|
#
|
13440
13708
|
# @yield [result, err] Result & error if block supplied
|
13441
|
-
# @yieldparam result [Google::Apis::ComputeV1::
|
13709
|
+
# @yieldparam result [Google::Apis::ComputeV1::ValidateUrlMapsResponse] parsed result object
|
13442
13710
|
# @yieldparam err [StandardError] error object if request failed
|
13443
13711
|
#
|
13444
|
-
# @return [Google::Apis::ComputeV1::
|
13712
|
+
# @return [Google::Apis::ComputeV1::ValidateUrlMapsResponse]
|
13445
13713
|
#
|
13446
13714
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13447
13715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13448
13716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13449
|
-
def validate_url_map(project, url_map,
|
13717
|
+
def validate_url_map(project, url_map, validate_url_maps_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13450
13718
|
command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/validate', options)
|
13451
|
-
command.request_representation = Google::Apis::ComputeV1::
|
13452
|
-
command.request_object =
|
13453
|
-
command.response_representation = Google::Apis::ComputeV1::
|
13454
|
-
command.response_class = Google::Apis::ComputeV1::
|
13719
|
+
command.request_representation = Google::Apis::ComputeV1::ValidateUrlMapsRequest::Representation
|
13720
|
+
command.request_object = validate_url_maps_request_object
|
13721
|
+
command.response_representation = Google::Apis::ComputeV1::ValidateUrlMapsResponse::Representation
|
13722
|
+
command.response_class = Google::Apis::ComputeV1::ValidateUrlMapsResponse
|
13455
13723
|
command.params['project'] = project unless project.nil?
|
13456
13724
|
command.params['urlMap'] = url_map unless url_map.nil?
|
13457
13725
|
command.query['fields'] = fields unless fields.nil?
|
@@ -13464,9 +13732,8 @@ module Google
|
|
13464
13732
|
# @param [String] project
|
13465
13733
|
# Project ID for this request.
|
13466
13734
|
# @param [String] filter
|
13467
|
-
# Sets a filter expression for filtering listed resources
|
13468
|
-
#
|
13469
|
-
# comparison_string literal_string.
|
13735
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
13736
|
+
# must be in the format: field_name comparison_string literal_string.
|
13470
13737
|
# The field_name is the name of the field you want to compare. Only atomic field
|
13471
13738
|
# types are supported (string, number, boolean). The comparison_string must be
|
13472
13739
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -13475,7 +13742,7 @@ module Google
|
|
13475
13742
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
13476
13743
|
# must match the entire field.
|
13477
13744
|
# For example, to filter for instances that do not have a name of example-
|
13478
|
-
# instance, you would use
|
13745
|
+
# instance, you would use name ne example-instance.
|
13479
13746
|
# You can filter on nested fields. For example, you could filter on instances
|
13480
13747
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
13481
13748
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -13522,7 +13789,7 @@ module Google
|
|
13522
13789
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13523
13790
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13524
13791
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13525
|
-
def
|
13792
|
+
def list_aggregated_vpn_tunnel(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13526
13793
|
command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options)
|
13527
13794
|
command.response_representation = Google::Apis::ComputeV1::VpnTunnelAggregatedList::Representation
|
13528
13795
|
command.response_class = Google::Apis::ComputeV1::VpnTunnelAggregatedList
|
@@ -13669,9 +13936,8 @@ module Google
|
|
13669
13936
|
# @param [String] region
|
13670
13937
|
# Name of the region for this request.
|
13671
13938
|
# @param [String] filter
|
13672
|
-
# Sets a filter expression for filtering listed resources
|
13673
|
-
#
|
13674
|
-
# comparison_string literal_string.
|
13939
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
13940
|
+
# must be in the format: field_name comparison_string literal_string.
|
13675
13941
|
# The field_name is the name of the field you want to compare. Only atomic field
|
13676
13942
|
# types are supported (string, number, boolean). The comparison_string must be
|
13677
13943
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -13680,7 +13946,7 @@ module Google
|
|
13680
13946
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
13681
13947
|
# must match the entire field.
|
13682
13948
|
# For example, to filter for instances that do not have a name of example-
|
13683
|
-
# instance, you would use
|
13949
|
+
# instance, you would use name ne example-instance.
|
13684
13950
|
# You can filter on nested fields. For example, you could filter on instances
|
13685
13951
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
13686
13952
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -13829,9 +14095,8 @@ module Google
|
|
13829
14095
|
# @param [String] zone
|
13830
14096
|
# Name of the zone for request.
|
13831
14097
|
# @param [String] filter
|
13832
|
-
# Sets a filter expression for filtering listed resources
|
13833
|
-
#
|
13834
|
-
# comparison_string literal_string.
|
14098
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
14099
|
+
# must be in the format: field_name comparison_string literal_string.
|
13835
14100
|
# The field_name is the name of the field you want to compare. Only atomic field
|
13836
14101
|
# types are supported (string, number, boolean). The comparison_string must be
|
13837
14102
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -13840,7 +14105,7 @@ module Google
|
|
13840
14105
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
13841
14106
|
# must match the entire field.
|
13842
14107
|
# For example, to filter for instances that do not have a name of example-
|
13843
|
-
# instance, you would use
|
14108
|
+
# instance, you would use name ne example-instance.
|
13844
14109
|
# You can filter on nested fields. For example, you could filter on instances
|
13845
14110
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
13846
14111
|
# nested fields to take advantage of labels to organize and search for results
|
@@ -13946,9 +14211,8 @@ module Google
|
|
13946
14211
|
# @param [String] project
|
13947
14212
|
# Project ID for this request.
|
13948
14213
|
# @param [String] filter
|
13949
|
-
# Sets a filter expression for filtering listed resources
|
13950
|
-
#
|
13951
|
-
# comparison_string literal_string.
|
14214
|
+
# Sets a filter `expression` for filtering listed resources. Your `expression`
|
14215
|
+
# must be in the format: field_name comparison_string literal_string.
|
13952
14216
|
# The field_name is the name of the field you want to compare. Only atomic field
|
13953
14217
|
# types are supported (string, number, boolean). The comparison_string must be
|
13954
14218
|
# either eq (equals) or ne (not equals). The literal_string is the string value
|
@@ -13957,7 +14221,7 @@ module Google
|
|
13957
14221
|
# is interpreted as a regular expression using RE2 syntax. The literal value
|
13958
14222
|
# must match the entire field.
|
13959
14223
|
# For example, to filter for instances that do not have a name of example-
|
13960
|
-
# instance, you would use
|
14224
|
+
# instance, you would use name ne example-instance.
|
13961
14225
|
# You can filter on nested fields. For example, you could filter on instances
|
13962
14226
|
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
13963
14227
|
# nested fields to take advantage of labels to organize and search for results
|