google-api-client 0.46.2 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +79 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +736 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- 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/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/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +28 -12
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +263 -69
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +44 -33
- 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 +98 -30
- 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/classes.rb +2 -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 +8 -5
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +378 -138
- data/generated/google/apis/apigee_v1/representations.rb +109 -18
- data/generated/google/apis/apigee_v1/service.rb +674 -56
- 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 +49 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -7
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -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 +944 -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 +78 -0
- data/generated/google/apis/bigquery_v2/representations.rb +34 -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 +2 -9
- 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 +4 -10
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- 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 +7 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- 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/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +3 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +11 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +15 -7
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +37 -21
- 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 +1 -2
- 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 +13 -13
- 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 +13 -13
- 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 +0 -7
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -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 +0 -7
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- 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 +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +289 -31
- data/generated/google/apis/compute_v1/representations.rb +44 -0
- data/generated/google/apis/compute_v1/service.rb +695 -545
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +29 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- 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 +3 -4
- data/generated/google/apis/content_v2/classes.rb +514 -1222
- data/generated/google/apis/content_v2/service.rb +380 -651
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1522 -1062
- data/generated/google/apis/content_v2_1/representations.rb +420 -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 +1670 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -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 +95 -12
- data/generated/google/apis/dataproc_v1/representations.rb +23 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +63 -12
- data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -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_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 +169 -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 +278 -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 +19 -387
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -212
- 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 +17 -390
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -212
- data/generated/google/apis/dialogflow_v2beta1/service.rb +510 -40
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +76 -387
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +20 -212
- data/generated/google/apis/dialogflow_v3beta1/service.rb +11 -3
- 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 +35 -29
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +20 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
- data/generated/google/apis/dns_v1beta2/service.rb +177 -1
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- 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 +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +505 -4
- data/generated/google/apis/file_v1/representations.rb +203 -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 +25 -0
- 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 +24 -17
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +361 -57
- data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
- 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 +1 -13
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
- 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 +34 -31
- 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/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +191 -14
- 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/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +272 -84
- data/generated/google/apis/ml_v1/representations.rb +43 -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 +16 -9
- data/generated/google/apis/monitoring_v3/service.rb +55 -5
- 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/playcustomapp_v1.rb +1 -1
- 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 +2466 -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/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_v1/service.rb +2 -2
- 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 +3 -3
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +3 -3
- 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 +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -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 +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -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 +6 -64
- 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 +156 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +62 -15
- 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 +69 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +29 -15
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- 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/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/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- 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 +72 -50
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- 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/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -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 +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- 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_v1/service.rb +0 -62
- 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/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/generated/google/apis/youtube_v3/service.rb +6 -6
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +53 -24
- 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,23 +174,23 @@ 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
|
199
185
|
# by a previous list request to get the next page of results.
|
186
|
+
# @param [Boolean] return_partial_success
|
187
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
188
|
+
# failure. The default value is false and the logic is the same as today.
|
200
189
|
# @param [String] fields
|
201
190
|
# Selector specifying which fields to include in a partial response.
|
202
191
|
# @param [String] quota_user
|
203
|
-
#
|
204
|
-
# characters.
|
205
|
-
# @param [String] user_ip
|
206
|
-
# Deprecated. Please use quotaUser instead.
|
192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
207
194
|
# @param [Google::Apis::RequestOptions] options
|
208
195
|
# Request-specific options
|
209
196
|
#
|
@@ -216,8 +203,8 @@ module Google
|
|
216
203
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
217
204
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
205
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
|
-
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
220
|
-
command = make_simple_command(:get, '{project}/global/compositeTypes', options)
|
206
|
+
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
207
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes', options)
|
221
208
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::CompositeTypesListResponse::Representation
|
222
209
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::CompositeTypesListResponse
|
223
210
|
command.params['project'] = project unless project.nil?
|
@@ -225,9 +212,9 @@ module Google
|
|
225
212
|
command.query['maxResults'] = max_results unless max_results.nil?
|
226
213
|
command.query['orderBy'] = order_by unless order_by.nil?
|
227
214
|
command.query['pageToken'] = page_token unless page_token.nil?
|
215
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
228
216
|
command.query['fields'] = fields unless fields.nil?
|
229
217
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
230
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
231
218
|
execute_or_queue_command(command, &block)
|
232
219
|
end
|
233
220
|
|
@@ -240,10 +227,8 @@ module Google
|
|
240
227
|
# @param [String] fields
|
241
228
|
# Selector specifying which fields to include in a partial response.
|
242
229
|
# @param [String] quota_user
|
243
|
-
#
|
244
|
-
# characters.
|
245
|
-
# @param [String] user_ip
|
246
|
-
# Deprecated. Please use quotaUser instead.
|
230
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
231
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
247
232
|
# @param [Google::Apis::RequestOptions] options
|
248
233
|
# Request-specific options
|
249
234
|
#
|
@@ -256,8 +241,8 @@ module Google
|
|
256
241
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
257
242
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
258
243
|
# @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)
|
244
|
+
def patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
245
|
+
command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
|
261
246
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
|
262
247
|
command.request_object = composite_type_object
|
263
248
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -266,7 +251,6 @@ module Google
|
|
266
251
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
267
252
|
command.query['fields'] = fields unless fields.nil?
|
268
253
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
269
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
270
254
|
execute_or_queue_command(command, &block)
|
271
255
|
end
|
272
256
|
|
@@ -279,10 +263,8 @@ module Google
|
|
279
263
|
# @param [String] fields
|
280
264
|
# Selector specifying which fields to include in a partial response.
|
281
265
|
# @param [String] quota_user
|
282
|
-
#
|
283
|
-
# characters.
|
284
|
-
# @param [String] user_ip
|
285
|
-
# Deprecated. Please use quotaUser instead.
|
266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
286
268
|
# @param [Google::Apis::RequestOptions] options
|
287
269
|
# Request-specific options
|
288
270
|
#
|
@@ -295,8 +277,8 @@ module Google
|
|
295
277
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
296
278
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
297
279
|
# @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)
|
280
|
+
def update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
281
|
+
command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}', options)
|
300
282
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::CompositeType::Representation
|
301
283
|
command.request_object = composite_type_object
|
302
284
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -305,7 +287,6 @@ module Google
|
|
305
287
|
command.params['compositeType'] = composite_type unless composite_type.nil?
|
306
288
|
command.query['fields'] = fields unless fields.nil?
|
307
289
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
308
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
309
290
|
execute_or_queue_command(command, &block)
|
310
291
|
end
|
311
292
|
|
@@ -318,10 +299,8 @@ module Google
|
|
318
299
|
# @param [String] fields
|
319
300
|
# Selector specifying which fields to include in a partial response.
|
320
301
|
# @param [String] quota_user
|
321
|
-
#
|
322
|
-
# characters.
|
323
|
-
# @param [String] user_ip
|
324
|
-
# Deprecated. Please use quotaUser instead.
|
302
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
303
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
325
304
|
# @param [Google::Apis::RequestOptions] options
|
326
305
|
# Request-specific options
|
327
306
|
#
|
@@ -334,8 +313,8 @@ module Google
|
|
334
313
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
335
314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
336
315
|
# @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)
|
316
|
+
def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
317
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/cancelPreview', options)
|
339
318
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsCancelPreviewRequest::Representation
|
340
319
|
command.request_object = deployments_cancel_preview_request_object
|
341
320
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -344,7 +323,6 @@ module Google
|
|
344
323
|
command.params['deployment'] = deployment unless deployment.nil?
|
345
324
|
command.query['fields'] = fields unless fields.nil?
|
346
325
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
347
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
348
326
|
execute_or_queue_command(command, &block)
|
349
327
|
end
|
350
328
|
|
@@ -358,10 +336,8 @@ module Google
|
|
358
336
|
# @param [String] fields
|
359
337
|
# Selector specifying which fields to include in a partial response.
|
360
338
|
# @param [String] quota_user
|
361
|
-
#
|
362
|
-
# characters.
|
363
|
-
# @param [String] user_ip
|
364
|
-
# Deprecated. Please use quotaUser instead.
|
339
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
340
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
365
341
|
# @param [Google::Apis::RequestOptions] options
|
366
342
|
# Request-specific options
|
367
343
|
#
|
@@ -374,8 +350,8 @@ module Google
|
|
374
350
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
375
351
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
376
352
|
# @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)
|
353
|
+
def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
354
|
+
command = make_simple_command(:delete, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
|
379
355
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
380
356
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
|
381
357
|
command.params['project'] = project unless project.nil?
|
@@ -383,7 +359,6 @@ module Google
|
|
383
359
|
command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
|
384
360
|
command.query['fields'] = fields unless fields.nil?
|
385
361
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
386
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
387
362
|
execute_or_queue_command(command, &block)
|
388
363
|
end
|
389
364
|
|
@@ -395,10 +370,8 @@ module Google
|
|
395
370
|
# @param [String] fields
|
396
371
|
# Selector specifying which fields to include in a partial response.
|
397
372
|
# @param [String] quota_user
|
398
|
-
#
|
399
|
-
# characters.
|
400
|
-
# @param [String] user_ip
|
401
|
-
# Deprecated. Please use quotaUser instead.
|
373
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
374
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
402
375
|
# @param [Google::Apis::RequestOptions] options
|
403
376
|
# Request-specific options
|
404
377
|
#
|
@@ -411,15 +384,14 @@ module Google
|
|
411
384
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
412
385
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
413
386
|
# @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)
|
387
|
+
def get_deployment(project, deployment, fields: nil, quota_user: nil, options: nil, &block)
|
388
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
|
416
389
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
417
390
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Deployment
|
418
391
|
command.params['project'] = project unless project.nil?
|
419
392
|
command.params['deployment'] = deployment unless deployment.nil?
|
420
393
|
command.query['fields'] = fields unless fields.nil?
|
421
394
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
422
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
423
395
|
execute_or_queue_command(command, &block)
|
424
396
|
end
|
425
397
|
|
@@ -429,13 +401,13 @@ module Google
|
|
429
401
|
# Project ID for this request.
|
430
402
|
# @param [String] resource
|
431
403
|
# Name or id of the resource for this request.
|
404
|
+
# @param [Fixnum] options_requested_policy_version
|
405
|
+
# Requested IAM Policy version.
|
432
406
|
# @param [String] fields
|
433
407
|
# Selector specifying which fields to include in a partial response.
|
434
408
|
# @param [String] quota_user
|
435
|
-
#
|
436
|
-
# characters.
|
437
|
-
# @param [String] user_ip
|
438
|
-
# Deprecated. Please use quotaUser instead.
|
409
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
410
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
439
411
|
# @param [Google::Apis::RequestOptions] options
|
440
412
|
# Request-specific options
|
441
413
|
#
|
@@ -448,15 +420,15 @@ module Google
|
|
448
420
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
449
421
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
450
422
|
# @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)
|
423
|
+
def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
424
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/getIamPolicy', options)
|
453
425
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Policy::Representation
|
454
426
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Policy
|
455
427
|
command.params['project'] = project unless project.nil?
|
456
428
|
command.params['resource'] = resource unless resource.nil?
|
429
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
457
430
|
command.query['fields'] = fields unless fields.nil?
|
458
431
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
459
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
460
432
|
execute_or_queue_command(command, &block)
|
461
433
|
end
|
462
434
|
|
@@ -478,10 +450,8 @@ module Google
|
|
478
450
|
# @param [String] fields
|
479
451
|
# Selector specifying which fields to include in a partial response.
|
480
452
|
# @param [String] quota_user
|
481
|
-
#
|
482
|
-
# characters.
|
483
|
-
# @param [String] user_ip
|
484
|
-
# Deprecated. Please use quotaUser instead.
|
453
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
454
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
485
455
|
# @param [Google::Apis::RequestOptions] options
|
486
456
|
# Request-specific options
|
487
457
|
#
|
@@ -494,8 +464,8 @@ module Google
|
|
494
464
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
495
465
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
496
466
|
# @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)
|
467
|
+
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
468
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments', options)
|
499
469
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
500
470
|
command.request_object = deployment_object
|
501
471
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -505,7 +475,6 @@ module Google
|
|
505
475
|
command.query['preview'] = preview unless preview.nil?
|
506
476
|
command.query['fields'] = fields unless fields.nil?
|
507
477
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
508
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
509
478
|
execute_or_queue_command(command, &block)
|
510
479
|
end
|
511
480
|
|
@@ -516,19 +485,18 @@ module Google
|
|
516
485
|
# A filter expression that filters resources listed in the response. The
|
517
486
|
# expression must specify the field name, a comparison operator, and the value
|
518
487
|
# 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
|
-
#
|
488
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
489
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
521
490
|
# instances named `example-instance` by specifying `name != example-instance`.
|
522
491
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
523
492
|
# automaticRestart = false` to include instances only if they are not scheduled
|
524
493
|
# 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) ```
|
494
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
495
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
496
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
497
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
498
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
499
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
532
500
|
# @param [Fixnum] max_results
|
533
501
|
# The maximum number of results per page that should be returned. If the number
|
534
502
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -536,23 +504,23 @@ module Google
|
|
536
504
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
537
505
|
# @param [String] order_by
|
538
506
|
# 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.
|
507
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
508
|
+
# descending order based on the creation timestamp using `orderBy="
|
509
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
510
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
511
|
+
# resources like operations so that the newest operation is returned first.
|
545
512
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
546
513
|
# @param [String] page_token
|
547
514
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
548
515
|
# by a previous list request to get the next page of results.
|
516
|
+
# @param [Boolean] return_partial_success
|
517
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
518
|
+
# failure. The default value is false and the logic is the same as today.
|
549
519
|
# @param [String] fields
|
550
520
|
# Selector specifying which fields to include in a partial response.
|
551
521
|
# @param [String] quota_user
|
552
|
-
#
|
553
|
-
# characters.
|
554
|
-
# @param [String] user_ip
|
555
|
-
# Deprecated. Please use quotaUser instead.
|
522
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
523
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
556
524
|
# @param [Google::Apis::RequestOptions] options
|
557
525
|
# Request-specific options
|
558
526
|
#
|
@@ -565,8 +533,8 @@ module Google
|
|
565
533
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
566
534
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
567
535
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
568
|
-
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
569
|
-
command = make_simple_command(:get, '{project}/global/deployments', options)
|
536
|
+
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
537
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments', options)
|
570
538
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsListResponse::Representation
|
571
539
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::DeploymentsListResponse
|
572
540
|
command.params['project'] = project unless project.nil?
|
@@ -574,9 +542,9 @@ module Google
|
|
574
542
|
command.query['maxResults'] = max_results unless max_results.nil?
|
575
543
|
command.query['orderBy'] = order_by unless order_by.nil?
|
576
544
|
command.query['pageToken'] = page_token unless page_token.nil?
|
545
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
577
546
|
command.query['fields'] = fields unless fields.nil?
|
578
547
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
579
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
580
548
|
execute_or_queue_command(command, &block)
|
581
549
|
end
|
582
550
|
|
@@ -605,10 +573,8 @@ module Google
|
|
605
573
|
# @param [String] fields
|
606
574
|
# Selector specifying which fields to include in a partial response.
|
607
575
|
# @param [String] quota_user
|
608
|
-
#
|
609
|
-
# characters.
|
610
|
-
# @param [String] user_ip
|
611
|
-
# Deprecated. Please use quotaUser instead.
|
576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
612
578
|
# @param [Google::Apis::RequestOptions] options
|
613
579
|
# Request-specific options
|
614
580
|
#
|
@@ -621,8 +587,8 @@ module Google
|
|
621
587
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
622
588
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
623
589
|
# @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)
|
590
|
+
def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
591
|
+
command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
|
626
592
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
627
593
|
command.request_object = deployment_object
|
628
594
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -634,7 +600,6 @@ module Google
|
|
634
600
|
command.query['preview'] = preview unless preview.nil?
|
635
601
|
command.query['fields'] = fields unless fields.nil?
|
636
602
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
637
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
638
603
|
execute_or_queue_command(command, &block)
|
639
604
|
end
|
640
605
|
|
@@ -648,10 +613,8 @@ module Google
|
|
648
613
|
# @param [String] fields
|
649
614
|
# Selector specifying which fields to include in a partial response.
|
650
615
|
# @param [String] quota_user
|
651
|
-
#
|
652
|
-
# characters.
|
653
|
-
# @param [String] user_ip
|
654
|
-
# Deprecated. Please use quotaUser instead.
|
616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
655
618
|
# @param [Google::Apis::RequestOptions] options
|
656
619
|
# Request-specific options
|
657
620
|
#
|
@@ -664,8 +627,8 @@ module Google
|
|
664
627
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
665
628
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
666
629
|
# @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)
|
630
|
+
def set_deployment_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
631
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/setIamPolicy', options)
|
669
632
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::GlobalSetPolicyRequest::Representation
|
670
633
|
command.request_object = global_set_policy_request_object
|
671
634
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Policy::Representation
|
@@ -674,7 +637,6 @@ module Google
|
|
674
637
|
command.params['resource'] = resource unless resource.nil?
|
675
638
|
command.query['fields'] = fields unless fields.nil?
|
676
639
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
677
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
678
640
|
execute_or_queue_command(command, &block)
|
679
641
|
end
|
680
642
|
|
@@ -688,10 +650,8 @@ module Google
|
|
688
650
|
# @param [String] fields
|
689
651
|
# Selector specifying which fields to include in a partial response.
|
690
652
|
# @param [String] quota_user
|
691
|
-
#
|
692
|
-
# characters.
|
693
|
-
# @param [String] user_ip
|
694
|
-
# Deprecated. Please use quotaUser instead.
|
653
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
654
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
695
655
|
# @param [Google::Apis::RequestOptions] options
|
696
656
|
# Request-specific options
|
697
657
|
#
|
@@ -704,8 +664,8 @@ module Google
|
|
704
664
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
705
665
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
706
666
|
# @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)
|
667
|
+
def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
668
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/stop', options)
|
709
669
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::DeploymentsStopRequest::Representation
|
710
670
|
command.request_object = deployments_stop_request_object
|
711
671
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -714,7 +674,6 @@ module Google
|
|
714
674
|
command.params['deployment'] = deployment unless deployment.nil?
|
715
675
|
command.query['fields'] = fields unless fields.nil?
|
716
676
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
717
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
718
677
|
execute_or_queue_command(command, &block)
|
719
678
|
end
|
720
679
|
|
@@ -727,10 +686,8 @@ module Google
|
|
727
686
|
# @param [String] fields
|
728
687
|
# Selector specifying which fields to include in a partial response.
|
729
688
|
# @param [String] quota_user
|
730
|
-
#
|
731
|
-
# characters.
|
732
|
-
# @param [String] user_ip
|
733
|
-
# Deprecated. Please use quotaUser instead.
|
689
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
690
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
734
691
|
# @param [Google::Apis::RequestOptions] options
|
735
692
|
# Request-specific options
|
736
693
|
#
|
@@ -743,8 +700,8 @@ module Google
|
|
743
700
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
744
701
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
745
702
|
# @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)
|
703
|
+
def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
704
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/testIamPermissions', options)
|
748
705
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::TestPermissionsRequest::Representation
|
749
706
|
command.request_object = test_permissions_request_object
|
750
707
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TestPermissionsResponse::Representation
|
@@ -753,7 +710,6 @@ module Google
|
|
753
710
|
command.params['resource'] = resource unless resource.nil?
|
754
711
|
command.query['fields'] = fields unless fields.nil?
|
755
712
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
756
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
757
713
|
execute_or_queue_command(command, &block)
|
758
714
|
end
|
759
715
|
|
@@ -782,10 +738,8 @@ module Google
|
|
782
738
|
# @param [String] fields
|
783
739
|
# Selector specifying which fields to include in a partial response.
|
784
740
|
# @param [String] quota_user
|
785
|
-
#
|
786
|
-
# characters.
|
787
|
-
# @param [String] user_ip
|
788
|
-
# Deprecated. Please use quotaUser instead.
|
741
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
742
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
789
743
|
# @param [Google::Apis::RequestOptions] options
|
790
744
|
# Request-specific options
|
791
745
|
#
|
@@ -798,8 +752,8 @@ module Google
|
|
798
752
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
799
753
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
800
754
|
# @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)
|
755
|
+
def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
756
|
+
command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}', options)
|
803
757
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::Deployment::Representation
|
804
758
|
command.request_object = deployment_object
|
805
759
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -811,7 +765,6 @@ module Google
|
|
811
765
|
command.query['preview'] = preview unless preview.nil?
|
812
766
|
command.query['fields'] = fields unless fields.nil?
|
813
767
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
814
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
815
768
|
execute_or_queue_command(command, &block)
|
816
769
|
end
|
817
770
|
|
@@ -825,10 +778,8 @@ module Google
|
|
825
778
|
# @param [String] fields
|
826
779
|
# Selector specifying which fields to include in a partial response.
|
827
780
|
# @param [String] quota_user
|
828
|
-
#
|
829
|
-
# characters.
|
830
|
-
# @param [String] user_ip
|
831
|
-
# Deprecated. Please use quotaUser instead.
|
781
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
782
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
832
783
|
# @param [Google::Apis::RequestOptions] options
|
833
784
|
# Request-specific options
|
834
785
|
#
|
@@ -841,8 +792,8 @@ module Google
|
|
841
792
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
842
793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
843
794
|
# @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)
|
795
|
+
def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, options: nil, &block)
|
796
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests/{manifest}', options)
|
846
797
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Manifest::Representation
|
847
798
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Manifest
|
848
799
|
command.params['project'] = project unless project.nil?
|
@@ -850,7 +801,6 @@ module Google
|
|
850
801
|
command.params['manifest'] = manifest unless manifest.nil?
|
851
802
|
command.query['fields'] = fields unless fields.nil?
|
852
803
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
853
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
854
804
|
execute_or_queue_command(command, &block)
|
855
805
|
end
|
856
806
|
|
@@ -863,19 +813,18 @@ module Google
|
|
863
813
|
# A filter expression that filters resources listed in the response. The
|
864
814
|
# expression must specify the field name, a comparison operator, and the value
|
865
815
|
# 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
|
-
#
|
816
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
817
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
868
818
|
# instances named `example-instance` by specifying `name != example-instance`.
|
869
819
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
870
820
|
# automaticRestart = false` to include instances only if they are not scheduled
|
871
821
|
# 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) ```
|
822
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
823
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
824
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
825
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
826
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
827
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
879
828
|
# @param [Fixnum] max_results
|
880
829
|
# The maximum number of results per page that should be returned. If the number
|
881
830
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -883,23 +832,23 @@ module Google
|
|
883
832
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
884
833
|
# @param [String] order_by
|
885
834
|
# 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.
|
835
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
836
|
+
# descending order based on the creation timestamp using `orderBy="
|
837
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
838
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
839
|
+
# resources like operations so that the newest operation is returned first.
|
892
840
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
893
841
|
# @param [String] page_token
|
894
842
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
895
843
|
# by a previous list request to get the next page of results.
|
844
|
+
# @param [Boolean] return_partial_success
|
845
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
846
|
+
# failure. The default value is false and the logic is the same as today.
|
896
847
|
# @param [String] fields
|
897
848
|
# Selector specifying which fields to include in a partial response.
|
898
849
|
# @param [String] quota_user
|
899
|
-
#
|
900
|
-
# characters.
|
901
|
-
# @param [String] user_ip
|
902
|
-
# Deprecated. Please use quotaUser instead.
|
850
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
851
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
903
852
|
# @param [Google::Apis::RequestOptions] options
|
904
853
|
# Request-specific options
|
905
854
|
#
|
@@ -912,8 +861,8 @@ module Google
|
|
912
861
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
913
862
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
914
863
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
915
|
-
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
916
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
|
864
|
+
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
865
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests', options)
|
917
866
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::ManifestsListResponse::Representation
|
918
867
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::ManifestsListResponse
|
919
868
|
command.params['project'] = project unless project.nil?
|
@@ -922,9 +871,9 @@ module Google
|
|
922
871
|
command.query['maxResults'] = max_results unless max_results.nil?
|
923
872
|
command.query['orderBy'] = order_by unless order_by.nil?
|
924
873
|
command.query['pageToken'] = page_token unless page_token.nil?
|
874
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
925
875
|
command.query['fields'] = fields unless fields.nil?
|
926
876
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
927
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
928
877
|
execute_or_queue_command(command, &block)
|
929
878
|
end
|
930
879
|
|
@@ -936,10 +885,8 @@ module Google
|
|
936
885
|
# @param [String] fields
|
937
886
|
# Selector specifying which fields to include in a partial response.
|
938
887
|
# @param [String] quota_user
|
939
|
-
#
|
940
|
-
# characters.
|
941
|
-
# @param [String] user_ip
|
942
|
-
# Deprecated. Please use quotaUser instead.
|
888
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
889
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
943
890
|
# @param [Google::Apis::RequestOptions] options
|
944
891
|
# Request-specific options
|
945
892
|
#
|
@@ -952,15 +899,14 @@ module Google
|
|
952
899
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
953
900
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
954
901
|
# @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)
|
902
|
+
def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
|
903
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/operations/{operation}', options)
|
957
904
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
958
905
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
|
959
906
|
command.params['project'] = project unless project.nil?
|
960
907
|
command.params['operation'] = operation unless operation.nil?
|
961
908
|
command.query['fields'] = fields unless fields.nil?
|
962
909
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
963
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
964
910
|
execute_or_queue_command(command, &block)
|
965
911
|
end
|
966
912
|
|
@@ -971,19 +917,18 @@ module Google
|
|
971
917
|
# A filter expression that filters resources listed in the response. The
|
972
918
|
# expression must specify the field name, a comparison operator, and the value
|
973
919
|
# 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
|
-
#
|
920
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
921
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
976
922
|
# instances named `example-instance` by specifying `name != example-instance`.
|
977
923
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
978
924
|
# automaticRestart = false` to include instances only if they are not scheduled
|
979
925
|
# 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) ```
|
926
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
927
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
928
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
929
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
930
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
931
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
987
932
|
# @param [Fixnum] max_results
|
988
933
|
# The maximum number of results per page that should be returned. If the number
|
989
934
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -991,23 +936,23 @@ module Google
|
|
991
936
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
992
937
|
# @param [String] order_by
|
993
938
|
# 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.
|
939
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
940
|
+
# descending order based on the creation timestamp using `orderBy="
|
941
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
942
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
943
|
+
# resources like operations so that the newest operation is returned first.
|
1000
944
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1001
945
|
# @param [String] page_token
|
1002
946
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1003
947
|
# by a previous list request to get the next page of results.
|
948
|
+
# @param [Boolean] return_partial_success
|
949
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
950
|
+
# failure. The default value is false and the logic is the same as today.
|
1004
951
|
# @param [String] fields
|
1005
952
|
# Selector specifying which fields to include in a partial response.
|
1006
953
|
# @param [String] quota_user
|
1007
|
-
#
|
1008
|
-
# characters.
|
1009
|
-
# @param [String] user_ip
|
1010
|
-
# Deprecated. Please use quotaUser instead.
|
954
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
955
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1011
956
|
# @param [Google::Apis::RequestOptions] options
|
1012
957
|
# Request-specific options
|
1013
958
|
#
|
@@ -1020,8 +965,8 @@ module Google
|
|
1020
965
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1021
966
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1022
967
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1023
|
-
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1024
|
-
command = make_simple_command(:get, '{project}/global/operations', options)
|
968
|
+
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
969
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/operations', options)
|
1025
970
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::OperationsListResponse::Representation
|
1026
971
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::OperationsListResponse
|
1027
972
|
command.params['project'] = project unless project.nil?
|
@@ -1029,9 +974,9 @@ module Google
|
|
1029
974
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1030
975
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1031
976
|
command.query['pageToken'] = page_token unless page_token.nil?
|
977
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1032
978
|
command.query['fields'] = fields unless fields.nil?
|
1033
979
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1034
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1035
980
|
execute_or_queue_command(command, &block)
|
1036
981
|
end
|
1037
982
|
|
@@ -1045,10 +990,8 @@ module Google
|
|
1045
990
|
# @param [String] fields
|
1046
991
|
# Selector specifying which fields to include in a partial response.
|
1047
992
|
# @param [String] quota_user
|
1048
|
-
#
|
1049
|
-
# characters.
|
1050
|
-
# @param [String] user_ip
|
1051
|
-
# Deprecated. Please use quotaUser instead.
|
993
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
994
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1052
995
|
# @param [Google::Apis::RequestOptions] options
|
1053
996
|
# Request-specific options
|
1054
997
|
#
|
@@ -1061,8 +1004,8 @@ module Google
|
|
1061
1004
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1062
1005
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1063
1006
|
# @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)
|
1007
|
+
def get_resource(project, deployment, resource, fields: nil, quota_user: nil, options: nil, &block)
|
1008
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources/{resource}', options)
|
1066
1009
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Resource::Representation
|
1067
1010
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Resource
|
1068
1011
|
command.params['project'] = project unless project.nil?
|
@@ -1070,7 +1013,6 @@ module Google
|
|
1070
1013
|
command.params['resource'] = resource unless resource.nil?
|
1071
1014
|
command.query['fields'] = fields unless fields.nil?
|
1072
1015
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1073
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1074
1016
|
execute_or_queue_command(command, &block)
|
1075
1017
|
end
|
1076
1018
|
|
@@ -1083,19 +1025,18 @@ module Google
|
|
1083
1025
|
# A filter expression that filters resources listed in the response. The
|
1084
1026
|
# expression must specify the field name, a comparison operator, and the value
|
1085
1027
|
# 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
|
-
#
|
1028
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
1029
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
1088
1030
|
# instances named `example-instance` by specifying `name != example-instance`.
|
1089
1031
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
1090
1032
|
# automaticRestart = false` to include instances only if they are not scheduled
|
1091
1033
|
# 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) ```
|
1034
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
1035
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
1036
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
1037
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
1038
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
1039
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1099
1040
|
# @param [Fixnum] max_results
|
1100
1041
|
# The maximum number of results per page that should be returned. If the number
|
1101
1042
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1103,23 +1044,23 @@ module Google
|
|
1103
1044
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1104
1045
|
# @param [String] order_by
|
1105
1046
|
# 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.
|
1047
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
1048
|
+
# descending order based on the creation timestamp using `orderBy="
|
1049
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
1050
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
1051
|
+
# resources like operations so that the newest operation is returned first.
|
1112
1052
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1113
1053
|
# @param [String] page_token
|
1114
1054
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1115
1055
|
# by a previous list request to get the next page of results.
|
1056
|
+
# @param [Boolean] return_partial_success
|
1057
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
1058
|
+
# failure. The default value is false and the logic is the same as today.
|
1116
1059
|
# @param [String] fields
|
1117
1060
|
# Selector specifying which fields to include in a partial response.
|
1118
1061
|
# @param [String] quota_user
|
1119
|
-
#
|
1120
|
-
# characters.
|
1121
|
-
# @param [String] user_ip
|
1122
|
-
# Deprecated. Please use quotaUser instead.
|
1062
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1063
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1123
1064
|
# @param [Google::Apis::RequestOptions] options
|
1124
1065
|
# Request-specific options
|
1125
1066
|
#
|
@@ -1132,8 +1073,8 @@ module Google
|
|
1132
1073
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1133
1074
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1134
1075
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1135
|
-
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1136
|
-
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
|
1076
|
+
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1077
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources', options)
|
1137
1078
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::ResourcesListResponse::Representation
|
1138
1079
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::ResourcesListResponse
|
1139
1080
|
command.params['project'] = project unless project.nil?
|
@@ -1142,9 +1083,9 @@ module Google
|
|
1142
1083
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1143
1084
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1144
1085
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1086
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1145
1087
|
command.query['fields'] = fields unless fields.nil?
|
1146
1088
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1147
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1148
1089
|
execute_or_queue_command(command, &block)
|
1149
1090
|
end
|
1150
1091
|
|
@@ -1156,10 +1097,8 @@ module Google
|
|
1156
1097
|
# @param [String] fields
|
1157
1098
|
# Selector specifying which fields to include in a partial response.
|
1158
1099
|
# @param [String] quota_user
|
1159
|
-
#
|
1160
|
-
# characters.
|
1161
|
-
# @param [String] user_ip
|
1162
|
-
# Deprecated. Please use quotaUser instead.
|
1100
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1101
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1163
1102
|
# @param [Google::Apis::RequestOptions] options
|
1164
1103
|
# Request-specific options
|
1165
1104
|
#
|
@@ -1172,15 +1111,14 @@ module Google
|
|
1172
1111
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1173
1112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1174
1113
|
# @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)
|
1114
|
+
def delete_type_provider(project, type_provider, fields: nil, quota_user: nil, options: nil, &block)
|
1115
|
+
command = make_simple_command(:delete, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
|
1177
1116
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
1178
1117
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::Operation
|
1179
1118
|
command.params['project'] = project unless project.nil?
|
1180
1119
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
1181
1120
|
command.query['fields'] = fields unless fields.nil?
|
1182
1121
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1183
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1184
1122
|
execute_or_queue_command(command, &block)
|
1185
1123
|
end
|
1186
1124
|
|
@@ -1192,10 +1130,8 @@ module Google
|
|
1192
1130
|
# @param [String] fields
|
1193
1131
|
# Selector specifying which fields to include in a partial response.
|
1194
1132
|
# @param [String] quota_user
|
1195
|
-
#
|
1196
|
-
# characters.
|
1197
|
-
# @param [String] user_ip
|
1198
|
-
# Deprecated. Please use quotaUser instead.
|
1133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1199
1135
|
# @param [Google::Apis::RequestOptions] options
|
1200
1136
|
# Request-specific options
|
1201
1137
|
#
|
@@ -1208,15 +1144,14 @@ module Google
|
|
1208
1144
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1209
1145
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1210
1146
|
# @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)
|
1147
|
+
def get_type_provider(project, type_provider, fields: nil, quota_user: nil, options: nil, &block)
|
1148
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
|
1213
1149
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
|
1214
1150
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvider
|
1215
1151
|
command.params['project'] = project unless project.nil?
|
1216
1152
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
1217
1153
|
command.query['fields'] = fields unless fields.nil?
|
1218
1154
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1219
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1220
1155
|
execute_or_queue_command(command, &block)
|
1221
1156
|
end
|
1222
1157
|
|
@@ -1230,10 +1165,8 @@ module Google
|
|
1230
1165
|
# @param [String] fields
|
1231
1166
|
# Selector specifying which fields to include in a partial response.
|
1232
1167
|
# @param [String] quota_user
|
1233
|
-
#
|
1234
|
-
# characters.
|
1235
|
-
# @param [String] user_ip
|
1236
|
-
# Deprecated. Please use quotaUser instead.
|
1168
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1169
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1237
1170
|
# @param [Google::Apis::RequestOptions] options
|
1238
1171
|
# Request-specific options
|
1239
1172
|
#
|
@@ -1246,8 +1179,8 @@ module Google
|
|
1246
1179
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1247
1180
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1248
1181
|
# @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)
|
1182
|
+
def get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil, options: nil, &block)
|
1183
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types/{type}', options)
|
1251
1184
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeInfo::Representation
|
1252
1185
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeInfo
|
1253
1186
|
command.params['project'] = project unless project.nil?
|
@@ -1255,7 +1188,6 @@ module Google
|
|
1255
1188
|
command.params['type'] = type unless type.nil?
|
1256
1189
|
command.query['fields'] = fields unless fields.nil?
|
1257
1190
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1258
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1259
1191
|
execute_or_queue_command(command, &block)
|
1260
1192
|
end
|
1261
1193
|
|
@@ -1266,10 +1198,8 @@ module Google
|
|
1266
1198
|
# @param [String] fields
|
1267
1199
|
# Selector specifying which fields to include in a partial response.
|
1268
1200
|
# @param [String] quota_user
|
1269
|
-
#
|
1270
|
-
# characters.
|
1271
|
-
# @param [String] user_ip
|
1272
|
-
# Deprecated. Please use quotaUser instead.
|
1201
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1202
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1273
1203
|
# @param [Google::Apis::RequestOptions] options
|
1274
1204
|
# Request-specific options
|
1275
1205
|
#
|
@@ -1282,8 +1212,8 @@ module Google
|
|
1282
1212
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1283
1213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1284
1214
|
# @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)
|
1215
|
+
def insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1216
|
+
command = make_simple_command(:post, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders', options)
|
1287
1217
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
|
1288
1218
|
command.request_object = type_provider_object
|
1289
1219
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -1291,7 +1221,6 @@ module Google
|
|
1291
1221
|
command.params['project'] = project unless project.nil?
|
1292
1222
|
command.query['fields'] = fields unless fields.nil?
|
1293
1223
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1294
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1295
1224
|
execute_or_queue_command(command, &block)
|
1296
1225
|
end
|
1297
1226
|
|
@@ -1302,19 +1231,18 @@ module Google
|
|
1302
1231
|
# A filter expression that filters resources listed in the response. The
|
1303
1232
|
# expression must specify the field name, a comparison operator, and the value
|
1304
1233
|
# 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
|
-
#
|
1234
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
1235
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
1307
1236
|
# instances named `example-instance` by specifying `name != example-instance`.
|
1308
1237
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
1309
1238
|
# automaticRestart = false` to include instances only if they are not scheduled
|
1310
1239
|
# 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) ```
|
1240
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
1241
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
1242
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
1243
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
1244
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
1245
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1318
1246
|
# @param [Fixnum] max_results
|
1319
1247
|
# The maximum number of results per page that should be returned. If the number
|
1320
1248
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1322,23 +1250,23 @@ module Google
|
|
1322
1250
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1323
1251
|
# @param [String] order_by
|
1324
1252
|
# 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.
|
1253
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
1254
|
+
# descending order based on the creation timestamp using `orderBy="
|
1255
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
1256
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
1257
|
+
# resources like operations so that the newest operation is returned first.
|
1331
1258
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1332
1259
|
# @param [String] page_token
|
1333
1260
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1334
1261
|
# by a previous list request to get the next page of results.
|
1262
|
+
# @param [Boolean] return_partial_success
|
1263
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
1264
|
+
# failure. The default value is false and the logic is the same as today.
|
1335
1265
|
# @param [String] fields
|
1336
1266
|
# Selector specifying which fields to include in a partial response.
|
1337
1267
|
# @param [String] quota_user
|
1338
|
-
#
|
1339
|
-
# characters.
|
1340
|
-
# @param [String] user_ip
|
1341
|
-
# Deprecated. Please use quotaUser instead.
|
1268
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1269
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1342
1270
|
# @param [Google::Apis::RequestOptions] options
|
1343
1271
|
# Request-specific options
|
1344
1272
|
#
|
@@ -1351,8 +1279,8 @@ module Google
|
|
1351
1279
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1352
1280
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1353
1281
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1354
|
-
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1355
|
-
command = make_simple_command(:get, '{project}/global/typeProviders', options)
|
1282
|
+
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1283
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders', options)
|
1356
1284
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListResponse::Representation
|
1357
1285
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListResponse
|
1358
1286
|
command.params['project'] = project unless project.nil?
|
@@ -1360,9 +1288,9 @@ module Google
|
|
1360
1288
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1361
1289
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1362
1290
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1291
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1363
1292
|
command.query['fields'] = fields unless fields.nil?
|
1364
1293
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1365
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1366
1294
|
execute_or_queue_command(command, &block)
|
1367
1295
|
end
|
1368
1296
|
|
@@ -1375,19 +1303,18 @@ module Google
|
|
1375
1303
|
# A filter expression that filters resources listed in the response. The
|
1376
1304
|
# expression must specify the field name, a comparison operator, and the value
|
1377
1305
|
# 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
|
-
#
|
1306
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
1307
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
1380
1308
|
# instances named `example-instance` by specifying `name != example-instance`.
|
1381
1309
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
1382
1310
|
# automaticRestart = false` to include instances only if they are not scheduled
|
1383
1311
|
# 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) ```
|
1312
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
1313
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
1314
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
1315
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
1316
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
1317
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1391
1318
|
# @param [Fixnum] max_results
|
1392
1319
|
# The maximum number of results per page that should be returned. If the number
|
1393
1320
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1395,23 +1322,23 @@ module Google
|
|
1395
1322
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1396
1323
|
# @param [String] order_by
|
1397
1324
|
# 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.
|
1325
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
1326
|
+
# descending order based on the creation timestamp using `orderBy="
|
1327
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
1328
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
1329
|
+
# resources like operations so that the newest operation is returned first.
|
1404
1330
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1405
1331
|
# @param [String] page_token
|
1406
1332
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1407
1333
|
# by a previous list request to get the next page of results.
|
1334
|
+
# @param [Boolean] return_partial_success
|
1335
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
1336
|
+
# failure. The default value is false and the logic is the same as today.
|
1408
1337
|
# @param [String] fields
|
1409
1338
|
# Selector specifying which fields to include in a partial response.
|
1410
1339
|
# @param [String] quota_user
|
1411
|
-
#
|
1412
|
-
# characters.
|
1413
|
-
# @param [String] user_ip
|
1414
|
-
# Deprecated. Please use quotaUser instead.
|
1340
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1341
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1415
1342
|
# @param [Google::Apis::RequestOptions] options
|
1416
1343
|
# Request-specific options
|
1417
1344
|
#
|
@@ -1424,8 +1351,8 @@ module Google
|
|
1424
1351
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1425
1352
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1426
1353
|
# @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,
|
1428
|
-
command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types', options)
|
1354
|
+
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1355
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types', options)
|
1429
1356
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListTypesResponse::Representation
|
1430
1357
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypeProvidersListTypesResponse
|
1431
1358
|
command.params['project'] = project unless project.nil?
|
@@ -1434,9 +1361,9 @@ module Google
|
|
1434
1361
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1435
1362
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1436
1363
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1364
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1437
1365
|
command.query['fields'] = fields unless fields.nil?
|
1438
1366
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1439
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1440
1367
|
execute_or_queue_command(command, &block)
|
1441
1368
|
end
|
1442
1369
|
|
@@ -1449,10 +1376,8 @@ module Google
|
|
1449
1376
|
# @param [String] fields
|
1450
1377
|
# Selector specifying which fields to include in a partial response.
|
1451
1378
|
# @param [String] quota_user
|
1452
|
-
#
|
1453
|
-
# characters.
|
1454
|
-
# @param [String] user_ip
|
1455
|
-
# Deprecated. Please use quotaUser instead.
|
1379
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1380
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1456
1381
|
# @param [Google::Apis::RequestOptions] options
|
1457
1382
|
# Request-specific options
|
1458
1383
|
#
|
@@ -1465,8 +1390,8 @@ module Google
|
|
1465
1390
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1466
1391
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1467
1392
|
# @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)
|
1393
|
+
def patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1394
|
+
command = make_simple_command(:patch, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
|
1470
1395
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
|
1471
1396
|
command.request_object = type_provider_object
|
1472
1397
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -1475,7 +1400,6 @@ module Google
|
|
1475
1400
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
1476
1401
|
command.query['fields'] = fields unless fields.nil?
|
1477
1402
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1478
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1479
1403
|
execute_or_queue_command(command, &block)
|
1480
1404
|
end
|
1481
1405
|
|
@@ -1488,10 +1412,8 @@ module Google
|
|
1488
1412
|
# @param [String] fields
|
1489
1413
|
# Selector specifying which fields to include in a partial response.
|
1490
1414
|
# @param [String] quota_user
|
1491
|
-
#
|
1492
|
-
# characters.
|
1493
|
-
# @param [String] user_ip
|
1494
|
-
# Deprecated. Please use quotaUser instead.
|
1415
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1416
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1495
1417
|
# @param [Google::Apis::RequestOptions] options
|
1496
1418
|
# Request-specific options
|
1497
1419
|
#
|
@@ -1504,8 +1426,8 @@ module Google
|
|
1504
1426
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1505
1427
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1506
1428
|
# @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)
|
1429
|
+
def update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1430
|
+
command = make_simple_command(:put, 'deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}', options)
|
1509
1431
|
command.request_representation = Google::Apis::DeploymentmanagerV2beta::TypeProvider::Representation
|
1510
1432
|
command.request_object = type_provider_object
|
1511
1433
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::Operation::Representation
|
@@ -1514,7 +1436,6 @@ module Google
|
|
1514
1436
|
command.params['typeProvider'] = type_provider unless type_provider.nil?
|
1515
1437
|
command.query['fields'] = fields unless fields.nil?
|
1516
1438
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1517
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1518
1439
|
execute_or_queue_command(command, &block)
|
1519
1440
|
end
|
1520
1441
|
|
@@ -1525,19 +1446,18 @@ module Google
|
|
1525
1446
|
# A filter expression that filters resources listed in the response. The
|
1526
1447
|
# expression must specify the field name, a comparison operator, and the value
|
1527
1448
|
# 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
|
-
#
|
1449
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. For
|
1450
|
+
# example, if you are filtering Compute Engine instances, you can exclude
|
1530
1451
|
# instances named `example-instance` by specifying `name != example-instance`.
|
1531
1452
|
# You can also filter nested fields. For example, you could specify `scheduling.
|
1532
1453
|
# automaticRestart = false` to include instances only if they are not scheduled
|
1533
1454
|
# 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) ```
|
1455
|
+
# on resource labels. To filter on multiple expressions, provide each separate
|
1456
|
+
# expression within parentheses. For example: ``` (scheduling.automaticRestart =
|
1457
|
+
# true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `
|
1458
|
+
# AND` expression. However, you can include `AND` and `OR` expressions
|
1459
|
+
# explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
|
1460
|
+
# "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
|
1541
1461
|
# @param [Fixnum] max_results
|
1542
1462
|
# The maximum number of results per page that should be returned. If the number
|
1543
1463
|
# of available results is larger than `maxResults`, Compute Engine returns a `
|
@@ -1545,23 +1465,23 @@ module Google
|
|
1545
1465
|
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
1546
1466
|
# @param [String] order_by
|
1547
1467
|
# 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.
|
1468
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
1469
|
+
# descending order based on the creation timestamp using `orderBy="
|
1470
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
1471
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
1472
|
+
# resources like operations so that the newest operation is returned first.
|
1554
1473
|
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
1555
1474
|
# @param [String] page_token
|
1556
1475
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
1557
1476
|
# by a previous list request to get the next page of results.
|
1477
|
+
# @param [Boolean] return_partial_success
|
1478
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
1479
|
+
# failure. The default value is false and the logic is the same as today.
|
1558
1480
|
# @param [String] fields
|
1559
1481
|
# Selector specifying which fields to include in a partial response.
|
1560
1482
|
# @param [String] quota_user
|
1561
|
-
#
|
1562
|
-
# characters.
|
1563
|
-
# @param [String] user_ip
|
1564
|
-
# Deprecated. Please use quotaUser instead.
|
1483
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1484
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1565
1485
|
# @param [Google::Apis::RequestOptions] options
|
1566
1486
|
# Request-specific options
|
1567
1487
|
#
|
@@ -1574,8 +1494,8 @@ module Google
|
|
1574
1494
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1575
1495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1576
1496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1577
|
-
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil,
|
1578
|
-
command = make_simple_command(:get, '{project}/global/types', options)
|
1497
|
+
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1498
|
+
command = make_simple_command(:get, 'deploymentmanager/v2beta/projects/{project}/global/types', options)
|
1579
1499
|
command.response_representation = Google::Apis::DeploymentmanagerV2beta::TypesListResponse::Representation
|
1580
1500
|
command.response_class = Google::Apis::DeploymentmanagerV2beta::TypesListResponse
|
1581
1501
|
command.params['project'] = project unless project.nil?
|
@@ -1583,9 +1503,9 @@ module Google
|
|
1583
1503
|
command.query['maxResults'] = max_results unless max_results.nil?
|
1584
1504
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1585
1505
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1506
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1586
1507
|
command.query['fields'] = fields unless fields.nil?
|
1587
1508
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1588
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1589
1509
|
execute_or_queue_command(command, &block)
|
1590
1510
|
end
|
1591
1511
|
|
@@ -1594,7 +1514,6 @@ module Google
|
|
1594
1514
|
def apply_command_defaults(command)
|
1595
1515
|
command.query['key'] = key unless key.nil?
|
1596
1516
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1597
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1598
1517
|
end
|
1599
1518
|
end
|
1600
1519
|
end
|