google-api-client 0.47.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +57 -0
- data/CHANGELOG.md +466 -0
- data/README.md +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +323 -183
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +11 -10
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +33 -24
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +243 -63
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +43 -34
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +5 -8
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +433 -84
- data/generated/google/apis/apigee_v1/representations.rb +150 -0
- data/generated/google/apis/apigee_v1/service.rb +926 -110
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -9
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +947 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -7
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -8
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -2
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +217 -9
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +45 -23
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -7
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -7
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +173 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +688 -176
- data/generated/google/apis/compute_v1/representations.rb +99 -0
- data/generated/google/apis/compute_v1/service.rb +704 -552
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +48 -9
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +53 -13
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -7
- data/generated/google/apis/content_v2/service.rb +10 -8
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1533 -1064
- data/generated/google/apis/content_v2_1/representations.rb +421 -0
- data/generated/google/apis/content_v2_1/service.rb +1127 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datamigration_v1beta1.rb +34 -0
- data/generated/google/apis/datamigration_v1beta1/classes.rb +1664 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +677 -0
- data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +80 -9
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +149 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +246 -359
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +62 -15
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -12
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +60 -18
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -12
- data/generated/google/apis/dialogflow_v2beta1/service.rb +508 -38
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +180 -15
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +65 -12
- data/generated/google/apis/dialogflow_v3beta1/service.rb +183 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
- data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
- data/generated/google/apis/displayvideo_v1/service.rb +342 -38
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -0
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +294 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +71 -0
- data/generated/google/apis/dns_v1/representations.rb +33 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +19 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
- data/generated/google/apis/dns_v1beta2/service.rb +176 -0
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
- data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
- data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v2/service.rb +26 -58
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -8
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +9 -12
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +566 -4
- data/generated/google/apis/file_v1/representations.rb +222 -0
- data/generated/google/apis/file_v1/service.rb +229 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +346 -6
- data/generated/google/apis/file_v1beta1/representations.rb +149 -0
- data/generated/google/apis/file_v1beta1/service.rb +6 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +353 -0
- data/generated/google/apis/games_v1/representations.rb +145 -0
- data/generated/google/apis/games_v1/service.rb +67 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +36 -7
- data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +321 -70
- data/generated/google/apis/healthcare_v1beta1/representations.rb +121 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +75 -39
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +109 -11
- data/generated/google/apis/iam_v1/representations.rb +33 -1
- data/generated/google/apis/iam_v1/service.rb +63 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -18
- data/generated/google/apis/iap_v1/representations.rb +0 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -7
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +187 -9
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +446 -25
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/metastore_v1beta.rb +35 -0
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +85 -25
- data/generated/google/apis/ml_v1/representations.rb +42 -1
- data/generated/google/apis/ml_v1/service.rb +35 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +13 -8
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
- data/generated/google/apis/notebooks_v1/representations.rb +580 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +10 -6
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2467 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +86 -0
- data/generated/google/apis/redis_v1/representations.rb +34 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/safebrowsing_v4.rb +35 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +12 -11
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicedirectory_v1.rb +35 -0
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +2 -61
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +79 -5
- data/generated/google/apis/servicenetworking_v1/representations.rb +33 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +38 -5
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +12 -11
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +42 -11
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +332 -7
- data/generated/google/apis/sheets_v4/representations.rb +102 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +10 -8
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +43 -21
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1694 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +757 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +3 -2
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +3 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/generated/google/apis/youtube_v3/service.rb +8 -8
- data/lib/google/apis/version.rb +1 -1
- metadata +60 -27
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
- data/generated/google/apis/displayvideo_v1beta.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
- data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
- data/generated/google/apis/displayvideo_v1dev.rb +0 -38
- data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
|
@@ -40,12 +40,6 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class AuthorizationLoggingOptions
|
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
-
|
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
-
end
|
|
48
|
-
|
|
49
43
|
class BaseType
|
|
50
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
45
|
|
|
@@ -88,12 +82,6 @@ module Google
|
|
|
88
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
83
|
end
|
|
90
84
|
|
|
91
|
-
class Condition
|
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
-
|
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
-
end
|
|
96
|
-
|
|
97
85
|
class ConfigFile
|
|
98
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
87
|
|
|
@@ -178,36 +166,6 @@ module Google
|
|
|
178
166
|
include Google::Apis::Core::JsonObjectSupport
|
|
179
167
|
end
|
|
180
168
|
|
|
181
|
-
class LogConfig
|
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
-
|
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
class LogConfigCloudAuditOptions
|
|
188
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
-
|
|
190
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
class LogConfigCounterOptions
|
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
-
|
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
-
end
|
|
198
|
-
|
|
199
|
-
class LogConfigCounterOptionsCustomField
|
|
200
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
-
|
|
202
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
class LogConfigDataAccessOptions
|
|
206
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
-
|
|
208
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
-
end
|
|
210
|
-
|
|
211
169
|
class Manifest
|
|
212
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
171
|
|
|
@@ -334,12 +292,6 @@ module Google
|
|
|
334
292
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
293
|
end
|
|
336
294
|
|
|
337
|
-
class Rule
|
|
338
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
|
-
|
|
340
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
341
|
-
end
|
|
342
|
-
|
|
343
295
|
class ServiceAccount
|
|
344
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
297
|
|
|
@@ -444,7 +396,6 @@ module Google
|
|
|
444
396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
445
397
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::DeploymentmanagerV2beta::AuditLogConfig, decorator: Google::Apis::DeploymentmanagerV2beta::AuditLogConfig::Representation
|
|
446
398
|
|
|
447
|
-
collection :exempted_members, as: 'exemptedMembers'
|
|
448
399
|
property :service, as: 'service'
|
|
449
400
|
end
|
|
450
401
|
end
|
|
@@ -453,18 +404,10 @@ module Google
|
|
|
453
404
|
# @private
|
|
454
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
455
406
|
collection :exempted_members, as: 'exemptedMembers'
|
|
456
|
-
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
|
457
407
|
property :log_type, as: 'logType'
|
|
458
408
|
end
|
|
459
409
|
end
|
|
460
410
|
|
|
461
|
-
class AuthorizationLoggingOptions
|
|
462
|
-
# @private
|
|
463
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
464
|
-
property :permission_type, as: 'permissionType'
|
|
465
|
-
end
|
|
466
|
-
end
|
|
467
|
-
|
|
468
411
|
class BaseType
|
|
469
412
|
# @private
|
|
470
413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -540,17 +483,6 @@ module Google
|
|
|
540
483
|
end
|
|
541
484
|
end
|
|
542
485
|
|
|
543
|
-
class Condition
|
|
544
|
-
# @private
|
|
545
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
546
|
-
property :iam, as: 'iam'
|
|
547
|
-
property :op, as: 'op'
|
|
548
|
-
property :svc, as: 'svc'
|
|
549
|
-
property :sys, as: 'sys'
|
|
550
|
-
collection :values, as: 'values'
|
|
551
|
-
end
|
|
552
|
-
end
|
|
553
|
-
|
|
554
486
|
class ConfigFile
|
|
555
487
|
# @private
|
|
556
488
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -687,52 +619,6 @@ module Google
|
|
|
687
619
|
end
|
|
688
620
|
end
|
|
689
621
|
|
|
690
|
-
class LogConfig
|
|
691
|
-
# @private
|
|
692
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
693
|
-
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::DeploymentmanagerV2beta::LogConfigCloudAuditOptions, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigCloudAuditOptions::Representation
|
|
694
|
-
|
|
695
|
-
property :counter, as: 'counter', class: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptions, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptions::Representation
|
|
696
|
-
|
|
697
|
-
property :data_access, as: 'dataAccess', class: Google::Apis::DeploymentmanagerV2beta::LogConfigDataAccessOptions, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigDataAccessOptions::Representation
|
|
698
|
-
|
|
699
|
-
end
|
|
700
|
-
end
|
|
701
|
-
|
|
702
|
-
class LogConfigCloudAuditOptions
|
|
703
|
-
# @private
|
|
704
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
705
|
-
property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::DeploymentmanagerV2beta::AuthorizationLoggingOptions, decorator: Google::Apis::DeploymentmanagerV2beta::AuthorizationLoggingOptions::Representation
|
|
706
|
-
|
|
707
|
-
property :log_name, as: 'logName'
|
|
708
|
-
end
|
|
709
|
-
end
|
|
710
|
-
|
|
711
|
-
class LogConfigCounterOptions
|
|
712
|
-
# @private
|
|
713
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
714
|
-
collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField::Representation
|
|
715
|
-
|
|
716
|
-
property :field, as: 'field'
|
|
717
|
-
property :metric, as: 'metric'
|
|
718
|
-
end
|
|
719
|
-
end
|
|
720
|
-
|
|
721
|
-
class LogConfigCounterOptionsCustomField
|
|
722
|
-
# @private
|
|
723
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
724
|
-
property :name, as: 'name'
|
|
725
|
-
property :value, as: 'value'
|
|
726
|
-
end
|
|
727
|
-
end
|
|
728
|
-
|
|
729
|
-
class LogConfigDataAccessOptions
|
|
730
|
-
# @private
|
|
731
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
732
|
-
property :log_mode, as: 'logMode'
|
|
733
|
-
end
|
|
734
|
-
end
|
|
735
|
-
|
|
736
622
|
class Manifest
|
|
737
623
|
# @private
|
|
738
624
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -854,9 +740,6 @@ module Google
|
|
|
854
740
|
collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerV2beta::Binding, decorator: Google::Apis::DeploymentmanagerV2beta::Binding::Representation
|
|
855
741
|
|
|
856
742
|
property :etag, :base64 => true, as: 'etag'
|
|
857
|
-
property :iam_owned, as: 'iamOwned'
|
|
858
|
-
collection :rules, as: 'rules', class: Google::Apis::DeploymentmanagerV2beta::Rule, decorator: Google::Apis::DeploymentmanagerV2beta::Rule::Representation
|
|
859
|
-
|
|
860
743
|
property :version, as: 'version'
|
|
861
744
|
end
|
|
862
745
|
end
|
|
@@ -980,21 +863,6 @@ module Google
|
|
|
980
863
|
end
|
|
981
864
|
end
|
|
982
865
|
|
|
983
|
-
class Rule
|
|
984
|
-
# @private
|
|
985
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
986
|
-
property :action, as: 'action'
|
|
987
|
-
collection :conditions, as: 'conditions', class: Google::Apis::DeploymentmanagerV2beta::Condition, decorator: Google::Apis::DeploymentmanagerV2beta::Condition::Representation
|
|
988
|
-
|
|
989
|
-
property :description, as: 'description'
|
|
990
|
-
collection :ins, as: 'ins'
|
|
991
|
-
collection :log_configs, as: 'logConfigs', class: Google::Apis::DeploymentmanagerV2beta::LogConfig, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfig::Representation
|
|
992
|
-
|
|
993
|
-
collection :not_ins, as: 'notIns'
|
|
994
|
-
collection :permissions, as: 'permissions'
|
|
995
|
-
end
|
|
996
|
-
end
|
|
997
|
-
|
|
998
866
|
class ServiceAccount
|
|
999
867
|
# @private
|
|
1000
868
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -20,36 +20,33 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module DeploymentmanagerV2beta
|
|
23
|
-
#
|
|
23
|
+
# Cloud Deployment Manager V2 API
|
|
24
24
|
#
|
|
25
|
-
# The Deployment Manager API
|
|
26
|
-
#
|
|
25
|
+
# The Google Cloud Deployment Manager v2 API provides services for configuring,
|
|
26
|
+
# deploying, and viewing Google Cloud services and APIs via templates which
|
|
27
|
+
# specify deployments of Cloud resources.
|
|
27
28
|
#
|
|
28
29
|
# @example
|
|
29
30
|
# require 'google/apis/deploymentmanager_v2beta'
|
|
30
31
|
#
|
|
31
32
|
# Deploymentmanager = Google::Apis::DeploymentmanagerV2beta # Alias the module
|
|
32
|
-
# service = Deploymentmanager::
|
|
33
|
+
# service = Deploymentmanager::DeploymentManagerService.new
|
|
33
34
|
#
|
|
34
|
-
# @see https://
|
|
35
|
-
class
|
|
35
|
+
# @see https://cloud.google.com/deployment-manager
|
|
36
|
+
class DeploymentManagerService < Google::Apis::Core::BaseService
|
|
36
37
|
# @return [String]
|
|
37
38
|
# API key. Your API key identifies your project and provides you with API access,
|
|
38
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
39
40
|
attr_accessor :key
|
|
40
41
|
|
|
41
42
|
# @return [String]
|
|
42
|
-
#
|
|
43
|
-
# characters.
|
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44
45
|
attr_accessor :quota_user
|
|
45
46
|
|
|
46
|
-
# @return [String]
|
|
47
|
-
# Deprecated. Please use quotaUser instead.
|
|
48
|
-
attr_accessor :user_ip
|
|
49
|
-
|
|
50
47
|
def initialize
|
|
51
|
-
super('https://
|
|
52
|
-
@batch_path = 'batch
|
|
48
|
+
super('https://deploymentmanager.googleapis.com/', '')
|
|
49
|
+
@batch_path = 'batch'
|
|
53
50
|
end
|
|
54
51
|
|
|
55
52
|
# Deletes a composite type.
|
|
@@ -60,10 +57,8 @@ module Google
|
|
|
60
57
|
# @param [String] fields
|
|
61
58
|
# Selector specifying which fields to include in a partial response.
|
|
62
59
|
# @param [String] quota_user
|
|
63
|
-
#
|
|
64
|
-
# characters.
|
|
65
|
-
# @param [String] user_ip
|
|
66
|
-
# Deprecated. Please use quotaUser instead.
|
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
67
62
|
# @param [Google::Apis::RequestOptions] options
|
|
68
63
|
# Request-specific options
|
|
69
64
|
#
|
|
@@ -76,15 +71,14 @@ module Google
|
|
|
76
71
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
77
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
78
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
79
|
-
def delete_composite_type(project, composite_type, fields: nil, quota_user: nil,
|
|
80
|
-
command = make_simple_command(:delete, '{project}/global/compositeTypes/{compositeType}', options)
|
|
74
|
+
def delete_composite_type(project, composite_type, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
|
+
command = make_simple_command(:delete, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
|
|
81
76
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
82
77
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
|
|
83
78
|
command.params['project'] = project unless project.nil?
|
|
84
79
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
|
85
80
|
command.query['fields'] = fields unless fields.nil?
|
|
86
81
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
87
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
88
82
|
execute_or_queue_command(command, &block)
|
|
89
83
|
end
|
|
90
84
|
|
|
@@ -96,10 +90,8 @@ module Google
|
|
|
96
90
|
# @param [String] fields
|
|
97
91
|
# Selector specifying which fields to include in a partial response.
|
|
98
92
|
# @param [String] quota_user
|
|
99
|
-
#
|
|
100
|
-
# characters.
|
|
101
|
-
# @param [String] user_ip
|
|
102
|
-
# Deprecated. Please use quotaUser instead.
|
|
93
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
94
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
103
95
|
# @param [Google::Apis::RequestOptions] options
|
|
104
96
|
# Request-specific options
|
|
105
97
|
#
|
|
@@ -112,15 +104,14 @@ module Google
|
|
|
112
104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
113
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
114
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
115
|
-
def get_composite_type(project, composite_type, fields: nil, quota_user: nil,
|
|
116
|
-
command = make_simple_command(:get, '{project}/global/compositeTypes/{compositeType}', options)
|
|
107
|
+
def get_composite_type(project, composite_type, fields: nil, quota_user: nil, options: nil, &block)
|
|
108
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
|
|
117
109
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
|
|
118
110
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::CompositeType
|
|
119
111
|
command.params['project'] = project unless project.nil?
|
|
120
112
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
|
121
113
|
command.query['fields'] = fields unless fields.nil?
|
|
122
114
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
123
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
124
115
|
execute_or_queue_command(command, &block)
|
|
125
116
|
end
|
|
126
117
|
|
|
@@ -131,10 +122,8 @@ module Google
|
|
|
131
122
|
# @param [String] fields
|
|
132
123
|
# Selector specifying which fields to include in a partial response.
|
|
133
124
|
# @param [String] quota_user
|
|
134
|
-
#
|
|
135
|
-
# characters.
|
|
136
|
-
# @param [String] user_ip
|
|
137
|
-
# Deprecated. Please use quotaUser instead.
|
|
125
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
126
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
138
127
|
# @param [Google::Apis::RequestOptions] options
|
|
139
128
|
# Request-specific options
|
|
140
129
|
#
|
|
@@ -147,8 +136,8 @@ module Google
|
|
|
147
136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
148
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
149
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
150
|
-
def insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil,
|
|
151
|
-
command = make_simple_command(:post, '{project}/global/compositeTypes', options)
|
|
139
|
+
def insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
140
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes', options)
|
|
152
141
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
|
|
153
142
|
command.request_object = composite_type_object
|
|
154
143
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -156,7 +145,6 @@ module Google
|
|
|
156
145
|
command.params['project'] = project unless project.nil?
|
|
157
146
|
command.query['fields'] = fields unless fields.nil?
|
|
158
147
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
159
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
160
148
|
execute_or_queue_command(command, &block)
|
|
161
149
|
end
|
|
162
150
|
|
|
@@ -167,19 +155,18 @@ module Google
|
|
|
167
155
|
# A filter expression that filters resources listed in the response. The
|
|
168
156
|
# expression must specify the field name, a comparison operator, and the value
|
|
169
157
|
# that you want to use for filtering. The value must be a string, a number, or a
|
|
170
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
171
|
-
#
|
|
158
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
|
159
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
|
172
160
|
# instances named `example-instance` by specifying `name != example-instance`.
|
|
173
161
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
174
162
|
# automaticRestart = false` to include instances only if they are not scheduled
|
|
175
163
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
176
|
-
# on resource labels.
|
|
177
|
-
#
|
|
178
|
-
#
|
|
179
|
-
#
|
|
180
|
-
#
|
|
181
|
-
#
|
|
182
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
164
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
|
165
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
|
166
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
|
167
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
|
168
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
|
169
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
183
170
|
# @param [Fixnum] max_results
|
|
184
171
|
# The maximum number of results per page that should be returned. If the number
|
|
185
172
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
@@ -187,12 +174,11 @@ module Google
|
|
|
187
174
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
188
175
|
# @param [String] order_by
|
|
189
176
|
# Sorts list results by a certain order. By default, results are returned in
|
|
190
|
-
# alphanumerical order based on the resource name.
|
|
191
|
-
#
|
|
192
|
-
#
|
|
193
|
-
#
|
|
194
|
-
#
|
|
195
|
-
# returned first.
|
|
177
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
178
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
179
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
180
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
181
|
+
# resources like operations so that the newest operation is returned first.
|
|
196
182
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
197
183
|
# @param [String] page_token
|
|
198
184
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
@@ -200,10 +186,8 @@ module Google
|
|
|
200
186
|
# @param [String] fields
|
|
201
187
|
# Selector specifying which fields to include in a partial response.
|
|
202
188
|
# @param [String] quota_user
|
|
203
|
-
#
|
|
204
|
-
# characters.
|
|
205
|
-
# @param [String] user_ip
|
|
206
|
-
# Deprecated. Please use quotaUser instead.
|
|
189
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
190
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
207
191
|
# @param [Google::Apis::RequestOptions] options
|
|
208
192
|
# Request-specific options
|
|
209
193
|
#
|
|
@@ -216,8 +200,8 @@ module Google
|
|
|
216
200
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
217
201
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
218
202
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
219
|
-
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
220
|
-
command = make_simple_command(:get, '{project}/global/compositeTypes', options)
|
|
203
|
+
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
204
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes', options)
|
|
221
205
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::CompositeTypesListResponse::Representation
|
|
222
206
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::CompositeTypesListResponse
|
|
223
207
|
command.params['project'] = project unless project.nil?
|
|
@@ -227,7 +211,6 @@ module Google
|
|
|
227
211
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
228
212
|
command.query['fields'] = fields unless fields.nil?
|
|
229
213
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
230
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
231
214
|
execute_or_queue_command(command, &block)
|
|
232
215
|
end
|
|
233
216
|
|
|
@@ -240,10 +223,8 @@ module Google
|
|
|
240
223
|
# @param [String] fields
|
|
241
224
|
# Selector specifying which fields to include in a partial response.
|
|
242
225
|
# @param [String] quota_user
|
|
243
|
-
#
|
|
244
|
-
# characters.
|
|
245
|
-
# @param [String] user_ip
|
|
246
|
-
# Deprecated. Please use quotaUser instead.
|
|
226
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
227
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
247
228
|
# @param [Google::Apis::RequestOptions] options
|
|
248
229
|
# Request-specific options
|
|
249
230
|
#
|
|
@@ -256,8 +237,8 @@ module Google
|
|
|
256
237
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
257
238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
258
239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
259
|
-
def patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil,
|
|
260
|
-
command = make_simple_command(:patch, '{project}/global/compositeTypes/{compositeType}', options)
|
|
240
|
+
def patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
241
|
+
command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
|
|
261
242
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
|
|
262
243
|
command.request_object = composite_type_object
|
|
263
244
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -266,7 +247,6 @@ module Google
|
|
|
266
247
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
|
267
248
|
command.query['fields'] = fields unless fields.nil?
|
|
268
249
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
269
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
270
250
|
execute_or_queue_command(command, &block)
|
|
271
251
|
end
|
|
272
252
|
|
|
@@ -279,10 +259,8 @@ module Google
|
|
|
279
259
|
# @param [String] fields
|
|
280
260
|
# Selector specifying which fields to include in a partial response.
|
|
281
261
|
# @param [String] quota_user
|
|
282
|
-
#
|
|
283
|
-
# characters.
|
|
284
|
-
# @param [String] user_ip
|
|
285
|
-
# Deprecated. Please use quotaUser instead.
|
|
262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
286
264
|
# @param [Google::Apis::RequestOptions] options
|
|
287
265
|
# Request-specific options
|
|
288
266
|
#
|
|
@@ -295,8 +273,8 @@ module Google
|
|
|
295
273
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
296
274
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
297
275
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
298
|
-
def update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil,
|
|
299
|
-
command = make_simple_command(:put, '{project}/global/compositeTypes/{compositeType}', options)
|
|
276
|
+
def update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
277
|
+
command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
|
|
300
278
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
|
|
301
279
|
command.request_object = composite_type_object
|
|
302
280
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -305,7 +283,6 @@ module Google
|
|
|
305
283
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
|
306
284
|
command.query['fields'] = fields unless fields.nil?
|
|
307
285
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
308
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
309
286
|
execute_or_queue_command(command, &block)
|
|
310
287
|
end
|
|
311
288
|
|
|
@@ -318,10 +295,8 @@ module Google
|
|
|
318
295
|
# @param [String] fields
|
|
319
296
|
# Selector specifying which fields to include in a partial response.
|
|
320
297
|
# @param [String] quota_user
|
|
321
|
-
#
|
|
322
|
-
# characters.
|
|
323
|
-
# @param [String] user_ip
|
|
324
|
-
# Deprecated. Please use quotaUser instead.
|
|
298
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
299
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
325
300
|
# @param [Google::Apis::RequestOptions] options
|
|
326
301
|
# Request-specific options
|
|
327
302
|
#
|
|
@@ -334,8 +309,8 @@ module Google
|
|
|
334
309
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
335
310
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
336
311
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
337
|
-
def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil,
|
|
338
|
-
command = make_simple_command(:post, '{project}/global/deployments/{deployment}/cancelPreview', options)
|
|
312
|
+
def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
313
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/cancelPreview', options)
|
|
339
314
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsCancelPreviewRequest::Representation
|
|
340
315
|
command.request_object = deployments_cancel_preview_request_object
|
|
341
316
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -344,7 +319,6 @@ module Google
|
|
|
344
319
|
command.params['deployment'] = deployment unless deployment.nil?
|
|
345
320
|
command.query['fields'] = fields unless fields.nil?
|
|
346
321
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
347
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
348
322
|
execute_or_queue_command(command, &block)
|
|
349
323
|
end
|
|
350
324
|
|
|
@@ -358,10 +332,8 @@ module Google
|
|
|
358
332
|
# @param [String] fields
|
|
359
333
|
# Selector specifying which fields to include in a partial response.
|
|
360
334
|
# @param [String] quota_user
|
|
361
|
-
#
|
|
362
|
-
# characters.
|
|
363
|
-
# @param [String] user_ip
|
|
364
|
-
# Deprecated. Please use quotaUser instead.
|
|
335
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
336
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
365
337
|
# @param [Google::Apis::RequestOptions] options
|
|
366
338
|
# Request-specific options
|
|
367
339
|
#
|
|
@@ -374,8 +346,8 @@ module Google
|
|
|
374
346
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
375
347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
376
348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
377
|
-
def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil,
|
|
378
|
-
command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', options)
|
|
349
|
+
def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
350
|
+
command = make_simple_command(:delete, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
|
|
379
351
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
380
352
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
|
|
381
353
|
command.params['project'] = project unless project.nil?
|
|
@@ -383,7 +355,6 @@ module Google
|
|
|
383
355
|
command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
|
|
384
356
|
command.query['fields'] = fields unless fields.nil?
|
|
385
357
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
386
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
387
358
|
execute_or_queue_command(command, &block)
|
|
388
359
|
end
|
|
389
360
|
|
|
@@ -395,10 +366,8 @@ module Google
|
|
|
395
366
|
# @param [String] fields
|
|
396
367
|
# Selector specifying which fields to include in a partial response.
|
|
397
368
|
# @param [String] quota_user
|
|
398
|
-
#
|
|
399
|
-
# characters.
|
|
400
|
-
# @param [String] user_ip
|
|
401
|
-
# Deprecated. Please use quotaUser instead.
|
|
369
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
370
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
402
371
|
# @param [Google::Apis::RequestOptions] options
|
|
403
372
|
# Request-specific options
|
|
404
373
|
#
|
|
@@ -411,15 +380,14 @@ module Google
|
|
|
411
380
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
412
381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
413
382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
414
|
-
def get_deployment(project, deployment, fields: nil, quota_user: nil,
|
|
415
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}', options)
|
|
383
|
+
def get_deployment(project, deployment, fields: nil, quota_user: nil, options: nil, &block)
|
|
384
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
|
|
416
385
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
|
417
386
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Deployment
|
|
418
387
|
command.params['project'] = project unless project.nil?
|
|
419
388
|
command.params['deployment'] = deployment unless deployment.nil?
|
|
420
389
|
command.query['fields'] = fields unless fields.nil?
|
|
421
390
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
422
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
423
391
|
execute_or_queue_command(command, &block)
|
|
424
392
|
end
|
|
425
393
|
|
|
@@ -429,13 +397,13 @@ module Google
|
|
|
429
397
|
# Project ID for this request.
|
|
430
398
|
# @param [String] resource
|
|
431
399
|
# Name or id of the resource for this request.
|
|
400
|
+
# @param [Fixnum] options_requested_policy_version
|
|
401
|
+
# Requested IAM Policy version.
|
|
432
402
|
# @param [String] fields
|
|
433
403
|
# Selector specifying which fields to include in a partial response.
|
|
434
404
|
# @param [String] quota_user
|
|
435
|
-
#
|
|
436
|
-
# characters.
|
|
437
|
-
# @param [String] user_ip
|
|
438
|
-
# Deprecated. Please use quotaUser instead.
|
|
405
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
406
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
439
407
|
# @param [Google::Apis::RequestOptions] options
|
|
440
408
|
# Request-specific options
|
|
441
409
|
#
|
|
@@ -448,15 +416,15 @@ module Google
|
|
|
448
416
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
449
417
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
450
418
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
451
|
-
def get_deployment_iam_policy(project, resource,
|
|
452
|
-
command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', options)
|
|
419
|
+
def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
420
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/getIamPolicy', options)
|
|
453
421
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Policy::Representation
|
|
454
422
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Policy
|
|
455
423
|
command.params['project'] = project unless project.nil?
|
|
456
424
|
command.params['resource'] = resource unless resource.nil?
|
|
425
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
457
426
|
command.query['fields'] = fields unless fields.nil?
|
|
458
427
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
459
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
460
428
|
execute_or_queue_command(command, &block)
|
|
461
429
|
end
|
|
462
430
|
|
|
@@ -478,10 +446,8 @@ module Google
|
|
|
478
446
|
# @param [String] fields
|
|
479
447
|
# Selector specifying which fields to include in a partial response.
|
|
480
448
|
# @param [String] quota_user
|
|
481
|
-
#
|
|
482
|
-
# characters.
|
|
483
|
-
# @param [String] user_ip
|
|
484
|
-
# Deprecated. Please use quotaUser instead.
|
|
449
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
450
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
485
451
|
# @param [Google::Apis::RequestOptions] options
|
|
486
452
|
# Request-specific options
|
|
487
453
|
#
|
|
@@ -494,8 +460,8 @@ module Google
|
|
|
494
460
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
495
461
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
496
462
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
497
|
-
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil,
|
|
498
|
-
command = make_simple_command(:post, '{project}/global/deployments', options)
|
|
463
|
+
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
464
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments', options)
|
|
499
465
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
|
500
466
|
command.request_object = deployment_object
|
|
501
467
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -505,7 +471,6 @@ module Google
|
|
|
505
471
|
command.query['preview'] = preview unless preview.nil?
|
|
506
472
|
command.query['fields'] = fields unless fields.nil?
|
|
507
473
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
508
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
509
474
|
execute_or_queue_command(command, &block)
|
|
510
475
|
end
|
|
511
476
|
|
|
@@ -516,19 +481,18 @@ module Google
|
|
|
516
481
|
# A filter expression that filters resources listed in the response. The
|
|
517
482
|
# expression must specify the field name, a comparison operator, and the value
|
|
518
483
|
# that you want to use for filtering. The value must be a string, a number, or a
|
|
519
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
520
|
-
#
|
|
484
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
|
485
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
|
521
486
|
# instances named `example-instance` by specifying `name != example-instance`.
|
|
522
487
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
523
488
|
# automaticRestart = false` to include instances only if they are not scheduled
|
|
524
489
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
525
|
-
# on resource labels.
|
|
526
|
-
#
|
|
527
|
-
#
|
|
528
|
-
#
|
|
529
|
-
#
|
|
530
|
-
#
|
|
531
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
490
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
|
491
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
|
492
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
|
493
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
|
494
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
|
495
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
532
496
|
# @param [Fixnum] max_results
|
|
533
497
|
# The maximum number of results per page that should be returned. If the number
|
|
534
498
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
@@ -536,12 +500,11 @@ module Google
|
|
|
536
500
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
537
501
|
# @param [String] order_by
|
|
538
502
|
# Sorts list results by a certain order. By default, results are returned in
|
|
539
|
-
# alphanumerical order based on the resource name.
|
|
540
|
-
#
|
|
541
|
-
#
|
|
542
|
-
#
|
|
543
|
-
#
|
|
544
|
-
# returned first.
|
|
503
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
504
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
505
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
506
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
507
|
+
# resources like operations so that the newest operation is returned first.
|
|
545
508
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
546
509
|
# @param [String] page_token
|
|
547
510
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
@@ -549,10 +512,8 @@ module Google
|
|
|
549
512
|
# @param [String] fields
|
|
550
513
|
# Selector specifying which fields to include in a partial response.
|
|
551
514
|
# @param [String] quota_user
|
|
552
|
-
#
|
|
553
|
-
# characters.
|
|
554
|
-
# @param [String] user_ip
|
|
555
|
-
# Deprecated. Please use quotaUser instead.
|
|
515
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
516
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
556
517
|
# @param [Google::Apis::RequestOptions] options
|
|
557
518
|
# Request-specific options
|
|
558
519
|
#
|
|
@@ -565,8 +526,8 @@ module Google
|
|
|
565
526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
566
527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
567
528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
568
|
-
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
569
|
-
command = make_simple_command(:get, '{project}/global/deployments', options)
|
|
529
|
+
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
530
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments', options)
|
|
570
531
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsListResponse::Representation
|
|
571
532
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::DeploymentsListResponse
|
|
572
533
|
command.params['project'] = project unless project.nil?
|
|
@@ -576,7 +537,6 @@ module Google
|
|
|
576
537
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
577
538
|
command.query['fields'] = fields unless fields.nil?
|
|
578
539
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
579
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
580
540
|
execute_or_queue_command(command, &block)
|
|
581
541
|
end
|
|
582
542
|
|
|
@@ -605,10 +565,8 @@ module Google
|
|
|
605
565
|
# @param [String] fields
|
|
606
566
|
# Selector specifying which fields to include in a partial response.
|
|
607
567
|
# @param [String] quota_user
|
|
608
|
-
#
|
|
609
|
-
# characters.
|
|
610
|
-
# @param [String] user_ip
|
|
611
|
-
# Deprecated. Please use quotaUser instead.
|
|
568
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
569
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
612
570
|
# @param [Google::Apis::RequestOptions] options
|
|
613
571
|
# Request-specific options
|
|
614
572
|
#
|
|
@@ -621,8 +579,8 @@ module Google
|
|
|
621
579
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
622
580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
623
581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
624
|
-
def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil,
|
|
625
|
-
command = make_simple_command(:patch, '{project}/global/deployments/{deployment}', options)
|
|
582
|
+
def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
583
|
+
command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
|
|
626
584
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
|
627
585
|
command.request_object = deployment_object
|
|
628
586
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -634,7 +592,6 @@ module Google
|
|
|
634
592
|
command.query['preview'] = preview unless preview.nil?
|
|
635
593
|
command.query['fields'] = fields unless fields.nil?
|
|
636
594
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
637
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
638
595
|
execute_or_queue_command(command, &block)
|
|
639
596
|
end
|
|
640
597
|
|
|
@@ -648,10 +605,8 @@ module Google
|
|
|
648
605
|
# @param [String] fields
|
|
649
606
|
# Selector specifying which fields to include in a partial response.
|
|
650
607
|
# @param [String] quota_user
|
|
651
|
-
#
|
|
652
|
-
# characters.
|
|
653
|
-
# @param [String] user_ip
|
|
654
|
-
# Deprecated. Please use quotaUser instead.
|
|
608
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
609
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
655
610
|
# @param [Google::Apis::RequestOptions] options
|
|
656
611
|
# Request-specific options
|
|
657
612
|
#
|
|
@@ -664,8 +619,8 @@ module Google
|
|
|
664
619
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
665
620
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
666
621
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
667
|
-
def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil,
|
|
668
|
-
command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options)
|
|
622
|
+
def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
623
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/setIamPolicy', options)
|
|
669
624
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::GlobalSetPolicyRequest::Representation
|
|
670
625
|
command.request_object = global_set_policy_request_object
|
|
671
626
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Policy::Representation
|
|
@@ -674,7 +629,6 @@ module Google
|
|
|
674
629
|
command.params['resource'] = resource unless resource.nil?
|
|
675
630
|
command.query['fields'] = fields unless fields.nil?
|
|
676
631
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
677
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
678
632
|
execute_or_queue_command(command, &block)
|
|
679
633
|
end
|
|
680
634
|
|
|
@@ -688,10 +642,8 @@ module Google
|
|
|
688
642
|
# @param [String] fields
|
|
689
643
|
# Selector specifying which fields to include in a partial response.
|
|
690
644
|
# @param [String] quota_user
|
|
691
|
-
#
|
|
692
|
-
# characters.
|
|
693
|
-
# @param [String] user_ip
|
|
694
|
-
# Deprecated. Please use quotaUser instead.
|
|
645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
695
647
|
# @param [Google::Apis::RequestOptions] options
|
|
696
648
|
# Request-specific options
|
|
697
649
|
#
|
|
@@ -704,8 +656,8 @@ module Google
|
|
|
704
656
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
705
657
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
706
658
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
707
|
-
def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil,
|
|
708
|
-
command = make_simple_command(:post, '{project}/global/deployments/{deployment}/stop', options)
|
|
659
|
+
def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
660
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/stop', options)
|
|
709
661
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsStopRequest::Representation
|
|
710
662
|
command.request_object = deployments_stop_request_object
|
|
711
663
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -714,7 +666,6 @@ module Google
|
|
|
714
666
|
command.params['deployment'] = deployment unless deployment.nil?
|
|
715
667
|
command.query['fields'] = fields unless fields.nil?
|
|
716
668
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
717
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
718
669
|
execute_or_queue_command(command, &block)
|
|
719
670
|
end
|
|
720
671
|
|
|
@@ -727,10 +678,8 @@ module Google
|
|
|
727
678
|
# @param [String] fields
|
|
728
679
|
# Selector specifying which fields to include in a partial response.
|
|
729
680
|
# @param [String] quota_user
|
|
730
|
-
#
|
|
731
|
-
# characters.
|
|
732
|
-
# @param [String] user_ip
|
|
733
|
-
# Deprecated. Please use quotaUser instead.
|
|
681
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
682
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
734
683
|
# @param [Google::Apis::RequestOptions] options
|
|
735
684
|
# Request-specific options
|
|
736
685
|
#
|
|
@@ -743,8 +692,8 @@ module Google
|
|
|
743
692
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
744
693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
745
694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
746
|
-
def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil,
|
|
747
|
-
command = make_simple_command(:post, '{project}/global/deployments/{resource}/testIamPermissions', options)
|
|
695
|
+
def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
696
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/testIamPermissions', options)
|
|
748
697
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::TestPermissionsRequest::Representation
|
|
749
698
|
command.request_object = test_permissions_request_object
|
|
750
699
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TestPermissionsResponse::Representation
|
|
@@ -753,7 +702,6 @@ module Google
|
|
|
753
702
|
command.params['resource'] = resource unless resource.nil?
|
|
754
703
|
command.query['fields'] = fields unless fields.nil?
|
|
755
704
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
756
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
757
705
|
execute_or_queue_command(command, &block)
|
|
758
706
|
end
|
|
759
707
|
|
|
@@ -782,10 +730,8 @@ module Google
|
|
|
782
730
|
# @param [String] fields
|
|
783
731
|
# Selector specifying which fields to include in a partial response.
|
|
784
732
|
# @param [String] quota_user
|
|
785
|
-
#
|
|
786
|
-
# characters.
|
|
787
|
-
# @param [String] user_ip
|
|
788
|
-
# Deprecated. Please use quotaUser instead.
|
|
733
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
734
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
789
735
|
# @param [Google::Apis::RequestOptions] options
|
|
790
736
|
# Request-specific options
|
|
791
737
|
#
|
|
@@ -798,8 +744,8 @@ module Google
|
|
|
798
744
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
799
745
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
800
746
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
801
|
-
def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil,
|
|
802
|
-
command = make_simple_command(:put, '{project}/global/deployments/{deployment}', options)
|
|
747
|
+
def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
748
|
+
command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
|
|
803
749
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
|
804
750
|
command.request_object = deployment_object
|
|
805
751
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -811,7 +757,6 @@ module Google
|
|
|
811
757
|
command.query['preview'] = preview unless preview.nil?
|
|
812
758
|
command.query['fields'] = fields unless fields.nil?
|
|
813
759
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
814
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
815
760
|
execute_or_queue_command(command, &block)
|
|
816
761
|
end
|
|
817
762
|
|
|
@@ -825,10 +770,8 @@ module Google
|
|
|
825
770
|
# @param [String] fields
|
|
826
771
|
# Selector specifying which fields to include in a partial response.
|
|
827
772
|
# @param [String] quota_user
|
|
828
|
-
#
|
|
829
|
-
# characters.
|
|
830
|
-
# @param [String] user_ip
|
|
831
|
-
# Deprecated. Please use quotaUser instead.
|
|
773
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
774
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
832
775
|
# @param [Google::Apis::RequestOptions] options
|
|
833
776
|
# Request-specific options
|
|
834
777
|
#
|
|
@@ -841,8 +784,8 @@ module Google
|
|
|
841
784
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
842
785
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
843
786
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
844
|
-
def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil,
|
|
845
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests/{manifest}', options)
|
|
787
|
+
def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, options: nil, &block)
|
|
788
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests/{manifest}', options)
|
|
846
789
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Manifest::Representation
|
|
847
790
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Manifest
|
|
848
791
|
command.params['project'] = project unless project.nil?
|
|
@@ -850,7 +793,6 @@ module Google
|
|
|
850
793
|
command.params['manifest'] = manifest unless manifest.nil?
|
|
851
794
|
command.query['fields'] = fields unless fields.nil?
|
|
852
795
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
853
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
854
796
|
execute_or_queue_command(command, &block)
|
|
855
797
|
end
|
|
856
798
|
|
|
@@ -863,19 +805,18 @@ module Google
|
|
|
863
805
|
# A filter expression that filters resources listed in the response. The
|
|
864
806
|
# expression must specify the field name, a comparison operator, and the value
|
|
865
807
|
# that you want to use for filtering. The value must be a string, a number, or a
|
|
866
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
867
|
-
#
|
|
808
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
|
809
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
|
868
810
|
# instances named `example-instance` by specifying `name != example-instance`.
|
|
869
811
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
870
812
|
# automaticRestart = false` to include instances only if they are not scheduled
|
|
871
813
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
872
|
-
# on resource labels.
|
|
873
|
-
#
|
|
874
|
-
#
|
|
875
|
-
#
|
|
876
|
-
#
|
|
877
|
-
#
|
|
878
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
814
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
|
815
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
|
816
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
|
817
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
|
818
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
|
819
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
879
820
|
# @param [Fixnum] max_results
|
|
880
821
|
# The maximum number of results per page that should be returned. If the number
|
|
881
822
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
@@ -883,12 +824,11 @@ module Google
|
|
|
883
824
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
884
825
|
# @param [String] order_by
|
|
885
826
|
# Sorts list results by a certain order. By default, results are returned in
|
|
886
|
-
# alphanumerical order based on the resource name.
|
|
887
|
-
#
|
|
888
|
-
#
|
|
889
|
-
#
|
|
890
|
-
#
|
|
891
|
-
# returned first.
|
|
827
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
828
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
829
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
830
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
831
|
+
# resources like operations so that the newest operation is returned first.
|
|
892
832
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
893
833
|
# @param [String] page_token
|
|
894
834
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
@@ -896,10 +836,8 @@ module Google
|
|
|
896
836
|
# @param [String] fields
|
|
897
837
|
# Selector specifying which fields to include in a partial response.
|
|
898
838
|
# @param [String] quota_user
|
|
899
|
-
#
|
|
900
|
-
# characters.
|
|
901
|
-
# @param [String] user_ip
|
|
902
|
-
# Deprecated. Please use quotaUser instead.
|
|
839
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
840
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
903
841
|
# @param [Google::Apis::RequestOptions] options
|
|
904
842
|
# Request-specific options
|
|
905
843
|
#
|
|
@@ -912,8 +850,8 @@ module Google
|
|
|
912
850
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
913
851
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
914
852
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
915
|
-
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
916
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
|
|
853
|
+
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
854
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests', options)
|
|
917
855
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::ManifestsListResponse::Representation
|
|
918
856
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::ManifestsListResponse
|
|
919
857
|
command.params['project'] = project unless project.nil?
|
|
@@ -924,7 +862,6 @@ module Google
|
|
|
924
862
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
925
863
|
command.query['fields'] = fields unless fields.nil?
|
|
926
864
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
927
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
928
865
|
execute_or_queue_command(command, &block)
|
|
929
866
|
end
|
|
930
867
|
|
|
@@ -936,10 +873,8 @@ module Google
|
|
|
936
873
|
# @param [String] fields
|
|
937
874
|
# Selector specifying which fields to include in a partial response.
|
|
938
875
|
# @param [String] quota_user
|
|
939
|
-
#
|
|
940
|
-
# characters.
|
|
941
|
-
# @param [String] user_ip
|
|
942
|
-
# Deprecated. Please use quotaUser instead.
|
|
876
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
877
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
943
878
|
# @param [Google::Apis::RequestOptions] options
|
|
944
879
|
# Request-specific options
|
|
945
880
|
#
|
|
@@ -952,15 +887,14 @@ module Google
|
|
|
952
887
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
953
888
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
954
889
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
955
|
-
def get_operation(project, operation, fields: nil, quota_user: nil,
|
|
956
|
-
command = make_simple_command(:get, '{project}/global/operations/{operation}', options)
|
|
890
|
+
def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
|
|
891
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/operations/{operation}', options)
|
|
957
892
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
958
893
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
|
|
959
894
|
command.params['project'] = project unless project.nil?
|
|
960
895
|
command.params['operation'] = operation unless operation.nil?
|
|
961
896
|
command.query['fields'] = fields unless fields.nil?
|
|
962
897
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
963
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
964
898
|
execute_or_queue_command(command, &block)
|
|
965
899
|
end
|
|
966
900
|
|
|
@@ -971,19 +905,18 @@ module Google
|
|
|
971
905
|
# A filter expression that filters resources listed in the response. The
|
|
972
906
|
# expression must specify the field name, a comparison operator, and the value
|
|
973
907
|
# that you want to use for filtering. The value must be a string, a number, or a
|
|
974
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
975
|
-
#
|
|
908
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
|
909
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
|
976
910
|
# instances named `example-instance` by specifying `name != example-instance`.
|
|
977
911
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
978
912
|
# automaticRestart = false` to include instances only if they are not scheduled
|
|
979
913
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
980
|
-
# on resource labels.
|
|
981
|
-
#
|
|
982
|
-
#
|
|
983
|
-
#
|
|
984
|
-
#
|
|
985
|
-
#
|
|
986
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
914
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
|
915
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
|
916
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
|
917
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
|
918
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
|
919
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
987
920
|
# @param [Fixnum] max_results
|
|
988
921
|
# The maximum number of results per page that should be returned. If the number
|
|
989
922
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
@@ -991,12 +924,11 @@ module Google
|
|
|
991
924
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
992
925
|
# @param [String] order_by
|
|
993
926
|
# Sorts list results by a certain order. By default, results are returned in
|
|
994
|
-
# alphanumerical order based on the resource name.
|
|
995
|
-
#
|
|
996
|
-
#
|
|
997
|
-
#
|
|
998
|
-
#
|
|
999
|
-
# returned first.
|
|
927
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
928
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
929
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
930
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
931
|
+
# resources like operations so that the newest operation is returned first.
|
|
1000
932
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
1001
933
|
# @param [String] page_token
|
|
1002
934
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
@@ -1004,10 +936,8 @@ module Google
|
|
|
1004
936
|
# @param [String] fields
|
|
1005
937
|
# Selector specifying which fields to include in a partial response.
|
|
1006
938
|
# @param [String] quota_user
|
|
1007
|
-
#
|
|
1008
|
-
# characters.
|
|
1009
|
-
# @param [String] user_ip
|
|
1010
|
-
# Deprecated. Please use quotaUser instead.
|
|
939
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
940
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1011
941
|
# @param [Google::Apis::RequestOptions] options
|
|
1012
942
|
# Request-specific options
|
|
1013
943
|
#
|
|
@@ -1020,8 +950,8 @@ module Google
|
|
|
1020
950
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1021
951
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1022
952
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1023
|
-
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
1024
|
-
command = make_simple_command(:get, '{project}/global/operations', options)
|
|
953
|
+
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
954
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/operations', options)
|
|
1025
955
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::OperationsListResponse::Representation
|
|
1026
956
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::OperationsListResponse
|
|
1027
957
|
command.params['project'] = project unless project.nil?
|
|
@@ -1031,7 +961,6 @@ module Google
|
|
|
1031
961
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1032
962
|
command.query['fields'] = fields unless fields.nil?
|
|
1033
963
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1034
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1035
964
|
execute_or_queue_command(command, &block)
|
|
1036
965
|
end
|
|
1037
966
|
|
|
@@ -1045,10 +974,8 @@ module Google
|
|
|
1045
974
|
# @param [String] fields
|
|
1046
975
|
# Selector specifying which fields to include in a partial response.
|
|
1047
976
|
# @param [String] quota_user
|
|
1048
|
-
#
|
|
1049
|
-
# characters.
|
|
1050
|
-
# @param [String] user_ip
|
|
1051
|
-
# Deprecated. Please use quotaUser instead.
|
|
977
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
978
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1052
979
|
# @param [Google::Apis::RequestOptions] options
|
|
1053
980
|
# Request-specific options
|
|
1054
981
|
#
|
|
@@ -1061,8 +988,8 @@ module Google
|
|
|
1061
988
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1062
989
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1063
990
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1064
|
-
def get_resource(project, deployment, resource, fields: nil, quota_user: nil,
|
|
1065
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources/{resource}', options)
|
|
991
|
+
def get_resource(project, deployment, resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
992
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources/{resource}', options)
|
|
1066
993
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Resource::Representation
|
|
1067
994
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Resource
|
|
1068
995
|
command.params['project'] = project unless project.nil?
|
|
@@ -1070,7 +997,6 @@ module Google
|
|
|
1070
997
|
command.params['resource'] = resource unless resource.nil?
|
|
1071
998
|
command.query['fields'] = fields unless fields.nil?
|
|
1072
999
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1073
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1074
1000
|
execute_or_queue_command(command, &block)
|
|
1075
1001
|
end
|
|
1076
1002
|
|
|
@@ -1083,19 +1009,18 @@ module Google
|
|
|
1083
1009
|
# A filter expression that filters resources listed in the response. The
|
|
1084
1010
|
# expression must specify the field name, a comparison operator, and the value
|
|
1085
1011
|
# that you want to use for filtering. The value must be a string, a number, or a
|
|
1086
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
1087
|
-
#
|
|
1012
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
|
1013
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
|
1088
1014
|
# instances named `example-instance` by specifying `name != example-instance`.
|
|
1089
1015
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
1090
1016
|
# automaticRestart = false` to include instances only if they are not scheduled
|
|
1091
1017
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
1092
|
-
# on resource labels.
|
|
1093
|
-
#
|
|
1094
|
-
#
|
|
1095
|
-
#
|
|
1096
|
-
#
|
|
1097
|
-
#
|
|
1098
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
1018
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
|
1019
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
|
1020
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
|
1021
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
|
1022
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
|
1023
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
1099
1024
|
# @param [Fixnum] max_results
|
|
1100
1025
|
# The maximum number of results per page that should be returned. If the number
|
|
1101
1026
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
@@ -1103,12 +1028,11 @@ module Google
|
|
|
1103
1028
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
1104
1029
|
# @param [String] order_by
|
|
1105
1030
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1106
|
-
# alphanumerical order based on the resource name.
|
|
1107
|
-
#
|
|
1108
|
-
#
|
|
1109
|
-
#
|
|
1110
|
-
#
|
|
1111
|
-
# returned first.
|
|
1031
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
1032
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
1033
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
1034
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
1035
|
+
# resources like operations so that the newest operation is returned first.
|
|
1112
1036
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
1113
1037
|
# @param [String] page_token
|
|
1114
1038
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
@@ -1116,10 +1040,8 @@ module Google
|
|
|
1116
1040
|
# @param [String] fields
|
|
1117
1041
|
# Selector specifying which fields to include in a partial response.
|
|
1118
1042
|
# @param [String] quota_user
|
|
1119
|
-
#
|
|
1120
|
-
# characters.
|
|
1121
|
-
# @param [String] user_ip
|
|
1122
|
-
# Deprecated. Please use quotaUser instead.
|
|
1043
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1044
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1123
1045
|
# @param [Google::Apis::RequestOptions] options
|
|
1124
1046
|
# Request-specific options
|
|
1125
1047
|
#
|
|
@@ -1132,8 +1054,8 @@ module Google
|
|
|
1132
1054
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1133
1055
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1134
1056
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1135
|
-
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
1136
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
|
|
1057
|
+
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1058
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources', options)
|
|
1137
1059
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::ResourcesListResponse::Representation
|
|
1138
1060
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::ResourcesListResponse
|
|
1139
1061
|
command.params['project'] = project unless project.nil?
|
|
@@ -1144,7 +1066,6 @@ module Google
|
|
|
1144
1066
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1145
1067
|
command.query['fields'] = fields unless fields.nil?
|
|
1146
1068
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1147
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1148
1069
|
execute_or_queue_command(command, &block)
|
|
1149
1070
|
end
|
|
1150
1071
|
|
|
@@ -1156,10 +1077,8 @@ module Google
|
|
|
1156
1077
|
# @param [String] fields
|
|
1157
1078
|
# Selector specifying which fields to include in a partial response.
|
|
1158
1079
|
# @param [String] quota_user
|
|
1159
|
-
#
|
|
1160
|
-
# characters.
|
|
1161
|
-
# @param [String] user_ip
|
|
1162
|
-
# Deprecated. Please use quotaUser instead.
|
|
1080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1163
1082
|
# @param [Google::Apis::RequestOptions] options
|
|
1164
1083
|
# Request-specific options
|
|
1165
1084
|
#
|
|
@@ -1172,15 +1091,14 @@ module Google
|
|
|
1172
1091
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1173
1092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1174
1093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1175
|
-
def delete_type_provider(project, type_provider, fields: nil, quota_user: nil,
|
|
1176
|
-
command = make_simple_command(:delete, '{project}/global/typeProviders/{typeProvider}', options)
|
|
1094
|
+
def delete_type_provider(project, type_provider, fields: nil, quota_user: nil, options: nil, &block)
|
|
1095
|
+
command = make_simple_command(:delete, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
|
|
1177
1096
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
1178
1097
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
|
|
1179
1098
|
command.params['project'] = project unless project.nil?
|
|
1180
1099
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
|
1181
1100
|
command.query['fields'] = fields unless fields.nil?
|
|
1182
1101
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1183
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1184
1102
|
execute_or_queue_command(command, &block)
|
|
1185
1103
|
end
|
|
1186
1104
|
|
|
@@ -1192,10 +1110,8 @@ module Google
|
|
|
1192
1110
|
# @param [String] fields
|
|
1193
1111
|
# Selector specifying which fields to include in a partial response.
|
|
1194
1112
|
# @param [String] quota_user
|
|
1195
|
-
#
|
|
1196
|
-
# characters.
|
|
1197
|
-
# @param [String] user_ip
|
|
1198
|
-
# Deprecated. Please use quotaUser instead.
|
|
1113
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1114
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1199
1115
|
# @param [Google::Apis::RequestOptions] options
|
|
1200
1116
|
# Request-specific options
|
|
1201
1117
|
#
|
|
@@ -1208,15 +1124,14 @@ module Google
|
|
|
1208
1124
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1209
1125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1210
1126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1211
|
-
def get_type_provider(project, type_provider, fields: nil, quota_user: nil,
|
|
1212
|
-
command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}', options)
|
|
1127
|
+
def get_type_provider(project, type_provider, fields: nil, quota_user: nil, options: nil, &block)
|
|
1128
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
|
|
1213
1129
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
|
|
1214
1130
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvider
|
|
1215
1131
|
command.params['project'] = project unless project.nil?
|
|
1216
1132
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
|
1217
1133
|
command.query['fields'] = fields unless fields.nil?
|
|
1218
1134
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1219
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1220
1135
|
execute_or_queue_command(command, &block)
|
|
1221
1136
|
end
|
|
1222
1137
|
|
|
@@ -1230,10 +1145,8 @@ module Google
|
|
|
1230
1145
|
# @param [String] fields
|
|
1231
1146
|
# Selector specifying which fields to include in a partial response.
|
|
1232
1147
|
# @param [String] quota_user
|
|
1233
|
-
#
|
|
1234
|
-
# characters.
|
|
1235
|
-
# @param [String] user_ip
|
|
1236
|
-
# Deprecated. Please use quotaUser instead.
|
|
1148
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1149
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1237
1150
|
# @param [Google::Apis::RequestOptions] options
|
|
1238
1151
|
# Request-specific options
|
|
1239
1152
|
#
|
|
@@ -1246,8 +1159,8 @@ module Google
|
|
|
1246
1159
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1247
1160
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1248
1161
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1249
|
-
def get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil,
|
|
1250
|
-
command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types/{type}', options)
|
|
1162
|
+
def get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil, options: nil, &block)
|
|
1163
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types/{type}', options)
|
|
1251
1164
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeInfo::Representation
|
|
1252
1165
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeInfo
|
|
1253
1166
|
command.params['project'] = project unless project.nil?
|
|
@@ -1255,7 +1168,6 @@ module Google
|
|
|
1255
1168
|
command.params['type'] = type unless type.nil?
|
|
1256
1169
|
command.query['fields'] = fields unless fields.nil?
|
|
1257
1170
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1258
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1259
1171
|
execute_or_queue_command(command, &block)
|
|
1260
1172
|
end
|
|
1261
1173
|
|
|
@@ -1266,10 +1178,8 @@ module Google
|
|
|
1266
1178
|
# @param [String] fields
|
|
1267
1179
|
# Selector specifying which fields to include in a partial response.
|
|
1268
1180
|
# @param [String] quota_user
|
|
1269
|
-
#
|
|
1270
|
-
# characters.
|
|
1271
|
-
# @param [String] user_ip
|
|
1272
|
-
# Deprecated. Please use quotaUser instead.
|
|
1181
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1182
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1273
1183
|
# @param [Google::Apis::RequestOptions] options
|
|
1274
1184
|
# Request-specific options
|
|
1275
1185
|
#
|
|
@@ -1282,8 +1192,8 @@ module Google
|
|
|
1282
1192
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1283
1193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1284
1194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1285
|
-
def insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil,
|
|
1286
|
-
command = make_simple_command(:post, '{project}/global/typeProviders', options)
|
|
1195
|
+
def insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1196
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders', options)
|
|
1287
1197
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
|
|
1288
1198
|
command.request_object = type_provider_object
|
|
1289
1199
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -1291,7 +1201,6 @@ module Google
|
|
|
1291
1201
|
command.params['project'] = project unless project.nil?
|
|
1292
1202
|
command.query['fields'] = fields unless fields.nil?
|
|
1293
1203
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1294
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1295
1204
|
execute_or_queue_command(command, &block)
|
|
1296
1205
|
end
|
|
1297
1206
|
|
|
@@ -1302,19 +1211,18 @@ module Google
|
|
|
1302
1211
|
# A filter expression that filters resources listed in the response. The
|
|
1303
1212
|
# expression must specify the field name, a comparison operator, and the value
|
|
1304
1213
|
# that you want to use for filtering. The value must be a string, a number, or a
|
|
1305
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
1306
|
-
#
|
|
1214
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
|
1215
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
|
1307
1216
|
# instances named `example-instance` by specifying `name != example-instance`.
|
|
1308
1217
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
1309
1218
|
# automaticRestart = false` to include instances only if they are not scheduled
|
|
1310
1219
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
1311
|
-
# on resource labels.
|
|
1312
|
-
#
|
|
1313
|
-
#
|
|
1314
|
-
#
|
|
1315
|
-
#
|
|
1316
|
-
#
|
|
1317
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
1220
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
|
1221
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
|
1222
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
|
1223
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
|
1224
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
|
1225
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
1318
1226
|
# @param [Fixnum] max_results
|
|
1319
1227
|
# The maximum number of results per page that should be returned. If the number
|
|
1320
1228
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
@@ -1322,12 +1230,11 @@ module Google
|
|
|
1322
1230
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
1323
1231
|
# @param [String] order_by
|
|
1324
1232
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1325
|
-
# alphanumerical order based on the resource name.
|
|
1326
|
-
#
|
|
1327
|
-
#
|
|
1328
|
-
#
|
|
1329
|
-
#
|
|
1330
|
-
# returned first.
|
|
1233
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
1234
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
1235
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
1236
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
1237
|
+
# resources like operations so that the newest operation is returned first.
|
|
1331
1238
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
1332
1239
|
# @param [String] page_token
|
|
1333
1240
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
@@ -1335,10 +1242,8 @@ module Google
|
|
|
1335
1242
|
# @param [String] fields
|
|
1336
1243
|
# Selector specifying which fields to include in a partial response.
|
|
1337
1244
|
# @param [String] quota_user
|
|
1338
|
-
#
|
|
1339
|
-
# characters.
|
|
1340
|
-
# @param [String] user_ip
|
|
1341
|
-
# Deprecated. Please use quotaUser instead.
|
|
1245
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1246
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1342
1247
|
# @param [Google::Apis::RequestOptions] options
|
|
1343
1248
|
# Request-specific options
|
|
1344
1249
|
#
|
|
@@ -1351,8 +1256,8 @@ module Google
|
|
|
1351
1256
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1352
1257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1353
1258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1354
|
-
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
1355
|
-
command = make_simple_command(:get, '{project}/global/typeProviders', options)
|
|
1259
|
+
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1260
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders', options)
|
|
1356
1261
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListResponse::Representation
|
|
1357
1262
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListResponse
|
|
1358
1263
|
command.params['project'] = project unless project.nil?
|
|
@@ -1362,7 +1267,6 @@ module Google
|
|
|
1362
1267
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1363
1268
|
command.query['fields'] = fields unless fields.nil?
|
|
1364
1269
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1365
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1366
1270
|
execute_or_queue_command(command, &block)
|
|
1367
1271
|
end
|
|
1368
1272
|
|
|
@@ -1375,19 +1279,18 @@ module Google
|
|
|
1375
1279
|
# A filter expression that filters resources listed in the response. The
|
|
1376
1280
|
# expression must specify the field name, a comparison operator, and the value
|
|
1377
1281
|
# that you want to use for filtering. The value must be a string, a number, or a
|
|
1378
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
1379
|
-
#
|
|
1282
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
|
1283
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
|
1380
1284
|
# instances named `example-instance` by specifying `name != example-instance`.
|
|
1381
1285
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
1382
1286
|
# automaticRestart = false` to include instances only if they are not scheduled
|
|
1383
1287
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
1384
|
-
# on resource labels.
|
|
1385
|
-
#
|
|
1386
|
-
#
|
|
1387
|
-
#
|
|
1388
|
-
#
|
|
1389
|
-
#
|
|
1390
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
1288
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
|
1289
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
|
1290
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
|
1291
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
|
1292
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
|
1293
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
1391
1294
|
# @param [Fixnum] max_results
|
|
1392
1295
|
# The maximum number of results per page that should be returned. If the number
|
|
1393
1296
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
@@ -1395,12 +1298,11 @@ module Google
|
|
|
1395
1298
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
1396
1299
|
# @param [String] order_by
|
|
1397
1300
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1398
|
-
# alphanumerical order based on the resource name.
|
|
1399
|
-
#
|
|
1400
|
-
#
|
|
1401
|
-
#
|
|
1402
|
-
#
|
|
1403
|
-
# returned first.
|
|
1301
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
1302
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
1303
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
1304
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
1305
|
+
# resources like operations so that the newest operation is returned first.
|
|
1404
1306
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
1405
1307
|
# @param [String] page_token
|
|
1406
1308
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
@@ -1408,10 +1310,8 @@ module Google
|
|
|
1408
1310
|
# @param [String] fields
|
|
1409
1311
|
# Selector specifying which fields to include in a partial response.
|
|
1410
1312
|
# @param [String] quota_user
|
|
1411
|
-
#
|
|
1412
|
-
# characters.
|
|
1413
|
-
# @param [String] user_ip
|
|
1414
|
-
# Deprecated. Please use quotaUser instead.
|
|
1313
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1314
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1415
1315
|
# @param [Google::Apis::RequestOptions] options
|
|
1416
1316
|
# Request-specific options
|
|
1417
1317
|
#
|
|
@@ -1424,8 +1324,8 @@ module Google
|
|
|
1424
1324
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1425
1325
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1426
1326
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1427
|
-
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
1428
|
-
command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types', options)
|
|
1327
|
+
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1328
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types', options)
|
|
1429
1329
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListTypesResponse::Representation
|
|
1430
1330
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListTypesResponse
|
|
1431
1331
|
command.params['project'] = project unless project.nil?
|
|
@@ -1436,7 +1336,6 @@ module Google
|
|
|
1436
1336
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1437
1337
|
command.query['fields'] = fields unless fields.nil?
|
|
1438
1338
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1439
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1440
1339
|
execute_or_queue_command(command, &block)
|
|
1441
1340
|
end
|
|
1442
1341
|
|
|
@@ -1449,10 +1348,8 @@ module Google
|
|
|
1449
1348
|
# @param [String] fields
|
|
1450
1349
|
# Selector specifying which fields to include in a partial response.
|
|
1451
1350
|
# @param [String] quota_user
|
|
1452
|
-
#
|
|
1453
|
-
# characters.
|
|
1454
|
-
# @param [String] user_ip
|
|
1455
|
-
# Deprecated. Please use quotaUser instead.
|
|
1351
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1352
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1456
1353
|
# @param [Google::Apis::RequestOptions] options
|
|
1457
1354
|
# Request-specific options
|
|
1458
1355
|
#
|
|
@@ -1465,8 +1362,8 @@ module Google
|
|
|
1465
1362
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1466
1363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1467
1364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1468
|
-
def patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil,
|
|
1469
|
-
command = make_simple_command(:patch, '{project}/global/typeProviders/{typeProvider}', options)
|
|
1365
|
+
def patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1366
|
+
command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
|
|
1470
1367
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
|
|
1471
1368
|
command.request_object = type_provider_object
|
|
1472
1369
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -1475,7 +1372,6 @@ module Google
|
|
|
1475
1372
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
|
1476
1373
|
command.query['fields'] = fields unless fields.nil?
|
|
1477
1374
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1478
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1479
1375
|
execute_or_queue_command(command, &block)
|
|
1480
1376
|
end
|
|
1481
1377
|
|
|
@@ -1488,10 +1384,8 @@ module Google
|
|
|
1488
1384
|
# @param [String] fields
|
|
1489
1385
|
# Selector specifying which fields to include in a partial response.
|
|
1490
1386
|
# @param [String] quota_user
|
|
1491
|
-
#
|
|
1492
|
-
# characters.
|
|
1493
|
-
# @param [String] user_ip
|
|
1494
|
-
# Deprecated. Please use quotaUser instead.
|
|
1387
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1388
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1495
1389
|
# @param [Google::Apis::RequestOptions] options
|
|
1496
1390
|
# Request-specific options
|
|
1497
1391
|
#
|
|
@@ -1504,8 +1398,8 @@ module Google
|
|
|
1504
1398
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1505
1399
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1506
1400
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1507
|
-
def update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil,
|
|
1508
|
-
command = make_simple_command(:put, '{project}/global/typeProviders/{typeProvider}', options)
|
|
1401
|
+
def update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1402
|
+
command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
|
|
1509
1403
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
|
|
1510
1404
|
command.request_object = type_provider_object
|
|
1511
1405
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
|
@@ -1514,7 +1408,6 @@ module Google
|
|
|
1514
1408
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
|
1515
1409
|
command.query['fields'] = fields unless fields.nil?
|
|
1516
1410
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1517
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1518
1411
|
execute_or_queue_command(command, &block)
|
|
1519
1412
|
end
|
|
1520
1413
|
|
|
@@ -1525,19 +1418,18 @@ module Google
|
|
|
1525
1418
|
# A filter expression that filters resources listed in the response. The
|
|
1526
1419
|
# expression must specify the field name, a comparison operator, and the value
|
|
1527
1420
|
# that you want to use for filtering. The value must be a string, a number, or a
|
|
1528
|
-
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
1529
|
-
#
|
|
1421
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
|
1422
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
|
1530
1423
|
# instances named `example-instance` by specifying `name != example-instance`.
|
|
1531
1424
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
1532
1425
|
# automaticRestart = false` to include instances only if they are not scheduled
|
|
1533
1426
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
1534
|
-
# on resource labels.
|
|
1535
|
-
#
|
|
1536
|
-
#
|
|
1537
|
-
#
|
|
1538
|
-
#
|
|
1539
|
-
#
|
|
1540
|
-
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
1427
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
|
1428
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
|
1429
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
|
1430
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
|
1431
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
|
1432
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
1541
1433
|
# @param [Fixnum] max_results
|
|
1542
1434
|
# The maximum number of results per page that should be returned. If the number
|
|
1543
1435
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
@@ -1545,12 +1437,11 @@ module Google
|
|
|
1545
1437
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
1546
1438
|
# @param [String] order_by
|
|
1547
1439
|
# Sorts list results by a certain order. By default, results are returned in
|
|
1548
|
-
# alphanumerical order based on the resource name.
|
|
1549
|
-
#
|
|
1550
|
-
#
|
|
1551
|
-
#
|
|
1552
|
-
#
|
|
1553
|
-
# returned first.
|
|
1440
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
1441
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
1442
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
1443
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
1444
|
+
# resources like operations so that the newest operation is returned first.
|
|
1554
1445
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
1555
1446
|
# @param [String] page_token
|
|
1556
1447
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
@@ -1558,10 +1449,8 @@ module Google
|
|
|
1558
1449
|
# @param [String] fields
|
|
1559
1450
|
# Selector specifying which fields to include in a partial response.
|
|
1560
1451
|
# @param [String] quota_user
|
|
1561
|
-
#
|
|
1562
|
-
# characters.
|
|
1563
|
-
# @param [String] user_ip
|
|
1564
|
-
# Deprecated. Please use quotaUser instead.
|
|
1452
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1453
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1565
1454
|
# @param [Google::Apis::RequestOptions] options
|
|
1566
1455
|
# Request-specific options
|
|
1567
1456
|
#
|
|
@@ -1574,8 +1463,8 @@ module Google
|
|
|
1574
1463
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1575
1464
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1576
1465
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1577
|
-
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil,
|
|
1578
|
-
command = make_simple_command(:get, '{project}/global/types', options)
|
|
1466
|
+
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1467
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/types', options)
|
|
1579
1468
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypesListResponse::Representation
|
|
1580
1469
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypesListResponse
|
|
1581
1470
|
command.params['project'] = project unless project.nil?
|
|
@@ -1585,7 +1474,6 @@ module Google
|
|
|
1585
1474
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1586
1475
|
command.query['fields'] = fields unless fields.nil?
|
|
1587
1476
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1588
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1589
1477
|
execute_or_queue_command(command, &block)
|
|
1590
1478
|
end
|
|
1591
1479
|
|
|
@@ -1594,7 +1482,6 @@ module Google
|
|
|
1594
1482
|
def apply_command_defaults(command)
|
|
1595
1483
|
command.query['key'] = key unless key.nil?
|
|
1596
1484
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1597
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
1598
1485
|
end
|
|
1599
1486
|
end
|
|
1600
1487
|
end
|