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
@@ -49,6 +49,41 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Service that performs image detection and annotation for a batch of files.
|
53
|
+
# Now only "application/pdf", "image/tiff" and "image/gif" are supported.
|
54
|
+
# This service will extract at most 5 (customers can specify which 5 in
|
55
|
+
# AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each
|
56
|
+
# file provided and perform detection and annotation for each image
|
57
|
+
# extracted.
|
58
|
+
# @param [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest] google_cloud_vision_v1p2beta1_batch_annotate_files_request_object
|
59
|
+
# @param [String] fields
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
61
|
+
# @param [String] quota_user
|
62
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
+
# @param [Google::Apis::RequestOptions] options
|
65
|
+
# Request-specific options
|
66
|
+
#
|
67
|
+
# @yield [result, err] Result & error if block supplied
|
68
|
+
# @yieldparam result [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse] parsed result object
|
69
|
+
# @yieldparam err [StandardError] error object if request failed
|
70
|
+
#
|
71
|
+
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse]
|
72
|
+
#
|
73
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
+
def annotate_file(google_cloud_vision_v1p2beta1_batch_annotate_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
+
command = make_simple_command(:post, 'v1p2beta1/files:annotate', options)
|
78
|
+
command.request_representation = Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest::Representation
|
79
|
+
command.request_object = google_cloud_vision_v1p2beta1_batch_annotate_files_request_object
|
80
|
+
command.response_representation = Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse::Representation
|
81
|
+
command.response_class = Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
84
|
+
execute_or_queue_command(command, &block)
|
85
|
+
end
|
86
|
+
|
52
87
|
# Run asynchronous image detection and annotation for a list of generic
|
53
88
|
# files, such as PDF files, which may contain multiple pages and multiple
|
54
89
|
# images per page. Progress and results can be retrieved through the
|
@@ -74,7 +109,7 @@ module Google
|
|
74
109
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
110
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
111
|
def async_file_batch_annotate(google_cloud_vision_v1p2beta1_async_batch_annotate_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
-
command =
|
112
|
+
command = make_simple_command(:post, 'v1p2beta1/files:asyncBatchAnnotate', options)
|
78
113
|
command.request_representation = Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest::Representation
|
79
114
|
command.request_object = google_cloud_vision_v1p2beta1_async_batch_annotate_files_request_object
|
80
115
|
command.response_representation = Google::Apis::VisionV1p2beta1::Operation::Representation
|
@@ -104,7 +139,7 @@ module Google
|
|
104
139
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
105
140
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
106
141
|
def annotate_image(google_cloud_vision_v1p2beta1_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
107
|
-
command =
|
142
|
+
command = make_simple_command(:post, 'v1p2beta1/images:annotate', options)
|
108
143
|
command.request_representation = Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest::Representation
|
109
144
|
command.request_object = google_cloud_vision_v1p2beta1_batch_annotate_images_request_object
|
110
145
|
command.response_representation = Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse::Representation
|
@@ -113,6 +148,42 @@ module Google
|
|
113
148
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
114
149
|
execute_or_queue_command(command, &block)
|
115
150
|
end
|
151
|
+
|
152
|
+
# Run asynchronous image detection and annotation for a list of images.
|
153
|
+
# Progress and results can be retrieved through the
|
154
|
+
# `google.longrunning.Operations` interface.
|
155
|
+
# `Operation.metadata` contains `OperationMetadata` (metadata).
|
156
|
+
# `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results).
|
157
|
+
# This service will write image annotation outputs to json files in customer
|
158
|
+
# GCS bucket, each json file containing BatchAnnotateImagesResponse proto.
|
159
|
+
# @param [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest] google_cloud_vision_v1p2beta1_async_batch_annotate_images_request_object
|
160
|
+
# @param [String] fields
|
161
|
+
# Selector specifying which fields to include in a partial response.
|
162
|
+
# @param [String] quota_user
|
163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
165
|
+
# @param [Google::Apis::RequestOptions] options
|
166
|
+
# Request-specific options
|
167
|
+
#
|
168
|
+
# @yield [result, err] Result & error if block supplied
|
169
|
+
# @yieldparam result [Google::Apis::VisionV1p2beta1::Operation] parsed result object
|
170
|
+
# @yieldparam err [StandardError] error object if request failed
|
171
|
+
#
|
172
|
+
# @return [Google::Apis::VisionV1p2beta1::Operation]
|
173
|
+
#
|
174
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
175
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
176
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
177
|
+
def async_image_batch_annotate(google_cloud_vision_v1p2beta1_async_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
178
|
+
command = make_simple_command(:post, 'v1p2beta1/images:asyncBatchAnnotate', options)
|
179
|
+
command.request_representation = Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest::Representation
|
180
|
+
command.request_object = google_cloud_vision_v1p2beta1_async_batch_annotate_images_request_object
|
181
|
+
command.response_representation = Google::Apis::VisionV1p2beta1::Operation::Representation
|
182
|
+
command.response_class = Google::Apis::VisionV1p2beta1::Operation
|
183
|
+
command.query['fields'] = fields unless fields.nil?
|
184
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
185
|
+
execute_or_queue_command(command, &block)
|
186
|
+
end
|
116
187
|
|
117
188
|
protected
|
118
189
|
|
@@ -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 list_webfonts(sort: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
79
|
-
command =
|
79
|
+
command = make_simple_command(:get, 'webfonts', options)
|
80
80
|
command.response_representation = Google::Apis::WebfontsV1::WebfontList::Representation
|
81
81
|
command.response_class = Google::Apis::WebfontsV1::WebfontList
|
82
82
|
command.query['sort'] = sort unless sort.nil?
|
@@ -81,7 +81,7 @@ module Google
|
|
81
81
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
82
82
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
83
83
|
def query_search_analytics(site_url, search_analytics_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
84
|
-
command =
|
84
|
+
command = make_simple_command(:post, 'sites/{siteUrl}/searchAnalytics/query', options)
|
85
85
|
command.request_representation = Google::Apis::WebmastersV3::SearchAnalyticsQueryRequest::Representation
|
86
86
|
command.request_object = search_analytics_query_request_object
|
87
87
|
command.response_representation = Google::Apis::WebmastersV3::SearchAnalyticsQueryResponse::Representation
|
@@ -118,7 +118,7 @@ module Google
|
|
118
118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
119
119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
120
120
|
def delete_sitemap(site_url, feedpath, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
121
|
-
command =
|
121
|
+
command = make_simple_command(:delete, 'sites/{siteUrl}/sitemaps/{feedpath}', options)
|
122
122
|
command.params['siteUrl'] = site_url unless site_url.nil?
|
123
123
|
command.params['feedpath'] = feedpath unless feedpath.nil?
|
124
124
|
command.query['fields'] = fields unless fields.nil?
|
@@ -152,7 +152,7 @@ module Google
|
|
152
152
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
153
153
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
154
154
|
def get_sitemap(site_url, feedpath, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
155
|
-
command =
|
155
|
+
command = make_simple_command(:get, 'sites/{siteUrl}/sitemaps/{feedpath}', options)
|
156
156
|
command.response_representation = Google::Apis::WebmastersV3::WmxSitemap::Representation
|
157
157
|
command.response_class = Google::Apis::WebmastersV3::WmxSitemap
|
158
158
|
command.params['siteUrl'] = site_url unless site_url.nil?
|
@@ -190,7 +190,7 @@ module Google
|
|
190
190
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
191
191
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
192
192
|
def list_sitemaps(site_url, sitemap_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
193
|
-
command =
|
193
|
+
command = make_simple_command(:get, 'sites/{siteUrl}/sitemaps', options)
|
194
194
|
command.response_representation = Google::Apis::WebmastersV3::ListSitemapsResponse::Representation
|
195
195
|
command.response_class = Google::Apis::WebmastersV3::ListSitemapsResponse
|
196
196
|
command.params['siteUrl'] = site_url unless site_url.nil?
|
@@ -226,7 +226,7 @@ module Google
|
|
226
226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
227
227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
228
228
|
def submit_sitemap(site_url, feedpath, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
229
|
-
command =
|
229
|
+
command = make_simple_command(:put, 'sites/{siteUrl}/sitemaps/{feedpath}', options)
|
230
230
|
command.params['siteUrl'] = site_url unless site_url.nil?
|
231
231
|
command.params['feedpath'] = feedpath unless feedpath.nil?
|
232
232
|
command.query['fields'] = fields unless fields.nil?
|
@@ -258,7 +258,7 @@ module Google
|
|
258
258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
259
259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
260
260
|
def add_site(site_url, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
261
|
-
command =
|
261
|
+
command = make_simple_command(:put, 'sites/{siteUrl}', options)
|
262
262
|
command.params['siteUrl'] = site_url unless site_url.nil?
|
263
263
|
command.query['fields'] = fields unless fields.nil?
|
264
264
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -291,7 +291,7 @@ module Google
|
|
291
291
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
292
292
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
293
293
|
def delete_site(site_url, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
294
|
-
command =
|
294
|
+
command = make_simple_command(:delete, 'sites/{siteUrl}', options)
|
295
295
|
command.params['siteUrl'] = site_url unless site_url.nil?
|
296
296
|
command.query['fields'] = fields unless fields.nil?
|
297
297
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -324,7 +324,7 @@ module Google
|
|
324
324
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
325
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
326
|
def get_site(site_url, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
327
|
-
command =
|
327
|
+
command = make_simple_command(:get, 'sites/{siteUrl}', options)
|
328
328
|
command.response_representation = Google::Apis::WebmastersV3::WmxSite::Representation
|
329
329
|
command.response_class = Google::Apis::WebmastersV3::WmxSite
|
330
330
|
command.params['siteUrl'] = site_url unless site_url.nil?
|
@@ -355,7 +355,7 @@ module Google
|
|
355
355
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
356
356
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
357
357
|
def list_sites(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
358
|
-
command =
|
358
|
+
command = make_simple_command(:get, 'sites', options)
|
359
359
|
command.response_representation = Google::Apis::WebmastersV3::ListSitesResponse::Representation
|
360
360
|
command.response_class = Google::Apis::WebmastersV3::ListSitesResponse
|
361
361
|
command.query['fields'] = fields unless fields.nil?
|
@@ -71,7 +71,7 @@ module Google
|
|
71
71
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
72
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
73
|
def create_project_scan_config(parent, scan_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
-
command =
|
74
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/scanConfigs', options)
|
75
75
|
command.request_representation = Google::Apis::WebsecurityscannerV1alpha::ScanConfig::Representation
|
76
76
|
command.request_object = scan_config_object
|
77
77
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ScanConfig::Representation
|
@@ -105,7 +105,7 @@ module Google
|
|
105
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
106
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
107
107
|
def delete_project_scan_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
-
command =
|
108
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
109
109
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::Empty::Representation
|
110
110
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::Empty
|
111
111
|
command.params['name'] = name unless name.nil?
|
@@ -137,7 +137,7 @@ module Google
|
|
137
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
138
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
139
139
|
def get_project_scan_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
140
|
-
command =
|
140
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
141
141
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ScanConfig::Representation
|
142
142
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::ScanConfig
|
143
143
|
command.params['name'] = name unless name.nil?
|
@@ -177,7 +177,7 @@ module Google
|
|
177
177
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
178
178
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
179
179
|
def list_project_scan_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
180
|
-
command =
|
180
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/scanConfigs', options)
|
181
181
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ListScanConfigsResponse::Representation
|
182
182
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::ListScanConfigsResponse
|
183
183
|
command.params['parent'] = parent unless parent.nil?
|
@@ -218,7 +218,7 @@ module Google
|
|
218
218
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
219
219
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
220
220
|
def patch_project_scan_config(name, scan_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
221
|
-
command =
|
221
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
222
222
|
command.request_representation = Google::Apis::WebsecurityscannerV1alpha::ScanConfig::Representation
|
223
223
|
command.request_object = scan_config_object
|
224
224
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ScanConfig::Representation
|
@@ -254,7 +254,7 @@ module Google
|
|
254
254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
255
255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
256
256
|
def start_scan_config_scan_run(name, start_scan_run_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
257
|
-
command =
|
257
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:start', options)
|
258
258
|
command.request_representation = Google::Apis::WebsecurityscannerV1alpha::StartScanRunRequest::Representation
|
259
259
|
command.request_object = start_scan_run_request_object
|
260
260
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ScanRun::Representation
|
@@ -289,7 +289,7 @@ module Google
|
|
289
289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
290
290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
291
291
|
def get_project_scan_config_scan_run(name, fields: nil, quota_user: nil, options: nil, &block)
|
292
|
-
command =
|
292
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
293
293
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ScanRun::Representation
|
294
294
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::ScanRun
|
295
295
|
command.params['name'] = name unless name.nil?
|
@@ -330,7 +330,7 @@ module Google
|
|
330
330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
331
331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
332
332
|
def list_project_scan_config_scan_runs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
333
|
-
command =
|
333
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/scanRuns', options)
|
334
334
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ListScanRunsResponse::Representation
|
335
335
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::ListScanRunsResponse
|
336
336
|
command.params['parent'] = parent unless parent.nil?
|
@@ -366,7 +366,7 @@ module Google
|
|
366
366
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
367
367
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
368
368
|
def stop_scan_run(name, stop_scan_run_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
369
|
-
command =
|
369
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:stop', options)
|
370
370
|
command.request_representation = Google::Apis::WebsecurityscannerV1alpha::StopScanRunRequest::Representation
|
371
371
|
command.request_object = stop_scan_run_request_object
|
372
372
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ScanRun::Representation
|
@@ -409,7 +409,7 @@ module Google
|
|
409
409
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
410
410
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
411
411
|
def list_project_scan_config_scan_run_crawled_urls(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
412
|
-
command =
|
412
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/crawledUrls', options)
|
413
413
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ListCrawledUrlsResponse::Representation
|
414
414
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::ListCrawledUrlsResponse
|
415
415
|
command.params['parent'] = parent unless parent.nil?
|
@@ -444,7 +444,7 @@ module Google
|
|
444
444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
445
445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
446
446
|
def list_project_scan_config_scan_run_finding_type_stats(parent, fields: nil, quota_user: nil, options: nil, &block)
|
447
|
-
command =
|
447
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/findingTypeStats', options)
|
448
448
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ListFindingTypeStatsResponse::Representation
|
449
449
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::ListFindingTypeStatsResponse
|
450
450
|
command.params['parent'] = parent unless parent.nil?
|
@@ -478,7 +478,7 @@ module Google
|
|
478
478
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
479
479
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
480
480
|
def get_project_scan_config_scan_run_finding(name, fields: nil, quota_user: nil, options: nil, &block)
|
481
|
-
command =
|
481
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
482
482
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::Finding::Representation
|
483
483
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::Finding
|
484
484
|
command.params['name'] = name unless name.nil?
|
@@ -524,7 +524,7 @@ module Google
|
|
524
524
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
525
525
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
526
526
|
def list_project_scan_config_scan_run_findings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
527
|
-
command =
|
527
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/findings', options)
|
528
528
|
command.response_representation = Google::Apis::WebsecurityscannerV1alpha::ListFindingsResponse::Representation
|
529
529
|
command.response_class = Google::Apis::WebsecurityscannerV1alpha::ListFindingsResponse
|
530
530
|
command.params['parent'] = parent unless parent.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/security-scanner/
|
26
26
|
module WebsecurityscannerV1beta
|
27
27
|
VERSION = 'V1beta'
|
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'
|
@@ -71,7 +71,7 @@ module Google
|
|
71
71
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
72
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
73
|
def create_project_scan_config(parent, scan_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
-
command =
|
74
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/scanConfigs', options)
|
75
75
|
command.request_representation = Google::Apis::WebsecurityscannerV1beta::ScanConfig::Representation
|
76
76
|
command.request_object = scan_config_object
|
77
77
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ScanConfig::Representation
|
@@ -105,7 +105,7 @@ module Google
|
|
105
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
106
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
107
107
|
def delete_project_scan_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
-
command =
|
108
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
109
109
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::Empty::Representation
|
110
110
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::Empty
|
111
111
|
command.params['name'] = name unless name.nil?
|
@@ -137,7 +137,7 @@ module Google
|
|
137
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
138
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
139
139
|
def get_project_scan_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
140
|
-
command =
|
140
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
141
141
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ScanConfig::Representation
|
142
142
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::ScanConfig
|
143
143
|
command.params['name'] = name unless name.nil?
|
@@ -177,7 +177,7 @@ module Google
|
|
177
177
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
178
178
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
179
179
|
def list_project_scan_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
180
|
-
command =
|
180
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/scanConfigs', options)
|
181
181
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ListScanConfigsResponse::Representation
|
182
182
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::ListScanConfigsResponse
|
183
183
|
command.params['parent'] = parent unless parent.nil?
|
@@ -218,7 +218,7 @@ module Google
|
|
218
218
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
219
219
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
220
220
|
def patch_project_scan_config(name, scan_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
221
|
-
command =
|
221
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
222
222
|
command.request_representation = Google::Apis::WebsecurityscannerV1beta::ScanConfig::Representation
|
223
223
|
command.request_object = scan_config_object
|
224
224
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ScanConfig::Representation
|
@@ -254,7 +254,7 @@ module Google
|
|
254
254
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
255
255
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
256
256
|
def start_scan_config_scan_run(name, start_scan_run_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
257
|
-
command =
|
257
|
+
command = make_simple_command(:post, 'v1beta/{+name}:start', options)
|
258
258
|
command.request_representation = Google::Apis::WebsecurityscannerV1beta::StartScanRunRequest::Representation
|
259
259
|
command.request_object = start_scan_run_request_object
|
260
260
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ScanRun::Representation
|
@@ -289,7 +289,7 @@ module Google
|
|
289
289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
290
290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
291
291
|
def get_project_scan_config_scan_run(name, fields: nil, quota_user: nil, options: nil, &block)
|
292
|
-
command =
|
292
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
293
293
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ScanRun::Representation
|
294
294
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::ScanRun
|
295
295
|
command.params['name'] = name unless name.nil?
|
@@ -330,7 +330,7 @@ module Google
|
|
330
330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
331
331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
332
332
|
def list_project_scan_config_scan_runs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
333
|
-
command =
|
333
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/scanRuns', options)
|
334
334
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ListScanRunsResponse::Representation
|
335
335
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::ListScanRunsResponse
|
336
336
|
command.params['parent'] = parent unless parent.nil?
|
@@ -366,7 +366,7 @@ module Google
|
|
366
366
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
367
367
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
368
368
|
def stop_scan_run(name, stop_scan_run_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
369
|
-
command =
|
369
|
+
command = make_simple_command(:post, 'v1beta/{+name}:stop', options)
|
370
370
|
command.request_representation = Google::Apis::WebsecurityscannerV1beta::StopScanRunRequest::Representation
|
371
371
|
command.request_object = stop_scan_run_request_object
|
372
372
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ScanRun::Representation
|
@@ -409,7 +409,7 @@ module Google
|
|
409
409
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
410
410
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
411
411
|
def list_project_scan_config_scan_run_crawled_urls(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
412
|
-
command =
|
412
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/crawledUrls', options)
|
413
413
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ListCrawledUrlsResponse::Representation
|
414
414
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::ListCrawledUrlsResponse
|
415
415
|
command.params['parent'] = parent unless parent.nil?
|
@@ -444,7 +444,7 @@ module Google
|
|
444
444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
445
445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
446
446
|
def list_project_scan_config_scan_run_finding_type_stats(parent, fields: nil, quota_user: nil, options: nil, &block)
|
447
|
-
command =
|
447
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/findingTypeStats', options)
|
448
448
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ListFindingTypeStatsResponse::Representation
|
449
449
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::ListFindingTypeStatsResponse
|
450
450
|
command.params['parent'] = parent unless parent.nil?
|
@@ -478,7 +478,7 @@ module Google
|
|
478
478
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
479
479
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
480
480
|
def get_project_scan_config_scan_run_finding(name, fields: nil, quota_user: nil, options: nil, &block)
|
481
|
-
command =
|
481
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
482
482
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::Finding::Representation
|
483
483
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::Finding
|
484
484
|
command.params['name'] = name unless name.nil?
|
@@ -524,7 +524,7 @@ module Google
|
|
524
524
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
525
525
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
526
526
|
def list_project_scan_config_scan_run_findings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
527
|
-
command =
|
527
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/findings', options)
|
528
528
|
command.response_representation = Google::Apis::WebsecurityscannerV1beta::ListFindingsResponse::Representation
|
529
529
|
command.response_class = Google::Apis::WebsecurityscannerV1beta::ListFindingsResponse
|
530
530
|
command.params['parent'] = parent unless parent.nil?
|
@@ -85,7 +85,7 @@ module Google
|
|
85
85
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
86
86
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
87
87
|
def delete_group_item(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
88
|
-
command =
|
88
|
+
command = make_simple_command(:delete, 'groupItems', options)
|
89
89
|
command.query['id'] = id unless id.nil?
|
90
90
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
91
91
|
command.query['fields'] = fields unless fields.nil?
|
@@ -126,7 +126,7 @@ module Google
|
|
126
126
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
127
127
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
128
128
|
def insert_group_item(group_item_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
129
|
-
command =
|
129
|
+
command = make_simple_command(:post, 'groupItems', options)
|
130
130
|
command.request_representation = Google::Apis::YoutubeAnalyticsV1::GroupItem::Representation
|
131
131
|
command.request_object = group_item_object
|
132
132
|
command.response_representation = Google::Apis::YoutubeAnalyticsV1::GroupItem::Representation
|
@@ -172,7 +172,7 @@ module Google
|
|
172
172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
173
173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
174
174
|
def list_group_items(group_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
175
|
-
command =
|
175
|
+
command = make_simple_command(:get, 'groupItems', options)
|
176
176
|
command.response_representation = Google::Apis::YoutubeAnalyticsV1::ListGroupItemResponse::Representation
|
177
177
|
command.response_class = Google::Apis::YoutubeAnalyticsV1::ListGroupItemResponse
|
178
178
|
command.query['groupId'] = group_id unless group_id.nil?
|
@@ -217,7 +217,7 @@ module Google
|
|
217
217
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
218
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
219
|
def delete_group(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
220
|
-
command =
|
220
|
+
command = make_simple_command(:delete, 'groups', options)
|
221
221
|
command.query['id'] = id unless id.nil?
|
222
222
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
223
223
|
command.query['fields'] = fields unless fields.nil?
|
@@ -258,7 +258,7 @@ module Google
|
|
258
258
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
259
259
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
260
260
|
def insert_group(group_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
261
|
-
command =
|
261
|
+
command = make_simple_command(:post, 'groups', options)
|
262
262
|
command.request_representation = Google::Apis::YoutubeAnalyticsV1::Group::Representation
|
263
263
|
command.request_object = group_object
|
264
264
|
command.response_representation = Google::Apis::YoutubeAnalyticsV1::Group::Representation
|
@@ -314,7 +314,7 @@ module Google
|
|
314
314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
315
315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
316
316
|
def list_groups(id: nil, mine: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
317
|
-
command =
|
317
|
+
command = make_simple_command(:get, 'groups', options)
|
318
318
|
command.response_representation = Google::Apis::YoutubeAnalyticsV1::ListGroupsResponse::Representation
|
319
319
|
command.response_class = Google::Apis::YoutubeAnalyticsV1::ListGroupsResponse
|
320
320
|
command.query['id'] = id unless id.nil?
|
@@ -359,7 +359,7 @@ module Google
|
|
359
359
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
360
360
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
361
361
|
def update_group(group_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
362
|
-
command =
|
362
|
+
command = make_simple_command(:put, 'groups', options)
|
363
363
|
command.request_representation = Google::Apis::YoutubeAnalyticsV1::Group::Representation
|
364
364
|
command.request_object = group_object
|
365
365
|
command.response_representation = Google::Apis::YoutubeAnalyticsV1::Group::Representation
|
@@ -440,7 +440,7 @@ module Google
|
|
440
440
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
441
441
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
442
442
|
def query_report(ids, start_date, end_date, metrics, currency: nil, dimensions: nil, filters: nil, include_historical_channel_data: nil, max_results: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
443
|
-
command =
|
443
|
+
command = make_simple_command(:get, 'reports', options)
|
444
444
|
command.response_representation = Google::Apis::YoutubeAnalyticsV1::ResultTable::Representation
|
445
445
|
command.response_class = Google::Apis::YoutubeAnalyticsV1::ResultTable
|
446
446
|
command.query['currency'] = currency unless currency.nil?
|