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
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190503'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -22,6 +22,28 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV1
|
24
24
|
|
25
|
+
# Audit log information specific to Cloud IAM admin APIs. This message is
|
26
|
+
# serialized as an `Any` type in the `ServiceData` message of an
|
27
|
+
# `AuditLog` message.
|
28
|
+
class AdminAuditData
|
29
|
+
include Google::Apis::Core::Hashable
|
30
|
+
|
31
|
+
# A PermissionDelta message to record the added_permissions and
|
32
|
+
# removed_permissions inside a role.
|
33
|
+
# Corresponds to the JSON property `permissionDelta`
|
34
|
+
# @return [Google::Apis::IamV1::PermissionDelta]
|
35
|
+
attr_accessor :permission_delta
|
36
|
+
|
37
|
+
def initialize(**args)
|
38
|
+
update!(**args)
|
39
|
+
end
|
40
|
+
|
41
|
+
# Update properties of this object
|
42
|
+
def update!(**args)
|
43
|
+
@permission_delta = args[:permission_delta] if args.key?(:permission_delta)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
25
47
|
# Specifies the audit configuration for a service.
|
26
48
|
# The configuration determines which permission types are logged, and what
|
27
49
|
# identities, if any, are exempted from logging.
|
@@ -815,6 +837,32 @@ module Google
|
|
815
837
|
end
|
816
838
|
end
|
817
839
|
|
840
|
+
# A PermissionDelta message to record the added_permissions and
|
841
|
+
# removed_permissions inside a role.
|
842
|
+
class PermissionDelta
|
843
|
+
include Google::Apis::Core::Hashable
|
844
|
+
|
845
|
+
# Added permissions.
|
846
|
+
# Corresponds to the JSON property `addedPermissions`
|
847
|
+
# @return [Array<String>]
|
848
|
+
attr_accessor :added_permissions
|
849
|
+
|
850
|
+
# Removed permissions.
|
851
|
+
# Corresponds to the JSON property `removedPermissions`
|
852
|
+
# @return [Array<String>]
|
853
|
+
attr_accessor :removed_permissions
|
854
|
+
|
855
|
+
def initialize(**args)
|
856
|
+
update!(**args)
|
857
|
+
end
|
858
|
+
|
859
|
+
# Update properties of this object
|
860
|
+
def update!(**args)
|
861
|
+
@added_permissions = args[:added_permissions] if args.key?(:added_permissions)
|
862
|
+
@removed_permissions = args[:removed_permissions] if args.key?(:removed_permissions)
|
863
|
+
end
|
864
|
+
end
|
865
|
+
|
818
866
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
819
867
|
# specify access control policies for Cloud Platform resources.
|
820
868
|
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV1
|
24
24
|
|
25
|
+
class AdminAuditData
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -148,6 +154,12 @@ module Google
|
|
148
154
|
include Google::Apis::Core::JsonObjectSupport
|
149
155
|
end
|
150
156
|
|
157
|
+
class PermissionDelta
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
151
163
|
class Policy
|
152
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
165
|
|
@@ -274,6 +286,14 @@ module Google
|
|
274
286
|
include Google::Apis::Core::JsonObjectSupport
|
275
287
|
end
|
276
288
|
|
289
|
+
class AdminAuditData
|
290
|
+
# @private
|
291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
292
|
+
property :permission_delta, as: 'permissionDelta', class: Google::Apis::IamV1::PermissionDelta, decorator: Google::Apis::IamV1::PermissionDelta::Representation
|
293
|
+
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
277
297
|
class AuditConfig
|
278
298
|
# @private
|
279
299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -464,6 +484,14 @@ module Google
|
|
464
484
|
end
|
465
485
|
end
|
466
486
|
|
487
|
+
class PermissionDelta
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
collection :added_permissions, as: 'addedPermissions'
|
491
|
+
collection :removed_permissions, as: 'removedPermissions'
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
467
495
|
class Policy
|
468
496
|
# @private
|
469
497
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -88,7 +88,7 @@ module Google
|
|
88
88
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
89
89
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
90
90
|
def lint_iam_policy_policy(lint_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
91
|
-
command =
|
91
|
+
command = make_simple_command(:post, 'v1/iamPolicies:lintPolicy', options)
|
92
92
|
command.request_representation = Google::Apis::IamV1::LintPolicyRequest::Representation
|
93
93
|
command.request_object = lint_policy_request_object
|
94
94
|
command.response_representation = Google::Apis::IamV1::LintPolicyResponse::Representation
|
@@ -119,7 +119,7 @@ module Google
|
|
119
119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
120
120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
121
121
|
def query_iam_policy_auditable_services(query_auditable_services_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
122
|
-
command =
|
122
|
+
command = make_simple_command(:post, 'v1/iamPolicies:queryAuditableServices', options)
|
123
123
|
command.request_representation = Google::Apis::IamV1::QueryAuditableServicesRequest::Representation
|
124
124
|
command.request_object = query_auditable_services_request_object
|
125
125
|
command.response_representation = Google::Apis::IamV1::QueryAuditableServicesResponse::Representation
|
@@ -153,7 +153,7 @@ module Google
|
|
153
153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
154
154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
155
155
|
def create_organization_role(parent, create_role_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
156
|
-
command =
|
156
|
+
command = make_simple_command(:post, 'v1/{+parent}/roles', options)
|
157
157
|
command.request_representation = Google::Apis::IamV1::CreateRoleRequest::Representation
|
158
158
|
command.request_object = create_role_request_object
|
159
159
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
@@ -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 delete_organization_role(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
198
|
-
command =
|
198
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
199
199
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
200
200
|
command.response_class = Google::Apis::IamV1::Role
|
201
201
|
command.params['name'] = name unless name.nil?
|
@@ -229,7 +229,7 @@ module Google
|
|
229
229
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
230
230
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
231
231
|
def get_organization_role(name, fields: nil, quota_user: nil, options: nil, &block)
|
232
|
-
command =
|
232
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
233
233
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
234
234
|
command.response_class = Google::Apis::IamV1::Role
|
235
235
|
command.params['name'] = name unless name.nil?
|
@@ -273,7 +273,7 @@ module Google
|
|
273
273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
274
274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
275
275
|
def list_organization_roles(parent, page_size: nil, page_token: nil, show_deleted: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
276
|
-
command =
|
276
|
+
command = make_simple_command(:get, 'v1/{+parent}/roles', options)
|
277
277
|
command.response_representation = Google::Apis::IamV1::ListRolesResponse::Representation
|
278
278
|
command.response_class = Google::Apis::IamV1::ListRolesResponse
|
279
279
|
command.params['parent'] = parent unless parent.nil?
|
@@ -313,7 +313,7 @@ module Google
|
|
313
313
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
314
314
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
315
315
|
def patch_organization_role(name, role_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
316
|
-
command =
|
316
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
317
317
|
command.request_representation = Google::Apis::IamV1::Role::Representation
|
318
318
|
command.request_object = role_object
|
319
319
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
@@ -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 undelete_organization_role(name, undelete_role_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
352
|
-
command =
|
352
|
+
command = make_simple_command(:post, 'v1/{+name}:undelete', options)
|
353
353
|
command.request_representation = Google::Apis::IamV1::UndeleteRoleRequest::Representation
|
354
354
|
command.request_object = undelete_role_request_object
|
355
355
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
@@ -381,7 +381,7 @@ module Google
|
|
381
381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
382
382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
383
383
|
def query_testable_permissions(query_testable_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
384
|
-
command =
|
384
|
+
command = make_simple_command(:post, 'v1/permissions:queryTestablePermissions', options)
|
385
385
|
command.request_representation = Google::Apis::IamV1::QueryTestablePermissionsRequest::Representation
|
386
386
|
command.request_object = query_testable_permissions_request_object
|
387
387
|
command.response_representation = Google::Apis::IamV1::QueryTestablePermissionsResponse::Representation
|
@@ -415,7 +415,7 @@ module Google
|
|
415
415
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
416
416
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
417
417
|
def create_project_role(parent, create_role_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
418
|
-
command =
|
418
|
+
command = make_simple_command(:post, 'v1/{+parent}/roles', options)
|
419
419
|
command.request_representation = Google::Apis::IamV1::CreateRoleRequest::Representation
|
420
420
|
command.request_object = create_role_request_object
|
421
421
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
@@ -457,7 +457,7 @@ module Google
|
|
457
457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
458
458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
459
459
|
def delete_project_role(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
460
|
-
command =
|
460
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
461
461
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
462
462
|
command.response_class = Google::Apis::IamV1::Role
|
463
463
|
command.params['name'] = name unless name.nil?
|
@@ -491,7 +491,7 @@ module Google
|
|
491
491
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
492
492
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
493
493
|
def get_project_role(name, fields: nil, quota_user: nil, options: nil, &block)
|
494
|
-
command =
|
494
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
495
495
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
496
496
|
command.response_class = Google::Apis::IamV1::Role
|
497
497
|
command.params['name'] = name unless name.nil?
|
@@ -535,7 +535,7 @@ module Google
|
|
535
535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
536
536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
537
537
|
def list_project_roles(parent, page_size: nil, page_token: nil, show_deleted: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
538
|
-
command =
|
538
|
+
command = make_simple_command(:get, 'v1/{+parent}/roles', options)
|
539
539
|
command.response_representation = Google::Apis::IamV1::ListRolesResponse::Representation
|
540
540
|
command.response_class = Google::Apis::IamV1::ListRolesResponse
|
541
541
|
command.params['parent'] = parent unless parent.nil?
|
@@ -575,7 +575,7 @@ module Google
|
|
575
575
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
576
576
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
577
577
|
def patch_project_role(name, role_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
578
|
-
command =
|
578
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
579
579
|
command.request_representation = Google::Apis::IamV1::Role::Representation
|
580
580
|
command.request_object = role_object
|
581
581
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
@@ -611,7 +611,7 @@ module Google
|
|
611
611
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
612
612
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
613
613
|
def undelete_project_role(name, undelete_role_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
614
|
-
command =
|
614
|
+
command = make_simple_command(:post, 'v1/{+name}:undelete', options)
|
615
615
|
command.request_representation = Google::Apis::IamV1::UndeleteRoleRequest::Representation
|
616
616
|
command.request_object = undelete_role_request_object
|
617
617
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
@@ -646,7 +646,7 @@ module Google
|
|
646
646
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
647
647
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
648
648
|
def create_service_account(name, create_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
649
|
-
command =
|
649
|
+
command = make_simple_command(:post, 'v1/{+name}/serviceAccounts', options)
|
650
650
|
command.request_representation = Google::Apis::IamV1::CreateServiceAccountRequest::Representation
|
651
651
|
command.request_object = create_service_account_request_object
|
652
652
|
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
@@ -682,7 +682,7 @@ module Google
|
|
682
682
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
683
683
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
684
684
|
def delete_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block)
|
685
|
-
command =
|
685
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
686
686
|
command.response_representation = Google::Apis::IamV1::Empty::Representation
|
687
687
|
command.response_class = Google::Apis::IamV1::Empty
|
688
688
|
command.params['name'] = name unless name.nil?
|
@@ -691,8 +691,20 @@ module Google
|
|
691
691
|
execute_or_queue_command(command, &block)
|
692
692
|
end
|
693
693
|
|
694
|
-
#
|
695
|
-
#
|
694
|
+
# DisableServiceAccount is currently in the alpha launch stage.
|
695
|
+
# Disables a ServiceAccount,
|
696
|
+
# which immediately prevents the service account from authenticating and
|
697
|
+
# gaining access to APIs.
|
698
|
+
# Disabled service accounts can be safely restored by using
|
699
|
+
# EnableServiceAccount at any point. Deleted service accounts cannot be
|
700
|
+
# restored using this method.
|
701
|
+
# Disabling a service account that is bound to VMs, Apps, Functions, or
|
702
|
+
# other jobs will cause those jobs to lose access to resources if they are
|
703
|
+
# using the disabled service account.
|
704
|
+
# To improve reliability of your services and avoid unexpected outages, it
|
705
|
+
# is recommended to first disable a service account rather than delete it.
|
706
|
+
# After disabling the service account, wait at least 24 hours to verify there
|
707
|
+
# are no unintended consequences, and then delete the service account.
|
696
708
|
# @param [String] name
|
697
709
|
# The resource name of the service account in the following format:
|
698
710
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
@@ -718,7 +730,7 @@ module Google
|
|
718
730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
719
731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
720
732
|
def disable_service_account(name, disable_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
721
|
-
command =
|
733
|
+
command = make_simple_command(:post, 'v1/{+name}:disable', options)
|
722
734
|
command.request_representation = Google::Apis::IamV1::DisableServiceAccountRequest::Representation
|
723
735
|
command.request_object = disable_service_account_request_object
|
724
736
|
command.response_representation = Google::Apis::IamV1::Empty::Representation
|
@@ -729,8 +741,14 @@ module Google
|
|
729
741
|
execute_or_queue_command(command, &block)
|
730
742
|
end
|
731
743
|
|
732
|
-
#
|
733
|
-
#
|
744
|
+
# EnableServiceAccount is currently in the alpha launch stage.
|
745
|
+
# Restores a disabled ServiceAccount
|
746
|
+
# that has been manually disabled by using DisableServiceAccount. Service
|
747
|
+
# accounts that have been disabled by other means or for other reasons,
|
748
|
+
# such as abuse, cannot be restored using this method.
|
749
|
+
# EnableServiceAccount will have no effect on a service account that is
|
750
|
+
# not disabled. Enabling an already enabled service account will have no
|
751
|
+
# effect.
|
734
752
|
# @param [String] name
|
735
753
|
# The resource name of the service account in the following format:
|
736
754
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID`'.
|
@@ -755,7 +773,7 @@ module Google
|
|
755
773
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
756
774
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
757
775
|
def enable_service_account(name, enable_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
758
|
-
command =
|
776
|
+
command = make_simple_command(:post, 'v1/{+name}:enable', options)
|
759
777
|
command.request_representation = Google::Apis::IamV1::EnableServiceAccountRequest::Representation
|
760
778
|
command.request_object = enable_service_account_request_object
|
761
779
|
command.response_representation = Google::Apis::IamV1::Empty::Representation
|
@@ -791,7 +809,7 @@ module Google
|
|
791
809
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
792
810
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
793
811
|
def get_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block)
|
794
|
-
command =
|
812
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
795
813
|
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
796
814
|
command.response_class = Google::Apis::IamV1::ServiceAccount
|
797
815
|
command.params['name'] = name unless name.nil?
|
@@ -835,7 +853,7 @@ module Google
|
|
835
853
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
836
854
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
837
855
|
def get_project_service_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
838
|
-
command =
|
856
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
839
857
|
command.response_representation = Google::Apis::IamV1::Policy::Representation
|
840
858
|
command.response_class = Google::Apis::IamV1::Policy
|
841
859
|
command.params['resource'] = resource unless resource.nil?
|
@@ -874,7 +892,7 @@ module Google
|
|
874
892
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
875
893
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
876
894
|
def list_project_service_accounts(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
877
|
-
command =
|
895
|
+
command = make_simple_command(:get, 'v1/{+name}/serviceAccounts', options)
|
878
896
|
command.response_representation = Google::Apis::IamV1::ListServiceAccountsResponse::Representation
|
879
897
|
command.response_class = Google::Apis::IamV1::ListServiceAccountsResponse
|
880
898
|
command.params['name'] = name unless name.nil?
|
@@ -918,7 +936,7 @@ module Google
|
|
918
936
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
919
937
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
920
938
|
def patch_service_account(name, patch_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
921
|
-
command =
|
939
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
922
940
|
command.request_representation = Google::Apis::IamV1::PatchServiceAccountRequest::Representation
|
923
941
|
command.request_object = patch_service_account_request_object
|
924
942
|
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
@@ -966,7 +984,7 @@ module Google
|
|
966
984
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
967
985
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
968
986
|
def set_service_account_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
969
|
-
command =
|
987
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
970
988
|
command.request_representation = Google::Apis::IamV1::SetIamPolicyRequest::Representation
|
971
989
|
command.request_object = set_iam_policy_request_object
|
972
990
|
command.response_representation = Google::Apis::IamV1::Policy::Representation
|
@@ -1007,7 +1025,7 @@ module Google
|
|
1007
1025
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1008
1026
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1009
1027
|
def sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1010
|
-
command =
|
1028
|
+
command = make_simple_command(:post, 'v1/{+name}:signBlob', options)
|
1011
1029
|
command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation
|
1012
1030
|
command.request_object = sign_blob_request_object
|
1013
1031
|
command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation
|
@@ -1051,7 +1069,7 @@ module Google
|
|
1051
1069
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1052
1070
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1053
1071
|
def sign_service_account_jwt(name, sign_jwt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1054
|
-
command =
|
1072
|
+
command = make_simple_command(:post, 'v1/{+name}:signJwt', options)
|
1055
1073
|
command.request_representation = Google::Apis::IamV1::SignJwtRequest::Representation
|
1056
1074
|
command.request_object = sign_jwt_request_object
|
1057
1075
|
command.response_representation = Google::Apis::IamV1::SignJwtResponse::Representation
|
@@ -1086,7 +1104,7 @@ module Google
|
|
1086
1104
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1087
1105
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1088
1106
|
def test_service_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1089
|
-
command =
|
1107
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1090
1108
|
command.request_representation = Google::Apis::IamV1::TestIamPermissionsRequest::Representation
|
1091
1109
|
command.request_object = test_iam_permissions_request_object
|
1092
1110
|
command.response_representation = Google::Apis::IamV1::TestIamPermissionsResponse::Representation
|
@@ -1124,7 +1142,7 @@ module Google
|
|
1124
1142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1125
1143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1126
1144
|
def undelete_service_account(name, undelete_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1127
|
-
command =
|
1145
|
+
command = make_simple_command(:post, 'v1/{+name}:undelete', options)
|
1128
1146
|
command.request_representation = Google::Apis::IamV1::UndeleteServiceAccountRequest::Representation
|
1129
1147
|
command.request_object = undelete_service_account_request_object
|
1130
1148
|
command.response_representation = Google::Apis::IamV1::UndeleteServiceAccountResponse::Representation
|
@@ -1139,8 +1157,7 @@ module Google
|
|
1139
1157
|
# PatchServiceAccount instead.
|
1140
1158
|
# Updates a ServiceAccount.
|
1141
1159
|
# Currently, only the following fields are updatable:
|
1142
|
-
# `display_name`
|
1143
|
-
# The `etag` is mandatory.
|
1160
|
+
# `display_name` and `description`.
|
1144
1161
|
# @param [String] name
|
1145
1162
|
# The resource name of the service account in the following format:
|
1146
1163
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
@@ -1168,7 +1185,7 @@ module Google
|
|
1168
1185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1169
1186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1170
1187
|
def update_project_service_account(name, service_account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1171
|
-
command =
|
1188
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
1172
1189
|
command.request_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
1173
1190
|
command.request_object = service_account_object
|
1174
1191
|
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
@@ -1206,7 +1223,7 @@ module Google
|
|
1206
1223
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1207
1224
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1208
1225
|
def create_service_account_key(name, create_service_account_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1209
|
-
command =
|
1226
|
+
command = make_simple_command(:post, 'v1/{+name}/keys', options)
|
1210
1227
|
command.request_representation = Google::Apis::IamV1::CreateServiceAccountKeyRequest::Representation
|
1211
1228
|
command.request_object = create_service_account_key_request_object
|
1212
1229
|
command.response_representation = Google::Apis::IamV1::ServiceAccountKey::Representation
|
@@ -1242,7 +1259,7 @@ module Google
|
|
1242
1259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1243
1260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1244
1261
|
def delete_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block)
|
1245
|
-
command =
|
1262
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1246
1263
|
command.response_representation = Google::Apis::IamV1::Empty::Representation
|
1247
1264
|
command.response_class = Google::Apis::IamV1::Empty
|
1248
1265
|
command.params['name'] = name unless name.nil?
|
@@ -1280,7 +1297,7 @@ module Google
|
|
1280
1297
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1281
1298
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1282
1299
|
def get_project_service_account_key(name, public_key_type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1283
|
-
command =
|
1300
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1284
1301
|
command.response_representation = Google::Apis::IamV1::ServiceAccountKey::Representation
|
1285
1302
|
command.response_class = Google::Apis::IamV1::ServiceAccountKey
|
1286
1303
|
command.params['name'] = name unless name.nil?
|
@@ -1319,7 +1336,7 @@ module Google
|
|
1319
1336
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1320
1337
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1321
1338
|
def list_project_service_account_keys(name, key_types: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1322
|
-
command =
|
1339
|
+
command = make_simple_command(:get, 'v1/{+name}/keys', options)
|
1323
1340
|
command.response_representation = Google::Apis::IamV1::ListServiceAccountKeysResponse::Representation
|
1324
1341
|
command.response_class = Google::Apis::IamV1::ListServiceAccountKeysResponse
|
1325
1342
|
command.params['name'] = name unless name.nil?
|
@@ -1353,7 +1370,7 @@ module Google
|
|
1353
1370
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1354
1371
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1355
1372
|
def get_role(name, fields: nil, quota_user: nil, options: nil, &block)
|
1356
|
-
command =
|
1373
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1357
1374
|
command.response_representation = Google::Apis::IamV1::Role::Representation
|
1358
1375
|
command.response_class = Google::Apis::IamV1::Role
|
1359
1376
|
command.params['name'] = name unless name.nil?
|
@@ -1397,7 +1414,7 @@ module Google
|
|
1397
1414
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1398
1415
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1399
1416
|
def list_roles(page_size: nil, page_token: nil, parent: nil, show_deleted: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1400
|
-
command =
|
1417
|
+
command = make_simple_command(:get, 'v1/roles', options)
|
1401
1418
|
command.response_representation = Google::Apis::IamV1::ListRolesResponse::Representation
|
1402
1419
|
command.response_class = Google::Apis::IamV1::ListRolesResponse
|
1403
1420
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -1432,7 +1449,7 @@ module Google
|
|
1432
1449
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1433
1450
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1434
1451
|
def query_grantable_roles(query_grantable_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1435
|
-
command =
|
1452
|
+
command = make_simple_command(:post, 'v1/roles:queryGrantableRoles', options)
|
1436
1453
|
command.request_representation = Google::Apis::IamV1::QueryGrantableRolesRequest::Representation
|
1437
1454
|
command.request_object = query_grantable_roles_request_object
|
1438
1455
|
command.response_representation = Google::Apis::IamV1::QueryGrantableRolesResponse::Representation
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
28
28
|
module IamV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190429'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -72,7 +72,7 @@ module Google
|
|
72
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
74
|
def generate_service_account_access_token(name, generate_access_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
-
command =
|
75
|
+
command = make_simple_command(:post, 'v1/{+name}:generateAccessToken', options)
|
76
76
|
command.request_representation = Google::Apis::IamcredentialsV1::GenerateAccessTokenRequest::Representation
|
77
77
|
command.request_object = generate_access_token_request_object
|
78
78
|
command.response_representation = Google::Apis::IamcredentialsV1::GenerateAccessTokenResponse::Representation
|
@@ -108,7 +108,7 @@ module Google
|
|
108
108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
110
|
def generate_service_account_id_token(name, generate_id_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
111
|
-
command =
|
111
|
+
command = make_simple_command(:post, 'v1/{+name}:generateIdToken', options)
|
112
112
|
command.request_representation = Google::Apis::IamcredentialsV1::GenerateIdTokenRequest::Representation
|
113
113
|
command.request_object = generate_id_token_request_object
|
114
114
|
command.response_representation = Google::Apis::IamcredentialsV1::GenerateIdTokenResponse::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 generate_service_account_identity_binding_access_token(name, generate_identity_binding_access_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
147
|
-
command =
|
147
|
+
command = make_simple_command(:post, 'v1/{+name}:generateIdentityBindingAccessToken', options)
|
148
148
|
command.request_representation = Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenRequest::Representation
|
149
149
|
command.request_object = generate_identity_binding_access_token_request_object
|
150
150
|
command.response_representation = Google::Apis::IamcredentialsV1::GenerateIdentityBindingAccessTokenResponse::Representation
|
@@ -180,7 +180,7 @@ module Google
|
|
180
180
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
181
181
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
182
182
|
def sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
183
|
-
command =
|
183
|
+
command = make_simple_command(:post, 'v1/{+name}:signBlob', options)
|
184
184
|
command.request_representation = Google::Apis::IamcredentialsV1::SignBlobRequest::Representation
|
185
185
|
command.request_object = sign_blob_request_object
|
186
186
|
command.response_representation = Google::Apis::IamcredentialsV1::SignBlobResponse::Representation
|
@@ -216,7 +216,7 @@ module Google
|
|
216
216
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
217
217
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
218
218
|
def sign_service_account_jwt(name, sign_jwt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
219
|
-
command =
|
219
|
+
command = make_simple_command(:post, 'v1/{+name}:signJwt', options)
|
220
220
|
command.request_representation = Google::Apis::IamcredentialsV1::SignJwtRequest::Representation
|
221
221
|
command.request_object = sign_jwt_request_object
|
222
222
|
command.response_representation = Google::Apis::IamcredentialsV1::SignJwtResponse::Representation
|
@@ -73,7 +73,7 @@ module Google
|
|
73
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
75
|
def get_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
-
command =
|
76
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
77
77
|
command.request_representation = Google::Apis::IapV1::GetIamPolicyRequest::Representation
|
78
78
|
command.request_object = get_iam_policy_request_object
|
79
79
|
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
@@ -110,7 +110,7 @@ module Google
|
|
110
110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
111
111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
112
112
|
def set_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
113
|
-
command =
|
113
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
114
114
|
command.request_representation = Google::Apis::IapV1::SetIamPolicyRequest::Representation
|
115
115
|
command.request_object = set_iam_policy_request_object
|
116
116
|
command.response_representation = Google::Apis::IapV1::Policy::Representation
|
@@ -147,7 +147,7 @@ module Google
|
|
147
147
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
148
148
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
149
149
|
def test_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
150
|
-
command =
|
150
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
151
151
|
command.request_representation = Google::Apis::IapV1::TestIamPermissionsRequest::Representation
|
152
152
|
command.request_object = test_iam_permissions_request_object
|
153
153
|
command.response_representation = Google::Apis::IapV1::TestIamPermissionsResponse::Representation
|
@@ -73,7 +73,7 @@ module Google
|
|
73
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
75
|
def get_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
-
command =
|
76
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
77
77
|
command.request_representation = Google::Apis::IapV1beta1::GetIamPolicyRequest::Representation
|
78
78
|
command.request_object = get_iam_policy_request_object
|
79
79
|
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
@@ -110,7 +110,7 @@ module Google
|
|
110
110
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
111
111
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
112
112
|
def set_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
113
|
-
command =
|
113
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
114
114
|
command.request_representation = Google::Apis::IapV1beta1::SetIamPolicyRequest::Representation
|
115
115
|
command.request_object = set_iam_policy_request_object
|
116
116
|
command.response_representation = Google::Apis::IapV1beta1::Policy::Representation
|
@@ -149,7 +149,7 @@ module Google
|
|
149
149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
151
|
def test_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
152
|
-
command =
|
152
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
153
153
|
command.request_representation = Google::Apis::IapV1beta1::TestIamPermissionsRequest::Representation
|
154
154
|
command.request_object = test_iam_permissions_request_object
|
155
155
|
command.response_representation = Google::Apis::IapV1beta1::TestIamPermissionsResponse::Representation
|