google-api-client 0.11.3 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -0
- data/api_names.yaml +32317 -34465
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
- 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.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
- data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
- data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
- 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 +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +825 -817
- data/generated/google/apis/appengine_v1/representations.rb +185 -184
- data/generated/google/apis/appengine_v1/service.rb +220 -216
- 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 +9 -7
- 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 +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2/service.rb +8 -8
- data/generated/google/apis/classroom_v1.rb +24 -24
- data/generated/google/apis/classroom_v1/classes.rb +381 -381
- data/generated/google/apis/classroom_v1/representations.rb +108 -108
- data/generated/google/apis/classroom_v1/service.rb +503 -503
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
- data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
- data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
- data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
- data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +3 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
- data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
- data/generated/google/apis/cloudkms_v1/service.rb +224 -224
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +57 -15
- data/generated/google/apis/compute_beta/representations.rb +30 -14
- data/generated/google/apis/compute_beta/service.rb +52 -52
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +223 -10
- data/generated/google/apis/compute_v1/representations.rb +85 -16
- data/generated/google/apis/compute_v1/service.rb +327 -51
- data/generated/google/apis/container_v1/classes.rb +267 -267
- data/generated/google/apis/container_v1/representations.rb +61 -61
- data/generated/google/apis/container_v1/service.rb +123 -123
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +71 -71
- data/generated/google/apis/content_v2/representations.rb +105 -105
- data/generated/google/apis/content_v2/service.rb +120 -120
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
- data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
- data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
- data/generated/google/apis/dataproc_v1/representations.rb +147 -147
- data/generated/google/apis/dataproc_v1/service.rb +309 -305
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +818 -818
- data/generated/google/apis/datastore_v1/representations.rb +151 -151
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- 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.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/service.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 +188 -188
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
- data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
- data/generated/google/apis/firebaserules_v1/service.rb +89 -89
- 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 +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
- data/generated/google/apis/genomics_v1/representations.rb +298 -298
- data/generated/google/apis/genomics_v1/service.rb +1160 -1160
- data/generated/google/apis/groupssettings_v1/service.rb +0 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +235 -235
- data/generated/google/apis/iam_v1/representations.rb +72 -72
- data/generated/google/apis/iam_v1/service.rb +189 -189
- 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/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1/classes.rb +220 -220
- data/generated/google/apis/language_v1/representations.rb +81 -81
- data/generated/google/apis/language_v1/service.rb +43 -43
- data/generated/google/apis/language_v1beta1/classes.rb +448 -448
- data/generated/google/apis/language_v1beta1/representations.rb +106 -106
- data/generated/google/apis/language_v1beta1/service.rb +31 -31
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +737 -737
- data/generated/google/apis/logging_v2/representations.rb +120 -120
- data/generated/google/apis/logging_v2/service.rb +479 -479
- data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
- data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
- data/generated/google/apis/logging_v2beta1/service.rb +349 -349
- data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
- data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- 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 +1285 -1205
- data/generated/google/apis/ml_v1/representations.rb +204 -174
- data/generated/google/apis/ml_v1/service.rb +150 -145
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +880 -880
- data/generated/google/apis/monitoring_v3/representations.rb +154 -154
- data/generated/google/apis/monitoring_v3/service.rb +299 -299
- 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 +524 -509
- data/generated/google/apis/partners_v2/representations.rb +115 -111
- data/generated/google/apis/partners_v2/service.rb +287 -287
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +1150 -1150
- data/generated/google/apis/people_v1/representations.rb +258 -258
- data/generated/google/apis/people_v1/service.rb +7 -7
- 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/classes.rb +554 -554
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
- data/generated/google/apis/pubsub_v1/classes.rb +228 -228
- data/generated/google/apis/pubsub_v1/representations.rb +69 -69
- data/generated/google/apis/pubsub_v1/service.rb +182 -182
- 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 +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
- data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +9 -9
- data/generated/google/apis/script_v1/classes.rb +94 -94
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
- data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
- data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
- data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
- data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
- data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
- data/generated/google/apis/sheets_v4/representations.rb +324 -324
- data/generated/google/apis/sheets_v4/service.rb +49 -49
- 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 +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2907 -2907
- data/generated/google/apis/slides_v1/representations.rb +695 -695
- data/generated/google/apis/slides_v1/service.rb +40 -40
- data/generated/google/apis/sourcerepo_v1.rb +7 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
- data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
- data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
- data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
- data/generated/google/apis/spanner_v1/representations.rb +205 -205
- data/generated/google/apis/spanner_v1/service.rb +525 -525
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
- data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
- 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 +16 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
- data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
- data/generated/google/apis/storage_v1/classes.rb +6 -6
- data/generated/google/apis/storage_v1/representations.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
- data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
- 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.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +46 -46
- data/generated/google/apis/translate_v2/representations.rb +22 -22
- data/generated/google/apis/translate_v2/service.rb +81 -74
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +166 -166
- data/generated/google/apis/vision_v1/service.rb +6 -6
- 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 +127 -127
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/core/base_service.rb +6 -0
- 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 +11 -94
- data/dl.rb +0 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
- data/generated/google/apis/appengine_v1beta4.rb +0 -35
- data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
- data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
- data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
- data/generated/google/apis/appengine_v1beta5.rb +0 -40
- data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
- data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
- data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
- data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
- data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
- data/generated/google/apis/classroom_v1beta1.rb +0 -49
- data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
- data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
- data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
- data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
- data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
- data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
- data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
- data/generated/google/apis/container_v1beta1.rb +0 -35
- data/generated/google/apis/container_v1beta1/classes.rb +0 -466
- data/generated/google/apis/container_v1beta1/representations.rb +0 -177
- data/generated/google/apis/container_v1beta1/service.rb +0 -394
- data/generated/google/apis/coordinate_v1.rb +0 -37
- data/generated/google/apis/coordinate_v1/classes.rb +0 -669
- data/generated/google/apis/coordinate_v1/representations.rb +0 -321
- data/generated/google/apis/coordinate_v1/service.rb +0 -678
- data/generated/google/apis/datastore_v1beta2.rb +0 -40
- data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
- data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
- data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
- data/generated/google/apis/datastore_v1beta3.rb +0 -38
- data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
- data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
- data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
- data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
- data/generated/google/apis/dfareporting_v2_1.rb +0 -37
- data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
- data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
- data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
- data/generated/google/apis/dfareporting_v2_3.rb +0 -37
- data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
- data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
- data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
- data/generated/google/apis/dfareporting_v2_5.rb +0 -40
- data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
- data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
- data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
- data/generated/google/apis/dfareporting_v2_6.rb +0 -40
- data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
- data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
- data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
- data/generated/google/apis/gan_v1beta1.rb +0 -31
- data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
- data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
- data/generated/google/apis/gan_v1beta1/service.rb +0 -682
- data/generated/google/apis/genomics_v1beta2.rb +0 -46
- data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
- data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
- data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
- data/generated/google/apis/logging_v1beta3.rb +0 -47
- data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
- data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
- data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
- data/generated/google/apis/manager_v1beta2.rb +0 -53
- data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
- data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
- data/generated/google/apis/manager_v1beta2/service.rb +0 -372
- data/generated/google/apis/pubsub_v1beta2.rb +0 -37
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
- data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
- data/generated/google/apis/tracing_v1.rb +0 -40
- data/generated/google/apis/tracing_v1/classes.rb +0 -664
- data/generated/google/apis/tracing_v1/representations.rb +0 -279
- data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -1,259 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/core/base_service'
|
16
|
-
require 'google/apis/core/json_representation'
|
17
|
-
require 'google/apis/core/hashable'
|
18
|
-
require 'google/apis/errors'
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Apis
|
22
|
-
module DatastoreV1beta3
|
23
|
-
# Google Cloud Datastore API
|
24
|
-
#
|
25
|
-
# Accesses the schemaless NoSQL database to provide fully managed, robust,
|
26
|
-
# scalable storage for your application.
|
27
|
-
#
|
28
|
-
# @example
|
29
|
-
# require 'google/apis/datastore_v1beta3'
|
30
|
-
#
|
31
|
-
# Datastore = Google::Apis::DatastoreV1beta3 # Alias the module
|
32
|
-
# service = Datastore::DatastoreService.new
|
33
|
-
#
|
34
|
-
# @see https://cloud.google.com/datastore/
|
35
|
-
class DatastoreService < Google::Apis::Core::BaseService
|
36
|
-
# @return [String]
|
37
|
-
# API key. Your API key identifies your project and provides you with API access,
|
38
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
-
attr_accessor :key
|
40
|
-
|
41
|
-
# @return [String]
|
42
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
-
attr_accessor :quota_user
|
45
|
-
|
46
|
-
def initialize
|
47
|
-
super('https://datastore.googleapis.com/', '')
|
48
|
-
end
|
49
|
-
|
50
|
-
# Queries for entities.
|
51
|
-
# @param [String] project_id
|
52
|
-
# The ID of the project against which to make the request.
|
53
|
-
# @param [Google::Apis::DatastoreV1beta3::RunQueryRequest] run_query_request_object
|
54
|
-
# @param [String] quota_user
|
55
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
56
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
57
|
-
# @param [String] fields
|
58
|
-
# Selector specifying which fields to include in a partial response.
|
59
|
-
# @param [Google::Apis::RequestOptions] options
|
60
|
-
# Request-specific options
|
61
|
-
#
|
62
|
-
# @yield [result, err] Result & error if block supplied
|
63
|
-
# @yieldparam result [Google::Apis::DatastoreV1beta3::RunQueryResponse] parsed result object
|
64
|
-
# @yieldparam err [StandardError] error object if request failed
|
65
|
-
#
|
66
|
-
# @return [Google::Apis::DatastoreV1beta3::RunQueryResponse]
|
67
|
-
#
|
68
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
-
def run_project_query(project_id, run_query_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
72
|
-
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:runQuery', options)
|
73
|
-
command.request_representation = Google::Apis::DatastoreV1beta3::RunQueryRequest::Representation
|
74
|
-
command.request_object = run_query_request_object
|
75
|
-
command.response_representation = Google::Apis::DatastoreV1beta3::RunQueryResponse::Representation
|
76
|
-
command.response_class = Google::Apis::DatastoreV1beta3::RunQueryResponse
|
77
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
78
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
79
|
-
command.query['fields'] = fields unless fields.nil?
|
80
|
-
execute_or_queue_command(command, &block)
|
81
|
-
end
|
82
|
-
|
83
|
-
# Begins a new transaction.
|
84
|
-
# @param [String] project_id
|
85
|
-
# The ID of the project against which to make the request.
|
86
|
-
# @param [Google::Apis::DatastoreV1beta3::BeginTransactionRequest] begin_transaction_request_object
|
87
|
-
# @param [String] quota_user
|
88
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
89
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
90
|
-
# @param [String] fields
|
91
|
-
# Selector specifying which fields to include in a partial response.
|
92
|
-
# @param [Google::Apis::RequestOptions] options
|
93
|
-
# Request-specific options
|
94
|
-
#
|
95
|
-
# @yield [result, err] Result & error if block supplied
|
96
|
-
# @yieldparam result [Google::Apis::DatastoreV1beta3::BeginTransactionResponse] parsed result object
|
97
|
-
# @yieldparam err [StandardError] error object if request failed
|
98
|
-
#
|
99
|
-
# @return [Google::Apis::DatastoreV1beta3::BeginTransactionResponse]
|
100
|
-
#
|
101
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
102
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
103
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
104
|
-
def begin_project_transaction(project_id, begin_transaction_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
105
|
-
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:beginTransaction', options)
|
106
|
-
command.request_representation = Google::Apis::DatastoreV1beta3::BeginTransactionRequest::Representation
|
107
|
-
command.request_object = begin_transaction_request_object
|
108
|
-
command.response_representation = Google::Apis::DatastoreV1beta3::BeginTransactionResponse::Representation
|
109
|
-
command.response_class = Google::Apis::DatastoreV1beta3::BeginTransactionResponse
|
110
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
111
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
112
|
-
command.query['fields'] = fields unless fields.nil?
|
113
|
-
execute_or_queue_command(command, &block)
|
114
|
-
end
|
115
|
-
|
116
|
-
# Allocates IDs for the given keys, which is useful for referencing an entity
|
117
|
-
# before it is inserted.
|
118
|
-
# @param [String] project_id
|
119
|
-
# The ID of the project against which to make the request.
|
120
|
-
# @param [Google::Apis::DatastoreV1beta3::AllocateIdsRequest] allocate_ids_request_object
|
121
|
-
# @param [String] quota_user
|
122
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
123
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
124
|
-
# @param [String] fields
|
125
|
-
# Selector specifying which fields to include in a partial response.
|
126
|
-
# @param [Google::Apis::RequestOptions] options
|
127
|
-
# Request-specific options
|
128
|
-
#
|
129
|
-
# @yield [result, err] Result & error if block supplied
|
130
|
-
# @yieldparam result [Google::Apis::DatastoreV1beta3::AllocateIdsResponse] parsed result object
|
131
|
-
# @yieldparam err [StandardError] error object if request failed
|
132
|
-
#
|
133
|
-
# @return [Google::Apis::DatastoreV1beta3::AllocateIdsResponse]
|
134
|
-
#
|
135
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
136
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
137
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
138
|
-
def allocate_project_ids(project_id, allocate_ids_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
139
|
-
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:allocateIds', options)
|
140
|
-
command.request_representation = Google::Apis::DatastoreV1beta3::AllocateIdsRequest::Representation
|
141
|
-
command.request_object = allocate_ids_request_object
|
142
|
-
command.response_representation = Google::Apis::DatastoreV1beta3::AllocateIdsResponse::Representation
|
143
|
-
command.response_class = Google::Apis::DatastoreV1beta3::AllocateIdsResponse
|
144
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
145
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
146
|
-
command.query['fields'] = fields unless fields.nil?
|
147
|
-
execute_or_queue_command(command, &block)
|
148
|
-
end
|
149
|
-
|
150
|
-
# Looks up entities by key.
|
151
|
-
# @param [String] project_id
|
152
|
-
# The ID of the project against which to make the request.
|
153
|
-
# @param [Google::Apis::DatastoreV1beta3::LookupRequest] lookup_request_object
|
154
|
-
# @param [String] quota_user
|
155
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
156
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
157
|
-
# @param [String] fields
|
158
|
-
# Selector specifying which fields to include in a partial response.
|
159
|
-
# @param [Google::Apis::RequestOptions] options
|
160
|
-
# Request-specific options
|
161
|
-
#
|
162
|
-
# @yield [result, err] Result & error if block supplied
|
163
|
-
# @yieldparam result [Google::Apis::DatastoreV1beta3::LookupResponse] parsed result object
|
164
|
-
# @yieldparam err [StandardError] error object if request failed
|
165
|
-
#
|
166
|
-
# @return [Google::Apis::DatastoreV1beta3::LookupResponse]
|
167
|
-
#
|
168
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
169
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
170
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
171
|
-
def lookup_project(project_id, lookup_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
172
|
-
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:lookup', options)
|
173
|
-
command.request_representation = Google::Apis::DatastoreV1beta3::LookupRequest::Representation
|
174
|
-
command.request_object = lookup_request_object
|
175
|
-
command.response_representation = Google::Apis::DatastoreV1beta3::LookupResponse::Representation
|
176
|
-
command.response_class = Google::Apis::DatastoreV1beta3::LookupResponse
|
177
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
178
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
179
|
-
command.query['fields'] = fields unless fields.nil?
|
180
|
-
execute_or_queue_command(command, &block)
|
181
|
-
end
|
182
|
-
|
183
|
-
# Commits a transaction, optionally creating, deleting or modifying some
|
184
|
-
# entities.
|
185
|
-
# @param [String] project_id
|
186
|
-
# The ID of the project against which to make the request.
|
187
|
-
# @param [Google::Apis::DatastoreV1beta3::CommitRequest] commit_request_object
|
188
|
-
# @param [String] quota_user
|
189
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
190
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
191
|
-
# @param [String] fields
|
192
|
-
# Selector specifying which fields to include in a partial response.
|
193
|
-
# @param [Google::Apis::RequestOptions] options
|
194
|
-
# Request-specific options
|
195
|
-
#
|
196
|
-
# @yield [result, err] Result & error if block supplied
|
197
|
-
# @yieldparam result [Google::Apis::DatastoreV1beta3::CommitResponse] parsed result object
|
198
|
-
# @yieldparam err [StandardError] error object if request failed
|
199
|
-
#
|
200
|
-
# @return [Google::Apis::DatastoreV1beta3::CommitResponse]
|
201
|
-
#
|
202
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
203
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
204
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
205
|
-
def commit_project(project_id, commit_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
206
|
-
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:commit', options)
|
207
|
-
command.request_representation = Google::Apis::DatastoreV1beta3::CommitRequest::Representation
|
208
|
-
command.request_object = commit_request_object
|
209
|
-
command.response_representation = Google::Apis::DatastoreV1beta3::CommitResponse::Representation
|
210
|
-
command.response_class = Google::Apis::DatastoreV1beta3::CommitResponse
|
211
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
212
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
213
|
-
command.query['fields'] = fields unless fields.nil?
|
214
|
-
execute_or_queue_command(command, &block)
|
215
|
-
end
|
216
|
-
|
217
|
-
# Rolls back a transaction.
|
218
|
-
# @param [String] project_id
|
219
|
-
# The ID of the project against which to make the request.
|
220
|
-
# @param [Google::Apis::DatastoreV1beta3::RollbackRequest] rollback_request_object
|
221
|
-
# @param [String] quota_user
|
222
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
223
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
224
|
-
# @param [String] fields
|
225
|
-
# Selector specifying which fields to include in a partial response.
|
226
|
-
# @param [Google::Apis::RequestOptions] options
|
227
|
-
# Request-specific options
|
228
|
-
#
|
229
|
-
# @yield [result, err] Result & error if block supplied
|
230
|
-
# @yieldparam result [Google::Apis::DatastoreV1beta3::RollbackResponse] parsed result object
|
231
|
-
# @yieldparam err [StandardError] error object if request failed
|
232
|
-
#
|
233
|
-
# @return [Google::Apis::DatastoreV1beta3::RollbackResponse]
|
234
|
-
#
|
235
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
236
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
237
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
238
|
-
def rollback_project(project_id, rollback_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
239
|
-
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:rollback', options)
|
240
|
-
command.request_representation = Google::Apis::DatastoreV1beta3::RollbackRequest::Representation
|
241
|
-
command.request_object = rollback_request_object
|
242
|
-
command.response_representation = Google::Apis::DatastoreV1beta3::RollbackResponse::Representation
|
243
|
-
command.response_class = Google::Apis::DatastoreV1beta3::RollbackResponse
|
244
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
245
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
246
|
-
command.query['fields'] = fields unless fields.nil?
|
247
|
-
execute_or_queue_command(command, &block)
|
248
|
-
end
|
249
|
-
|
250
|
-
protected
|
251
|
-
|
252
|
-
def apply_command_defaults(command)
|
253
|
-
command.query['key'] = key unless key.nil?
|
254
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
255
|
-
end
|
256
|
-
end
|
257
|
-
end
|
258
|
-
end
|
259
|
-
end
|
@@ -1,44 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/deploymentmanager_v2beta2/service.rb'
|
16
|
-
require 'google/apis/deploymentmanager_v2beta2/classes.rb'
|
17
|
-
require 'google/apis/deploymentmanager_v2beta2/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Google Cloud Deployment Manager API
|
22
|
-
#
|
23
|
-
# The Deployment Manager API allows users to declaratively configure, deploy and
|
24
|
-
# run complex solutions on the Google Cloud Platform.
|
25
|
-
#
|
26
|
-
# @see https://developers.google.com/deployment-manager/
|
27
|
-
module DeploymentmanagerV2beta2
|
28
|
-
VERSION = 'V2beta2'
|
29
|
-
REVISION = '20151110'
|
30
|
-
|
31
|
-
# View and manage your data across Google Cloud Platform services
|
32
|
-
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
-
|
34
|
-
# View your data across Google Cloud Platform services
|
35
|
-
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
36
|
-
|
37
|
-
# View and manage your Google Cloud Platform management resources and deployment status information
|
38
|
-
AUTH_NDEV_CLOUDMAN = 'https://www.googleapis.com/auth/ndev.cloudman'
|
39
|
-
|
40
|
-
# View your Google Cloud Platform management resources and deployment status information
|
41
|
-
AUTH_NDEV_CLOUDMAN_READONLY = 'https://www.googleapis.com/auth/ndev.cloudman.readonly'
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
@@ -1,843 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module DeploymentmanagerV2beta2
|
24
|
-
|
25
|
-
#
|
26
|
-
class Deployment
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# An optional user-provided description of the deployment.
|
30
|
-
# Corresponds to the JSON property `description`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :description
|
33
|
-
|
34
|
-
# Specifies a fingerprint for update() requests. A fingerprint is a randomly
|
35
|
-
# generated value that must be provided in update() requests to perform
|
36
|
-
# optimistic locking. This ensures optimistic concurrency so that only one
|
37
|
-
# update can be performed at a time. The fingerprint is initially generated by
|
38
|
-
# Deployment Manager and changes after every request to modify data. To get the
|
39
|
-
# latest fingerprint value, perform a get() request to a deployment.
|
40
|
-
# Corresponds to the JSON property `fingerprint`
|
41
|
-
# @return [String]
|
42
|
-
attr_accessor :fingerprint
|
43
|
-
|
44
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
45
|
-
# Corresponds to the JSON property `id`
|
46
|
-
# @return [String]
|
47
|
-
attr_accessor :id
|
48
|
-
|
49
|
-
# [Output Only] Timestamp when the deployment was created, in RFC3339 text
|
50
|
-
# format .
|
51
|
-
# Corresponds to the JSON property `insertTime`
|
52
|
-
# @return [String]
|
53
|
-
attr_accessor :insert_time
|
54
|
-
|
55
|
-
# [Input Only] Specifies how Deployment Manager should apply this template.
|
56
|
-
# Possible options are PREVIEW, UPDATE, and CANCEL.
|
57
|
-
# PREVIEW creates a deployment and creates "shell" resources but does not
|
58
|
-
# actually instantiate these resources. This allows you to preview what your
|
59
|
-
# deployment looks like. You can use this intent to preview updates to
|
60
|
-
# deployments or preview new deployments. You must provide a target.config with
|
61
|
-
# a configuration for this intent. After previewing a deployment, you can deploy
|
62
|
-
# your resources by making a request with the UPDATE intent or you can CANCEL
|
63
|
-
# the preview altogether. Note that the deployment will still exist after you
|
64
|
-
# cancel the preview and you must separately delete this deployment if you want
|
65
|
-
# to remove it.
|
66
|
-
# UPDATE performs an update to the underlying resources in a deployment. If you
|
67
|
-
# provide a populated target.config field with this request, Deployment Manager
|
68
|
-
# uses that configuration to perform an update. If you had previewed this update
|
69
|
-
# beforehand, and do not supply a target.config or provide an empty target.
|
70
|
-
# config, Deployment Manager uses the last previewed configuration.
|
71
|
-
# CANCEL cancels an update that is in PREVIEW or UPDATE but does not undo any
|
72
|
-
# changes already made.
|
73
|
-
# Corresponds to the JSON property `intent`
|
74
|
-
# @return [String]
|
75
|
-
attr_accessor :intent
|
76
|
-
|
77
|
-
# [Output Only] URL of the manifest representing the last manifest that was
|
78
|
-
# successfully deployed.
|
79
|
-
# Corresponds to the JSON property `manifest`
|
80
|
-
# @return [String]
|
81
|
-
attr_accessor :manifest
|
82
|
-
|
83
|
-
# Name of the resource; provided by the client when the resource is created. The
|
84
|
-
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
85
|
-
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
86
|
-
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
87
|
-
# and all following characters must be a dash, lowercase letter, or digit,
|
88
|
-
# except the last character, which cannot be a dash.
|
89
|
-
# Corresponds to the JSON property `name`
|
90
|
-
# @return [String]
|
91
|
-
attr_accessor :name
|
92
|
-
|
93
|
-
# [Output Only] The current state of the deployment. This can be DEPLOYED,
|
94
|
-
# DEPLOYMENT_FAILED, PREVIEWING, UPDATING, and CANCELING.
|
95
|
-
# Corresponds to the JSON property `state`
|
96
|
-
# @return [String]
|
97
|
-
attr_accessor :state
|
98
|
-
|
99
|
-
#
|
100
|
-
# Corresponds to the JSON property `target`
|
101
|
-
# @return [Google::Apis::DeploymentmanagerV2beta2::TargetConfiguration]
|
102
|
-
attr_accessor :target
|
103
|
-
|
104
|
-
#
|
105
|
-
# Corresponds to the JSON property `update`
|
106
|
-
# @return [Google::Apis::DeploymentmanagerV2beta2::DeploymentUpdate]
|
107
|
-
attr_accessor :update
|
108
|
-
|
109
|
-
# [Output Only] Timestamp when the deployment was updated, in RFC3339 text
|
110
|
-
# format .
|
111
|
-
# Corresponds to the JSON property `updateTime`
|
112
|
-
# @return [String]
|
113
|
-
attr_accessor :update_time
|
114
|
-
|
115
|
-
def initialize(**args)
|
116
|
-
update!(**args)
|
117
|
-
end
|
118
|
-
|
119
|
-
# Update properties of this object
|
120
|
-
def update!(**args)
|
121
|
-
@description = args[:description] unless args[:description].nil?
|
122
|
-
@fingerprint = args[:fingerprint] unless args[:fingerprint].nil?
|
123
|
-
@id = args[:id] unless args[:id].nil?
|
124
|
-
@insert_time = args[:insert_time] unless args[:insert_time].nil?
|
125
|
-
@intent = args[:intent] unless args[:intent].nil?
|
126
|
-
@manifest = args[:manifest] unless args[:manifest].nil?
|
127
|
-
@name = args[:name] unless args[:name].nil?
|
128
|
-
@state = args[:state] unless args[:state].nil?
|
129
|
-
@target = args[:target] unless args[:target].nil?
|
130
|
-
@update = args[:update] unless args[:update].nil?
|
131
|
-
@update_time = args[:update_time] unless args[:update_time].nil?
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
#
|
136
|
-
class DeploymentUpdate
|
137
|
-
include Google::Apis::Core::Hashable
|
138
|
-
|
139
|
-
# [Output Only] List of all errors encountered while trying to enact the update.
|
140
|
-
# Corresponds to the JSON property `errors`
|
141
|
-
# @return [Array<String>]
|
142
|
-
attr_accessor :errors
|
143
|
-
|
144
|
-
# [Output Only] URL of the manifest representing the update configuration of
|
145
|
-
# this deployment.
|
146
|
-
# Corresponds to the JSON property `manifest`
|
147
|
-
# @return [String]
|
148
|
-
attr_accessor :manifest
|
149
|
-
|
150
|
-
def initialize(**args)
|
151
|
-
update!(**args)
|
152
|
-
end
|
153
|
-
|
154
|
-
# Update properties of this object
|
155
|
-
def update!(**args)
|
156
|
-
@errors = args[:errors] unless args[:errors].nil?
|
157
|
-
@manifest = args[:manifest] unless args[:manifest].nil?
|
158
|
-
end
|
159
|
-
end
|
160
|
-
|
161
|
-
# A response containing a partial list of deployments and a page token used to
|
162
|
-
# build the next request if the request has been truncated.
|
163
|
-
class ListDeploymentsResponse
|
164
|
-
include Google::Apis::Core::Hashable
|
165
|
-
|
166
|
-
# [Output Only] The deployments contained in this response.
|
167
|
-
# Corresponds to the JSON property `deployments`
|
168
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::Deployment>]
|
169
|
-
attr_accessor :deployments
|
170
|
-
|
171
|
-
# [Output Only] A token used to continue a truncated list request.
|
172
|
-
# Corresponds to the JSON property `nextPageToken`
|
173
|
-
# @return [String]
|
174
|
-
attr_accessor :next_page_token
|
175
|
-
|
176
|
-
def initialize(**args)
|
177
|
-
update!(**args)
|
178
|
-
end
|
179
|
-
|
180
|
-
# Update properties of this object
|
181
|
-
def update!(**args)
|
182
|
-
@deployments = args[:deployments] unless args[:deployments].nil?
|
183
|
-
@next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
|
184
|
-
end
|
185
|
-
end
|
186
|
-
|
187
|
-
#
|
188
|
-
class ImportFile
|
189
|
-
include Google::Apis::Core::Hashable
|
190
|
-
|
191
|
-
# The contents of the file.
|
192
|
-
# Corresponds to the JSON property `content`
|
193
|
-
# @return [String]
|
194
|
-
attr_accessor :content
|
195
|
-
|
196
|
-
# The name of the file.
|
197
|
-
# Corresponds to the JSON property `name`
|
198
|
-
# @return [String]
|
199
|
-
attr_accessor :name
|
200
|
-
|
201
|
-
def initialize(**args)
|
202
|
-
update!(**args)
|
203
|
-
end
|
204
|
-
|
205
|
-
# Update properties of this object
|
206
|
-
def update!(**args)
|
207
|
-
@content = args[:content] unless args[:content].nil?
|
208
|
-
@name = args[:name] unless args[:name].nil?
|
209
|
-
end
|
210
|
-
end
|
211
|
-
|
212
|
-
#
|
213
|
-
class Manifest
|
214
|
-
include Google::Apis::Core::Hashable
|
215
|
-
|
216
|
-
# [Output Only] The YAML configuration for this manifest.
|
217
|
-
# Corresponds to the JSON property `config`
|
218
|
-
# @return [String]
|
219
|
-
attr_accessor :config
|
220
|
-
|
221
|
-
# [Output Only] The fully-expanded configuration file, including any templates
|
222
|
-
# and references.
|
223
|
-
# Corresponds to the JSON property `evaluatedConfig`
|
224
|
-
# @return [String]
|
225
|
-
attr_accessor :evaluated_config
|
226
|
-
|
227
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
228
|
-
# Corresponds to the JSON property `id`
|
229
|
-
# @return [String]
|
230
|
-
attr_accessor :id
|
231
|
-
|
232
|
-
# [Output Only] The imported files for this manifest.
|
233
|
-
# Corresponds to the JSON property `imports`
|
234
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::ImportFile>]
|
235
|
-
attr_accessor :imports
|
236
|
-
|
237
|
-
# [Output Only] Timestamp when the manifest was created, in RFC3339 text format.
|
238
|
-
# Corresponds to the JSON property `insertTime`
|
239
|
-
# @return [String]
|
240
|
-
attr_accessor :insert_time
|
241
|
-
|
242
|
-
# [Output Only] The YAML layout for this manifest.
|
243
|
-
# Corresponds to the JSON property `layout`
|
244
|
-
# @return [String]
|
245
|
-
attr_accessor :layout
|
246
|
-
|
247
|
-
# [Output Only] The name of the manifest.
|
248
|
-
# Corresponds to the JSON property `name`
|
249
|
-
# @return [String]
|
250
|
-
attr_accessor :name
|
251
|
-
|
252
|
-
# [Output Only] Self link for the manifest.
|
253
|
-
# Corresponds to the JSON property `selfLink`
|
254
|
-
# @return [String]
|
255
|
-
attr_accessor :self_link
|
256
|
-
|
257
|
-
def initialize(**args)
|
258
|
-
update!(**args)
|
259
|
-
end
|
260
|
-
|
261
|
-
# Update properties of this object
|
262
|
-
def update!(**args)
|
263
|
-
@config = args[:config] unless args[:config].nil?
|
264
|
-
@evaluated_config = args[:evaluated_config] unless args[:evaluated_config].nil?
|
265
|
-
@id = args[:id] unless args[:id].nil?
|
266
|
-
@imports = args[:imports] unless args[:imports].nil?
|
267
|
-
@insert_time = args[:insert_time] unless args[:insert_time].nil?
|
268
|
-
@layout = args[:layout] unless args[:layout].nil?
|
269
|
-
@name = args[:name] unless args[:name].nil?
|
270
|
-
@self_link = args[:self_link] unless args[:self_link].nil?
|
271
|
-
end
|
272
|
-
end
|
273
|
-
|
274
|
-
# A response containing a partial list of manifests and a page token used to
|
275
|
-
# build the next request if the request has been truncated.
|
276
|
-
class ListManifestsResponse
|
277
|
-
include Google::Apis::Core::Hashable
|
278
|
-
|
279
|
-
# [Output Only] Manifests contained in this list response.
|
280
|
-
# Corresponds to the JSON property `manifests`
|
281
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::Manifest>]
|
282
|
-
attr_accessor :manifests
|
283
|
-
|
284
|
-
# [Output Only] A token used to continue a truncated list request.
|
285
|
-
# Corresponds to the JSON property `nextPageToken`
|
286
|
-
# @return [String]
|
287
|
-
attr_accessor :next_page_token
|
288
|
-
|
289
|
-
def initialize(**args)
|
290
|
-
update!(**args)
|
291
|
-
end
|
292
|
-
|
293
|
-
# Update properties of this object
|
294
|
-
def update!(**args)
|
295
|
-
@manifests = args[:manifests] unless args[:manifests].nil?
|
296
|
-
@next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
|
-
# An Operation resource, used to manage asynchronous API requests.
|
301
|
-
class Operation
|
302
|
-
include Google::Apis::Core::Hashable
|
303
|
-
|
304
|
-
# [Output Only] An optional identifier specified by the client when the mutation
|
305
|
-
# was initiated. Must be unique for all Operation resources in the project.
|
306
|
-
# Corresponds to the JSON property `clientOperationId`
|
307
|
-
# @return [String]
|
308
|
-
attr_accessor :client_operation_id
|
309
|
-
|
310
|
-
# [Output Only] Creation timestamp in RFC3339 text format.
|
311
|
-
# Corresponds to the JSON property `creationTimestamp`
|
312
|
-
# @return [String]
|
313
|
-
attr_accessor :creation_timestamp
|
314
|
-
|
315
|
-
# [Output Only] The time that this operation was completed. This is in RFC3339
|
316
|
-
# text format.
|
317
|
-
# Corresponds to the JSON property `endTime`
|
318
|
-
# @return [String]
|
319
|
-
attr_accessor :end_time
|
320
|
-
|
321
|
-
# [Output Only] If errors are generated during processing of the operation, this
|
322
|
-
# field will be populated.
|
323
|
-
# Corresponds to the JSON property `error`
|
324
|
-
# @return [Google::Apis::DeploymentmanagerV2beta2::Operation::Error]
|
325
|
-
attr_accessor :error
|
326
|
-
|
327
|
-
# [Output Only] If the operation fails, this field contains the HTTP error
|
328
|
-
# message that was returned, such as NOT FOUND.
|
329
|
-
# Corresponds to the JSON property `httpErrorMessage`
|
330
|
-
# @return [String]
|
331
|
-
attr_accessor :http_error_message
|
332
|
-
|
333
|
-
# [Output Only] If the operation fails, this field contains the HTTP error
|
334
|
-
# message that was returned, such as 404.
|
335
|
-
# Corresponds to the JSON property `httpErrorStatusCode`
|
336
|
-
# @return [Fixnum]
|
337
|
-
attr_accessor :http_error_status_code
|
338
|
-
|
339
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
340
|
-
# Corresponds to the JSON property `id`
|
341
|
-
# @return [String]
|
342
|
-
attr_accessor :id
|
343
|
-
|
344
|
-
# [Output Only] The time that this operation was requested. This is in RFC3339
|
345
|
-
# text format.
|
346
|
-
# Corresponds to the JSON property `insertTime`
|
347
|
-
# @return [String]
|
348
|
-
attr_accessor :insert_time
|
349
|
-
|
350
|
-
# [Output Only] Type of the resource. Always compute#operation for Operation
|
351
|
-
# resources.
|
352
|
-
# Corresponds to the JSON property `kind`
|
353
|
-
# @return [String]
|
354
|
-
attr_accessor :kind
|
355
|
-
|
356
|
-
# [Output Only] Name of the resource.
|
357
|
-
# Corresponds to the JSON property `name`
|
358
|
-
# @return [String]
|
359
|
-
attr_accessor :name
|
360
|
-
|
361
|
-
# [Output Only] Type of the operation, such as insert, compute.instanceGroups.
|
362
|
-
# update, or compute.instanceGroups.delete.
|
363
|
-
# Corresponds to the JSON property `operationType`
|
364
|
-
# @return [String]
|
365
|
-
attr_accessor :operation_type
|
366
|
-
|
367
|
-
# [Output Only] An optional progress indicator that ranges from 0 to 100. There
|
368
|
-
# is no requirement that this be linear or support any granularity of operations.
|
369
|
-
# This should not be used to guess at when the operation will be complete. This
|
370
|
-
# number should monotonically increase as the operation progresses.
|
371
|
-
# Corresponds to the JSON property `progress`
|
372
|
-
# @return [Fixnum]
|
373
|
-
attr_accessor :progress
|
374
|
-
|
375
|
-
# [Output Only] URL of the region where the operation resides. Only applicable
|
376
|
-
# for regional resources.
|
377
|
-
# Corresponds to the JSON property `region`
|
378
|
-
# @return [String]
|
379
|
-
attr_accessor :region
|
380
|
-
|
381
|
-
# [Output Only] Server-defined URL for the resource.
|
382
|
-
# Corresponds to the JSON property `selfLink`
|
383
|
-
# @return [String]
|
384
|
-
attr_accessor :self_link
|
385
|
-
|
386
|
-
# [Output Only] The time that this operation was started by the server. This is
|
387
|
-
# in RFC3339 text format.
|
388
|
-
# Corresponds to the JSON property `startTime`
|
389
|
-
# @return [String]
|
390
|
-
attr_accessor :start_time
|
391
|
-
|
392
|
-
# [Output Only] Status of the operation. Can be one of the following: PENDING,
|
393
|
-
# RUNNING, or DONE.
|
394
|
-
# Corresponds to the JSON property `status`
|
395
|
-
# @return [String]
|
396
|
-
attr_accessor :status
|
397
|
-
|
398
|
-
# [Output Only] An optional textual description of the current status of the
|
399
|
-
# operation.
|
400
|
-
# Corresponds to the JSON property `statusMessage`
|
401
|
-
# @return [String]
|
402
|
-
attr_accessor :status_message
|
403
|
-
|
404
|
-
# [Output Only] Unique target ID which identifies a particular incarnation of
|
405
|
-
# the target.
|
406
|
-
# Corresponds to the JSON property `targetId`
|
407
|
-
# @return [String]
|
408
|
-
attr_accessor :target_id
|
409
|
-
|
410
|
-
# [Output Only] URL of the resource the operation is mutating.
|
411
|
-
# Corresponds to the JSON property `targetLink`
|
412
|
-
# @return [String]
|
413
|
-
attr_accessor :target_link
|
414
|
-
|
415
|
-
# [Output Only] User who requested the operation, for example: user@example.com.
|
416
|
-
# Corresponds to the JSON property `user`
|
417
|
-
# @return [String]
|
418
|
-
attr_accessor :user
|
419
|
-
|
420
|
-
# [Output Only] If warning messages are generated during processing of the
|
421
|
-
# operation, this field will be populated.
|
422
|
-
# Corresponds to the JSON property `warnings`
|
423
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::Operation::Warning>]
|
424
|
-
attr_accessor :warnings
|
425
|
-
|
426
|
-
# [Output Only] URL of the zone where the operation resides.
|
427
|
-
# Corresponds to the JSON property `zone`
|
428
|
-
# @return [String]
|
429
|
-
attr_accessor :zone
|
430
|
-
|
431
|
-
def initialize(**args)
|
432
|
-
update!(**args)
|
433
|
-
end
|
434
|
-
|
435
|
-
# Update properties of this object
|
436
|
-
def update!(**args)
|
437
|
-
@client_operation_id = args[:client_operation_id] unless args[:client_operation_id].nil?
|
438
|
-
@creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
|
439
|
-
@end_time = args[:end_time] unless args[:end_time].nil?
|
440
|
-
@error = args[:error] unless args[:error].nil?
|
441
|
-
@http_error_message = args[:http_error_message] unless args[:http_error_message].nil?
|
442
|
-
@http_error_status_code = args[:http_error_status_code] unless args[:http_error_status_code].nil?
|
443
|
-
@id = args[:id] unless args[:id].nil?
|
444
|
-
@insert_time = args[:insert_time] unless args[:insert_time].nil?
|
445
|
-
@kind = args[:kind] unless args[:kind].nil?
|
446
|
-
@name = args[:name] unless args[:name].nil?
|
447
|
-
@operation_type = args[:operation_type] unless args[:operation_type].nil?
|
448
|
-
@progress = args[:progress] unless args[:progress].nil?
|
449
|
-
@region = args[:region] unless args[:region].nil?
|
450
|
-
@self_link = args[:self_link] unless args[:self_link].nil?
|
451
|
-
@start_time = args[:start_time] unless args[:start_time].nil?
|
452
|
-
@status = args[:status] unless args[:status].nil?
|
453
|
-
@status_message = args[:status_message] unless args[:status_message].nil?
|
454
|
-
@target_id = args[:target_id] unless args[:target_id].nil?
|
455
|
-
@target_link = args[:target_link] unless args[:target_link].nil?
|
456
|
-
@user = args[:user] unless args[:user].nil?
|
457
|
-
@warnings = args[:warnings] unless args[:warnings].nil?
|
458
|
-
@zone = args[:zone] unless args[:zone].nil?
|
459
|
-
end
|
460
|
-
|
461
|
-
# [Output Only] If errors are generated during processing of the operation, this
|
462
|
-
# field will be populated.
|
463
|
-
class Error
|
464
|
-
include Google::Apis::Core::Hashable
|
465
|
-
|
466
|
-
# [Output Only] The array of errors encountered while processing this operation.
|
467
|
-
# Corresponds to the JSON property `errors`
|
468
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::Operation::Error::Error>]
|
469
|
-
attr_accessor :errors
|
470
|
-
|
471
|
-
def initialize(**args)
|
472
|
-
update!(**args)
|
473
|
-
end
|
474
|
-
|
475
|
-
# Update properties of this object
|
476
|
-
def update!(**args)
|
477
|
-
@errors = args[:errors] unless args[:errors].nil?
|
478
|
-
end
|
479
|
-
|
480
|
-
#
|
481
|
-
class Error
|
482
|
-
include Google::Apis::Core::Hashable
|
483
|
-
|
484
|
-
# [Output Only] The error type identifier for this error.
|
485
|
-
# Corresponds to the JSON property `code`
|
486
|
-
# @return [String]
|
487
|
-
attr_accessor :code
|
488
|
-
|
489
|
-
# [Output Only] Indicates the field in the request which caused the error. This
|
490
|
-
# property is optional.
|
491
|
-
# Corresponds to the JSON property `location`
|
492
|
-
# @return [String]
|
493
|
-
attr_accessor :location
|
494
|
-
|
495
|
-
# [Output Only] An optional, human-readable error message.
|
496
|
-
# Corresponds to the JSON property `message`
|
497
|
-
# @return [String]
|
498
|
-
attr_accessor :message
|
499
|
-
|
500
|
-
def initialize(**args)
|
501
|
-
update!(**args)
|
502
|
-
end
|
503
|
-
|
504
|
-
# Update properties of this object
|
505
|
-
def update!(**args)
|
506
|
-
@code = args[:code] unless args[:code].nil?
|
507
|
-
@location = args[:location] unless args[:location].nil?
|
508
|
-
@message = args[:message] unless args[:message].nil?
|
509
|
-
end
|
510
|
-
end
|
511
|
-
end
|
512
|
-
|
513
|
-
#
|
514
|
-
class Warning
|
515
|
-
include Google::Apis::Core::Hashable
|
516
|
-
|
517
|
-
# [Output Only] The warning type identifier for this warning.
|
518
|
-
# Corresponds to the JSON property `code`
|
519
|
-
# @return [String]
|
520
|
-
attr_accessor :code
|
521
|
-
|
522
|
-
# [Output Only] Metadata for this warning in key: value format.
|
523
|
-
# Corresponds to the JSON property `data`
|
524
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::Operation::Warning::Datum>]
|
525
|
-
attr_accessor :data
|
526
|
-
|
527
|
-
# [Output Only] Optional human-readable details for this warning.
|
528
|
-
# Corresponds to the JSON property `message`
|
529
|
-
# @return [String]
|
530
|
-
attr_accessor :message
|
531
|
-
|
532
|
-
def initialize(**args)
|
533
|
-
update!(**args)
|
534
|
-
end
|
535
|
-
|
536
|
-
# Update properties of this object
|
537
|
-
def update!(**args)
|
538
|
-
@code = args[:code] unless args[:code].nil?
|
539
|
-
@data = args[:data] unless args[:data].nil?
|
540
|
-
@message = args[:message] unless args[:message].nil?
|
541
|
-
end
|
542
|
-
|
543
|
-
#
|
544
|
-
class Datum
|
545
|
-
include Google::Apis::Core::Hashable
|
546
|
-
|
547
|
-
# [Output Only] A key for the warning data.
|
548
|
-
# Corresponds to the JSON property `key`
|
549
|
-
# @return [String]
|
550
|
-
attr_accessor :key
|
551
|
-
|
552
|
-
# [Output Only] A warning data value corresponding to the key.
|
553
|
-
# Corresponds to the JSON property `value`
|
554
|
-
# @return [String]
|
555
|
-
attr_accessor :value
|
556
|
-
|
557
|
-
def initialize(**args)
|
558
|
-
update!(**args)
|
559
|
-
end
|
560
|
-
|
561
|
-
# Update properties of this object
|
562
|
-
def update!(**args)
|
563
|
-
@key = args[:key] unless args[:key].nil?
|
564
|
-
@value = args[:value] unless args[:value].nil?
|
565
|
-
end
|
566
|
-
end
|
567
|
-
end
|
568
|
-
end
|
569
|
-
|
570
|
-
# A response containing a partial list of operations and a page token used to
|
571
|
-
# build the next request if the request has been truncated.
|
572
|
-
class ListOperationsResponse
|
573
|
-
include Google::Apis::Core::Hashable
|
574
|
-
|
575
|
-
# [Output Only] A token used to continue a truncated list request.
|
576
|
-
# Corresponds to the JSON property `nextPageToken`
|
577
|
-
# @return [String]
|
578
|
-
attr_accessor :next_page_token
|
579
|
-
|
580
|
-
# [Output Only] Operations contained in this list response.
|
581
|
-
# Corresponds to the JSON property `operations`
|
582
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::Operation>]
|
583
|
-
attr_accessor :operations
|
584
|
-
|
585
|
-
def initialize(**args)
|
586
|
-
update!(**args)
|
587
|
-
end
|
588
|
-
|
589
|
-
# Update properties of this object
|
590
|
-
def update!(**args)
|
591
|
-
@next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
|
592
|
-
@operations = args[:operations] unless args[:operations].nil?
|
593
|
-
end
|
594
|
-
end
|
595
|
-
|
596
|
-
#
|
597
|
-
class Resource
|
598
|
-
include Google::Apis::Core::Hashable
|
599
|
-
|
600
|
-
# [Output Only] The evaluated properties of the resource with references
|
601
|
-
# expanded. Returned as serialized YAML.
|
602
|
-
# Corresponds to the JSON property `finalProperties`
|
603
|
-
# @return [String]
|
604
|
-
attr_accessor :final_properties
|
605
|
-
|
606
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
607
|
-
# Corresponds to the JSON property `id`
|
608
|
-
# @return [String]
|
609
|
-
attr_accessor :id
|
610
|
-
|
611
|
-
# [Output Only] Timestamp when the resource was created or acquired, in RFC3339
|
612
|
-
# text format .
|
613
|
-
# Corresponds to the JSON property `insertTime`
|
614
|
-
# @return [String]
|
615
|
-
attr_accessor :insert_time
|
616
|
-
|
617
|
-
# [Output Only] URL of the manifest representing the current configuration of
|
618
|
-
# this resource.
|
619
|
-
# Corresponds to the JSON property `manifest`
|
620
|
-
# @return [String]
|
621
|
-
attr_accessor :manifest
|
622
|
-
|
623
|
-
# [Output Only] The name of the resource as it appears in the YAML config.
|
624
|
-
# Corresponds to the JSON property `name`
|
625
|
-
# @return [String]
|
626
|
-
attr_accessor :name
|
627
|
-
|
628
|
-
# [Output Only] The current properties of the resource before any references
|
629
|
-
# have been filled in. Returned as serialized YAML.
|
630
|
-
# Corresponds to the JSON property `properties`
|
631
|
-
# @return [String]
|
632
|
-
attr_accessor :properties
|
633
|
-
|
634
|
-
# [Output Only] The type of the resource, for example compute.v1.instance, or
|
635
|
-
# replicaPools.v1beta2.instanceGroupManager.
|
636
|
-
# Corresponds to the JSON property `type`
|
637
|
-
# @return [String]
|
638
|
-
attr_accessor :type
|
639
|
-
|
640
|
-
#
|
641
|
-
# Corresponds to the JSON property `update`
|
642
|
-
# @return [Google::Apis::DeploymentmanagerV2beta2::ResourceUpdate]
|
643
|
-
attr_accessor :update
|
644
|
-
|
645
|
-
# [Output Only] Timestamp when the resource was updated, in RFC3339 text format .
|
646
|
-
# Corresponds to the JSON property `updateTime`
|
647
|
-
# @return [String]
|
648
|
-
attr_accessor :update_time
|
649
|
-
|
650
|
-
# [Output Only] The URL of the actual resource.
|
651
|
-
# Corresponds to the JSON property `url`
|
652
|
-
# @return [String]
|
653
|
-
attr_accessor :url
|
654
|
-
|
655
|
-
def initialize(**args)
|
656
|
-
update!(**args)
|
657
|
-
end
|
658
|
-
|
659
|
-
# Update properties of this object
|
660
|
-
def update!(**args)
|
661
|
-
@final_properties = args[:final_properties] unless args[:final_properties].nil?
|
662
|
-
@id = args[:id] unless args[:id].nil?
|
663
|
-
@insert_time = args[:insert_time] unless args[:insert_time].nil?
|
664
|
-
@manifest = args[:manifest] unless args[:manifest].nil?
|
665
|
-
@name = args[:name] unless args[:name].nil?
|
666
|
-
@properties = args[:properties] unless args[:properties].nil?
|
667
|
-
@type = args[:type] unless args[:type].nil?
|
668
|
-
@update = args[:update] unless args[:update].nil?
|
669
|
-
@update_time = args[:update_time] unless args[:update_time].nil?
|
670
|
-
@url = args[:url] unless args[:url].nil?
|
671
|
-
end
|
672
|
-
end
|
673
|
-
|
674
|
-
#
|
675
|
-
class ResourceUpdate
|
676
|
-
include Google::Apis::Core::Hashable
|
677
|
-
|
678
|
-
# [Output Only] List of all errors encountered while trying to enact update.
|
679
|
-
# intent.
|
680
|
-
# Corresponds to the JSON property `errors`
|
681
|
-
# @return [Array<String>]
|
682
|
-
attr_accessor :errors
|
683
|
-
|
684
|
-
# [Output Only] The expanded properties of the resource with reference values
|
685
|
-
# expanded. Returned as serialized YAML.
|
686
|
-
# Corresponds to the JSON property `finalProperties`
|
687
|
-
# @return [String]
|
688
|
-
attr_accessor :final_properties
|
689
|
-
|
690
|
-
# [Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
|
691
|
-
# Corresponds to the JSON property `intent`
|
692
|
-
# @return [String]
|
693
|
-
attr_accessor :intent
|
694
|
-
|
695
|
-
# [Output Only] URL of the manifest representing the update configuration of
|
696
|
-
# this resource.
|
697
|
-
# Corresponds to the JSON property `manifest`
|
698
|
-
# @return [String]
|
699
|
-
attr_accessor :manifest
|
700
|
-
|
701
|
-
# [Output Only] The set of updated properties for this resource, before
|
702
|
-
# references are expanded. Returned as serialized YAML.
|
703
|
-
# Corresponds to the JSON property `properties`
|
704
|
-
# @return [String]
|
705
|
-
attr_accessor :properties
|
706
|
-
|
707
|
-
# [Output Only] The state of the resource.
|
708
|
-
# Corresponds to the JSON property `state`
|
709
|
-
# @return [String]
|
710
|
-
attr_accessor :state
|
711
|
-
|
712
|
-
def initialize(**args)
|
713
|
-
update!(**args)
|
714
|
-
end
|
715
|
-
|
716
|
-
# Update properties of this object
|
717
|
-
def update!(**args)
|
718
|
-
@errors = args[:errors] unless args[:errors].nil?
|
719
|
-
@final_properties = args[:final_properties] unless args[:final_properties].nil?
|
720
|
-
@intent = args[:intent] unless args[:intent].nil?
|
721
|
-
@manifest = args[:manifest] unless args[:manifest].nil?
|
722
|
-
@properties = args[:properties] unless args[:properties].nil?
|
723
|
-
@state = args[:state] unless args[:state].nil?
|
724
|
-
end
|
725
|
-
end
|
726
|
-
|
727
|
-
# A response containing a partial list of resources and a page token used to
|
728
|
-
# build the next request if the request has been truncated.
|
729
|
-
class ListResourcesResponse
|
730
|
-
include Google::Apis::Core::Hashable
|
731
|
-
|
732
|
-
# A token used to continue a truncated list request.
|
733
|
-
# Corresponds to the JSON property `nextPageToken`
|
734
|
-
# @return [String]
|
735
|
-
attr_accessor :next_page_token
|
736
|
-
|
737
|
-
# Resources contained in this list response.
|
738
|
-
# Corresponds to the JSON property `resources`
|
739
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::Resource>]
|
740
|
-
attr_accessor :resources
|
741
|
-
|
742
|
-
def initialize(**args)
|
743
|
-
update!(**args)
|
744
|
-
end
|
745
|
-
|
746
|
-
# Update properties of this object
|
747
|
-
def update!(**args)
|
748
|
-
@next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
|
749
|
-
@resources = args[:resources] unless args[:resources].nil?
|
750
|
-
end
|
751
|
-
end
|
752
|
-
|
753
|
-
#
|
754
|
-
class TargetConfiguration
|
755
|
-
include Google::Apis::Core::Hashable
|
756
|
-
|
757
|
-
# The configuration to use for this deployment.
|
758
|
-
# Corresponds to the JSON property `config`
|
759
|
-
# @return [String]
|
760
|
-
attr_accessor :config
|
761
|
-
|
762
|
-
# Specifies any files to import for this configuration. This can be used to
|
763
|
-
# import templates or other files. For example, you might import a text file in
|
764
|
-
# order to use the file in a template.
|
765
|
-
# Corresponds to the JSON property `imports`
|
766
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::ImportFile>]
|
767
|
-
attr_accessor :imports
|
768
|
-
|
769
|
-
def initialize(**args)
|
770
|
-
update!(**args)
|
771
|
-
end
|
772
|
-
|
773
|
-
# Update properties of this object
|
774
|
-
def update!(**args)
|
775
|
-
@config = args[:config] unless args[:config].nil?
|
776
|
-
@imports = args[:imports] unless args[:imports].nil?
|
777
|
-
end
|
778
|
-
end
|
779
|
-
|
780
|
-
# A resource type supported by Deployment Manager.
|
781
|
-
class Type
|
782
|
-
include Google::Apis::Core::Hashable
|
783
|
-
|
784
|
-
# [Output Only] Unique identifier for the resource; defined by the server.
|
785
|
-
# Corresponds to the JSON property `id`
|
786
|
-
# @return [String]
|
787
|
-
attr_accessor :id
|
788
|
-
|
789
|
-
# [Output Only] Timestamp when the type was created, in RFC3339 text format.
|
790
|
-
# Corresponds to the JSON property `insertTime`
|
791
|
-
# @return [String]
|
792
|
-
attr_accessor :insert_time
|
793
|
-
|
794
|
-
# Name of the type.
|
795
|
-
# Corresponds to the JSON property `name`
|
796
|
-
# @return [String]
|
797
|
-
attr_accessor :name
|
798
|
-
|
799
|
-
# [Output Only] Self link for the type.
|
800
|
-
# Corresponds to the JSON property `selfLink`
|
801
|
-
# @return [String]
|
802
|
-
attr_accessor :self_link
|
803
|
-
|
804
|
-
def initialize(**args)
|
805
|
-
update!(**args)
|
806
|
-
end
|
807
|
-
|
808
|
-
# Update properties of this object
|
809
|
-
def update!(**args)
|
810
|
-
@id = args[:id] unless args[:id].nil?
|
811
|
-
@insert_time = args[:insert_time] unless args[:insert_time].nil?
|
812
|
-
@name = args[:name] unless args[:name].nil?
|
813
|
-
@self_link = args[:self_link] unless args[:self_link].nil?
|
814
|
-
end
|
815
|
-
end
|
816
|
-
|
817
|
-
# A response that returns all Types supported by Deployment Manager
|
818
|
-
class ListTypesResponse
|
819
|
-
include Google::Apis::Core::Hashable
|
820
|
-
|
821
|
-
# A token used to continue a truncated list request.
|
822
|
-
# Corresponds to the JSON property `nextPageToken`
|
823
|
-
# @return [String]
|
824
|
-
attr_accessor :next_page_token
|
825
|
-
|
826
|
-
# [Output Only] A list of resource types supported by Deployment Manager.
|
827
|
-
# Corresponds to the JSON property `types`
|
828
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta2::Type>]
|
829
|
-
attr_accessor :types
|
830
|
-
|
831
|
-
def initialize(**args)
|
832
|
-
update!(**args)
|
833
|
-
end
|
834
|
-
|
835
|
-
# Update properties of this object
|
836
|
-
def update!(**args)
|
837
|
-
@next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
|
838
|
-
@types = args[:types] unless args[:types].nil?
|
839
|
-
end
|
840
|
-
end
|
841
|
-
end
|
842
|
-
end
|
843
|
-
end
|