google-api-client 0.45.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +664 -188
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +252 -66
- data/generated/google/apis/apigee_v1/representations.rb +88 -19
- data/generated/google/apis/apigee_v1/service.rb +244 -38
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +212 -23
- data/generated/google/apis/bigquery_v2/representations.rb +69 -0
- data/generated/google/apis/bigquery_v2/service.rb +47 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +84 -2
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +586 -72
- data/generated/google/apis/compute_v1/representations.rb +98 -1
- data/generated/google/apis/compute_v1/service.rb +741 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
- data/generated/google/apis/content_v2_1/representations.rb +253 -0
- data/generated/google/apis/content_v2_1/service.rb +943 -802
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- 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/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- 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_v2.rb +6 -4
- 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/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
- data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
- data/generated/google/apis/displayvideo_v1/service.rb +261 -18
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +59 -32
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +11 -11
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +11 -11
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
- data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta.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/localservices_v1/service.rb +20 -20
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -60
- data/generated/google/apis/logging_v2/representations.rb +64 -0
- data/generated/google/apis/logging_v2/service.rb +1422 -127
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -17
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +55 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +52 -51
- data/generated/google/apis/people_v1/service.rb +24 -22
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- 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 +1487 -0
- data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.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/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -132
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -67
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/sts_v1beta.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/tagmanager_v2.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +92 -33
- data/generated/google/apis/testing_v1/representations.rb +21 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.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/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +4 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -134
- data/generated/google/apis/youtube_v3/representations.rb +0 -55
- data/generated/google/apis/youtube_v3/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- 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
- data/synth.py +40 -0
- metadata +51 -12
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
|
@@ -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
|
|
35
|
-
class
|
|
35
|
+
# @see http://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
|