google-api-client 0.29.0 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +122 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +53 -33
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +45 -45
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +152 -100
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +100 -64
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +59 -42
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1/classes.rb +51 -9
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
72
|
def clear_folder_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
-
command =
|
73
|
+
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
|
74
74
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation
|
75
75
|
command.request_object = clear_org_policy_request_object
|
76
76
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
|
@@ -107,7 +107,7 @@ module Google
|
|
107
107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
109
|
def get_folder_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
-
command =
|
110
|
+
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
|
111
111
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation
|
112
112
|
command.request_object = get_effective_org_policy_request_object
|
113
113
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -144,7 +144,7 @@ module Google
|
|
144
144
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
145
145
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
146
146
|
def get_folder_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
147
|
-
command =
|
147
|
+
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
|
148
148
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation
|
149
149
|
command.request_object = get_org_policy_request_object
|
150
150
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -177,7 +177,7 @@ module Google
|
|
177
177
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
178
178
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
179
179
|
def list_folder_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
180
|
-
command =
|
180
|
+
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
|
181
181
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation
|
182
182
|
command.request_object = list_available_org_policy_constraints_request_object
|
183
183
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation
|
@@ -210,7 +210,7 @@ module Google
|
|
210
210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
211
211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
212
212
|
def list_folder_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
213
|
-
command =
|
213
|
+
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
|
214
214
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
|
215
215
|
command.request_object = list_org_policies_request_object
|
216
216
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
|
@@ -246,7 +246,7 @@ module Google
|
|
246
246
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
247
247
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
248
248
|
def set_folder_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
249
|
-
command =
|
249
|
+
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
|
250
250
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation
|
251
251
|
command.request_object = set_org_policy_request_object
|
252
252
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -281,7 +281,7 @@ module Google
|
|
281
281
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
282
282
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
283
283
|
def create_lien(lien_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
284
|
-
command =
|
284
|
+
command = make_simple_command(:post, 'v1/liens', options)
|
285
285
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation
|
286
286
|
command.request_object = lien_object
|
287
287
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation
|
@@ -315,7 +315,7 @@ module Google
|
|
315
315
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
316
316
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
317
317
|
def delete_lien(name, fields: nil, quota_user: nil, options: nil, &block)
|
318
|
-
command =
|
318
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
319
319
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
|
320
320
|
command.response_class = Google::Apis::CloudresourcemanagerV1::Empty
|
321
321
|
command.params['name'] = name unless name.nil?
|
@@ -349,7 +349,7 @@ module Google
|
|
349
349
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
350
350
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
351
351
|
def get_lien(name, fields: nil, quota_user: nil, options: nil, &block)
|
352
|
-
command =
|
352
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
353
353
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation
|
354
354
|
command.response_class = Google::Apis::CloudresourcemanagerV1::Lien
|
355
355
|
command.params['name'] = name unless name.nil?
|
@@ -387,7 +387,7 @@ module Google
|
|
387
387
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
388
388
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
389
389
|
def list_liens(page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
390
|
-
command =
|
390
|
+
command = make_simple_command(:get, 'v1/liens', options)
|
391
391
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListLiensResponse::Representation
|
392
392
|
command.response_class = Google::Apis::CloudresourcemanagerV1::ListLiensResponse
|
393
393
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -421,7 +421,7 @@ module Google
|
|
421
421
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
422
422
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
423
423
|
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
424
|
-
command =
|
424
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
425
425
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation
|
426
426
|
command.response_class = Google::Apis::CloudresourcemanagerV1::Operation
|
427
427
|
command.params['name'] = name unless name.nil?
|
@@ -452,7 +452,7 @@ module Google
|
|
452
452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
453
453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
454
454
|
def clear_organization_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
455
|
-
command =
|
455
|
+
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
|
456
456
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation
|
457
457
|
command.request_object = clear_org_policy_request_object
|
458
458
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
|
@@ -486,7 +486,7 @@ module Google
|
|
486
486
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
487
487
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
488
488
|
def get_organization(name, fields: nil, quota_user: nil, options: nil, &block)
|
489
|
-
command =
|
489
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
490
490
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Organization::Representation
|
491
491
|
command.response_class = Google::Apis::CloudresourcemanagerV1::Organization
|
492
492
|
command.params['name'] = name unless name.nil?
|
@@ -521,7 +521,7 @@ module Google
|
|
521
521
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
522
522
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
523
523
|
def get_organization_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
524
|
-
command =
|
524
|
+
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
|
525
525
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation
|
526
526
|
command.request_object = get_effective_org_policy_request_object
|
527
527
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -559,7 +559,7 @@ module Google
|
|
559
559
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
560
560
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
561
561
|
def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
562
|
-
command =
|
562
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
563
563
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation
|
564
564
|
command.request_object = get_iam_policy_request_object
|
565
565
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
|
@@ -596,7 +596,7 @@ module Google
|
|
596
596
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
597
597
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
598
598
|
def get_organization_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
599
|
-
command =
|
599
|
+
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
|
600
600
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation
|
601
601
|
command.request_object = get_org_policy_request_object
|
602
602
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -629,7 +629,7 @@ module Google
|
|
629
629
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
630
630
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
631
631
|
def list_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
632
|
-
command =
|
632
|
+
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
|
633
633
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation
|
634
634
|
command.request_object = list_available_org_policy_constraints_request_object
|
635
635
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation
|
@@ -662,7 +662,7 @@ module Google
|
|
662
662
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
663
663
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
664
664
|
def list_organization_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
665
|
-
command =
|
665
|
+
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
|
666
666
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
|
667
667
|
command.request_object = list_org_policies_request_object
|
668
668
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
|
@@ -698,7 +698,7 @@ module Google
|
|
698
698
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
699
699
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
700
700
|
def search_organizations(search_organizations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
701
|
-
command =
|
701
|
+
command = make_simple_command(:post, 'v1/organizations:search', options)
|
702
702
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest::Representation
|
703
703
|
command.request_object = search_organizations_request_object
|
704
704
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse::Representation
|
@@ -735,7 +735,7 @@ module Google
|
|
735
735
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
736
736
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
737
737
|
def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
738
|
-
command =
|
738
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
739
739
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation
|
740
740
|
command.request_object = set_iam_policy_request_object
|
741
741
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
|
@@ -771,7 +771,7 @@ module Google
|
|
771
771
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
772
772
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
773
773
|
def set_organization_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
774
|
-
command =
|
774
|
+
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
|
775
775
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation
|
776
776
|
command.request_object = set_org_policy_request_object
|
777
777
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -808,7 +808,7 @@ module Google
|
|
808
808
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
809
809
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
810
810
|
def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
811
|
-
command =
|
811
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
812
812
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation
|
813
813
|
command.request_object = test_iam_permissions_request_object
|
814
814
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation
|
@@ -841,7 +841,7 @@ module Google
|
|
841
841
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
842
842
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
843
843
|
def clear_project_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
844
|
-
command =
|
844
|
+
command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options)
|
845
845
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation
|
846
846
|
command.request_object = clear_org_policy_request_object
|
847
847
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
|
@@ -886,7 +886,7 @@ module Google
|
|
886
886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
887
887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
888
888
|
def create_project(project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
889
|
-
command =
|
889
|
+
command = make_simple_command(:post, 'v1/projects', options)
|
890
890
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
|
891
891
|
command.request_object = project_object
|
892
892
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation
|
@@ -934,7 +934,7 @@ module Google
|
|
934
934
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
935
935
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
936
936
|
def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
937
|
-
command =
|
937
|
+
command = make_simple_command(:delete, 'v1/projects/{projectId}', options)
|
938
938
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
|
939
939
|
command.response_class = Google::Apis::CloudresourcemanagerV1::Empty
|
940
940
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -967,7 +967,7 @@ module Google
|
|
967
967
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
968
968
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
969
969
|
def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
970
|
-
command =
|
970
|
+
command = make_simple_command(:get, 'v1/projects/{projectId}', options)
|
971
971
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
|
972
972
|
command.response_class = Google::Apis::CloudresourcemanagerV1::Project
|
973
973
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1001,7 +1001,7 @@ module Google
|
|
1001
1001
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1002
1002
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1003
1003
|
def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1004
|
-
command =
|
1004
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}:getAncestry', options)
|
1005
1005
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryRequest::Representation
|
1006
1006
|
command.request_object = get_ancestry_request_object
|
1007
1007
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse::Representation
|
@@ -1038,7 +1038,7 @@ module Google
|
|
1038
1038
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1039
1039
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1040
1040
|
def get_project_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1041
|
-
command =
|
1041
|
+
command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options)
|
1042
1042
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation
|
1043
1043
|
command.request_object = get_effective_org_policy_request_object
|
1044
1044
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -1077,7 +1077,7 @@ module Google
|
|
1077
1077
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1078
1078
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1079
1079
|
def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1080
|
-
command =
|
1080
|
+
command = make_simple_command(:post, 'v1/projects/{resource}:getIamPolicy', options)
|
1081
1081
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation
|
1082
1082
|
command.request_object = get_iam_policy_request_object
|
1083
1083
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
|
@@ -1114,7 +1114,7 @@ module Google
|
|
1114
1114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1115
1115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1116
1116
|
def get_project_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1117
|
-
command =
|
1117
|
+
command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options)
|
1118
1118
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation
|
1119
1119
|
command.request_object = get_org_policy_request_object
|
1120
1120
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -1194,7 +1194,7 @@ module Google
|
|
1194
1194
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1195
1195
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1196
1196
|
def list_projects(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1197
|
-
command =
|
1197
|
+
command = make_simple_command(:get, 'v1/projects', options)
|
1198
1198
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse::Representation
|
1199
1199
|
command.response_class = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse
|
1200
1200
|
command.query['filter'] = filter unless filter.nil?
|
@@ -1227,7 +1227,7 @@ module Google
|
|
1227
1227
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1228
1228
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1229
1229
|
def list_project_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1230
|
-
command =
|
1230
|
+
command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options)
|
1231
1231
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation
|
1232
1232
|
command.request_object = list_available_org_policy_constraints_request_object
|
1233
1233
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation
|
@@ -1260,7 +1260,7 @@ module Google
|
|
1260
1260
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1261
1261
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1262
1262
|
def list_project_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1263
|
-
command =
|
1263
|
+
command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options)
|
1264
1264
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation
|
1265
1265
|
command.request_object = list_org_policies_request_object
|
1266
1266
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation
|
@@ -1327,7 +1327,7 @@ module Google
|
|
1327
1327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1328
1328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1329
1329
|
def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1330
|
-
command =
|
1330
|
+
command = make_simple_command(:post, 'v1/projects/{resource}:setIamPolicy', options)
|
1331
1331
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation
|
1332
1332
|
command.request_object = set_iam_policy_request_object
|
1333
1333
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation
|
@@ -1363,7 +1363,7 @@ module Google
|
|
1363
1363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1364
1364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1365
1365
|
def set_project_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1366
|
-
command =
|
1366
|
+
command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options)
|
1367
1367
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation
|
1368
1368
|
command.request_object = set_org_policy_request_object
|
1369
1369
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation
|
@@ -1398,7 +1398,7 @@ module Google
|
|
1398
1398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1399
1399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1400
1400
|
def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1401
|
-
command =
|
1401
|
+
command = make_simple_command(:post, 'v1/projects/{resource}:testIamPermissions', options)
|
1402
1402
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation
|
1403
1403
|
command.request_object = test_iam_permissions_request_object
|
1404
1404
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation
|
@@ -1437,7 +1437,7 @@ module Google
|
|
1437
1437
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1438
1438
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1439
1439
|
def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1440
|
-
command =
|
1440
|
+
command = make_simple_command(:post, 'v1/projects/{projectId}:undelete', options)
|
1441
1441
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest::Representation
|
1442
1442
|
command.request_object = undelete_project_request_object
|
1443
1443
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation
|
@@ -1473,7 +1473,7 @@ module Google
|
|
1473
1473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1474
1474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1475
1475
|
def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1476
|
-
command =
|
1476
|
+
command = make_simple_command(:put, 'v1/projects/{projectId}', options)
|
1477
1477
|
command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
|
1478
1478
|
command.request_object = project_object
|
1479
1479
|
command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190513'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -74,7 +74,7 @@ module Google
|
|
74
74
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
75
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
76
|
def get_organization(name, organization_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
-
command =
|
77
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
78
78
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
79
79
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization
|
80
80
|
command.params['name'] = name unless name.nil?
|
@@ -109,7 +109,7 @@ module Google
|
|
109
109
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
110
110
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
111
111
|
def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
112
|
-
command =
|
112
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
113
113
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
|
114
114
|
command.request_object = get_iam_policy_request_object
|
115
115
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
@@ -159,7 +159,7 @@ module Google
|
|
159
159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
161
|
def list_organizations(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
162
|
-
command =
|
162
|
+
command = make_simple_command(:get, 'v1beta1/organizations', options)
|
163
163
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation
|
164
164
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
|
165
165
|
command.query['filter'] = filter unless filter.nil?
|
@@ -195,7 +195,7 @@ module Google
|
|
195
195
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
196
196
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
197
197
|
def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
198
|
-
command =
|
198
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
199
199
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
|
200
200
|
command.request_object = set_iam_policy_request_object
|
201
201
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
@@ -231,7 +231,7 @@ module Google
|
|
231
231
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
232
232
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
233
233
|
def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
234
|
-
command =
|
234
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
235
235
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
|
236
236
|
command.request_object = test_iam_permissions_request_object
|
237
237
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
|
@@ -266,7 +266,7 @@ module Google
|
|
266
266
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
267
267
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
268
268
|
def update_organization(name, organization_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
269
|
-
command =
|
269
|
+
command = make_simple_command(:put, 'v1beta1/{+name}', options)
|
270
270
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
271
271
|
command.request_object = organization_object
|
272
272
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation
|
@@ -310,7 +310,7 @@ module Google
|
|
310
310
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
311
311
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
312
312
|
def create_project(project_object = nil, use_legacy_stack: nil, fields: nil, quota_user: nil, options: nil, &block)
|
313
|
-
command =
|
313
|
+
command = make_simple_command(:post, 'v1beta1/projects', options)
|
314
314
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
315
315
|
command.request_object = project_object
|
316
316
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
@@ -360,7 +360,7 @@ module Google
|
|
360
360
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
361
361
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
362
362
|
def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
363
|
-
command =
|
363
|
+
command = make_simple_command(:delete, 'v1beta1/projects/{projectId}', options)
|
364
364
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
|
365
365
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty
|
366
366
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -393,7 +393,7 @@ module Google
|
|
393
393
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
394
394
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
395
395
|
def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
396
|
-
command =
|
396
|
+
command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options)
|
397
397
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
398
398
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
|
399
399
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -427,7 +427,7 @@ module Google
|
|
427
427
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
428
428
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
429
429
|
def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
430
|
-
command =
|
430
|
+
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options)
|
431
431
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation
|
432
432
|
command.request_object = get_ancestry_request_object
|
433
433
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation
|
@@ -464,7 +464,7 @@ module Google
|
|
464
464
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
465
465
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
466
466
|
def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
467
|
-
command =
|
467
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options)
|
468
468
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation
|
469
469
|
command.request_object = get_iam_policy_request_object
|
470
470
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
@@ -544,7 +544,7 @@ module Google
|
|
544
544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
545
545
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
546
546
|
def list_projects(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
547
|
-
command =
|
547
|
+
command = make_simple_command(:get, 'v1beta1/projects', options)
|
548
548
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse::Representation
|
549
549
|
command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse
|
550
550
|
command.query['filter'] = filter unless filter.nil?
|
@@ -606,7 +606,7 @@ module Google
|
|
606
606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
607
607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
608
608
|
def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
609
|
-
command =
|
609
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:setIamPolicy', options)
|
610
610
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation
|
611
611
|
command.request_object = set_iam_policy_request_object
|
612
612
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation
|
@@ -640,7 +640,7 @@ module Google
|
|
640
640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
641
641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
642
642
|
def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
643
|
-
command =
|
643
|
+
command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options)
|
644
644
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation
|
645
645
|
command.request_object = test_iam_permissions_request_object
|
646
646
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation
|
@@ -679,7 +679,7 @@ module Google
|
|
679
679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
680
680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
681
681
|
def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
682
|
-
command =
|
682
|
+
command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options)
|
683
683
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation
|
684
684
|
command.request_object = undelete_project_request_object
|
685
685
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation
|
@@ -715,7 +715,7 @@ module Google
|
|
715
715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
716
716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
717
717
|
def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
718
|
-
command =
|
718
|
+
command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options)
|
719
719
|
command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
720
720
|
command.request_object = project_object
|
721
721
|
command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
|
@@ -475,7 +475,7 @@ module Google
|
|
475
475
|
|
476
476
|
# The server-assigned name, which is only unique within the same service that
|
477
477
|
# originally returns it. If you use the default HTTP mapping, the
|
478
|
-
# `name` should
|
478
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
479
479
|
# Corresponds to the JSON property `name`
|
480
480
|
# @return [String]
|
481
481
|
attr_accessor :name
|
@@ -93,7 +93,7 @@ module Google
|
|
93
93
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
94
94
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
95
95
|
def create_folder(folder_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
96
|
-
command =
|
96
|
+
command = make_simple_command(:post, 'v2/folders', options)
|
97
97
|
command.request_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
|
98
98
|
command.request_object = folder_object
|
99
99
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Operation::Representation
|
@@ -134,7 +134,7 @@ module Google
|
|
134
134
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
135
135
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
136
136
|
def delete_folder(name, fields: nil, quota_user: nil, options: nil, &block)
|
137
|
-
command =
|
137
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
138
138
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
|
139
139
|
command.response_class = Google::Apis::CloudresourcemanagerV2::Folder
|
140
140
|
command.params['name'] = name unless name.nil?
|
@@ -169,7 +169,7 @@ module Google
|
|
169
169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
170
170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
171
171
|
def get_folder(name, fields: nil, quota_user: nil, options: nil, &block)
|
172
|
-
command =
|
172
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
173
173
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
|
174
174
|
command.response_class = Google::Apis::CloudresourcemanagerV2::Folder
|
175
175
|
command.params['name'] = name unless name.nil?
|
@@ -205,7 +205,7 @@ module Google
|
|
205
205
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
206
206
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
207
207
|
def get_folder_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
208
|
-
command =
|
208
|
+
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
|
209
209
|
command.request_representation = Google::Apis::CloudresourcemanagerV2::GetIamPolicyRequest::Representation
|
210
210
|
command.request_object = get_iam_policy_request_object
|
211
211
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Policy::Representation
|
@@ -258,7 +258,7 @@ module Google
|
|
258
258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
259
259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
260
260
|
def list_folders(page_size: nil, page_token: nil, parent: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
261
|
-
command =
|
261
|
+
command = make_simple_command(:get, 'v2/folders', options)
|
262
262
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::ListFoldersResponse::Representation
|
263
263
|
command.response_class = Google::Apis::CloudresourcemanagerV2::ListFoldersResponse
|
264
264
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -309,7 +309,7 @@ module Google
|
|
309
309
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
310
310
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
311
311
|
def move_folder(name, move_folder_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
312
|
-
command =
|
312
|
+
command = make_simple_command(:post, 'v2/{+name}:move', options)
|
313
313
|
command.request_representation = Google::Apis::CloudresourcemanagerV2::MoveFolderRequest::Representation
|
314
314
|
command.request_object = move_folder_request_object
|
315
315
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Operation::Representation
|
@@ -358,7 +358,7 @@ module Google
|
|
358
358
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
359
359
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
360
360
|
def patch_folder(name, folder_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
361
|
-
command =
|
361
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
362
362
|
command.request_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
|
363
363
|
command.request_object = folder_object
|
364
364
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
|
@@ -394,7 +394,7 @@ module Google
|
|
394
394
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
395
395
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
396
396
|
def search_folders(search_folders_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
397
|
-
command =
|
397
|
+
command = make_simple_command(:post, 'v2/folders:search', options)
|
398
398
|
command.request_representation = Google::Apis::CloudresourcemanagerV2::SearchFoldersRequest::Representation
|
399
399
|
command.request_object = search_folders_request_object
|
400
400
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::SearchFoldersResponse::Representation
|
@@ -431,7 +431,7 @@ module Google
|
|
431
431
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
432
432
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
433
433
|
def set_folder_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
434
|
-
command =
|
434
|
+
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
|
435
435
|
command.request_representation = Google::Apis::CloudresourcemanagerV2::SetIamPolicyRequest::Representation
|
436
436
|
command.request_object = set_iam_policy_request_object
|
437
437
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Policy::Representation
|
@@ -468,7 +468,7 @@ module Google
|
|
468
468
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
469
469
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
470
470
|
def test_folder_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
471
|
-
command =
|
471
|
+
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
|
472
472
|
command.request_representation = Google::Apis::CloudresourcemanagerV2::TestIamPermissionsRequest::Representation
|
473
473
|
command.request_object = test_iam_permissions_request_object
|
474
474
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::TestIamPermissionsResponse::Representation
|
@@ -511,7 +511,7 @@ module Google
|
|
511
511
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
512
512
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
513
513
|
def undelete_folder(name, undelete_folder_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
514
|
-
command =
|
514
|
+
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
|
515
515
|
command.request_representation = Google::Apis::CloudresourcemanagerV2::UndeleteFolderRequest::Representation
|
516
516
|
command.request_object = undelete_folder_request_object
|
517
517
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Folder::Representation
|
@@ -545,7 +545,7 @@ module Google
|
|
545
545
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
546
546
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
547
547
|
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
548
|
-
command =
|
548
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
549
549
|
command.response_representation = Google::Apis::CloudresourcemanagerV2::Operation::Representation
|
550
550
|
command.response_class = Google::Apis::CloudresourcemanagerV2::Operation
|
551
551
|
command.params['name'] = name unless name.nil?
|