google-api-client 0.13.2 → 0.13.3
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 +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
|
@@ -0,0 +1,260 @@
|
|
|
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
|
+
@batch_path = 'batch'
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# Allocates IDs for the given keys, which is useful for referencing an entity
|
|
52
|
+
# before it is inserted.
|
|
53
|
+
# @param [String] project_id
|
|
54
|
+
# The ID of the project against which to make the request.
|
|
55
|
+
# @param [Google::Apis::DatastoreV1beta3::AllocateIdsRequest] allocate_ids_request_object
|
|
56
|
+
# @param [String] fields
|
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
|
58
|
+
# @param [String] quota_user
|
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
|
62
|
+
# Request-specific options
|
|
63
|
+
#
|
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
|
65
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::AllocateIdsResponse] parsed result object
|
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
67
|
+
#
|
|
68
|
+
# @return [Google::Apis::DatastoreV1beta3::AllocateIdsResponse]
|
|
69
|
+
#
|
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
73
|
+
def allocate_project_ids(project_id, allocate_ids_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
74
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:allocateIds', options)
|
|
75
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::AllocateIdsRequest::Representation
|
|
76
|
+
command.request_object = allocate_ids_request_object
|
|
77
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::AllocateIdsResponse::Representation
|
|
78
|
+
command.response_class = Google::Apis::DatastoreV1beta3::AllocateIdsResponse
|
|
79
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
82
|
+
execute_or_queue_command(command, &block)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Begins a new transaction.
|
|
86
|
+
# @param [String] project_id
|
|
87
|
+
# The ID of the project against which to make the request.
|
|
88
|
+
# @param [Google::Apis::DatastoreV1beta3::BeginTransactionRequest] begin_transaction_request_object
|
|
89
|
+
# @param [String] fields
|
|
90
|
+
# Selector specifying which fields to include in a partial response.
|
|
91
|
+
# @param [String] quota_user
|
|
92
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
93
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
94
|
+
# @param [Google::Apis::RequestOptions] options
|
|
95
|
+
# Request-specific options
|
|
96
|
+
#
|
|
97
|
+
# @yield [result, err] Result & error if block supplied
|
|
98
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::BeginTransactionResponse] parsed result object
|
|
99
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
100
|
+
#
|
|
101
|
+
# @return [Google::Apis::DatastoreV1beta3::BeginTransactionResponse]
|
|
102
|
+
#
|
|
103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
106
|
+
def begin_project_transaction(project_id, begin_transaction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
107
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:beginTransaction', options)
|
|
108
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::BeginTransactionRequest::Representation
|
|
109
|
+
command.request_object = begin_transaction_request_object
|
|
110
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::BeginTransactionResponse::Representation
|
|
111
|
+
command.response_class = Google::Apis::DatastoreV1beta3::BeginTransactionResponse
|
|
112
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
113
|
+
command.query['fields'] = fields unless fields.nil?
|
|
114
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
115
|
+
execute_or_queue_command(command, &block)
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Commits a transaction, optionally creating, deleting or modifying some
|
|
119
|
+
# entities.
|
|
120
|
+
# @param [String] project_id
|
|
121
|
+
# The ID of the project against which to make the request.
|
|
122
|
+
# @param [Google::Apis::DatastoreV1beta3::CommitRequest] commit_request_object
|
|
123
|
+
# @param [String] fields
|
|
124
|
+
# Selector specifying which fields to include in a partial response.
|
|
125
|
+
# @param [String] quota_user
|
|
126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
128
|
+
# @param [Google::Apis::RequestOptions] options
|
|
129
|
+
# Request-specific options
|
|
130
|
+
#
|
|
131
|
+
# @yield [result, err] Result & error if block supplied
|
|
132
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::CommitResponse] parsed result object
|
|
133
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
134
|
+
#
|
|
135
|
+
# @return [Google::Apis::DatastoreV1beta3::CommitResponse]
|
|
136
|
+
#
|
|
137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
140
|
+
def commit_project(project_id, commit_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
141
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:commit', options)
|
|
142
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::CommitRequest::Representation
|
|
143
|
+
command.request_object = commit_request_object
|
|
144
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::CommitResponse::Representation
|
|
145
|
+
command.response_class = Google::Apis::DatastoreV1beta3::CommitResponse
|
|
146
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
147
|
+
command.query['fields'] = fields unless fields.nil?
|
|
148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
149
|
+
execute_or_queue_command(command, &block)
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Looks up entities by key.
|
|
153
|
+
# @param [String] project_id
|
|
154
|
+
# The ID of the project against which to make the request.
|
|
155
|
+
# @param [Google::Apis::DatastoreV1beta3::LookupRequest] lookup_request_object
|
|
156
|
+
# @param [String] fields
|
|
157
|
+
# Selector specifying which fields to include in a partial response.
|
|
158
|
+
# @param [String] quota_user
|
|
159
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
160
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
161
|
+
# @param [Google::Apis::RequestOptions] options
|
|
162
|
+
# Request-specific options
|
|
163
|
+
#
|
|
164
|
+
# @yield [result, err] Result & error if block supplied
|
|
165
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::LookupResponse] parsed result object
|
|
166
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
167
|
+
#
|
|
168
|
+
# @return [Google::Apis::DatastoreV1beta3::LookupResponse]
|
|
169
|
+
#
|
|
170
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
171
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
172
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
173
|
+
def lookup_project(project_id, lookup_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
174
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:lookup', options)
|
|
175
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::LookupRequest::Representation
|
|
176
|
+
command.request_object = lookup_request_object
|
|
177
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::LookupResponse::Representation
|
|
178
|
+
command.response_class = Google::Apis::DatastoreV1beta3::LookupResponse
|
|
179
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
180
|
+
command.query['fields'] = fields unless fields.nil?
|
|
181
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
182
|
+
execute_or_queue_command(command, &block)
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# Rolls back a transaction.
|
|
186
|
+
# @param [String] project_id
|
|
187
|
+
# The ID of the project against which to make the request.
|
|
188
|
+
# @param [Google::Apis::DatastoreV1beta3::RollbackRequest] rollback_request_object
|
|
189
|
+
# @param [String] fields
|
|
190
|
+
# Selector specifying which fields to include in a partial response.
|
|
191
|
+
# @param [String] quota_user
|
|
192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
194
|
+
# @param [Google::Apis::RequestOptions] options
|
|
195
|
+
# Request-specific options
|
|
196
|
+
#
|
|
197
|
+
# @yield [result, err] Result & error if block supplied
|
|
198
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::RollbackResponse] parsed result object
|
|
199
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
200
|
+
#
|
|
201
|
+
# @return [Google::Apis::DatastoreV1beta3::RollbackResponse]
|
|
202
|
+
#
|
|
203
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
204
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
205
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
206
|
+
def rollback_project(project_id, rollback_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
207
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:rollback', options)
|
|
208
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::RollbackRequest::Representation
|
|
209
|
+
command.request_object = rollback_request_object
|
|
210
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::RollbackResponse::Representation
|
|
211
|
+
command.response_class = Google::Apis::DatastoreV1beta3::RollbackResponse
|
|
212
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
213
|
+
command.query['fields'] = fields unless fields.nil?
|
|
214
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
215
|
+
execute_or_queue_command(command, &block)
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# Queries for entities.
|
|
219
|
+
# @param [String] project_id
|
|
220
|
+
# The ID of the project against which to make the request.
|
|
221
|
+
# @param [Google::Apis::DatastoreV1beta3::RunQueryRequest] run_query_request_object
|
|
222
|
+
# @param [String] fields
|
|
223
|
+
# Selector specifying which fields to include in a partial response.
|
|
224
|
+
# @param [String] quota_user
|
|
225
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
226
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
227
|
+
# @param [Google::Apis::RequestOptions] options
|
|
228
|
+
# Request-specific options
|
|
229
|
+
#
|
|
230
|
+
# @yield [result, err] Result & error if block supplied
|
|
231
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::RunQueryResponse] parsed result object
|
|
232
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
233
|
+
#
|
|
234
|
+
# @return [Google::Apis::DatastoreV1beta3::RunQueryResponse]
|
|
235
|
+
#
|
|
236
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
237
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
238
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
239
|
+
def run_project_query(project_id, run_query_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
240
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:runQuery', options)
|
|
241
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::RunQueryRequest::Representation
|
|
242
|
+
command.request_object = run_query_request_object
|
|
243
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::RunQueryResponse::Representation
|
|
244
|
+
command.response_class = Google::Apis::DatastoreV1beta3::RunQueryResponse
|
|
245
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
246
|
+
command.query['fields'] = fields unless fields.nil?
|
|
247
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
248
|
+
execute_or_queue_command(command, &block)
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
protected
|
|
252
|
+
|
|
253
|
+
def apply_command_defaults(command)
|
|
254
|
+
command.query['key'] = key unless key.nil?
|
|
255
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
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_alpha/service.rb'
|
|
16
|
+
require 'google/apis/deploymentmanager_alpha/classes.rb'
|
|
17
|
+
require 'google/apis/deploymentmanager_alpha/representations.rb'
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Apis
|
|
21
|
+
# Google Cloud Deployment Manager Alpha 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://cloud.google.com/deployment-manager/
|
|
27
|
+
module DeploymentmanagerAlpha
|
|
28
|
+
VERSION = 'Alpha'
|
|
29
|
+
REVISION = '20170810'
|
|
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
|
|
@@ -0,0 +1,2422 @@
|
|
|
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 DeploymentmanagerAlpha
|
|
24
|
+
|
|
25
|
+
# Specifies the audit configuration for a service. The configuration determines
|
|
26
|
+
# which permission types are logged, and what identities, if any, are exempted
|
|
27
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs.
|
|
28
|
+
# If there are AuditConfigs for both `allServices` and a specific service, the
|
|
29
|
+
# union of the two AuditConfigs is used for that service: the log_types
|
|
30
|
+
# specified in each AuditConfig are enabled, and the exempted_members in each
|
|
31
|
+
# AuditConfig are exempted.
|
|
32
|
+
# Example Policy with multiple AuditConfigs:
|
|
33
|
+
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
|
34
|
+
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
|
35
|
+
# log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
|
|
36
|
+
# fooservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
|
|
37
|
+
# ` "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] ` ] `
|
|
38
|
+
# ] `
|
|
39
|
+
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
40
|
+
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
|
|
41
|
+
# com from DATA_WRITE logging.
|
|
42
|
+
class AuditConfig
|
|
43
|
+
include Google::Apis::Core::Hashable
|
|
44
|
+
|
|
45
|
+
# The configuration for logging of each type of permission.
|
|
46
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
|
47
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::AuditLogConfig>]
|
|
48
|
+
attr_accessor :audit_log_configs
|
|
49
|
+
|
|
50
|
+
#
|
|
51
|
+
# Corresponds to the JSON property `exemptedMembers`
|
|
52
|
+
# @return [Array<String>]
|
|
53
|
+
attr_accessor :exempted_members
|
|
54
|
+
|
|
55
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
|
56
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
57
|
+
# value that covers all services.
|
|
58
|
+
# Corresponds to the JSON property `service`
|
|
59
|
+
# @return [String]
|
|
60
|
+
attr_accessor :service
|
|
61
|
+
|
|
62
|
+
def initialize(**args)
|
|
63
|
+
update!(**args)
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Update properties of this object
|
|
67
|
+
def update!(**args)
|
|
68
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
|
69
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
70
|
+
@service = args[:service] if args.key?(:service)
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Provides the configuration for logging a type of permissions. Example:
|
|
75
|
+
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
|
76
|
+
# user:foo@gmail.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
|
77
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.
|
|
78
|
+
# com from DATA_READ logging.
|
|
79
|
+
class AuditLogConfig
|
|
80
|
+
include Google::Apis::Core::Hashable
|
|
81
|
+
|
|
82
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
|
83
|
+
# Follows the same format of [Binding.members][].
|
|
84
|
+
# Corresponds to the JSON property `exemptedMembers`
|
|
85
|
+
# @return [Array<String>]
|
|
86
|
+
attr_accessor :exempted_members
|
|
87
|
+
|
|
88
|
+
# The log type that this config enables.
|
|
89
|
+
# Corresponds to the JSON property `logType`
|
|
90
|
+
# @return [String]
|
|
91
|
+
attr_accessor :log_type
|
|
92
|
+
|
|
93
|
+
def initialize(**args)
|
|
94
|
+
update!(**args)
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Update properties of this object
|
|
98
|
+
def update!(**args)
|
|
99
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
100
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Authorization-related information used by Cloud Audit Logging.
|
|
105
|
+
class AuthorizationLoggingOptions
|
|
106
|
+
include Google::Apis::Core::Hashable
|
|
107
|
+
|
|
108
|
+
# The type of the permission that was checked.
|
|
109
|
+
# Corresponds to the JSON property `permissionType`
|
|
110
|
+
# @return [String]
|
|
111
|
+
attr_accessor :permission_type
|
|
112
|
+
|
|
113
|
+
def initialize(**args)
|
|
114
|
+
update!(**args)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Update properties of this object
|
|
118
|
+
def update!(**args)
|
|
119
|
+
@permission_type = args[:permission_type] if args.key?(:permission_type)
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Basic Auth used as a credential.
|
|
124
|
+
class BasicAuth
|
|
125
|
+
include Google::Apis::Core::Hashable
|
|
126
|
+
|
|
127
|
+
#
|
|
128
|
+
# Corresponds to the JSON property `password`
|
|
129
|
+
# @return [String]
|
|
130
|
+
attr_accessor :password
|
|
131
|
+
|
|
132
|
+
#
|
|
133
|
+
# Corresponds to the JSON property `user`
|
|
134
|
+
# @return [String]
|
|
135
|
+
attr_accessor :user
|
|
136
|
+
|
|
137
|
+
def initialize(**args)
|
|
138
|
+
update!(**args)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Update properties of this object
|
|
142
|
+
def update!(**args)
|
|
143
|
+
@password = args[:password] if args.key?(:password)
|
|
144
|
+
@user = args[:user] if args.key?(:user)
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Associates `members` with a `role`.
|
|
149
|
+
class Binding
|
|
150
|
+
include Google::Apis::Core::Hashable
|
|
151
|
+
|
|
152
|
+
# Represents an expression text. Example:
|
|
153
|
+
# title: "User account presence" description: "Determines whether the request
|
|
154
|
+
# has a user account" expression: "size(request.user) > 0"
|
|
155
|
+
# Corresponds to the JSON property `condition`
|
|
156
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Expr]
|
|
157
|
+
attr_accessor :condition
|
|
158
|
+
|
|
159
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
|
160
|
+
# members` can have the following values:
|
|
161
|
+
# * `allUsers`: A special identifier that represents anyone who is on the
|
|
162
|
+
# internet; with or without a Google account.
|
|
163
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
|
164
|
+
# authenticated with a Google account or a service account.
|
|
165
|
+
# * `user:`emailid``: An email address that represents a specific Google account.
|
|
166
|
+
# For example, `alice@gmail.com` or `joe@example.com`.
|
|
167
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
|
168
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
169
|
+
# * `group:`emailid``: An email address that represents a Google group. For
|
|
170
|
+
# example, `admins@example.com`.
|
|
171
|
+
# * `domain:`domain``: A Google Apps domain name that represents all the users
|
|
172
|
+
# of that domain. For example, `google.com` or `example.com`.
|
|
173
|
+
# Corresponds to the JSON property `members`
|
|
174
|
+
# @return [Array<String>]
|
|
175
|
+
attr_accessor :members
|
|
176
|
+
|
|
177
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
|
178
|
+
# , or `roles/owner`.
|
|
179
|
+
# Corresponds to the JSON property `role`
|
|
180
|
+
# @return [String]
|
|
181
|
+
attr_accessor :role
|
|
182
|
+
|
|
183
|
+
def initialize(**args)
|
|
184
|
+
update!(**args)
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Update properties of this object
|
|
188
|
+
def update!(**args)
|
|
189
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
190
|
+
@members = args[:members] if args.key?(:members)
|
|
191
|
+
@role = args[:role] if args.key?(:role)
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# CollectionOverride allows resource handling overrides for specific resources
|
|
196
|
+
# within a BaseType
|
|
197
|
+
class CollectionOverride
|
|
198
|
+
include Google::Apis::Core::Hashable
|
|
199
|
+
|
|
200
|
+
# The collection that identifies this resource within its service.
|
|
201
|
+
# Corresponds to the JSON property `collection`
|
|
202
|
+
# @return [String]
|
|
203
|
+
attr_accessor :collection
|
|
204
|
+
|
|
205
|
+
# Options allows customized resource handling by Deployment Manager.
|
|
206
|
+
# Corresponds to the JSON property `options`
|
|
207
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Options]
|
|
208
|
+
attr_accessor :options
|
|
209
|
+
|
|
210
|
+
def initialize(**args)
|
|
211
|
+
update!(**args)
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# Update properties of this object
|
|
215
|
+
def update!(**args)
|
|
216
|
+
@collection = args[:collection] if args.key?(:collection)
|
|
217
|
+
@options = args[:options] if args.key?(:options)
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Holds the composite type.
|
|
222
|
+
class CompositeType
|
|
223
|
+
include Google::Apis::Core::Hashable
|
|
224
|
+
|
|
225
|
+
# An optional textual description of the resource; provided by the client when
|
|
226
|
+
# the resource is created.
|
|
227
|
+
# Corresponds to the JSON property `description`
|
|
228
|
+
# @return [String]
|
|
229
|
+
attr_accessor :description
|
|
230
|
+
|
|
231
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
232
|
+
# Corresponds to the JSON property `id`
|
|
233
|
+
# @return [Fixnum]
|
|
234
|
+
attr_accessor :id
|
|
235
|
+
|
|
236
|
+
# [Output Only] Timestamp when the composite type was created, in RFC3339 text
|
|
237
|
+
# format.
|
|
238
|
+
# Corresponds to the JSON property `insertTime`
|
|
239
|
+
# @return [String]
|
|
240
|
+
attr_accessor :insert_time
|
|
241
|
+
|
|
242
|
+
# Map of labels; provided by the client when the resource is created or updated.
|
|
243
|
+
# Specifically: Label keys must be between 1 and 63 characters long and must
|
|
244
|
+
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
|
245
|
+
# values must be between 0 and 63 characters long and must conform to the
|
|
246
|
+
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
|
247
|
+
# Corresponds to the JSON property `labels`
|
|
248
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::CompositeTypeLabelEntry>]
|
|
249
|
+
attr_accessor :labels
|
|
250
|
+
|
|
251
|
+
# Name of the composite type.
|
|
252
|
+
# Corresponds to the JSON property `name`
|
|
253
|
+
# @return [String]
|
|
254
|
+
attr_accessor :name
|
|
255
|
+
|
|
256
|
+
# An Operation resource, used to manage asynchronous API requests.
|
|
257
|
+
# Corresponds to the JSON property `operation`
|
|
258
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
|
259
|
+
attr_accessor :operation
|
|
260
|
+
|
|
261
|
+
# [Output Only] Self link for the type provider.
|
|
262
|
+
# Corresponds to the JSON property `selfLink`
|
|
263
|
+
# @return [String]
|
|
264
|
+
attr_accessor :self_link
|
|
265
|
+
|
|
266
|
+
#
|
|
267
|
+
# Corresponds to the JSON property `status`
|
|
268
|
+
# @return [String]
|
|
269
|
+
attr_accessor :status
|
|
270
|
+
|
|
271
|
+
# Files that make up the template contents of a template type.
|
|
272
|
+
# Corresponds to the JSON property `templateContents`
|
|
273
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::TemplateContents]
|
|
274
|
+
attr_accessor :template_contents
|
|
275
|
+
|
|
276
|
+
def initialize(**args)
|
|
277
|
+
update!(**args)
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# Update properties of this object
|
|
281
|
+
def update!(**args)
|
|
282
|
+
@description = args[:description] if args.key?(:description)
|
|
283
|
+
@id = args[:id] if args.key?(:id)
|
|
284
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
285
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
286
|
+
@name = args[:name] if args.key?(:name)
|
|
287
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
288
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
289
|
+
@status = args[:status] if args.key?(:status)
|
|
290
|
+
@template_contents = args[:template_contents] if args.key?(:template_contents)
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
#
|
|
295
|
+
class CompositeTypeLabelEntry
|
|
296
|
+
include Google::Apis::Core::Hashable
|
|
297
|
+
|
|
298
|
+
#
|
|
299
|
+
# Corresponds to the JSON property `key`
|
|
300
|
+
# @return [String]
|
|
301
|
+
attr_accessor :key
|
|
302
|
+
|
|
303
|
+
#
|
|
304
|
+
# Corresponds to the JSON property `value`
|
|
305
|
+
# @return [String]
|
|
306
|
+
attr_accessor :value
|
|
307
|
+
|
|
308
|
+
def initialize(**args)
|
|
309
|
+
update!(**args)
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Update properties of this object
|
|
313
|
+
def update!(**args)
|
|
314
|
+
@key = args[:key] if args.key?(:key)
|
|
315
|
+
@value = args[:value] if args.key?(:value)
|
|
316
|
+
end
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
# A response that returns all Composite Types supported by Deployment Manager
|
|
320
|
+
class CompositeTypesListResponse
|
|
321
|
+
include Google::Apis::Core::Hashable
|
|
322
|
+
|
|
323
|
+
# [Output Only] A list of resource composite types supported by Deployment
|
|
324
|
+
# Manager.
|
|
325
|
+
# Corresponds to the JSON property `compositeTypes`
|
|
326
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::CompositeType>]
|
|
327
|
+
attr_accessor :composite_types
|
|
328
|
+
|
|
329
|
+
# A token used to continue a truncated list request.
|
|
330
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
331
|
+
# @return [String]
|
|
332
|
+
attr_accessor :next_page_token
|
|
333
|
+
|
|
334
|
+
def initialize(**args)
|
|
335
|
+
update!(**args)
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
# Update properties of this object
|
|
339
|
+
def update!(**args)
|
|
340
|
+
@composite_types = args[:composite_types] if args.key?(:composite_types)
|
|
341
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
# A condition to be met.
|
|
346
|
+
class Condition
|
|
347
|
+
include Google::Apis::Core::Hashable
|
|
348
|
+
|
|
349
|
+
# Trusted attributes supplied by the IAM system.
|
|
350
|
+
# Corresponds to the JSON property `iam`
|
|
351
|
+
# @return [String]
|
|
352
|
+
attr_accessor :iam
|
|
353
|
+
|
|
354
|
+
# An operator to apply the subject with.
|
|
355
|
+
# Corresponds to the JSON property `op`
|
|
356
|
+
# @return [String]
|
|
357
|
+
attr_accessor :op
|
|
358
|
+
|
|
359
|
+
# Trusted attributes discharged by the service.
|
|
360
|
+
# Corresponds to the JSON property `svc`
|
|
361
|
+
# @return [String]
|
|
362
|
+
attr_accessor :svc
|
|
363
|
+
|
|
364
|
+
# Trusted attributes supplied by any service that owns resources and uses the
|
|
365
|
+
# IAM system for access control.
|
|
366
|
+
# Corresponds to the JSON property `sys`
|
|
367
|
+
# @return [String]
|
|
368
|
+
attr_accessor :sys
|
|
369
|
+
|
|
370
|
+
# DEPRECATED. Use 'values' instead.
|
|
371
|
+
# Corresponds to the JSON property `value`
|
|
372
|
+
# @return [String]
|
|
373
|
+
attr_accessor :value
|
|
374
|
+
|
|
375
|
+
# The objects of the condition. This is mutually exclusive with 'value'.
|
|
376
|
+
# Corresponds to the JSON property `values`
|
|
377
|
+
# @return [Array<String>]
|
|
378
|
+
attr_accessor :values
|
|
379
|
+
|
|
380
|
+
def initialize(**args)
|
|
381
|
+
update!(**args)
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
# Update properties of this object
|
|
385
|
+
def update!(**args)
|
|
386
|
+
@iam = args[:iam] if args.key?(:iam)
|
|
387
|
+
@op = args[:op] if args.key?(:op)
|
|
388
|
+
@svc = args[:svc] if args.key?(:svc)
|
|
389
|
+
@sys = args[:sys] if args.key?(:sys)
|
|
390
|
+
@value = args[:value] if args.key?(:value)
|
|
391
|
+
@values = args[:values] if args.key?(:values)
|
|
392
|
+
end
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
#
|
|
396
|
+
class ConfigFile
|
|
397
|
+
include Google::Apis::Core::Hashable
|
|
398
|
+
|
|
399
|
+
# The contents of the file.
|
|
400
|
+
# Corresponds to the JSON property `content`
|
|
401
|
+
# @return [String]
|
|
402
|
+
attr_accessor :content
|
|
403
|
+
|
|
404
|
+
def initialize(**args)
|
|
405
|
+
update!(**args)
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
# Update properties of this object
|
|
409
|
+
def update!(**args)
|
|
410
|
+
@content = args[:content] if args.key?(:content)
|
|
411
|
+
end
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# BaseType that describes a service-backed Type.
|
|
415
|
+
class ConfigurableService
|
|
416
|
+
include Google::Apis::Core::Hashable
|
|
417
|
+
|
|
418
|
+
# Allows resource handling overrides for specific collections
|
|
419
|
+
# Corresponds to the JSON property `collectionOverrides`
|
|
420
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>]
|
|
421
|
+
attr_accessor :collection_overrides
|
|
422
|
+
|
|
423
|
+
# Credential used by ConfigurableResourceTypes.
|
|
424
|
+
# Corresponds to the JSON property `credential`
|
|
425
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Credential]
|
|
426
|
+
attr_accessor :credential
|
|
427
|
+
|
|
428
|
+
# Descriptor Url for the this type.
|
|
429
|
+
# Corresponds to the JSON property `descriptorUrl`
|
|
430
|
+
# @return [String]
|
|
431
|
+
attr_accessor :descriptor_url
|
|
432
|
+
|
|
433
|
+
# Options allows customized resource handling by Deployment Manager.
|
|
434
|
+
# Corresponds to the JSON property `options`
|
|
435
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Options]
|
|
436
|
+
attr_accessor :options
|
|
437
|
+
|
|
438
|
+
def initialize(**args)
|
|
439
|
+
update!(**args)
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
# Update properties of this object
|
|
443
|
+
def update!(**args)
|
|
444
|
+
@collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
|
|
445
|
+
@credential = args[:credential] if args.key?(:credential)
|
|
446
|
+
@descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
|
|
447
|
+
@options = args[:options] if args.key?(:options)
|
|
448
|
+
end
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
# Credential used by ConfigurableResourceTypes.
|
|
452
|
+
class Credential
|
|
453
|
+
include Google::Apis::Core::Hashable
|
|
454
|
+
|
|
455
|
+
# Basic Auth used as a credential.
|
|
456
|
+
# Corresponds to the JSON property `basicAuth`
|
|
457
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::BasicAuth]
|
|
458
|
+
attr_accessor :basic_auth
|
|
459
|
+
|
|
460
|
+
def initialize(**args)
|
|
461
|
+
update!(**args)
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
# Update properties of this object
|
|
465
|
+
def update!(**args)
|
|
466
|
+
@basic_auth = args[:basic_auth] if args.key?(:basic_auth)
|
|
467
|
+
end
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
#
|
|
471
|
+
class Deployment
|
|
472
|
+
include Google::Apis::Core::Hashable
|
|
473
|
+
|
|
474
|
+
# An optional user-provided description of the deployment.
|
|
475
|
+
# Corresponds to the JSON property `description`
|
|
476
|
+
# @return [String]
|
|
477
|
+
attr_accessor :description
|
|
478
|
+
|
|
479
|
+
# Provides a fingerprint to use in requests to modify a deployment, such as
|
|
480
|
+
# update(), stop(), and cancelPreview() requests. A fingerprint is a randomly
|
|
481
|
+
# generated value that must be provided with update(), stop(), and cancelPreview(
|
|
482
|
+
# ) requests to perform optimistic locking. This ensures optimistic concurrency
|
|
483
|
+
# so that only one request happens at a time.
|
|
484
|
+
# The fingerprint is initially generated by Deployment Manager and changes after
|
|
485
|
+
# every request to modify data. To get the latest fingerprint value, perform a
|
|
486
|
+
# get() request to a deployment.
|
|
487
|
+
# Corresponds to the JSON property `fingerprint`
|
|
488
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
489
|
+
# @return [String]
|
|
490
|
+
attr_accessor :fingerprint
|
|
491
|
+
|
|
492
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
493
|
+
# Corresponds to the JSON property `id`
|
|
494
|
+
# @return [Fixnum]
|
|
495
|
+
attr_accessor :id
|
|
496
|
+
|
|
497
|
+
# [Output Only] Timestamp when the deployment was created, in RFC3339 text
|
|
498
|
+
# format .
|
|
499
|
+
# Corresponds to the JSON property `insertTime`
|
|
500
|
+
# @return [String]
|
|
501
|
+
attr_accessor :insert_time
|
|
502
|
+
|
|
503
|
+
# Map of labels; provided by the client when the resource is created or updated.
|
|
504
|
+
# Specifically: Label keys must be between 1 and 63 characters long and must
|
|
505
|
+
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
|
506
|
+
# values must be between 0 and 63 characters long and must conform to the
|
|
507
|
+
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
|
508
|
+
# Corresponds to the JSON property `labels`
|
|
509
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentLabelEntry>]
|
|
510
|
+
attr_accessor :labels
|
|
511
|
+
|
|
512
|
+
# [Output Only] URL of the manifest representing the last manifest that was
|
|
513
|
+
# successfully deployed.
|
|
514
|
+
# Corresponds to the JSON property `manifest`
|
|
515
|
+
# @return [String]
|
|
516
|
+
attr_accessor :manifest
|
|
517
|
+
|
|
518
|
+
# Name of the resource; provided by the client when the resource is created. The
|
|
519
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
|
520
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
|
521
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
|
522
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
|
523
|
+
# except the last character, which cannot be a dash.
|
|
524
|
+
# Corresponds to the JSON property `name`
|
|
525
|
+
# @return [String]
|
|
526
|
+
attr_accessor :name
|
|
527
|
+
|
|
528
|
+
# An Operation resource, used to manage asynchronous API requests.
|
|
529
|
+
# Corresponds to the JSON property `operation`
|
|
530
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
|
531
|
+
attr_accessor :operation
|
|
532
|
+
|
|
533
|
+
# [Output Only] Self link for the deployment.
|
|
534
|
+
# Corresponds to the JSON property `selfLink`
|
|
535
|
+
# @return [String]
|
|
536
|
+
attr_accessor :self_link
|
|
537
|
+
|
|
538
|
+
#
|
|
539
|
+
# Corresponds to the JSON property `target`
|
|
540
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::TargetConfiguration]
|
|
541
|
+
attr_accessor :target
|
|
542
|
+
|
|
543
|
+
#
|
|
544
|
+
# Corresponds to the JSON property `update`
|
|
545
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::DeploymentUpdate]
|
|
546
|
+
attr_accessor :update
|
|
547
|
+
|
|
548
|
+
def initialize(**args)
|
|
549
|
+
update!(**args)
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# Update properties of this object
|
|
553
|
+
def update!(**args)
|
|
554
|
+
@description = args[:description] if args.key?(:description)
|
|
555
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
556
|
+
@id = args[:id] if args.key?(:id)
|
|
557
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
558
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
559
|
+
@manifest = args[:manifest] if args.key?(:manifest)
|
|
560
|
+
@name = args[:name] if args.key?(:name)
|
|
561
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
562
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
563
|
+
@target = args[:target] if args.key?(:target)
|
|
564
|
+
@update = args[:update] if args.key?(:update)
|
|
565
|
+
end
|
|
566
|
+
end
|
|
567
|
+
|
|
568
|
+
#
|
|
569
|
+
class DeploymentLabelEntry
|
|
570
|
+
include Google::Apis::Core::Hashable
|
|
571
|
+
|
|
572
|
+
#
|
|
573
|
+
# Corresponds to the JSON property `key`
|
|
574
|
+
# @return [String]
|
|
575
|
+
attr_accessor :key
|
|
576
|
+
|
|
577
|
+
#
|
|
578
|
+
# Corresponds to the JSON property `value`
|
|
579
|
+
# @return [String]
|
|
580
|
+
attr_accessor :value
|
|
581
|
+
|
|
582
|
+
def initialize(**args)
|
|
583
|
+
update!(**args)
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
# Update properties of this object
|
|
587
|
+
def update!(**args)
|
|
588
|
+
@key = args[:key] if args.key?(:key)
|
|
589
|
+
@value = args[:value] if args.key?(:value)
|
|
590
|
+
end
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
#
|
|
594
|
+
class DeploymentUpdate
|
|
595
|
+
include Google::Apis::Core::Hashable
|
|
596
|
+
|
|
597
|
+
# [Output Only] An optional user-provided description of the deployment after
|
|
598
|
+
# the current update has been applied.
|
|
599
|
+
# Corresponds to the JSON property `description`
|
|
600
|
+
# @return [String]
|
|
601
|
+
attr_accessor :description
|
|
602
|
+
|
|
603
|
+
# [Output Only] Map of labels; provided by the client when the resource is
|
|
604
|
+
# created or updated. Specifically: Label keys must be between 1 and 63
|
|
605
|
+
# characters long and must conform to the following regular expression: [a-z]([-
|
|
606
|
+
# a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and
|
|
607
|
+
# must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
|
608
|
+
# Corresponds to the JSON property `labels`
|
|
609
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentUpdateLabelEntry>]
|
|
610
|
+
attr_accessor :labels
|
|
611
|
+
|
|
612
|
+
# [Output Only] URL of the manifest representing the update configuration of
|
|
613
|
+
# this deployment.
|
|
614
|
+
# Corresponds to the JSON property `manifest`
|
|
615
|
+
# @return [String]
|
|
616
|
+
attr_accessor :manifest
|
|
617
|
+
|
|
618
|
+
def initialize(**args)
|
|
619
|
+
update!(**args)
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# Update properties of this object
|
|
623
|
+
def update!(**args)
|
|
624
|
+
@description = args[:description] if args.key?(:description)
|
|
625
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
626
|
+
@manifest = args[:manifest] if args.key?(:manifest)
|
|
627
|
+
end
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
#
|
|
631
|
+
class DeploymentUpdateLabelEntry
|
|
632
|
+
include Google::Apis::Core::Hashable
|
|
633
|
+
|
|
634
|
+
#
|
|
635
|
+
# Corresponds to the JSON property `key`
|
|
636
|
+
# @return [String]
|
|
637
|
+
attr_accessor :key
|
|
638
|
+
|
|
639
|
+
#
|
|
640
|
+
# Corresponds to the JSON property `value`
|
|
641
|
+
# @return [String]
|
|
642
|
+
attr_accessor :value
|
|
643
|
+
|
|
644
|
+
def initialize(**args)
|
|
645
|
+
update!(**args)
|
|
646
|
+
end
|
|
647
|
+
|
|
648
|
+
# Update properties of this object
|
|
649
|
+
def update!(**args)
|
|
650
|
+
@key = args[:key] if args.key?(:key)
|
|
651
|
+
@value = args[:value] if args.key?(:value)
|
|
652
|
+
end
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
#
|
|
656
|
+
class DeploymentsCancelPreviewRequest
|
|
657
|
+
include Google::Apis::Core::Hashable
|
|
658
|
+
|
|
659
|
+
# Specifies a fingerprint for cancelPreview() requests. A fingerprint is a
|
|
660
|
+
# randomly generated value that must be provided in cancelPreview() requests to
|
|
661
|
+
# perform optimistic locking. This ensures optimistic concurrency so that the
|
|
662
|
+
# deployment does not have conflicting requests (e.g. if someone attempts to
|
|
663
|
+
# make a new update request while another user attempts to cancel a preview,
|
|
664
|
+
# this would prevent one of the requests).
|
|
665
|
+
# The fingerprint is initially generated by Deployment Manager and changes after
|
|
666
|
+
# every request to modify a deployment. To get the latest fingerprint value,
|
|
667
|
+
# perform a get() request on the deployment.
|
|
668
|
+
# Corresponds to the JSON property `fingerprint`
|
|
669
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
670
|
+
# @return [String]
|
|
671
|
+
attr_accessor :fingerprint
|
|
672
|
+
|
|
673
|
+
def initialize(**args)
|
|
674
|
+
update!(**args)
|
|
675
|
+
end
|
|
676
|
+
|
|
677
|
+
# Update properties of this object
|
|
678
|
+
def update!(**args)
|
|
679
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
680
|
+
end
|
|
681
|
+
end
|
|
682
|
+
|
|
683
|
+
# A response containing a partial list of deployments and a page token used to
|
|
684
|
+
# build the next request if the request has been truncated.
|
|
685
|
+
class DeploymentsListResponse
|
|
686
|
+
include Google::Apis::Core::Hashable
|
|
687
|
+
|
|
688
|
+
# [Output Only] The deployments contained in this response.
|
|
689
|
+
# Corresponds to the JSON property `deployments`
|
|
690
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Deployment>]
|
|
691
|
+
attr_accessor :deployments
|
|
692
|
+
|
|
693
|
+
# [Output Only] A token used to continue a truncated list request.
|
|
694
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
695
|
+
# @return [String]
|
|
696
|
+
attr_accessor :next_page_token
|
|
697
|
+
|
|
698
|
+
def initialize(**args)
|
|
699
|
+
update!(**args)
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
# Update properties of this object
|
|
703
|
+
def update!(**args)
|
|
704
|
+
@deployments = args[:deployments] if args.key?(:deployments)
|
|
705
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
706
|
+
end
|
|
707
|
+
end
|
|
708
|
+
|
|
709
|
+
#
|
|
710
|
+
class DeploymentsStopRequest
|
|
711
|
+
include Google::Apis::Core::Hashable
|
|
712
|
+
|
|
713
|
+
# Specifies a fingerprint for stop() requests. A fingerprint is a randomly
|
|
714
|
+
# generated value that must be provided in stop() requests to perform optimistic
|
|
715
|
+
# locking. This ensures optimistic concurrency so that the deployment does not
|
|
716
|
+
# have conflicting requests (e.g. if someone attempts to make a new update
|
|
717
|
+
# request while another user attempts to stop an ongoing update request, this
|
|
718
|
+
# would prevent a collision).
|
|
719
|
+
# The fingerprint is initially generated by Deployment Manager and changes after
|
|
720
|
+
# every request to modify a deployment. To get the latest fingerprint value,
|
|
721
|
+
# perform a get() request on the deployment.
|
|
722
|
+
# Corresponds to the JSON property `fingerprint`
|
|
723
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
724
|
+
# @return [String]
|
|
725
|
+
attr_accessor :fingerprint
|
|
726
|
+
|
|
727
|
+
def initialize(**args)
|
|
728
|
+
update!(**args)
|
|
729
|
+
end
|
|
730
|
+
|
|
731
|
+
# Update properties of this object
|
|
732
|
+
def update!(**args)
|
|
733
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
734
|
+
end
|
|
735
|
+
end
|
|
736
|
+
|
|
737
|
+
# Represents an expression text. Example:
|
|
738
|
+
# title: "User account presence" description: "Determines whether the request
|
|
739
|
+
# has a user account" expression: "size(request.user) > 0"
|
|
740
|
+
class Expr
|
|
741
|
+
include Google::Apis::Core::Hashable
|
|
742
|
+
|
|
743
|
+
# An optional description of the expression. This is a longer text which
|
|
744
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
|
745
|
+
# Corresponds to the JSON property `description`
|
|
746
|
+
# @return [String]
|
|
747
|
+
attr_accessor :description
|
|
748
|
+
|
|
749
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
|
750
|
+
# The application context of the containing message determines which well-known
|
|
751
|
+
# feature set of CEL is supported.
|
|
752
|
+
# Corresponds to the JSON property `expression`
|
|
753
|
+
# @return [String]
|
|
754
|
+
attr_accessor :expression
|
|
755
|
+
|
|
756
|
+
# An optional string indicating the location of the expression for error
|
|
757
|
+
# reporting, e.g. a file name and a position in the file.
|
|
758
|
+
# Corresponds to the JSON property `location`
|
|
759
|
+
# @return [String]
|
|
760
|
+
attr_accessor :location
|
|
761
|
+
|
|
762
|
+
# An optional title for the expression, i.e. a short string describing its
|
|
763
|
+
# purpose. This can be used e.g. in UIs which allow to enter the expression.
|
|
764
|
+
# Corresponds to the JSON property `title`
|
|
765
|
+
# @return [String]
|
|
766
|
+
attr_accessor :title
|
|
767
|
+
|
|
768
|
+
def initialize(**args)
|
|
769
|
+
update!(**args)
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
# Update properties of this object
|
|
773
|
+
def update!(**args)
|
|
774
|
+
@description = args[:description] if args.key?(:description)
|
|
775
|
+
@expression = args[:expression] if args.key?(:expression)
|
|
776
|
+
@location = args[:location] if args.key?(:location)
|
|
777
|
+
@title = args[:title] if args.key?(:title)
|
|
778
|
+
end
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
#
|
|
782
|
+
class ImportFile
|
|
783
|
+
include Google::Apis::Core::Hashable
|
|
784
|
+
|
|
785
|
+
# The contents of the file.
|
|
786
|
+
# Corresponds to the JSON property `content`
|
|
787
|
+
# @return [String]
|
|
788
|
+
attr_accessor :content
|
|
789
|
+
|
|
790
|
+
# The name of the file.
|
|
791
|
+
# Corresponds to the JSON property `name`
|
|
792
|
+
# @return [String]
|
|
793
|
+
attr_accessor :name
|
|
794
|
+
|
|
795
|
+
def initialize(**args)
|
|
796
|
+
update!(**args)
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
# Update properties of this object
|
|
800
|
+
def update!(**args)
|
|
801
|
+
@content = args[:content] if args.key?(:content)
|
|
802
|
+
@name = args[:name] if args.key?(:name)
|
|
803
|
+
end
|
|
804
|
+
end
|
|
805
|
+
|
|
806
|
+
# InputMapping creates a 'virtual' property that will be injected into the
|
|
807
|
+
# properties before sending the request to the underlying API.
|
|
808
|
+
class InputMapping
|
|
809
|
+
include Google::Apis::Core::Hashable
|
|
810
|
+
|
|
811
|
+
# The name of the field that is going to be injected.
|
|
812
|
+
# Corresponds to the JSON property `fieldName`
|
|
813
|
+
# @return [String]
|
|
814
|
+
attr_accessor :field_name
|
|
815
|
+
|
|
816
|
+
# The location where this mapping applies.
|
|
817
|
+
# Corresponds to the JSON property `location`
|
|
818
|
+
# @return [String]
|
|
819
|
+
attr_accessor :location
|
|
820
|
+
|
|
821
|
+
# Regex to evaluate on method to decide if input applies.
|
|
822
|
+
# Corresponds to the JSON property `methodMatch`
|
|
823
|
+
# @return [String]
|
|
824
|
+
attr_accessor :method_match
|
|
825
|
+
|
|
826
|
+
# A jsonPath expression to select an element.
|
|
827
|
+
# Corresponds to the JSON property `value`
|
|
828
|
+
# @return [String]
|
|
829
|
+
attr_accessor :value
|
|
830
|
+
|
|
831
|
+
def initialize(**args)
|
|
832
|
+
update!(**args)
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
# Update properties of this object
|
|
836
|
+
def update!(**args)
|
|
837
|
+
@field_name = args[:field_name] if args.key?(:field_name)
|
|
838
|
+
@location = args[:location] if args.key?(:location)
|
|
839
|
+
@method_match = args[:method_match] if args.key?(:method_match)
|
|
840
|
+
@value = args[:value] if args.key?(:value)
|
|
841
|
+
end
|
|
842
|
+
end
|
|
843
|
+
|
|
844
|
+
# Specifies what kind of log the caller must write
|
|
845
|
+
class LogConfig
|
|
846
|
+
include Google::Apis::Core::Hashable
|
|
847
|
+
|
|
848
|
+
# Write a Cloud Audit log
|
|
849
|
+
# Corresponds to the JSON property `cloudAudit`
|
|
850
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::LogConfigCloudAuditOptions]
|
|
851
|
+
attr_accessor :cloud_audit
|
|
852
|
+
|
|
853
|
+
# Increment a streamz counter with the specified metric and field names.
|
|
854
|
+
# Metric names should start with a '/', generally be lowercase-only, and end in "
|
|
855
|
+
# _count". Field names should not contain an initial slash. The actual exported
|
|
856
|
+
# metric names will have "/iam/policy" prepended.
|
|
857
|
+
# Field names correspond to IAM request parameters and field values are their
|
|
858
|
+
# respective values.
|
|
859
|
+
# At present the only supported field names are - "iam_principal", corresponding
|
|
860
|
+
# to IAMContext.principal; - "" (empty string), resulting in one aggretated
|
|
861
|
+
# counter with no field.
|
|
862
|
+
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
|
863
|
+
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
|
|
864
|
+
# of IAMContext.principal]`
|
|
865
|
+
# At this time we do not support: * multiple field names (though this may be
|
|
866
|
+
# supported in the future) * decrementing the counter * incrementing it by
|
|
867
|
+
# anything other than 1
|
|
868
|
+
# Corresponds to the JSON property `counter`
|
|
869
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptions]
|
|
870
|
+
attr_accessor :counter
|
|
871
|
+
|
|
872
|
+
# Write a Data Access (Gin) log
|
|
873
|
+
# Corresponds to the JSON property `dataAccess`
|
|
874
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::LogConfigDataAccessOptions]
|
|
875
|
+
attr_accessor :data_access
|
|
876
|
+
|
|
877
|
+
def initialize(**args)
|
|
878
|
+
update!(**args)
|
|
879
|
+
end
|
|
880
|
+
|
|
881
|
+
# Update properties of this object
|
|
882
|
+
def update!(**args)
|
|
883
|
+
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
|
884
|
+
@counter = args[:counter] if args.key?(:counter)
|
|
885
|
+
@data_access = args[:data_access] if args.key?(:data_access)
|
|
886
|
+
end
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
# Write a Cloud Audit log
|
|
890
|
+
class LogConfigCloudAuditOptions
|
|
891
|
+
include Google::Apis::Core::Hashable
|
|
892
|
+
|
|
893
|
+
# Authorization-related information used by Cloud Audit Logging.
|
|
894
|
+
# Corresponds to the JSON property `authorizationLoggingOptions`
|
|
895
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::AuthorizationLoggingOptions]
|
|
896
|
+
attr_accessor :authorization_logging_options
|
|
897
|
+
|
|
898
|
+
# The log_name to populate in the Cloud Audit Record.
|
|
899
|
+
# Corresponds to the JSON property `logName`
|
|
900
|
+
# @return [String]
|
|
901
|
+
attr_accessor :log_name
|
|
902
|
+
|
|
903
|
+
def initialize(**args)
|
|
904
|
+
update!(**args)
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
# Update properties of this object
|
|
908
|
+
def update!(**args)
|
|
909
|
+
@authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
|
|
910
|
+
@log_name = args[:log_name] if args.key?(:log_name)
|
|
911
|
+
end
|
|
912
|
+
end
|
|
913
|
+
|
|
914
|
+
# Increment a streamz counter with the specified metric and field names.
|
|
915
|
+
# Metric names should start with a '/', generally be lowercase-only, and end in "
|
|
916
|
+
# _count". Field names should not contain an initial slash. The actual exported
|
|
917
|
+
# metric names will have "/iam/policy" prepended.
|
|
918
|
+
# Field names correspond to IAM request parameters and field values are their
|
|
919
|
+
# respective values.
|
|
920
|
+
# At present the only supported field names are - "iam_principal", corresponding
|
|
921
|
+
# to IAMContext.principal; - "" (empty string), resulting in one aggretated
|
|
922
|
+
# counter with no field.
|
|
923
|
+
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
|
924
|
+
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
|
|
925
|
+
# of IAMContext.principal]`
|
|
926
|
+
# At this time we do not support: * multiple field names (though this may be
|
|
927
|
+
# supported in the future) * decrementing the counter * incrementing it by
|
|
928
|
+
# anything other than 1
|
|
929
|
+
class LogConfigCounterOptions
|
|
930
|
+
include Google::Apis::Core::Hashable
|
|
931
|
+
|
|
932
|
+
# The field value to attribute.
|
|
933
|
+
# Corresponds to the JSON property `field`
|
|
934
|
+
# @return [String]
|
|
935
|
+
attr_accessor :field
|
|
936
|
+
|
|
937
|
+
# The metric to update.
|
|
938
|
+
# Corresponds to the JSON property `metric`
|
|
939
|
+
# @return [String]
|
|
940
|
+
attr_accessor :metric
|
|
941
|
+
|
|
942
|
+
def initialize(**args)
|
|
943
|
+
update!(**args)
|
|
944
|
+
end
|
|
945
|
+
|
|
946
|
+
# Update properties of this object
|
|
947
|
+
def update!(**args)
|
|
948
|
+
@field = args[:field] if args.key?(:field)
|
|
949
|
+
@metric = args[:metric] if args.key?(:metric)
|
|
950
|
+
end
|
|
951
|
+
end
|
|
952
|
+
|
|
953
|
+
# Write a Data Access (Gin) log
|
|
954
|
+
class LogConfigDataAccessOptions
|
|
955
|
+
include Google::Apis::Core::Hashable
|
|
956
|
+
|
|
957
|
+
# Whether Gin logging should happen in a fail-closed manner at the caller. This
|
|
958
|
+
# is relevant only in the LocalIAM implementation, for now.
|
|
959
|
+
# Corresponds to the JSON property `logMode`
|
|
960
|
+
# @return [String]
|
|
961
|
+
attr_accessor :log_mode
|
|
962
|
+
|
|
963
|
+
def initialize(**args)
|
|
964
|
+
update!(**args)
|
|
965
|
+
end
|
|
966
|
+
|
|
967
|
+
# Update properties of this object
|
|
968
|
+
def update!(**args)
|
|
969
|
+
@log_mode = args[:log_mode] if args.key?(:log_mode)
|
|
970
|
+
end
|
|
971
|
+
end
|
|
972
|
+
|
|
973
|
+
#
|
|
974
|
+
class Manifest
|
|
975
|
+
include Google::Apis::Core::Hashable
|
|
976
|
+
|
|
977
|
+
#
|
|
978
|
+
# Corresponds to the JSON property `config`
|
|
979
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ConfigFile]
|
|
980
|
+
attr_accessor :config
|
|
981
|
+
|
|
982
|
+
# [Output Only] The fully-expanded configuration file, including any templates
|
|
983
|
+
# and references.
|
|
984
|
+
# Corresponds to the JSON property `expandedConfig`
|
|
985
|
+
# @return [String]
|
|
986
|
+
attr_accessor :expanded_config
|
|
987
|
+
|
|
988
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
989
|
+
# Corresponds to the JSON property `id`
|
|
990
|
+
# @return [Fixnum]
|
|
991
|
+
attr_accessor :id
|
|
992
|
+
|
|
993
|
+
# [Output Only] The imported files for this manifest.
|
|
994
|
+
# Corresponds to the JSON property `imports`
|
|
995
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::ImportFile>]
|
|
996
|
+
attr_accessor :imports
|
|
997
|
+
|
|
998
|
+
# [Output Only] Timestamp when the manifest was created, in RFC3339 text format.
|
|
999
|
+
# Corresponds to the JSON property `insertTime`
|
|
1000
|
+
# @return [String]
|
|
1001
|
+
attr_accessor :insert_time
|
|
1002
|
+
|
|
1003
|
+
# [Output Only] The YAML layout for this manifest.
|
|
1004
|
+
# Corresponds to the JSON property `layout`
|
|
1005
|
+
# @return [String]
|
|
1006
|
+
attr_accessor :layout
|
|
1007
|
+
|
|
1008
|
+
# [Output Only] The name of the manifest.
|
|
1009
|
+
# Corresponds to the JSON property `name`
|
|
1010
|
+
# @return [String]
|
|
1011
|
+
attr_accessor :name
|
|
1012
|
+
|
|
1013
|
+
# [Output Only] Self link for the manifest.
|
|
1014
|
+
# Corresponds to the JSON property `selfLink`
|
|
1015
|
+
# @return [String]
|
|
1016
|
+
attr_accessor :self_link
|
|
1017
|
+
|
|
1018
|
+
def initialize(**args)
|
|
1019
|
+
update!(**args)
|
|
1020
|
+
end
|
|
1021
|
+
|
|
1022
|
+
# Update properties of this object
|
|
1023
|
+
def update!(**args)
|
|
1024
|
+
@config = args[:config] if args.key?(:config)
|
|
1025
|
+
@expanded_config = args[:expanded_config] if args.key?(:expanded_config)
|
|
1026
|
+
@id = args[:id] if args.key?(:id)
|
|
1027
|
+
@imports = args[:imports] if args.key?(:imports)
|
|
1028
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1029
|
+
@layout = args[:layout] if args.key?(:layout)
|
|
1030
|
+
@name = args[:name] if args.key?(:name)
|
|
1031
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
1032
|
+
end
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
# A response containing a partial list of manifests and a page token used to
|
|
1036
|
+
# build the next request if the request has been truncated.
|
|
1037
|
+
class ManifestsListResponse
|
|
1038
|
+
include Google::Apis::Core::Hashable
|
|
1039
|
+
|
|
1040
|
+
# [Output Only] Manifests contained in this list response.
|
|
1041
|
+
# Corresponds to the JSON property `manifests`
|
|
1042
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Manifest>]
|
|
1043
|
+
attr_accessor :manifests
|
|
1044
|
+
|
|
1045
|
+
# [Output Only] A token used to continue a truncated list request.
|
|
1046
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1047
|
+
# @return [String]
|
|
1048
|
+
attr_accessor :next_page_token
|
|
1049
|
+
|
|
1050
|
+
def initialize(**args)
|
|
1051
|
+
update!(**args)
|
|
1052
|
+
end
|
|
1053
|
+
|
|
1054
|
+
# Update properties of this object
|
|
1055
|
+
def update!(**args)
|
|
1056
|
+
@manifests = args[:manifests] if args.key?(:manifests)
|
|
1057
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1058
|
+
end
|
|
1059
|
+
end
|
|
1060
|
+
|
|
1061
|
+
# An Operation resource, used to manage asynchronous API requests.
|
|
1062
|
+
class Operation
|
|
1063
|
+
include Google::Apis::Core::Hashable
|
|
1064
|
+
|
|
1065
|
+
# [Output Only] Reserved for future use.
|
|
1066
|
+
# Corresponds to the JSON property `clientOperationId`
|
|
1067
|
+
# @return [String]
|
|
1068
|
+
attr_accessor :client_operation_id
|
|
1069
|
+
|
|
1070
|
+
# [Deprecated] This field is deprecated.
|
|
1071
|
+
# Corresponds to the JSON property `creationTimestamp`
|
|
1072
|
+
# @return [String]
|
|
1073
|
+
attr_accessor :creation_timestamp
|
|
1074
|
+
|
|
1075
|
+
# [Output Only] A textual description of the operation, which is set when the
|
|
1076
|
+
# operation is created.
|
|
1077
|
+
# Corresponds to the JSON property `description`
|
|
1078
|
+
# @return [String]
|
|
1079
|
+
attr_accessor :description
|
|
1080
|
+
|
|
1081
|
+
# [Output Only] The time that this operation was completed. This value is in
|
|
1082
|
+
# RFC3339 text format.
|
|
1083
|
+
# Corresponds to the JSON property `endTime`
|
|
1084
|
+
# @return [String]
|
|
1085
|
+
attr_accessor :end_time
|
|
1086
|
+
|
|
1087
|
+
# [Output Only] If errors are generated during processing of the operation, this
|
|
1088
|
+
# field will be populated.
|
|
1089
|
+
# Corresponds to the JSON property `error`
|
|
1090
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Operation::Error]
|
|
1091
|
+
attr_accessor :error
|
|
1092
|
+
|
|
1093
|
+
# [Output Only] If the operation fails, this field contains the HTTP error
|
|
1094
|
+
# message that was returned, such as NOT FOUND.
|
|
1095
|
+
# Corresponds to the JSON property `httpErrorMessage`
|
|
1096
|
+
# @return [String]
|
|
1097
|
+
attr_accessor :http_error_message
|
|
1098
|
+
|
|
1099
|
+
# [Output Only] If the operation fails, this field contains the HTTP error
|
|
1100
|
+
# status code that was returned. For example, a 404 means the resource was not
|
|
1101
|
+
# found.
|
|
1102
|
+
# Corresponds to the JSON property `httpErrorStatusCode`
|
|
1103
|
+
# @return [Fixnum]
|
|
1104
|
+
attr_accessor :http_error_status_code
|
|
1105
|
+
|
|
1106
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
|
1107
|
+
# defined by the server.
|
|
1108
|
+
# Corresponds to the JSON property `id`
|
|
1109
|
+
# @return [Fixnum]
|
|
1110
|
+
attr_accessor :id
|
|
1111
|
+
|
|
1112
|
+
# [Output Only] The time that this operation was requested. This value is in
|
|
1113
|
+
# RFC3339 text format.
|
|
1114
|
+
# Corresponds to the JSON property `insertTime`
|
|
1115
|
+
# @return [String]
|
|
1116
|
+
attr_accessor :insert_time
|
|
1117
|
+
|
|
1118
|
+
# [Output Only] Type of the resource. Always compute#operation for Operation
|
|
1119
|
+
# resources.
|
|
1120
|
+
# Corresponds to the JSON property `kind`
|
|
1121
|
+
# @return [String]
|
|
1122
|
+
attr_accessor :kind
|
|
1123
|
+
|
|
1124
|
+
# [Output Only] Name of the resource.
|
|
1125
|
+
# Corresponds to the JSON property `name`
|
|
1126
|
+
# @return [String]
|
|
1127
|
+
attr_accessor :name
|
|
1128
|
+
|
|
1129
|
+
# [Output Only] The type of operation, such as insert, update, or delete, and so
|
|
1130
|
+
# on.
|
|
1131
|
+
# Corresponds to the JSON property `operationType`
|
|
1132
|
+
# @return [String]
|
|
1133
|
+
attr_accessor :operation_type
|
|
1134
|
+
|
|
1135
|
+
# [Output Only] An optional progress indicator that ranges from 0 to 100. There
|
|
1136
|
+
# is no requirement that this be linear or support any granularity of operations.
|
|
1137
|
+
# This should not be used to guess when the operation will be complete. This
|
|
1138
|
+
# number should monotonically increase as the operation progresses.
|
|
1139
|
+
# Corresponds to the JSON property `progress`
|
|
1140
|
+
# @return [Fixnum]
|
|
1141
|
+
attr_accessor :progress
|
|
1142
|
+
|
|
1143
|
+
# [Output Only] The URL of the region where the operation resides. Only
|
|
1144
|
+
# available when performing regional operations.
|
|
1145
|
+
# Corresponds to the JSON property `region`
|
|
1146
|
+
# @return [String]
|
|
1147
|
+
attr_accessor :region
|
|
1148
|
+
|
|
1149
|
+
# [Output Only] Server-defined URL for the resource.
|
|
1150
|
+
# Corresponds to the JSON property `selfLink`
|
|
1151
|
+
# @return [String]
|
|
1152
|
+
attr_accessor :self_link
|
|
1153
|
+
|
|
1154
|
+
# [Output Only] The time that this operation was started by the server. This
|
|
1155
|
+
# value is in RFC3339 text format.
|
|
1156
|
+
# Corresponds to the JSON property `startTime`
|
|
1157
|
+
# @return [String]
|
|
1158
|
+
attr_accessor :start_time
|
|
1159
|
+
|
|
1160
|
+
# [Output Only] The status of the operation, which can be one of the following:
|
|
1161
|
+
# PENDING, RUNNING, or DONE.
|
|
1162
|
+
# Corresponds to the JSON property `status`
|
|
1163
|
+
# @return [String]
|
|
1164
|
+
attr_accessor :status
|
|
1165
|
+
|
|
1166
|
+
# [Output Only] An optional textual description of the current status of the
|
|
1167
|
+
# operation.
|
|
1168
|
+
# Corresponds to the JSON property `statusMessage`
|
|
1169
|
+
# @return [String]
|
|
1170
|
+
attr_accessor :status_message
|
|
1171
|
+
|
|
1172
|
+
# [Output Only] The unique target ID, which identifies a specific incarnation of
|
|
1173
|
+
# the target resource.
|
|
1174
|
+
# Corresponds to the JSON property `targetId`
|
|
1175
|
+
# @return [Fixnum]
|
|
1176
|
+
attr_accessor :target_id
|
|
1177
|
+
|
|
1178
|
+
# [Output Only] The URL of the resource that the operation modifies. For
|
|
1179
|
+
# operations related to creating a snapshot, this points to the persistent disk
|
|
1180
|
+
# that the snapshot was created from.
|
|
1181
|
+
# Corresponds to the JSON property `targetLink`
|
|
1182
|
+
# @return [String]
|
|
1183
|
+
attr_accessor :target_link
|
|
1184
|
+
|
|
1185
|
+
# [Output Only] User who requested the operation, for example: user@example.com.
|
|
1186
|
+
# Corresponds to the JSON property `user`
|
|
1187
|
+
# @return [String]
|
|
1188
|
+
attr_accessor :user
|
|
1189
|
+
|
|
1190
|
+
# [Output Only] If warning messages are generated during processing of the
|
|
1191
|
+
# operation, this field will be populated.
|
|
1192
|
+
# Corresponds to the JSON property `warnings`
|
|
1193
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Operation::Warning>]
|
|
1194
|
+
attr_accessor :warnings
|
|
1195
|
+
|
|
1196
|
+
# [Output Only] The URL of the zone where the operation resides. Only available
|
|
1197
|
+
# when performing per-zone operations.
|
|
1198
|
+
# Corresponds to the JSON property `zone`
|
|
1199
|
+
# @return [String]
|
|
1200
|
+
attr_accessor :zone
|
|
1201
|
+
|
|
1202
|
+
def initialize(**args)
|
|
1203
|
+
update!(**args)
|
|
1204
|
+
end
|
|
1205
|
+
|
|
1206
|
+
# Update properties of this object
|
|
1207
|
+
def update!(**args)
|
|
1208
|
+
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
|
1209
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
1210
|
+
@description = args[:description] if args.key?(:description)
|
|
1211
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1212
|
+
@error = args[:error] if args.key?(:error)
|
|
1213
|
+
@http_error_message = args[:http_error_message] if args.key?(:http_error_message)
|
|
1214
|
+
@http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
|
|
1215
|
+
@id = args[:id] if args.key?(:id)
|
|
1216
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1217
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
1218
|
+
@name = args[:name] if args.key?(:name)
|
|
1219
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
1220
|
+
@progress = args[:progress] if args.key?(:progress)
|
|
1221
|
+
@region = args[:region] if args.key?(:region)
|
|
1222
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
1223
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1224
|
+
@status = args[:status] if args.key?(:status)
|
|
1225
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
|
1226
|
+
@target_id = args[:target_id] if args.key?(:target_id)
|
|
1227
|
+
@target_link = args[:target_link] if args.key?(:target_link)
|
|
1228
|
+
@user = args[:user] if args.key?(:user)
|
|
1229
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
1230
|
+
@zone = args[:zone] if args.key?(:zone)
|
|
1231
|
+
end
|
|
1232
|
+
|
|
1233
|
+
# [Output Only] If errors are generated during processing of the operation, this
|
|
1234
|
+
# field will be populated.
|
|
1235
|
+
class Error
|
|
1236
|
+
include Google::Apis::Core::Hashable
|
|
1237
|
+
|
|
1238
|
+
# [Output Only] The array of errors encountered while processing this operation.
|
|
1239
|
+
# Corresponds to the JSON property `errors`
|
|
1240
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Operation::Error::Error>]
|
|
1241
|
+
attr_accessor :errors
|
|
1242
|
+
|
|
1243
|
+
def initialize(**args)
|
|
1244
|
+
update!(**args)
|
|
1245
|
+
end
|
|
1246
|
+
|
|
1247
|
+
# Update properties of this object
|
|
1248
|
+
def update!(**args)
|
|
1249
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1252
|
+
#
|
|
1253
|
+
class Error
|
|
1254
|
+
include Google::Apis::Core::Hashable
|
|
1255
|
+
|
|
1256
|
+
# [Output Only] The error type identifier for this error.
|
|
1257
|
+
# Corresponds to the JSON property `code`
|
|
1258
|
+
# @return [String]
|
|
1259
|
+
attr_accessor :code
|
|
1260
|
+
|
|
1261
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
|
1262
|
+
# property is optional.
|
|
1263
|
+
# Corresponds to the JSON property `location`
|
|
1264
|
+
# @return [String]
|
|
1265
|
+
attr_accessor :location
|
|
1266
|
+
|
|
1267
|
+
# [Output Only] An optional, human-readable error message.
|
|
1268
|
+
# Corresponds to the JSON property `message`
|
|
1269
|
+
# @return [String]
|
|
1270
|
+
attr_accessor :message
|
|
1271
|
+
|
|
1272
|
+
def initialize(**args)
|
|
1273
|
+
update!(**args)
|
|
1274
|
+
end
|
|
1275
|
+
|
|
1276
|
+
# Update properties of this object
|
|
1277
|
+
def update!(**args)
|
|
1278
|
+
@code = args[:code] if args.key?(:code)
|
|
1279
|
+
@location = args[:location] if args.key?(:location)
|
|
1280
|
+
@message = args[:message] if args.key?(:message)
|
|
1281
|
+
end
|
|
1282
|
+
end
|
|
1283
|
+
end
|
|
1284
|
+
|
|
1285
|
+
#
|
|
1286
|
+
class Warning
|
|
1287
|
+
include Google::Apis::Core::Hashable
|
|
1288
|
+
|
|
1289
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
1290
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
1291
|
+
# Corresponds to the JSON property `code`
|
|
1292
|
+
# @return [String]
|
|
1293
|
+
attr_accessor :code
|
|
1294
|
+
|
|
1295
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
1296
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
1297
|
+
# Corresponds to the JSON property `data`
|
|
1298
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Operation::Warning::Datum>]
|
|
1299
|
+
attr_accessor :data
|
|
1300
|
+
|
|
1301
|
+
# [Output Only] A human-readable description of the warning code.
|
|
1302
|
+
# Corresponds to the JSON property `message`
|
|
1303
|
+
# @return [String]
|
|
1304
|
+
attr_accessor :message
|
|
1305
|
+
|
|
1306
|
+
def initialize(**args)
|
|
1307
|
+
update!(**args)
|
|
1308
|
+
end
|
|
1309
|
+
|
|
1310
|
+
# Update properties of this object
|
|
1311
|
+
def update!(**args)
|
|
1312
|
+
@code = args[:code] if args.key?(:code)
|
|
1313
|
+
@data = args[:data] if args.key?(:data)
|
|
1314
|
+
@message = args[:message] if args.key?(:message)
|
|
1315
|
+
end
|
|
1316
|
+
|
|
1317
|
+
#
|
|
1318
|
+
class Datum
|
|
1319
|
+
include Google::Apis::Core::Hashable
|
|
1320
|
+
|
|
1321
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
1322
|
+
# For example, for warnings where there are no results in a list request for a
|
|
1323
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
1324
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
1325
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
1326
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
1327
|
+
# for IP forwarding).
|
|
1328
|
+
# Corresponds to the JSON property `key`
|
|
1329
|
+
# @return [String]
|
|
1330
|
+
attr_accessor :key
|
|
1331
|
+
|
|
1332
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
1333
|
+
# Corresponds to the JSON property `value`
|
|
1334
|
+
# @return [String]
|
|
1335
|
+
attr_accessor :value
|
|
1336
|
+
|
|
1337
|
+
def initialize(**args)
|
|
1338
|
+
update!(**args)
|
|
1339
|
+
end
|
|
1340
|
+
|
|
1341
|
+
# Update properties of this object
|
|
1342
|
+
def update!(**args)
|
|
1343
|
+
@key = args[:key] if args.key?(:key)
|
|
1344
|
+
@value = args[:value] if args.key?(:value)
|
|
1345
|
+
end
|
|
1346
|
+
end
|
|
1347
|
+
end
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1350
|
+
# A response containing a partial list of operations and a page token used to
|
|
1351
|
+
# build the next request if the request has been truncated.
|
|
1352
|
+
class OperationsListResponse
|
|
1353
|
+
include Google::Apis::Core::Hashable
|
|
1354
|
+
|
|
1355
|
+
# [Output Only] A token used to continue a truncated list request.
|
|
1356
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1357
|
+
# @return [String]
|
|
1358
|
+
attr_accessor :next_page_token
|
|
1359
|
+
|
|
1360
|
+
# [Output Only] Operations contained in this list response.
|
|
1361
|
+
# Corresponds to the JSON property `operations`
|
|
1362
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Operation>]
|
|
1363
|
+
attr_accessor :operations
|
|
1364
|
+
|
|
1365
|
+
def initialize(**args)
|
|
1366
|
+
update!(**args)
|
|
1367
|
+
end
|
|
1368
|
+
|
|
1369
|
+
# Update properties of this object
|
|
1370
|
+
def update!(**args)
|
|
1371
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1372
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
1373
|
+
end
|
|
1374
|
+
end
|
|
1375
|
+
|
|
1376
|
+
# Options allows customized resource handling by Deployment Manager.
|
|
1377
|
+
class Options
|
|
1378
|
+
include Google::Apis::Core::Hashable
|
|
1379
|
+
|
|
1380
|
+
# The mappings that apply for requests.
|
|
1381
|
+
# Corresponds to the JSON property `inputMappings`
|
|
1382
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::InputMapping>]
|
|
1383
|
+
attr_accessor :input_mappings
|
|
1384
|
+
|
|
1385
|
+
# The json path to the field in the resource JSON body into which the resource
|
|
1386
|
+
# name should be mapped. Leaving this empty indicates that there should be no
|
|
1387
|
+
# mapping performed.
|
|
1388
|
+
# Corresponds to the JSON property `nameProperty`
|
|
1389
|
+
# @return [String]
|
|
1390
|
+
attr_accessor :name_property
|
|
1391
|
+
|
|
1392
|
+
# Options for how to validate and process properties on a resource.
|
|
1393
|
+
# Corresponds to the JSON property `validationOptions`
|
|
1394
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ValidationOptions]
|
|
1395
|
+
attr_accessor :validation_options
|
|
1396
|
+
|
|
1397
|
+
def initialize(**args)
|
|
1398
|
+
update!(**args)
|
|
1399
|
+
end
|
|
1400
|
+
|
|
1401
|
+
# Update properties of this object
|
|
1402
|
+
def update!(**args)
|
|
1403
|
+
@input_mappings = args[:input_mappings] if args.key?(:input_mappings)
|
|
1404
|
+
@name_property = args[:name_property] if args.key?(:name_property)
|
|
1405
|
+
@validation_options = args[:validation_options] if args.key?(:validation_options)
|
|
1406
|
+
end
|
|
1407
|
+
end
|
|
1408
|
+
|
|
1409
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
|
1410
|
+
# access control policies for Cloud Platform resources.
|
|
1411
|
+
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `
|
|
1412
|
+
# members` to a `role`, where the members can be user accounts, Google groups,
|
|
1413
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
|
1414
|
+
# defined by IAM.
|
|
1415
|
+
# **Example**
|
|
1416
|
+
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
|
1417
|
+
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
|
1418
|
+
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
|
|
1419
|
+
# sean@example.com"] ` ] `
|
|
1420
|
+
# For a description of IAM and its features, see the [IAM developer's guide](
|
|
1421
|
+
# https://cloud.google.com/iam).
|
|
1422
|
+
class Policy
|
|
1423
|
+
include Google::Apis::Core::Hashable
|
|
1424
|
+
|
|
1425
|
+
# Specifies cloud audit logging configuration for this policy.
|
|
1426
|
+
# Corresponds to the JSON property `auditConfigs`
|
|
1427
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::AuditConfig>]
|
|
1428
|
+
attr_accessor :audit_configs
|
|
1429
|
+
|
|
1430
|
+
# Associates a list of `members` to a `role`. `bindings` with no members will
|
|
1431
|
+
# result in an error.
|
|
1432
|
+
# Corresponds to the JSON property `bindings`
|
|
1433
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Binding>]
|
|
1434
|
+
attr_accessor :bindings
|
|
1435
|
+
|
|
1436
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
|
1437
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
1438
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
|
1439
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
|
1440
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
|
1441
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
|
1442
|
+
# applied to the same version of the policy.
|
|
1443
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
|
1444
|
+
# policy is overwritten blindly.
|
|
1445
|
+
# Corresponds to the JSON property `etag`
|
|
1446
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1447
|
+
# @return [String]
|
|
1448
|
+
attr_accessor :etag
|
|
1449
|
+
|
|
1450
|
+
#
|
|
1451
|
+
# Corresponds to the JSON property `iamOwned`
|
|
1452
|
+
# @return [Boolean]
|
|
1453
|
+
attr_accessor :iam_owned
|
|
1454
|
+
alias_method :iam_owned?, :iam_owned
|
|
1455
|
+
|
|
1456
|
+
# If more than one rule is specified, the rules are applied in the following
|
|
1457
|
+
# manner: - All matching LOG rules are always applied. - If any DENY/
|
|
1458
|
+
# DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
|
|
1459
|
+
# one or more matching rule requires logging. - Otherwise, if any ALLOW/
|
|
1460
|
+
# ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
|
|
1461
|
+
# one or more matching rule requires logging. - Otherwise, if no rule applies,
|
|
1462
|
+
# permission is denied.
|
|
1463
|
+
# Corresponds to the JSON property `rules`
|
|
1464
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Rule>]
|
|
1465
|
+
attr_accessor :rules
|
|
1466
|
+
|
|
1467
|
+
# Version of the `Policy`. The default version is 0.
|
|
1468
|
+
# Corresponds to the JSON property `version`
|
|
1469
|
+
# @return [Fixnum]
|
|
1470
|
+
attr_accessor :version
|
|
1471
|
+
|
|
1472
|
+
def initialize(**args)
|
|
1473
|
+
update!(**args)
|
|
1474
|
+
end
|
|
1475
|
+
|
|
1476
|
+
# Update properties of this object
|
|
1477
|
+
def update!(**args)
|
|
1478
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
|
1479
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
|
1480
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
1481
|
+
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
|
1482
|
+
@rules = args[:rules] if args.key?(:rules)
|
|
1483
|
+
@version = args[:version] if args.key?(:version)
|
|
1484
|
+
end
|
|
1485
|
+
end
|
|
1486
|
+
|
|
1487
|
+
#
|
|
1488
|
+
class Resource
|
|
1489
|
+
include Google::Apis::Core::Hashable
|
|
1490
|
+
|
|
1491
|
+
# The access controls set on the resource.
|
|
1492
|
+
# Corresponds to the JSON property `accessControl`
|
|
1493
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ResourceAccessControl]
|
|
1494
|
+
attr_accessor :access_control
|
|
1495
|
+
|
|
1496
|
+
# [Output Only] The evaluated properties of the resource with references
|
|
1497
|
+
# expanded. Returned as serialized YAML.
|
|
1498
|
+
# Corresponds to the JSON property `finalProperties`
|
|
1499
|
+
# @return [String]
|
|
1500
|
+
attr_accessor :final_properties
|
|
1501
|
+
|
|
1502
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
1503
|
+
# Corresponds to the JSON property `id`
|
|
1504
|
+
# @return [Fixnum]
|
|
1505
|
+
attr_accessor :id
|
|
1506
|
+
|
|
1507
|
+
# [Output Only] Timestamp when the resource was created or acquired, in RFC3339
|
|
1508
|
+
# text format .
|
|
1509
|
+
# Corresponds to the JSON property `insertTime`
|
|
1510
|
+
# @return [String]
|
|
1511
|
+
attr_accessor :insert_time
|
|
1512
|
+
|
|
1513
|
+
# [Output Only] URL of the manifest representing the current configuration of
|
|
1514
|
+
# this resource.
|
|
1515
|
+
# Corresponds to the JSON property `manifest`
|
|
1516
|
+
# @return [String]
|
|
1517
|
+
attr_accessor :manifest
|
|
1518
|
+
|
|
1519
|
+
# [Output Only] The name of the resource as it appears in the YAML config.
|
|
1520
|
+
# Corresponds to the JSON property `name`
|
|
1521
|
+
# @return [String]
|
|
1522
|
+
attr_accessor :name
|
|
1523
|
+
|
|
1524
|
+
# [Output Only] The current properties of the resource before any references
|
|
1525
|
+
# have been filled in. Returned as serialized YAML.
|
|
1526
|
+
# Corresponds to the JSON property `properties`
|
|
1527
|
+
# @return [String]
|
|
1528
|
+
attr_accessor :properties
|
|
1529
|
+
|
|
1530
|
+
# [Output Only] The type of the resource, for example compute.v1.instance, or
|
|
1531
|
+
# cloudfunctions.v1beta1.function.
|
|
1532
|
+
# Corresponds to the JSON property `type`
|
|
1533
|
+
# @return [String]
|
|
1534
|
+
attr_accessor :type
|
|
1535
|
+
|
|
1536
|
+
#
|
|
1537
|
+
# Corresponds to the JSON property `update`
|
|
1538
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ResourceUpdate]
|
|
1539
|
+
attr_accessor :update
|
|
1540
|
+
|
|
1541
|
+
# [Output Only] Timestamp when the resource was updated, in RFC3339 text format .
|
|
1542
|
+
# Corresponds to the JSON property `updateTime`
|
|
1543
|
+
# @return [String]
|
|
1544
|
+
attr_accessor :update_time
|
|
1545
|
+
|
|
1546
|
+
# [Output Only] The URL of the actual resource.
|
|
1547
|
+
# Corresponds to the JSON property `url`
|
|
1548
|
+
# @return [String]
|
|
1549
|
+
attr_accessor :url
|
|
1550
|
+
|
|
1551
|
+
# [Output Only] If warning messages are generated during processing of this
|
|
1552
|
+
# resource, this field will be populated.
|
|
1553
|
+
# Corresponds to the JSON property `warnings`
|
|
1554
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Resource::Warning>]
|
|
1555
|
+
attr_accessor :warnings
|
|
1556
|
+
|
|
1557
|
+
def initialize(**args)
|
|
1558
|
+
update!(**args)
|
|
1559
|
+
end
|
|
1560
|
+
|
|
1561
|
+
# Update properties of this object
|
|
1562
|
+
def update!(**args)
|
|
1563
|
+
@access_control = args[:access_control] if args.key?(:access_control)
|
|
1564
|
+
@final_properties = args[:final_properties] if args.key?(:final_properties)
|
|
1565
|
+
@id = args[:id] if args.key?(:id)
|
|
1566
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1567
|
+
@manifest = args[:manifest] if args.key?(:manifest)
|
|
1568
|
+
@name = args[:name] if args.key?(:name)
|
|
1569
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
1570
|
+
@type = args[:type] if args.key?(:type)
|
|
1571
|
+
@update = args[:update] if args.key?(:update)
|
|
1572
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1573
|
+
@url = args[:url] if args.key?(:url)
|
|
1574
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
1575
|
+
end
|
|
1576
|
+
|
|
1577
|
+
#
|
|
1578
|
+
class Warning
|
|
1579
|
+
include Google::Apis::Core::Hashable
|
|
1580
|
+
|
|
1581
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
1582
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
1583
|
+
# Corresponds to the JSON property `code`
|
|
1584
|
+
# @return [String]
|
|
1585
|
+
attr_accessor :code
|
|
1586
|
+
|
|
1587
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
1588
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
1589
|
+
# Corresponds to the JSON property `data`
|
|
1590
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Resource::Warning::Datum>]
|
|
1591
|
+
attr_accessor :data
|
|
1592
|
+
|
|
1593
|
+
# [Output Only] A human-readable description of the warning code.
|
|
1594
|
+
# Corresponds to the JSON property `message`
|
|
1595
|
+
# @return [String]
|
|
1596
|
+
attr_accessor :message
|
|
1597
|
+
|
|
1598
|
+
def initialize(**args)
|
|
1599
|
+
update!(**args)
|
|
1600
|
+
end
|
|
1601
|
+
|
|
1602
|
+
# Update properties of this object
|
|
1603
|
+
def update!(**args)
|
|
1604
|
+
@code = args[:code] if args.key?(:code)
|
|
1605
|
+
@data = args[:data] if args.key?(:data)
|
|
1606
|
+
@message = args[:message] if args.key?(:message)
|
|
1607
|
+
end
|
|
1608
|
+
|
|
1609
|
+
#
|
|
1610
|
+
class Datum
|
|
1611
|
+
include Google::Apis::Core::Hashable
|
|
1612
|
+
|
|
1613
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
1614
|
+
# For example, for warnings where there are no results in a list request for a
|
|
1615
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
1616
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
1617
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
1618
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
1619
|
+
# for IP forwarding).
|
|
1620
|
+
# Corresponds to the JSON property `key`
|
|
1621
|
+
# @return [String]
|
|
1622
|
+
attr_accessor :key
|
|
1623
|
+
|
|
1624
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
1625
|
+
# Corresponds to the JSON property `value`
|
|
1626
|
+
# @return [String]
|
|
1627
|
+
attr_accessor :value
|
|
1628
|
+
|
|
1629
|
+
def initialize(**args)
|
|
1630
|
+
update!(**args)
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1633
|
+
# Update properties of this object
|
|
1634
|
+
def update!(**args)
|
|
1635
|
+
@key = args[:key] if args.key?(:key)
|
|
1636
|
+
@value = args[:value] if args.key?(:value)
|
|
1637
|
+
end
|
|
1638
|
+
end
|
|
1639
|
+
end
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1642
|
+
# The access controls set on the resource.
|
|
1643
|
+
class ResourceAccessControl
|
|
1644
|
+
include Google::Apis::Core::Hashable
|
|
1645
|
+
|
|
1646
|
+
# The GCP IAM Policy to set on the resource.
|
|
1647
|
+
# Corresponds to the JSON property `gcpIamPolicy`
|
|
1648
|
+
# @return [String]
|
|
1649
|
+
attr_accessor :gcp_iam_policy
|
|
1650
|
+
|
|
1651
|
+
def initialize(**args)
|
|
1652
|
+
update!(**args)
|
|
1653
|
+
end
|
|
1654
|
+
|
|
1655
|
+
# Update properties of this object
|
|
1656
|
+
def update!(**args)
|
|
1657
|
+
@gcp_iam_policy = args[:gcp_iam_policy] if args.key?(:gcp_iam_policy)
|
|
1658
|
+
end
|
|
1659
|
+
end
|
|
1660
|
+
|
|
1661
|
+
#
|
|
1662
|
+
class ResourceUpdate
|
|
1663
|
+
include Google::Apis::Core::Hashable
|
|
1664
|
+
|
|
1665
|
+
# The access controls set on the resource.
|
|
1666
|
+
# Corresponds to the JSON property `accessControl`
|
|
1667
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ResourceAccessControl]
|
|
1668
|
+
attr_accessor :access_control
|
|
1669
|
+
|
|
1670
|
+
# [Output Only] If errors are generated during update of the resource, this
|
|
1671
|
+
# field will be populated.
|
|
1672
|
+
# Corresponds to the JSON property `error`
|
|
1673
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Error]
|
|
1674
|
+
attr_accessor :error
|
|
1675
|
+
|
|
1676
|
+
# [Output Only] The expanded properties of the resource with reference values
|
|
1677
|
+
# expanded. Returned as serialized YAML.
|
|
1678
|
+
# Corresponds to the JSON property `finalProperties`
|
|
1679
|
+
# @return [String]
|
|
1680
|
+
attr_accessor :final_properties
|
|
1681
|
+
|
|
1682
|
+
# [Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
|
|
1683
|
+
# Corresponds to the JSON property `intent`
|
|
1684
|
+
# @return [String]
|
|
1685
|
+
attr_accessor :intent
|
|
1686
|
+
|
|
1687
|
+
# [Output Only] URL of the manifest representing the update configuration of
|
|
1688
|
+
# this resource.
|
|
1689
|
+
# Corresponds to the JSON property `manifest`
|
|
1690
|
+
# @return [String]
|
|
1691
|
+
attr_accessor :manifest
|
|
1692
|
+
|
|
1693
|
+
# [Output Only] The set of updated properties for this resource, before
|
|
1694
|
+
# references are expanded. Returned as serialized YAML.
|
|
1695
|
+
# Corresponds to the JSON property `properties`
|
|
1696
|
+
# @return [String]
|
|
1697
|
+
attr_accessor :properties
|
|
1698
|
+
|
|
1699
|
+
# [Output Only] The state of the resource.
|
|
1700
|
+
# Corresponds to the JSON property `state`
|
|
1701
|
+
# @return [String]
|
|
1702
|
+
attr_accessor :state
|
|
1703
|
+
|
|
1704
|
+
# [Output Only] If warning messages are generated during processing of this
|
|
1705
|
+
# resource, this field will be populated.
|
|
1706
|
+
# Corresponds to the JSON property `warnings`
|
|
1707
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Warning>]
|
|
1708
|
+
attr_accessor :warnings
|
|
1709
|
+
|
|
1710
|
+
def initialize(**args)
|
|
1711
|
+
update!(**args)
|
|
1712
|
+
end
|
|
1713
|
+
|
|
1714
|
+
# Update properties of this object
|
|
1715
|
+
def update!(**args)
|
|
1716
|
+
@access_control = args[:access_control] if args.key?(:access_control)
|
|
1717
|
+
@error = args[:error] if args.key?(:error)
|
|
1718
|
+
@final_properties = args[:final_properties] if args.key?(:final_properties)
|
|
1719
|
+
@intent = args[:intent] if args.key?(:intent)
|
|
1720
|
+
@manifest = args[:manifest] if args.key?(:manifest)
|
|
1721
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
1722
|
+
@state = args[:state] if args.key?(:state)
|
|
1723
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
1724
|
+
end
|
|
1725
|
+
|
|
1726
|
+
# [Output Only] If errors are generated during update of the resource, this
|
|
1727
|
+
# field will be populated.
|
|
1728
|
+
class Error
|
|
1729
|
+
include Google::Apis::Core::Hashable
|
|
1730
|
+
|
|
1731
|
+
# [Output Only] The array of errors encountered while processing this operation.
|
|
1732
|
+
# Corresponds to the JSON property `errors`
|
|
1733
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Error::Error>]
|
|
1734
|
+
attr_accessor :errors
|
|
1735
|
+
|
|
1736
|
+
def initialize(**args)
|
|
1737
|
+
update!(**args)
|
|
1738
|
+
end
|
|
1739
|
+
|
|
1740
|
+
# Update properties of this object
|
|
1741
|
+
def update!(**args)
|
|
1742
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
1743
|
+
end
|
|
1744
|
+
|
|
1745
|
+
#
|
|
1746
|
+
class Error
|
|
1747
|
+
include Google::Apis::Core::Hashable
|
|
1748
|
+
|
|
1749
|
+
# [Output Only] The error type identifier for this error.
|
|
1750
|
+
# Corresponds to the JSON property `code`
|
|
1751
|
+
# @return [String]
|
|
1752
|
+
attr_accessor :code
|
|
1753
|
+
|
|
1754
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
|
1755
|
+
# property is optional.
|
|
1756
|
+
# Corresponds to the JSON property `location`
|
|
1757
|
+
# @return [String]
|
|
1758
|
+
attr_accessor :location
|
|
1759
|
+
|
|
1760
|
+
# [Output Only] An optional, human-readable error message.
|
|
1761
|
+
# Corresponds to the JSON property `message`
|
|
1762
|
+
# @return [String]
|
|
1763
|
+
attr_accessor :message
|
|
1764
|
+
|
|
1765
|
+
def initialize(**args)
|
|
1766
|
+
update!(**args)
|
|
1767
|
+
end
|
|
1768
|
+
|
|
1769
|
+
# Update properties of this object
|
|
1770
|
+
def update!(**args)
|
|
1771
|
+
@code = args[:code] if args.key?(:code)
|
|
1772
|
+
@location = args[:location] if args.key?(:location)
|
|
1773
|
+
@message = args[:message] if args.key?(:message)
|
|
1774
|
+
end
|
|
1775
|
+
end
|
|
1776
|
+
end
|
|
1777
|
+
|
|
1778
|
+
#
|
|
1779
|
+
class Warning
|
|
1780
|
+
include Google::Apis::Core::Hashable
|
|
1781
|
+
|
|
1782
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
1783
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
1784
|
+
# Corresponds to the JSON property `code`
|
|
1785
|
+
# @return [String]
|
|
1786
|
+
attr_accessor :code
|
|
1787
|
+
|
|
1788
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
|
1789
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
1790
|
+
# Corresponds to the JSON property `data`
|
|
1791
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Warning::Datum>]
|
|
1792
|
+
attr_accessor :data
|
|
1793
|
+
|
|
1794
|
+
# [Output Only] A human-readable description of the warning code.
|
|
1795
|
+
# Corresponds to the JSON property `message`
|
|
1796
|
+
# @return [String]
|
|
1797
|
+
attr_accessor :message
|
|
1798
|
+
|
|
1799
|
+
def initialize(**args)
|
|
1800
|
+
update!(**args)
|
|
1801
|
+
end
|
|
1802
|
+
|
|
1803
|
+
# Update properties of this object
|
|
1804
|
+
def update!(**args)
|
|
1805
|
+
@code = args[:code] if args.key?(:code)
|
|
1806
|
+
@data = args[:data] if args.key?(:data)
|
|
1807
|
+
@message = args[:message] if args.key?(:message)
|
|
1808
|
+
end
|
|
1809
|
+
|
|
1810
|
+
#
|
|
1811
|
+
class Datum
|
|
1812
|
+
include Google::Apis::Core::Hashable
|
|
1813
|
+
|
|
1814
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
1815
|
+
# For example, for warnings where there are no results in a list request for a
|
|
1816
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
1817
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
1818
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
1819
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
1820
|
+
# for IP forwarding).
|
|
1821
|
+
# Corresponds to the JSON property `key`
|
|
1822
|
+
# @return [String]
|
|
1823
|
+
attr_accessor :key
|
|
1824
|
+
|
|
1825
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
1826
|
+
# Corresponds to the JSON property `value`
|
|
1827
|
+
# @return [String]
|
|
1828
|
+
attr_accessor :value
|
|
1829
|
+
|
|
1830
|
+
def initialize(**args)
|
|
1831
|
+
update!(**args)
|
|
1832
|
+
end
|
|
1833
|
+
|
|
1834
|
+
# Update properties of this object
|
|
1835
|
+
def update!(**args)
|
|
1836
|
+
@key = args[:key] if args.key?(:key)
|
|
1837
|
+
@value = args[:value] if args.key?(:value)
|
|
1838
|
+
end
|
|
1839
|
+
end
|
|
1840
|
+
end
|
|
1841
|
+
end
|
|
1842
|
+
|
|
1843
|
+
# A response containing a partial list of resources and a page token used to
|
|
1844
|
+
# build the next request if the request has been truncated.
|
|
1845
|
+
class ResourcesListResponse
|
|
1846
|
+
include Google::Apis::Core::Hashable
|
|
1847
|
+
|
|
1848
|
+
# A token used to continue a truncated list request.
|
|
1849
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1850
|
+
# @return [String]
|
|
1851
|
+
attr_accessor :next_page_token
|
|
1852
|
+
|
|
1853
|
+
# Resources contained in this list response.
|
|
1854
|
+
# Corresponds to the JSON property `resources`
|
|
1855
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Resource>]
|
|
1856
|
+
attr_accessor :resources
|
|
1857
|
+
|
|
1858
|
+
def initialize(**args)
|
|
1859
|
+
update!(**args)
|
|
1860
|
+
end
|
|
1861
|
+
|
|
1862
|
+
# Update properties of this object
|
|
1863
|
+
def update!(**args)
|
|
1864
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1865
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
1866
|
+
end
|
|
1867
|
+
end
|
|
1868
|
+
|
|
1869
|
+
# A rule to be applied in a Policy.
|
|
1870
|
+
class Rule
|
|
1871
|
+
include Google::Apis::Core::Hashable
|
|
1872
|
+
|
|
1873
|
+
# Required
|
|
1874
|
+
# Corresponds to the JSON property `action`
|
|
1875
|
+
# @return [String]
|
|
1876
|
+
attr_accessor :action
|
|
1877
|
+
|
|
1878
|
+
# Additional restrictions that must be met
|
|
1879
|
+
# Corresponds to the JSON property `conditions`
|
|
1880
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Condition>]
|
|
1881
|
+
attr_accessor :conditions
|
|
1882
|
+
|
|
1883
|
+
# Human-readable description of the rule.
|
|
1884
|
+
# Corresponds to the JSON property `description`
|
|
1885
|
+
# @return [String]
|
|
1886
|
+
attr_accessor :description
|
|
1887
|
+
|
|
1888
|
+
# If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/
|
|
1889
|
+
# AUTHORITY_SELECTOR is in at least one of these entries.
|
|
1890
|
+
# Corresponds to the JSON property `ins`
|
|
1891
|
+
# @return [Array<String>]
|
|
1892
|
+
attr_accessor :ins
|
|
1893
|
+
|
|
1894
|
+
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
|
1895
|
+
# that match the LOG action.
|
|
1896
|
+
# Corresponds to the JSON property `logConfigs`
|
|
1897
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::LogConfig>]
|
|
1898
|
+
attr_accessor :log_configs
|
|
1899
|
+
|
|
1900
|
+
# If one or more 'not_in' clauses are specified, the rule matches if the
|
|
1901
|
+
# PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
|
1902
|
+
# Corresponds to the JSON property `notIns`
|
|
1903
|
+
# @return [Array<String>]
|
|
1904
|
+
attr_accessor :not_ins
|
|
1905
|
+
|
|
1906
|
+
# A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
|
|
1907
|
+
# of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
|
|
1908
|
+
# *') matches all verbs.
|
|
1909
|
+
# Corresponds to the JSON property `permissions`
|
|
1910
|
+
# @return [Array<String>]
|
|
1911
|
+
attr_accessor :permissions
|
|
1912
|
+
|
|
1913
|
+
def initialize(**args)
|
|
1914
|
+
update!(**args)
|
|
1915
|
+
end
|
|
1916
|
+
|
|
1917
|
+
# Update properties of this object
|
|
1918
|
+
def update!(**args)
|
|
1919
|
+
@action = args[:action] if args.key?(:action)
|
|
1920
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
|
1921
|
+
@description = args[:description] if args.key?(:description)
|
|
1922
|
+
@ins = args[:ins] if args.key?(:ins)
|
|
1923
|
+
@log_configs = args[:log_configs] if args.key?(:log_configs)
|
|
1924
|
+
@not_ins = args[:not_ins] if args.key?(:not_ins)
|
|
1925
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
|
1926
|
+
end
|
|
1927
|
+
end
|
|
1928
|
+
|
|
1929
|
+
#
|
|
1930
|
+
class TargetConfiguration
|
|
1931
|
+
include Google::Apis::Core::Hashable
|
|
1932
|
+
|
|
1933
|
+
#
|
|
1934
|
+
# Corresponds to the JSON property `config`
|
|
1935
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ConfigFile]
|
|
1936
|
+
attr_accessor :config
|
|
1937
|
+
|
|
1938
|
+
# Specifies any files to import for this configuration. This can be used to
|
|
1939
|
+
# import templates or other files. For example, you might import a text file in
|
|
1940
|
+
# order to use the file in a template.
|
|
1941
|
+
# Corresponds to the JSON property `imports`
|
|
1942
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::ImportFile>]
|
|
1943
|
+
attr_accessor :imports
|
|
1944
|
+
|
|
1945
|
+
def initialize(**args)
|
|
1946
|
+
update!(**args)
|
|
1947
|
+
end
|
|
1948
|
+
|
|
1949
|
+
# Update properties of this object
|
|
1950
|
+
def update!(**args)
|
|
1951
|
+
@config = args[:config] if args.key?(:config)
|
|
1952
|
+
@imports = args[:imports] if args.key?(:imports)
|
|
1953
|
+
end
|
|
1954
|
+
end
|
|
1955
|
+
|
|
1956
|
+
# Files that make up the template contents of a template type.
|
|
1957
|
+
class TemplateContents
|
|
1958
|
+
include Google::Apis::Core::Hashable
|
|
1959
|
+
|
|
1960
|
+
# Import files referenced by the main template.
|
|
1961
|
+
# Corresponds to the JSON property `imports`
|
|
1962
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::ImportFile>]
|
|
1963
|
+
attr_accessor :imports
|
|
1964
|
+
|
|
1965
|
+
# Which interpreter (python or jinja) should be used during expansion.
|
|
1966
|
+
# Corresponds to the JSON property `interpreter`
|
|
1967
|
+
# @return [String]
|
|
1968
|
+
attr_accessor :interpreter
|
|
1969
|
+
|
|
1970
|
+
# The contents of the template schema.
|
|
1971
|
+
# Corresponds to the JSON property `schema`
|
|
1972
|
+
# @return [String]
|
|
1973
|
+
attr_accessor :schema
|
|
1974
|
+
|
|
1975
|
+
# The contents of the main template file.
|
|
1976
|
+
# Corresponds to the JSON property `template`
|
|
1977
|
+
# @return [String]
|
|
1978
|
+
attr_accessor :template
|
|
1979
|
+
|
|
1980
|
+
def initialize(**args)
|
|
1981
|
+
update!(**args)
|
|
1982
|
+
end
|
|
1983
|
+
|
|
1984
|
+
# Update properties of this object
|
|
1985
|
+
def update!(**args)
|
|
1986
|
+
@imports = args[:imports] if args.key?(:imports)
|
|
1987
|
+
@interpreter = args[:interpreter] if args.key?(:interpreter)
|
|
1988
|
+
@schema = args[:schema] if args.key?(:schema)
|
|
1989
|
+
@template = args[:template] if args.key?(:template)
|
|
1990
|
+
end
|
|
1991
|
+
end
|
|
1992
|
+
|
|
1993
|
+
#
|
|
1994
|
+
class TestPermissionsRequest
|
|
1995
|
+
include Google::Apis::Core::Hashable
|
|
1996
|
+
|
|
1997
|
+
# The set of permissions to check for the 'resource'. Permissions with wildcards
|
|
1998
|
+
# (such as '*' or 'storage.*') are not allowed.
|
|
1999
|
+
# Corresponds to the JSON property `permissions`
|
|
2000
|
+
# @return [Array<String>]
|
|
2001
|
+
attr_accessor :permissions
|
|
2002
|
+
|
|
2003
|
+
def initialize(**args)
|
|
2004
|
+
update!(**args)
|
|
2005
|
+
end
|
|
2006
|
+
|
|
2007
|
+
# Update properties of this object
|
|
2008
|
+
def update!(**args)
|
|
2009
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
|
2010
|
+
end
|
|
2011
|
+
end
|
|
2012
|
+
|
|
2013
|
+
#
|
|
2014
|
+
class TestPermissionsResponse
|
|
2015
|
+
include Google::Apis::Core::Hashable
|
|
2016
|
+
|
|
2017
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
2018
|
+
# Corresponds to the JSON property `permissions`
|
|
2019
|
+
# @return [Array<String>]
|
|
2020
|
+
attr_accessor :permissions
|
|
2021
|
+
|
|
2022
|
+
def initialize(**args)
|
|
2023
|
+
update!(**args)
|
|
2024
|
+
end
|
|
2025
|
+
|
|
2026
|
+
# Update properties of this object
|
|
2027
|
+
def update!(**args)
|
|
2028
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
|
2029
|
+
end
|
|
2030
|
+
end
|
|
2031
|
+
|
|
2032
|
+
# A resource type supported by Deployment Manager.
|
|
2033
|
+
class Type
|
|
2034
|
+
include Google::Apis::Core::Hashable
|
|
2035
|
+
|
|
2036
|
+
# BaseType that describes a service-backed Type.
|
|
2037
|
+
# Corresponds to the JSON property `configurableService`
|
|
2038
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ConfigurableService]
|
|
2039
|
+
attr_accessor :configurable_service
|
|
2040
|
+
|
|
2041
|
+
# An optional textual description of the resource; provided by the client when
|
|
2042
|
+
# the resource is created.
|
|
2043
|
+
# Corresponds to the JSON property `description`
|
|
2044
|
+
# @return [String]
|
|
2045
|
+
attr_accessor :description
|
|
2046
|
+
|
|
2047
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
2048
|
+
# Corresponds to the JSON property `id`
|
|
2049
|
+
# @return [Fixnum]
|
|
2050
|
+
attr_accessor :id
|
|
2051
|
+
|
|
2052
|
+
# [Output Only] Timestamp when the type was created, in RFC3339 text format.
|
|
2053
|
+
# Corresponds to the JSON property `insertTime`
|
|
2054
|
+
# @return [String]
|
|
2055
|
+
attr_accessor :insert_time
|
|
2056
|
+
|
|
2057
|
+
# Map of labels; provided by the client when the resource is created or updated.
|
|
2058
|
+
# Specifically: Label keys must be between 1 and 63 characters long and must
|
|
2059
|
+
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
|
2060
|
+
# values must be between 0 and 63 characters long and must conform to the
|
|
2061
|
+
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
|
2062
|
+
# Corresponds to the JSON property `labels`
|
|
2063
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeLabelEntry>]
|
|
2064
|
+
attr_accessor :labels
|
|
2065
|
+
|
|
2066
|
+
# Name of the type.
|
|
2067
|
+
# Corresponds to the JSON property `name`
|
|
2068
|
+
# @return [String]
|
|
2069
|
+
attr_accessor :name
|
|
2070
|
+
|
|
2071
|
+
# An Operation resource, used to manage asynchronous API requests.
|
|
2072
|
+
# Corresponds to the JSON property `operation`
|
|
2073
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
|
2074
|
+
attr_accessor :operation
|
|
2075
|
+
|
|
2076
|
+
# [Output Only] Self link for the type.
|
|
2077
|
+
# Corresponds to the JSON property `selfLink`
|
|
2078
|
+
# @return [String]
|
|
2079
|
+
attr_accessor :self_link
|
|
2080
|
+
|
|
2081
|
+
def initialize(**args)
|
|
2082
|
+
update!(**args)
|
|
2083
|
+
end
|
|
2084
|
+
|
|
2085
|
+
# Update properties of this object
|
|
2086
|
+
def update!(**args)
|
|
2087
|
+
@configurable_service = args[:configurable_service] if args.key?(:configurable_service)
|
|
2088
|
+
@description = args[:description] if args.key?(:description)
|
|
2089
|
+
@id = args[:id] if args.key?(:id)
|
|
2090
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
2091
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2092
|
+
@name = args[:name] if args.key?(:name)
|
|
2093
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
2094
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
2095
|
+
end
|
|
2096
|
+
end
|
|
2097
|
+
|
|
2098
|
+
# Contains detailed information about a composite type, base type, or base type
|
|
2099
|
+
# with specific collection.
|
|
2100
|
+
class TypeInfo
|
|
2101
|
+
include Google::Apis::Core::Hashable
|
|
2102
|
+
|
|
2103
|
+
# The description of the type.
|
|
2104
|
+
# Corresponds to the JSON property `description`
|
|
2105
|
+
# @return [String]
|
|
2106
|
+
attr_accessor :description
|
|
2107
|
+
|
|
2108
|
+
# For swagger 2.0 externalDocs field will be used. For swagger 1.2 this field
|
|
2109
|
+
# will be empty.
|
|
2110
|
+
# Corresponds to the JSON property `documentationLink`
|
|
2111
|
+
# @return [String]
|
|
2112
|
+
attr_accessor :documentation_link
|
|
2113
|
+
|
|
2114
|
+
# [Output Only] Type of the output. Always deploymentManager#TypeInfo for
|
|
2115
|
+
# TypeInfo.
|
|
2116
|
+
# Corresponds to the JSON property `kind`
|
|
2117
|
+
# @return [String]
|
|
2118
|
+
attr_accessor :kind
|
|
2119
|
+
|
|
2120
|
+
# The base type or composite type name.
|
|
2121
|
+
# Corresponds to the JSON property `name`
|
|
2122
|
+
# @return [String]
|
|
2123
|
+
attr_accessor :name
|
|
2124
|
+
|
|
2125
|
+
#
|
|
2126
|
+
# Corresponds to the JSON property `schema`
|
|
2127
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::TypeInfoSchemaInfo]
|
|
2128
|
+
attr_accessor :schema
|
|
2129
|
+
|
|
2130
|
+
# [Output Only] Server-defined URL for the resource.
|
|
2131
|
+
# Corresponds to the JSON property `selfLink`
|
|
2132
|
+
# @return [String]
|
|
2133
|
+
attr_accessor :self_link
|
|
2134
|
+
|
|
2135
|
+
# The title on the API descriptor URL provided.
|
|
2136
|
+
# Corresponds to the JSON property `title`
|
|
2137
|
+
# @return [String]
|
|
2138
|
+
attr_accessor :title
|
|
2139
|
+
|
|
2140
|
+
def initialize(**args)
|
|
2141
|
+
update!(**args)
|
|
2142
|
+
end
|
|
2143
|
+
|
|
2144
|
+
# Update properties of this object
|
|
2145
|
+
def update!(**args)
|
|
2146
|
+
@description = args[:description] if args.key?(:description)
|
|
2147
|
+
@documentation_link = args[:documentation_link] if args.key?(:documentation_link)
|
|
2148
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
2149
|
+
@name = args[:name] if args.key?(:name)
|
|
2150
|
+
@schema = args[:schema] if args.key?(:schema)
|
|
2151
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
2152
|
+
@title = args[:title] if args.key?(:title)
|
|
2153
|
+
end
|
|
2154
|
+
end
|
|
2155
|
+
|
|
2156
|
+
#
|
|
2157
|
+
class TypeInfoSchemaInfo
|
|
2158
|
+
include Google::Apis::Core::Hashable
|
|
2159
|
+
|
|
2160
|
+
# The properties that this composite type or base type collection accept as
|
|
2161
|
+
# input, represented as a json blob, format is: JSON Schema Draft V4
|
|
2162
|
+
# Corresponds to the JSON property `input`
|
|
2163
|
+
# @return [String]
|
|
2164
|
+
attr_accessor :input
|
|
2165
|
+
|
|
2166
|
+
# The properties that this composite type or base type collection exposes as
|
|
2167
|
+
# output, these properties can be used for references, represented as json blob,
|
|
2168
|
+
# format is: JSON Schema Draft V4
|
|
2169
|
+
# Corresponds to the JSON property `output`
|
|
2170
|
+
# @return [String]
|
|
2171
|
+
attr_accessor :output
|
|
2172
|
+
|
|
2173
|
+
def initialize(**args)
|
|
2174
|
+
update!(**args)
|
|
2175
|
+
end
|
|
2176
|
+
|
|
2177
|
+
# Update properties of this object
|
|
2178
|
+
def update!(**args)
|
|
2179
|
+
@input = args[:input] if args.key?(:input)
|
|
2180
|
+
@output = args[:output] if args.key?(:output)
|
|
2181
|
+
end
|
|
2182
|
+
end
|
|
2183
|
+
|
|
2184
|
+
#
|
|
2185
|
+
class TypeLabelEntry
|
|
2186
|
+
include Google::Apis::Core::Hashable
|
|
2187
|
+
|
|
2188
|
+
#
|
|
2189
|
+
# Corresponds to the JSON property `key`
|
|
2190
|
+
# @return [String]
|
|
2191
|
+
attr_accessor :key
|
|
2192
|
+
|
|
2193
|
+
#
|
|
2194
|
+
# Corresponds to the JSON property `value`
|
|
2195
|
+
# @return [String]
|
|
2196
|
+
attr_accessor :value
|
|
2197
|
+
|
|
2198
|
+
def initialize(**args)
|
|
2199
|
+
update!(**args)
|
|
2200
|
+
end
|
|
2201
|
+
|
|
2202
|
+
# Update properties of this object
|
|
2203
|
+
def update!(**args)
|
|
2204
|
+
@key = args[:key] if args.key?(:key)
|
|
2205
|
+
@value = args[:value] if args.key?(:value)
|
|
2206
|
+
end
|
|
2207
|
+
end
|
|
2208
|
+
|
|
2209
|
+
# A type provider that describes a service-backed Type.
|
|
2210
|
+
class TypeProvider
|
|
2211
|
+
include Google::Apis::Core::Hashable
|
|
2212
|
+
|
|
2213
|
+
# Allows resource handling overrides for specific collections
|
|
2214
|
+
# Corresponds to the JSON property `collectionOverrides`
|
|
2215
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>]
|
|
2216
|
+
attr_accessor :collection_overrides
|
|
2217
|
+
|
|
2218
|
+
# Credential used by ConfigurableResourceTypes.
|
|
2219
|
+
# Corresponds to the JSON property `credential`
|
|
2220
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Credential]
|
|
2221
|
+
attr_accessor :credential
|
|
2222
|
+
|
|
2223
|
+
# An optional textual description of the resource; provided by the client when
|
|
2224
|
+
# the resource is created.
|
|
2225
|
+
# Corresponds to the JSON property `description`
|
|
2226
|
+
# @return [String]
|
|
2227
|
+
attr_accessor :description
|
|
2228
|
+
|
|
2229
|
+
# Descriptor Url for the this type provider.
|
|
2230
|
+
# Corresponds to the JSON property `descriptorUrl`
|
|
2231
|
+
# @return [String]
|
|
2232
|
+
attr_accessor :descriptor_url
|
|
2233
|
+
|
|
2234
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
2235
|
+
# Corresponds to the JSON property `id`
|
|
2236
|
+
# @return [Fixnum]
|
|
2237
|
+
attr_accessor :id
|
|
2238
|
+
|
|
2239
|
+
# [Output Only] Timestamp when the type provider was created, in RFC3339 text
|
|
2240
|
+
# format.
|
|
2241
|
+
# Corresponds to the JSON property `insertTime`
|
|
2242
|
+
# @return [String]
|
|
2243
|
+
attr_accessor :insert_time
|
|
2244
|
+
|
|
2245
|
+
# Map of labels; provided by the client when the resource is created or updated.
|
|
2246
|
+
# Specifically: Label keys must be between 1 and 63 characters long and must
|
|
2247
|
+
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
|
2248
|
+
# values must be between 0 and 63 characters long and must conform to the
|
|
2249
|
+
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
|
2250
|
+
# Corresponds to the JSON property `labels`
|
|
2251
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeProviderLabelEntry>]
|
|
2252
|
+
attr_accessor :labels
|
|
2253
|
+
|
|
2254
|
+
# Name of the type provider.
|
|
2255
|
+
# Corresponds to the JSON property `name`
|
|
2256
|
+
# @return [String]
|
|
2257
|
+
attr_accessor :name
|
|
2258
|
+
|
|
2259
|
+
# An Operation resource, used to manage asynchronous API requests.
|
|
2260
|
+
# Corresponds to the JSON property `operation`
|
|
2261
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
|
2262
|
+
attr_accessor :operation
|
|
2263
|
+
|
|
2264
|
+
# Options allows customized resource handling by Deployment Manager.
|
|
2265
|
+
# Corresponds to the JSON property `options`
|
|
2266
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Options]
|
|
2267
|
+
attr_accessor :options
|
|
2268
|
+
|
|
2269
|
+
# [Output Only] Self link for the type provider.
|
|
2270
|
+
# Corresponds to the JSON property `selfLink`
|
|
2271
|
+
# @return [String]
|
|
2272
|
+
attr_accessor :self_link
|
|
2273
|
+
|
|
2274
|
+
def initialize(**args)
|
|
2275
|
+
update!(**args)
|
|
2276
|
+
end
|
|
2277
|
+
|
|
2278
|
+
# Update properties of this object
|
|
2279
|
+
def update!(**args)
|
|
2280
|
+
@collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
|
|
2281
|
+
@credential = args[:credential] if args.key?(:credential)
|
|
2282
|
+
@description = args[:description] if args.key?(:description)
|
|
2283
|
+
@descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
|
|
2284
|
+
@id = args[:id] if args.key?(:id)
|
|
2285
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
2286
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
2287
|
+
@name = args[:name] if args.key?(:name)
|
|
2288
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
2289
|
+
@options = args[:options] if args.key?(:options)
|
|
2290
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
2291
|
+
end
|
|
2292
|
+
end
|
|
2293
|
+
|
|
2294
|
+
#
|
|
2295
|
+
class TypeProviderLabelEntry
|
|
2296
|
+
include Google::Apis::Core::Hashable
|
|
2297
|
+
|
|
2298
|
+
#
|
|
2299
|
+
# Corresponds to the JSON property `key`
|
|
2300
|
+
# @return [String]
|
|
2301
|
+
attr_accessor :key
|
|
2302
|
+
|
|
2303
|
+
#
|
|
2304
|
+
# Corresponds to the JSON property `value`
|
|
2305
|
+
# @return [String]
|
|
2306
|
+
attr_accessor :value
|
|
2307
|
+
|
|
2308
|
+
def initialize(**args)
|
|
2309
|
+
update!(**args)
|
|
2310
|
+
end
|
|
2311
|
+
|
|
2312
|
+
# Update properties of this object
|
|
2313
|
+
def update!(**args)
|
|
2314
|
+
@key = args[:key] if args.key?(:key)
|
|
2315
|
+
@value = args[:value] if args.key?(:value)
|
|
2316
|
+
end
|
|
2317
|
+
end
|
|
2318
|
+
|
|
2319
|
+
# A response that returns all Type Providers supported by Deployment Manager
|
|
2320
|
+
class TypeProvidersListResponse
|
|
2321
|
+
include Google::Apis::Core::Hashable
|
|
2322
|
+
|
|
2323
|
+
# A token used to continue a truncated list request.
|
|
2324
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2325
|
+
# @return [String]
|
|
2326
|
+
attr_accessor :next_page_token
|
|
2327
|
+
|
|
2328
|
+
# [Output Only] A list of resource type providers supported by Deployment
|
|
2329
|
+
# Manager.
|
|
2330
|
+
# Corresponds to the JSON property `typeProviders`
|
|
2331
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeProvider>]
|
|
2332
|
+
attr_accessor :type_providers
|
|
2333
|
+
|
|
2334
|
+
def initialize(**args)
|
|
2335
|
+
update!(**args)
|
|
2336
|
+
end
|
|
2337
|
+
|
|
2338
|
+
# Update properties of this object
|
|
2339
|
+
def update!(**args)
|
|
2340
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2341
|
+
@type_providers = args[:type_providers] if args.key?(:type_providers)
|
|
2342
|
+
end
|
|
2343
|
+
end
|
|
2344
|
+
|
|
2345
|
+
#
|
|
2346
|
+
class TypeProvidersListTypesResponse
|
|
2347
|
+
include Google::Apis::Core::Hashable
|
|
2348
|
+
|
|
2349
|
+
# A token used to continue a truncated list request.
|
|
2350
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2351
|
+
# @return [String]
|
|
2352
|
+
attr_accessor :next_page_token
|
|
2353
|
+
|
|
2354
|
+
# [Output Only] A list of resource type info.
|
|
2355
|
+
# Corresponds to the JSON property `types`
|
|
2356
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeInfo>]
|
|
2357
|
+
attr_accessor :types
|
|
2358
|
+
|
|
2359
|
+
def initialize(**args)
|
|
2360
|
+
update!(**args)
|
|
2361
|
+
end
|
|
2362
|
+
|
|
2363
|
+
# Update properties of this object
|
|
2364
|
+
def update!(**args)
|
|
2365
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2366
|
+
@types = args[:types] if args.key?(:types)
|
|
2367
|
+
end
|
|
2368
|
+
end
|
|
2369
|
+
|
|
2370
|
+
# A response that returns all Types supported by Deployment Manager
|
|
2371
|
+
class TypesListResponse
|
|
2372
|
+
include Google::Apis::Core::Hashable
|
|
2373
|
+
|
|
2374
|
+
# A token used to continue a truncated list request.
|
|
2375
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2376
|
+
# @return [String]
|
|
2377
|
+
attr_accessor :next_page_token
|
|
2378
|
+
|
|
2379
|
+
# [Output Only] A list of resource types supported by Deployment Manager.
|
|
2380
|
+
# Corresponds to the JSON property `types`
|
|
2381
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Type>]
|
|
2382
|
+
attr_accessor :types
|
|
2383
|
+
|
|
2384
|
+
def initialize(**args)
|
|
2385
|
+
update!(**args)
|
|
2386
|
+
end
|
|
2387
|
+
|
|
2388
|
+
# Update properties of this object
|
|
2389
|
+
def update!(**args)
|
|
2390
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2391
|
+
@types = args[:types] if args.key?(:types)
|
|
2392
|
+
end
|
|
2393
|
+
end
|
|
2394
|
+
|
|
2395
|
+
# Options for how to validate and process properties on a resource.
|
|
2396
|
+
class ValidationOptions
|
|
2397
|
+
include Google::Apis::Core::Hashable
|
|
2398
|
+
|
|
2399
|
+
# Customize how deployment manager will validate the resource against schema
|
|
2400
|
+
# errors.
|
|
2401
|
+
# Corresponds to the JSON property `schemaValidation`
|
|
2402
|
+
# @return [String]
|
|
2403
|
+
attr_accessor :schema_validation
|
|
2404
|
+
|
|
2405
|
+
# Specify what to do with extra properties when executing a request.
|
|
2406
|
+
# Corresponds to the JSON property `undeclaredProperties`
|
|
2407
|
+
# @return [String]
|
|
2408
|
+
attr_accessor :undeclared_properties
|
|
2409
|
+
|
|
2410
|
+
def initialize(**args)
|
|
2411
|
+
update!(**args)
|
|
2412
|
+
end
|
|
2413
|
+
|
|
2414
|
+
# Update properties of this object
|
|
2415
|
+
def update!(**args)
|
|
2416
|
+
@schema_validation = args[:schema_validation] if args.key?(:schema_validation)
|
|
2417
|
+
@undeclared_properties = args[:undeclared_properties] if args.key?(:undeclared_properties)
|
|
2418
|
+
end
|
|
2419
|
+
end
|
|
2420
|
+
end
|
|
2421
|
+
end
|
|
2422
|
+
end
|