google-api-client 0.29.1 → 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 +102 -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.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/accesscontextmanager_v1.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_v1beta.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/adexchangebuyer2_v2beta1.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/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.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- 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/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.rb +1 -1
- 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/appengine_v1.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_v1alpha.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_v1beta.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_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.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +934 -0
- data/generated/google/apis/bigquery_v2/representations.rb +367 -0
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- 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.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- 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/service.rb +37 -37
- 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.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- 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.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- 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.rb +1 -1
- 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_v1beta2.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/cloudidentity_v1.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_v1beta1.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/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalogproducer_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/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- 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_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- 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_v2beta1.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/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudshell_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_v1alpha1.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/cloudtasks_v2.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_v2beta2.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_v2beta3.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/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.rb +1 -1
- 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_beta.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/container_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_v1beta1.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/containeranalysis_v1alpha1.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_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2.rb +1 -1
- 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_1.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/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- 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/datafusion_v1beta1.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/dataproc_v1.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_v1beta2.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/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- 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.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2beta1.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/digitalassetlinks_v1/service.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- 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 +15 -15
- data/generated/google/apis/docs_v1.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/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/service.rb +74 -74
- data/generated/google/apis/drive_v3/service.rb +46 -46
- 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.rb +35 -0
- 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/file_v1.rb +1 -1
- 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_v1beta1.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/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.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.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_v2alpha1.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/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.rb +34 -0
- 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_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/iam_v1/service.rb +36 -36
- 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.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- 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.rb +1 -1
- 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/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/monitoring_v3.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/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.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/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- 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.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- 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.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1beta1.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/remotebuildexecution_v1.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_v1alpha.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_v2.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/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.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/runtimeconfig_v1.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_v1beta1.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/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1.rb +1 -1
- 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/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.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_v1beta1.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/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.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/servicecontrol_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/servicemanagement_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/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- 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.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/speech_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_v1p1beta1.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/sqladmin_v1beta4.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/storage_v1/service.rb +52 -52
- 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.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/streetviewpublish_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/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.rb +1 -1
- 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/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/tpu_v1.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_v1alpha1.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/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.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_v1p1beta1.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_v1p2beta1.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/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.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- 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_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- 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
@@ -100,7 +100,7 @@ module Google
|
|
100
100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
101
101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
102
102
|
def list_activities(user_key, application_name, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
103
|
-
command =
|
103
|
+
command = make_simple_command(:get, 'activity/users/{userKey}/applications/{applicationName}', options)
|
104
104
|
command.response_representation = Google::Apis::AdminReportsV1::Activities::Representation
|
105
105
|
command.response_class = Google::Apis::AdminReportsV1::Activities
|
106
106
|
command.params['userKey'] = user_key unless user_key.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 watch_activity(user_key, application_name, channel_object = nil, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
172
|
-
command =
|
172
|
+
command = make_simple_command(:post, 'activity/users/{userKey}/applications/{applicationName}/watch', options)
|
173
173
|
command.request_representation = Google::Apis::AdminReportsV1::Channel::Representation
|
174
174
|
command.request_object = channel_object
|
175
175
|
command.response_representation = Google::Apis::AdminReportsV1::Channel::Representation
|
@@ -213,7 +213,7 @@ module Google
|
|
213
213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
214
214
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
215
215
|
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
216
|
-
command =
|
216
|
+
command = make_simple_command(:post, '/admin/reports_v1/channels/stop', options)
|
217
217
|
command.request_representation = Google::Apis::AdminReportsV1::Channel::Representation
|
218
218
|
command.request_object = channel_object
|
219
219
|
command.query['fields'] = fields unless fields.nil?
|
@@ -253,7 +253,7 @@ module Google
|
|
253
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
255
|
def get_customer_usage_report(date, customer_id: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
256
|
-
command =
|
256
|
+
command = make_simple_command(:get, 'usage/dates/{date}', options)
|
257
257
|
command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
|
258
258
|
command.response_class = Google::Apis::AdminReportsV1::UsageReports
|
259
259
|
command.params['date'] = date unless date.nil?
|
@@ -305,7 +305,7 @@ module Google
|
|
305
305
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
306
306
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
307
307
|
def get_entity_usage_report(entity_type, entity_key, date, customer_id: nil, filters: nil, max_results: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
308
|
-
command =
|
308
|
+
command = make_simple_command(:get, 'usage/{entityType}/{entityKey}/dates/{date}', options)
|
309
309
|
command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
|
310
310
|
command.response_class = Google::Apis::AdminReportsV1::UsageReports
|
311
311
|
command.params['entityType'] = entity_type unless entity_type.nil?
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
364
364
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
365
365
|
def get_user_usage_report(user_key, date, customer_id: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
366
|
-
command =
|
366
|
+
command = make_simple_command(:get, 'usage/users/{userKey}/dates/{date}', options)
|
367
367
|
command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
|
368
368
|
command.response_class = Google::Apis::AdminReportsV1::UsageReports
|
369
369
|
command.params['userKey'] = user_key unless user_key.nil?
|
@@ -76,7 +76,7 @@ module Google
|
|
76
76
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
77
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
78
|
def get_account(account_id, tree: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
79
|
-
command =
|
79
|
+
command = make_simple_command(:get, 'accounts/{accountId}', options)
|
80
80
|
command.response_representation = Google::Apis::AdsenseV1_4::Account::Representation
|
81
81
|
command.response_class = Google::Apis::AdsenseV1_4::Account
|
82
82
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
115
|
def list_accounts(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
116
|
-
command =
|
116
|
+
command = make_simple_command(:get, 'accounts', options)
|
117
117
|
command.response_representation = Google::Apis::AdsenseV1_4::Accounts::Representation
|
118
118
|
command.response_class = Google::Apis::AdsenseV1_4::Accounts
|
119
119
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -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 get_account_adclient_ad_code(account_id, ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
152
|
-
command =
|
152
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adcode', options)
|
153
153
|
command.response_representation = Google::Apis::AdsenseV1_4::AdCode::Representation
|
154
154
|
command.response_class = Google::Apis::AdsenseV1_4::AdCode
|
155
155
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -189,7 +189,7 @@ module Google
|
|
189
189
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
190
190
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
191
191
|
def list_account_ad_clients(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
192
|
-
command =
|
192
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients', options)
|
193
193
|
command.response_representation = Google::Apis::AdsenseV1_4::AdClients::Representation
|
194
194
|
command.response_class = Google::Apis::AdsenseV1_4::AdClients
|
195
195
|
command.params['accountId'] = account_id unless account_id.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_account_ad_unit(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
232
|
-
command =
|
232
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
|
233
233
|
command.response_representation = Google::Apis::AdsenseV1_4::AdUnit::Representation
|
234
234
|
command.response_class = Google::Apis::AdsenseV1_4::AdUnit
|
235
235
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -268,7 +268,7 @@ module Google
|
|
268
268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
269
269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
270
270
|
def get_account_ad_unit_ad_code(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
271
|
-
command =
|
271
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
|
272
272
|
command.response_representation = Google::Apis::AdsenseV1_4::AdCode::Representation
|
273
273
|
command.response_class = Google::Apis::AdsenseV1_4::AdCode
|
274
274
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -312,7 +312,7 @@ module Google
|
|
312
312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
313
313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
314
314
|
def list_account_ad_units(account_id, ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
315
|
-
command =
|
315
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
316
316
|
command.response_representation = Google::Apis::AdsenseV1_4::AdUnits::Representation
|
317
317
|
command.response_class = Google::Apis::AdsenseV1_4::AdUnits
|
318
318
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -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 list_account_ad_unit_custom_channels(account_id, ad_client_id, ad_unit_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
363
|
-
command =
|
363
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels', options)
|
364
364
|
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannels::Representation
|
365
365
|
command.response_class = Google::Apis::AdsenseV1_4::CustomChannels
|
366
366
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -400,7 +400,7 @@ module Google
|
|
400
400
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
401
401
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
402
402
|
def delete_account_alert(account_id, alert_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
403
|
-
command =
|
403
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/alerts/{alertId}', options)
|
404
404
|
command.params['accountId'] = account_id unless account_id.nil?
|
405
405
|
command.params['alertId'] = alert_id unless alert_id.nil?
|
406
406
|
command.query['fields'] = fields unless fields.nil?
|
@@ -436,7 +436,7 @@ module Google
|
|
436
436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
437
437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
438
438
|
def list_account_alerts(account_id, locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
439
|
-
command =
|
439
|
+
command = make_simple_command(:get, 'accounts/{accountId}/alerts', options)
|
440
440
|
command.response_representation = Google::Apis::AdsenseV1_4::Alerts::Representation
|
441
441
|
command.response_class = Google::Apis::AdsenseV1_4::Alerts
|
442
442
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -475,7 +475,7 @@ module Google
|
|
475
475
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
476
476
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
477
477
|
def get_account_custom_channel(account_id, ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
478
|
-
command =
|
478
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}', options)
|
479
479
|
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannel::Representation
|
480
480
|
command.response_class = Google::Apis::AdsenseV1_4::CustomChannel
|
481
481
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -519,7 +519,7 @@ module Google
|
|
519
519
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
520
520
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
521
521
|
def list_account_custom_channels(account_id, ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
522
|
-
command =
|
522
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels', options)
|
523
523
|
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannels::Representation
|
524
524
|
command.response_class = Google::Apis::AdsenseV1_4::CustomChannels
|
525
525
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -566,7 +566,7 @@ module Google
|
|
566
566
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
567
567
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
568
568
|
def list_account_custom_channel_ad_units(account_id, ad_client_id, custom_channel_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
569
|
-
command =
|
569
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits', options)
|
570
570
|
command.response_representation = Google::Apis::AdsenseV1_4::AdUnits::Representation
|
571
571
|
command.response_class = Google::Apis::AdsenseV1_4::AdUnits
|
572
572
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -604,7 +604,7 @@ module Google
|
|
604
604
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
605
605
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
606
606
|
def list_account_payments(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
607
|
-
command =
|
607
|
+
command = make_simple_command(:get, 'accounts/{accountId}/payments', options)
|
608
608
|
command.response_representation = Google::Apis::AdsenseV1_4::Payments::Representation
|
609
609
|
command.response_class = Google::Apis::AdsenseV1_4::Payments
|
610
610
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -669,7 +669,7 @@ module Google
|
|
669
669
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
670
670
|
def generate_account_report(account_id, start_date, end_date, currency: nil, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, use_timezone_reporting: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
671
671
|
if download_dest.nil?
|
672
|
-
command =
|
672
|
+
command = make_simple_command(:get, 'accounts/{accountId}/reports', options)
|
673
673
|
else
|
674
674
|
command = make_download_command(:get, 'accounts/{accountId}/reports', options)
|
675
675
|
command.download_dest = download_dest
|
@@ -727,7 +727,7 @@ module Google
|
|
727
727
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
728
728
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
729
729
|
def generate_account_saved_report(account_id, saved_report_id, locale: nil, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
730
|
-
command =
|
730
|
+
command = make_simple_command(:get, 'accounts/{accountId}/reports/{savedReportId}', options)
|
731
731
|
command.response_representation = Google::Apis::AdsenseV1_4::GenerateReportResponse::Representation
|
732
732
|
command.response_class = Google::Apis::AdsenseV1_4::GenerateReportResponse
|
733
733
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -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 list_account_saved_reports(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
774
|
-
command =
|
774
|
+
command = make_simple_command(:get, 'accounts/{accountId}/reports/saved', options)
|
775
775
|
command.response_representation = Google::Apis::AdsenseV1_4::SavedReports::Representation
|
776
776
|
command.response_class = Google::Apis::AdsenseV1_4::SavedReports
|
777
777
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -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 get_account_saved_ad_style(account_id, saved_ad_style_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
811
|
-
command =
|
811
|
+
command = make_simple_command(:get, 'accounts/{accountId}/savedadstyles/{savedAdStyleId}', options)
|
812
812
|
command.response_representation = Google::Apis::AdsenseV1_4::SavedAdStyle::Representation
|
813
813
|
command.response_class = Google::Apis::AdsenseV1_4::SavedAdStyle
|
814
814
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -849,7 +849,7 @@ module Google
|
|
849
849
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
850
850
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
851
851
|
def list_account_saved_ad_styles(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
852
|
-
command =
|
852
|
+
command = make_simple_command(:get, 'accounts/{accountId}/savedadstyles', options)
|
853
853
|
command.response_representation = Google::Apis::AdsenseV1_4::SavedAdStyles::Representation
|
854
854
|
command.response_class = Google::Apis::AdsenseV1_4::SavedAdStyles
|
855
855
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -892,7 +892,7 @@ module Google
|
|
892
892
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
893
893
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
894
894
|
def list_account_url_channels(account_id, ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
895
|
-
command =
|
895
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/urlchannels', options)
|
896
896
|
command.response_representation = Google::Apis::AdsenseV1_4::UrlChannels::Representation
|
897
897
|
command.response_class = Google::Apis::AdsenseV1_4::UrlChannels
|
898
898
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -932,7 +932,7 @@ module Google
|
|
932
932
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
933
933
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
934
934
|
def list_ad_clients(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
935
|
-
command =
|
935
|
+
command = make_simple_command(:get, 'adclients', options)
|
936
936
|
command.response_representation = Google::Apis::AdsenseV1_4::AdClients::Representation
|
937
937
|
command.response_class = Google::Apis::AdsenseV1_4::AdClients
|
938
938
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -968,7 +968,7 @@ module Google
|
|
968
968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
969
969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
970
970
|
def get_ad_unit(ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
971
|
-
command =
|
971
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}', options)
|
972
972
|
command.response_representation = Google::Apis::AdsenseV1_4::AdUnit::Representation
|
973
973
|
command.response_class = Google::Apis::AdsenseV1_4::AdUnit
|
974
974
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1004,7 +1004,7 @@ module Google
|
|
1004
1004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1005
1005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1006
1006
|
def get_ad_code_ad_unit(ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1007
|
-
command =
|
1007
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
|
1008
1008
|
command.response_representation = Google::Apis::AdsenseV1_4::AdCode::Representation
|
1009
1009
|
command.response_class = Google::Apis::AdsenseV1_4::AdCode
|
1010
1010
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1045,7 +1045,7 @@ module Google
|
|
1045
1045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1046
1046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1047
1047
|
def list_ad_units(ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1048
|
-
command =
|
1048
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/adunits', options)
|
1049
1049
|
command.response_representation = Google::Apis::AdsenseV1_4::AdUnits::Representation
|
1050
1050
|
command.response_class = Google::Apis::AdsenseV1_4::AdUnits
|
1051
1051
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1090,7 +1090,7 @@ module Google
|
|
1090
1090
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1091
1091
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1092
1092
|
def list_ad_unit_custom_channels(ad_client_id, ad_unit_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1093
|
-
command =
|
1093
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/adunits/{adUnitId}/customchannels', options)
|
1094
1094
|
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannels::Representation
|
1095
1095
|
command.response_class = Google::Apis::AdsenseV1_4::CustomChannels
|
1096
1096
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1126,7 +1126,7 @@ module Google
|
|
1126
1126
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1127
1127
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1128
1128
|
def delete_alert(alert_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1129
|
-
command =
|
1129
|
+
command = make_simple_command(:delete, 'alerts/{alertId}', options)
|
1130
1130
|
command.params['alertId'] = alert_id unless alert_id.nil?
|
1131
1131
|
command.query['fields'] = fields unless fields.nil?
|
1132
1132
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1159,7 +1159,7 @@ module Google
|
|
1159
1159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1160
1160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1161
1161
|
def list_alerts(locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1162
|
-
command =
|
1162
|
+
command = make_simple_command(:get, 'alerts', options)
|
1163
1163
|
command.response_representation = Google::Apis::AdsenseV1_4::Alerts::Representation
|
1164
1164
|
command.response_class = Google::Apis::AdsenseV1_4::Alerts
|
1165
1165
|
command.query['locale'] = locale unless locale.nil?
|
@@ -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 get_custom_channel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1197
|
-
command =
|
1197
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
|
1198
1198
|
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannel::Representation
|
1199
1199
|
command.response_class = Google::Apis::AdsenseV1_4::CustomChannel
|
1200
1200
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1235,7 +1235,7 @@ module Google
|
|
1235
1235
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1236
1236
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1237
1237
|
def list_custom_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1238
|
-
command =
|
1238
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels', options)
|
1239
1239
|
command.response_representation = Google::Apis::AdsenseV1_4::CustomChannels::Representation
|
1240
1240
|
command.response_class = Google::Apis::AdsenseV1_4::CustomChannels
|
1241
1241
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1279,7 +1279,7 @@ module Google
|
|
1279
1279
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1280
1280
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1281
1281
|
def list_custom_channel_ad_units(ad_client_id, custom_channel_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1282
|
-
command =
|
1282
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}/adunits', options)
|
1283
1283
|
command.response_representation = Google::Apis::AdsenseV1_4::AdUnits::Representation
|
1284
1284
|
command.response_class = Google::Apis::AdsenseV1_4::AdUnits
|
1285
1285
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1314,7 +1314,7 @@ module Google
|
|
1314
1314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1315
1315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1316
1316
|
def list_metadata_dimensions(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1317
|
-
command =
|
1317
|
+
command = make_simple_command(:get, 'metadata/dimensions', options)
|
1318
1318
|
command.response_representation = Google::Apis::AdsenseV1_4::Metadata::Representation
|
1319
1319
|
command.response_class = Google::Apis::AdsenseV1_4::Metadata
|
1320
1320
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1344,7 +1344,7 @@ module Google
|
|
1344
1344
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1345
1345
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1346
1346
|
def list_metadata_metrics(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1347
|
-
command =
|
1347
|
+
command = make_simple_command(:get, 'metadata/metrics', options)
|
1348
1348
|
command.response_representation = Google::Apis::AdsenseV1_4::Metadata::Representation
|
1349
1349
|
command.response_class = Google::Apis::AdsenseV1_4::Metadata
|
1350
1350
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1374,7 +1374,7 @@ module Google
|
|
1374
1374
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1375
1375
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1376
1376
|
def list_payments(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1377
|
-
command =
|
1377
|
+
command = make_simple_command(:get, 'payments', options)
|
1378
1378
|
command.response_representation = Google::Apis::AdsenseV1_4::Payments::Representation
|
1379
1379
|
command.response_class = Google::Apis::AdsenseV1_4::Payments
|
1380
1380
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1438,7 +1438,7 @@ module Google
|
|
1438
1438
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1439
1439
|
def generate_report(start_date, end_date, account_id: nil, currency: nil, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, use_timezone_reporting: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
1440
1440
|
if download_dest.nil?
|
1441
|
-
command =
|
1441
|
+
command = make_simple_command(:get, 'reports', options)
|
1442
1442
|
else
|
1443
1443
|
command = make_download_command(:get, 'reports', options)
|
1444
1444
|
command.download_dest = download_dest
|
@@ -1494,7 +1494,7 @@ module Google
|
|
1494
1494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1495
1495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1496
1496
|
def generate_saved_report(saved_report_id, locale: nil, max_results: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1497
|
-
command =
|
1497
|
+
command = make_simple_command(:get, 'reports/{savedReportId}', options)
|
1498
1498
|
command.response_representation = Google::Apis::AdsenseV1_4::GenerateReportResponse::Representation
|
1499
1499
|
command.response_class = Google::Apis::AdsenseV1_4::GenerateReportResponse
|
1500
1500
|
command.params['savedReportId'] = saved_report_id unless saved_report_id.nil?
|
@@ -1535,7 +1535,7 @@ module Google
|
|
1535
1535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1536
1536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1537
1537
|
def list_saved_reports(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1538
|
-
command =
|
1538
|
+
command = make_simple_command(:get, 'reports/saved', options)
|
1539
1539
|
command.response_representation = Google::Apis::AdsenseV1_4::SavedReports::Representation
|
1540
1540
|
command.response_class = Google::Apis::AdsenseV1_4::SavedReports
|
1541
1541
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -1569,7 +1569,7 @@ module Google
|
|
1569
1569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1570
1570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1571
1571
|
def get_saved_ad_style(saved_ad_style_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1572
|
-
command =
|
1572
|
+
command = make_simple_command(:get, 'savedadstyles/{savedAdStyleId}', options)
|
1573
1573
|
command.response_representation = Google::Apis::AdsenseV1_4::SavedAdStyle::Representation
|
1574
1574
|
command.response_class = Google::Apis::AdsenseV1_4::SavedAdStyle
|
1575
1575
|
command.params['savedAdStyleId'] = saved_ad_style_id unless saved_ad_style_id.nil?
|
@@ -1607,7 +1607,7 @@ module Google
|
|
1607
1607
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1608
1608
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1609
1609
|
def list_saved_ad_styles(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1610
|
-
command =
|
1610
|
+
command = make_simple_command(:get, 'savedadstyles', options)
|
1611
1611
|
command.response_representation = Google::Apis::AdsenseV1_4::SavedAdStyles::Representation
|
1612
1612
|
command.response_class = Google::Apis::AdsenseV1_4::SavedAdStyles
|
1613
1613
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -1647,7 +1647,7 @@ module Google
|
|
1647
1647
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1648
1648
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1649
1649
|
def list_url_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1650
|
-
command =
|
1650
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/urlchannels', options)
|
1651
1651
|
command.response_representation = Google::Apis::AdsenseV1_4::UrlChannels::Representation
|
1652
1652
|
command.response_class = Google::Apis::AdsenseV1_4::UrlChannels
|
1653
1653
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
76
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
77
|
def get_account(account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
78
|
-
command =
|
78
|
+
command = make_simple_command(:get, 'accounts/{accountId}', options)
|
79
79
|
command.response_representation = Google::Apis::AdsensehostV4_1::Account::Representation
|
80
80
|
command.response_class = Google::Apis::AdsensehostV4_1::Account
|
81
81
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -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 list_accounts(filter_ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
111
|
-
command =
|
111
|
+
command = make_simple_command(:get, 'accounts', options)
|
112
112
|
command.response_representation = Google::Apis::AdsensehostV4_1::Accounts::Representation
|
113
113
|
command.response_class = Google::Apis::AdsensehostV4_1::Accounts
|
114
114
|
command.query['filterAdClientId'] = filter_ad_client_id unless filter_ad_client_id.nil?
|
@@ -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_account_ad_client(account_id, ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
147
|
-
command =
|
147
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}', options)
|
148
148
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdClient::Representation
|
149
149
|
command.response_class = Google::Apis::AdsensehostV4_1::AdClient
|
150
150
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -184,7 +184,7 @@ module Google
|
|
184
184
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
185
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
186
|
def list_account_ad_clients(account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
187
|
-
command =
|
187
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients', options)
|
188
188
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdClients::Representation
|
189
189
|
command.response_class = Google::Apis::AdsensehostV4_1::AdClients
|
190
190
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -223,7 +223,7 @@ module Google
|
|
223
223
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
224
224
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
225
225
|
def delete_account_ad_unit(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
226
|
-
command =
|
226
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
|
227
227
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
228
228
|
command.response_class = Google::Apis::AdsensehostV4_1::AdUnit
|
229
229
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -262,7 +262,7 @@ module Google
|
|
262
262
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
263
263
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
264
264
|
def get_account_ad_unit(account_id, ad_client_id, ad_unit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
265
|
-
command =
|
265
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}', options)
|
266
266
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
267
267
|
command.response_class = Google::Apis::AdsensehostV4_1::AdUnit
|
268
268
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -304,7 +304,7 @@ module Google
|
|
304
304
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
305
305
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
306
306
|
def get_account_ad_unit_ad_code(account_id, ad_client_id, ad_unit_id, host_custom_channel_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
307
|
-
command =
|
307
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode', options)
|
308
308
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdCode::Representation
|
309
309
|
command.response_class = Google::Apis::AdsensehostV4_1::AdCode
|
310
310
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -343,7 +343,7 @@ module Google
|
|
343
343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
344
344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
345
345
|
def insert_account_ad_unit(account_id, ad_client_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
346
|
-
command =
|
346
|
+
command = make_simple_command(:post, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
347
347
|
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
348
348
|
command.request_object = ad_unit_object
|
349
349
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
@@ -388,7 +388,7 @@ module Google
|
|
388
388
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
389
389
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
390
390
|
def list_account_ad_units(account_id, ad_client_id, include_inactive: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
391
|
-
command =
|
391
|
+
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
392
392
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnits::Representation
|
393
393
|
command.response_class = Google::Apis::AdsensehostV4_1::AdUnits
|
394
394
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -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 patch_account_ad_unit(account_id, ad_client_id, ad_unit_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
434
|
-
command =
|
434
|
+
command = make_simple_command(:patch, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
435
435
|
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
436
436
|
command.request_object = ad_unit_object
|
437
437
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
@@ -471,7 +471,7 @@ module Google
|
|
471
471
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
472
472
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
473
473
|
def update_account_ad_unit(account_id, ad_client_id, ad_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
474
|
-
command =
|
474
|
+
command = make_simple_command(:put, 'accounts/{accountId}/adclients/{adClientId}/adunits', options)
|
475
475
|
command.request_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
476
476
|
command.request_object = ad_unit_object
|
477
477
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdUnit::Representation
|
@@ -530,7 +530,7 @@ module Google
|
|
530
530
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
531
531
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
532
532
|
def generate_account_report(account_id, start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
533
|
-
command =
|
533
|
+
command = make_simple_command(:get, 'accounts/{accountId}/reports', options)
|
534
534
|
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
|
535
535
|
command.response_class = Google::Apis::AdsensehostV4_1::Report
|
536
536
|
command.params['accountId'] = account_id unless account_id.nil?
|
@@ -572,7 +572,7 @@ module Google
|
|
572
572
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
573
573
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
574
574
|
def get_ad_client(ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
575
|
-
command =
|
575
|
+
command = make_simple_command(:get, 'adclients/{adClientId}', options)
|
576
576
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdClient::Representation
|
577
577
|
command.response_class = Google::Apis::AdsensehostV4_1::AdClient
|
578
578
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -609,7 +609,7 @@ module Google
|
|
609
609
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
610
610
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
611
611
|
def list_ad_clients(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
612
|
-
command =
|
612
|
+
command = make_simple_command(:get, 'adclients', options)
|
613
613
|
command.response_representation = Google::Apis::AdsensehostV4_1::AdClients::Representation
|
614
614
|
command.response_class = Google::Apis::AdsensehostV4_1::AdClients
|
615
615
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -650,7 +650,7 @@ module Google
|
|
650
650
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
651
651
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
652
652
|
def start_association_session(product_code, website_url, user_locale: nil, website_locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
653
|
-
command =
|
653
|
+
command = make_simple_command(:get, 'associationsessions/start', options)
|
654
654
|
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
|
655
655
|
command.response_class = Google::Apis::AdsensehostV4_1::AssociationSession
|
656
656
|
command.query['productCode'] = product_code unless product_code.nil?
|
@@ -687,7 +687,7 @@ module Google
|
|
687
687
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
688
688
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
689
689
|
def verify_association_session(token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
690
|
-
command =
|
690
|
+
command = make_simple_command(:get, 'associationsessions/verify', options)
|
691
691
|
command.response_representation = Google::Apis::AdsensehostV4_1::AssociationSession::Representation
|
692
692
|
command.response_class = Google::Apis::AdsensehostV4_1::AssociationSession
|
693
693
|
command.query['token'] = token unless token.nil?
|
@@ -722,7 +722,7 @@ module Google
|
|
722
722
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
723
723
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
724
724
|
def delete_custom_channel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
725
|
-
command =
|
725
|
+
command = make_simple_command(:delete, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
|
726
726
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
727
727
|
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannel
|
728
728
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -758,7 +758,7 @@ module Google
|
|
758
758
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
759
759
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
760
760
|
def get_custom_channel(ad_client_id, custom_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
761
|
-
command =
|
761
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels/{customChannelId}', options)
|
762
762
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
763
763
|
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannel
|
764
764
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -793,7 +793,7 @@ module Google
|
|
793
793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
794
794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
795
795
|
def insert_custom_channel(ad_client_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
796
|
-
command =
|
796
|
+
command = make_simple_command(:post, 'adclients/{adClientId}/customchannels', options)
|
797
797
|
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
798
798
|
command.request_object = custom_channel_object
|
799
799
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
@@ -835,7 +835,7 @@ module Google
|
|
835
835
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
836
836
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
837
837
|
def list_custom_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
838
|
-
command =
|
838
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/customchannels', options)
|
839
839
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannels::Representation
|
840
840
|
command.response_class = Google::Apis::AdsensehostV4_1::CustomChannels
|
841
841
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -874,7 +874,7 @@ module Google
|
|
874
874
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
875
875
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
876
876
|
def patch_custom_channel(ad_client_id, custom_channel_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
877
|
-
command =
|
877
|
+
command = make_simple_command(:patch, 'adclients/{adClientId}/customchannels', options)
|
878
878
|
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
879
879
|
command.request_object = custom_channel_object
|
880
880
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
@@ -911,7 +911,7 @@ module Google
|
|
911
911
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
912
912
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
913
913
|
def update_custom_channel(ad_client_id, custom_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
914
|
-
command =
|
914
|
+
command = make_simple_command(:put, 'adclients/{adClientId}/customchannels', options)
|
915
915
|
command.request_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
916
916
|
command.request_object = custom_channel_object
|
917
917
|
command.response_representation = Google::Apis::AdsensehostV4_1::CustomChannel::Representation
|
@@ -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 generate_report(start_date, end_date, dimension: nil, filter: nil, locale: nil, max_results: nil, metric: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
970
|
-
command =
|
970
|
+
command = make_simple_command(:get, 'reports', options)
|
971
971
|
command.response_representation = Google::Apis::AdsensehostV4_1::Report::Representation
|
972
972
|
command.response_class = Google::Apis::AdsensehostV4_1::Report
|
973
973
|
command.query['dimension'] = dimension unless dimension.nil?
|
@@ -1010,7 +1010,7 @@ module Google
|
|
1010
1010
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1011
1011
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1012
1012
|
def delete_url_channel(ad_client_id, url_channel_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1013
|
-
command =
|
1013
|
+
command = make_simple_command(:delete, 'adclients/{adClientId}/urlchannels/{urlChannelId}', options)
|
1014
1014
|
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
|
1015
1015
|
command.response_class = Google::Apis::AdsensehostV4_1::UrlChannel
|
1016
1016
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
@@ -1045,7 +1045,7 @@ module Google
|
|
1045
1045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1046
1046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1047
1047
|
def insert_url_channel(ad_client_id, url_channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1048
|
-
command =
|
1048
|
+
command = make_simple_command(:post, 'adclients/{adClientId}/urlchannels', options)
|
1049
1049
|
command.request_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
|
1050
1050
|
command.request_object = url_channel_object
|
1051
1051
|
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannel::Representation
|
@@ -1086,7 +1086,7 @@ module Google
|
|
1086
1086
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1087
1087
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1088
1088
|
def list_url_channels(ad_client_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1089
|
-
command =
|
1089
|
+
command = make_simple_command(:get, 'adclients/{adClientId}/urlchannels', options)
|
1090
1090
|
command.response_representation = Google::Apis::AdsensehostV4_1::UrlChannels::Representation
|
1091
1091
|
command.response_class = Google::Apis::AdsensehostV4_1::UrlChannels
|
1092
1092
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|