google-api-client 0.28.4 → 0.28.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/build.sh +3 -5
- data/.kokoro/continuous/linux.cfg +1 -1
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/CHANGELOG.md +147 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +46 -30
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +3 -2
- data/generated/google/apis/alertcenter_v1beta1/service.rb +7 -7
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +30 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +59 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +43 -98
- data/generated/google/apis/appengine_v1/representations.rb +17 -35
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +0 -97
- data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -99
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +244 -173
- data/generated/google/apis/bigquery_v2/representations.rb +79 -58
- data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +10 -10
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +38 -6
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +4 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1.rb +34 -0
- data/generated/google/apis/cloudasset_v1/classes.rb +805 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +263 -0
- data/generated/google/apis/cloudasset_v1/service.rb +190 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +20 -18
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +149 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +65 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +11 -4
- data/generated/google/apis/cloudfunctions_v1/service.rb +8 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +6 -0
- data/generated/google/apis/cloudidentity_v1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +13 -13
- data/generated/google/apis/cloudidentity_v1/service.rb +6 -15
- data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +4 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +17 -16
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +14 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +60 -44
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +220 -48
- data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +15 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +10 -10
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +17 -10
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
- data/generated/google/apis/cloudtasks_v2/classes.rb +1432 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +119 -88
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +122 -90
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +3 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +21 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +165 -29
- data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +7147 -4656
- data/generated/google/apis/compute_alpha/representations.rb +1205 -236
- data/generated/google/apis/compute_alpha/service.rb +4338 -3274
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +5974 -4567
- data/generated/google/apis/compute_beta/representations.rb +846 -283
- data/generated/google/apis/compute_beta/service.rb +4274 -3153
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +325 -50
- data/generated/google/apis/compute_v1/representations.rb +104 -1
- data/generated/google/apis/compute_v1/service.rb +153 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +4 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +7 -0
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +4 -4
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +25 -17
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +137 -12
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +204 -93
- data/generated/google/apis/content_v2/representations.rb +49 -0
- data/generated/google/apis/content_v2/service.rb +82 -41
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +360 -209
- data/generated/google/apis/content_v2_1/representations.rb +129 -56
- data/generated/google/apis/content_v2_1/service.rb +97 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +51 -19
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +133 -25
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +20 -15
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +516 -45
- data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +575 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2/service.rb +40 -24
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +126 -77
- data/generated/google/apis/dialogflow_v2beta1/service.rb +40 -24
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -41
- data/generated/google/apis/dlp_v2/representations.rb +12 -0
- data/generated/google/apis/dlp_v2/service.rb +35 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +163 -190
- data/generated/google/apis/dns_v1/representations.rb +34 -0
- data/generated/google/apis/dns_v1/service.rb +15 -110
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +117 -248
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +163 -190
- data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
- data/generated/google/apis/dns_v2beta1/service.rb +15 -110
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +118 -47
- data/generated/google/apis/docs_v1/representations.rb +39 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +3 -2
- data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
- data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +203 -10
- data/generated/google/apis/file_v1/representations.rb +70 -0
- data/generated/google/apis/file_v1/service.rb +190 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +10 -10
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +13 -10
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +3 -0
- data/generated/google/apis/fitness_v1/service.rb +1 -45
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/genomics_v1.rb +1 -10
- data/generated/google/apis/genomics_v1/classes.rb +190 -3321
- data/generated/google/apis/genomics_v1/representations.rb +128 -1265
- data/generated/google/apis/genomics_v1/service.rb +75 -1982
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +11 -51
- data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
- data/generated/google/apis/genomics_v1alpha2/service.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +19 -58
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -26
- data/generated/google/apis/genomics_v2alpha1/service.rb +1 -2
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
- data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -1
- data/generated/google/apis/iam_v1/representations.rb +67 -0
- data/generated/google/apis/iam_v1/service.rb +198 -5
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +10 -5
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +7 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +5 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +2 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +158 -36
- data/generated/google/apis/ml_v1/representations.rb +23 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -7
- data/generated/google/apis/monitoring_v3/service.rb +6 -1
- data/generated/google/apis/oauth2_v1.rb +2 -5
- data/generated/google/apis/oauth2_v1/classes.rb +0 -124
- data/generated/google/apis/oauth2_v1/representations.rb +0 -62
- data/generated/google/apis/oauth2_v1/service.rb +0 -159
- data/generated/google/apis/oauth2_v2.rb +2 -5
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/people_v1/classes.rb +19 -18
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/plus_domains_v1.rb +3 -3
- data/generated/google/apis/plus_v1.rb +3 -3
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +5 -4
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +53 -38
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/pubsub_v1/service.rb +6 -29
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
- data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -10
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +42 -28
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +52 -38
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +32 -39
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +10 -10
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +25 -24
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +0 -6
- data/generated/google/apis/script_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +73 -151
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +48 -50
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +108 -24
- data/generated/google/apis/servicecontrol_v1/representations.rb +45 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +35 -113
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -3
- data/generated/google/apis/servicenetworking_v1.rb +38 -0
- data/generated/google/apis/servicenetworking_v1/classes.rb +3591 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +1082 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -110
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +33 -150
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -190
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +115 -26
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +171 -0
- data/generated/google/apis/spanner_v1/representations.rb +49 -0
- data/generated/google/apis/spanner_v1/service.rb +51 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +107 -10
- data/generated/google/apis/speech_v1/representations.rb +24 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +16 -10
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +11 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +57 -4
- data/generated/google/apis/storage_v1/representations.rb +19 -1
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/classes.rb +28 -21
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -26
- data/generated/google/apis/streetviewpublish_v1/service.rb +27 -31
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +0 -46
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
- data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
- data/generated/google/apis/tagmanager_v2/service.rb +219 -181
- data/generated/google/apis/tasks_v1.rb +2 -2
- data/generated/google/apis/tasks_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +13 -13
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +92 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +47 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -10
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -10
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +7 -0
- data/generated/google/apis/vault_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
- data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
- data/generated/google/apis/videointelligence_v1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1977 -40
- data/generated/google/apis/vision_v1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p1beta1/representations.rb +833 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1972 -35
- data/generated/google/apis/vision_v1p2beta1/representations.rb +833 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -0
- data/lib/google/apis/generator/model.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -8
- data/generated/google/apis/partners_v2/classes.rb +0 -2260
- data/generated/google/apis/partners_v2/representations.rb +0 -905
- data/generated/google/apis/partners_v2/service.rb +0 -1077
@@ -0,0 +1,207 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module FactchecktoolsV1alpha1
|
24
|
+
|
25
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1Claim
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1Publisher
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleProtobufEmpty
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1Claim
|
92
|
+
# @private
|
93
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
94
|
+
property :claim_date, as: 'claimDate'
|
95
|
+
collection :claim_review, as: 'claimReview', class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview, decorator: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview::Representation
|
96
|
+
|
97
|
+
property :claimant, as: 'claimant'
|
98
|
+
property :text, as: 'text'
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor
|
103
|
+
# @private
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
105
|
+
property :image_url, as: 'imageUrl'
|
106
|
+
property :job_title, as: 'jobTitle'
|
107
|
+
property :name, as: 'name'
|
108
|
+
property :same_as, as: 'sameAs'
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
|
113
|
+
# @private
|
114
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
115
|
+
property :best_rating, as: 'bestRating'
|
116
|
+
property :image_url, as: 'imageUrl'
|
117
|
+
property :rating_value, as: 'ratingValue'
|
118
|
+
property :textual_rating, as: 'textualRating'
|
119
|
+
property :worst_rating, as: 'worstRating'
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview
|
124
|
+
# @private
|
125
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
126
|
+
property :language_code, as: 'languageCode'
|
127
|
+
property :publisher, as: 'publisher', class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Publisher, decorator: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Publisher::Representation
|
128
|
+
|
129
|
+
property :review_date, as: 'reviewDate'
|
130
|
+
property :textual_rating, as: 'textualRating'
|
131
|
+
property :title, as: 'title'
|
132
|
+
property :url, as: 'url'
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor
|
137
|
+
# @private
|
138
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
139
|
+
property :image_url, as: 'imageUrl'
|
140
|
+
property :name, as: 'name'
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup
|
145
|
+
# @private
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
147
|
+
collection :claim_appearances, as: 'claimAppearances'
|
148
|
+
property :claim_author, as: 'claimAuthor', class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor, decorator: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor::Representation
|
149
|
+
|
150
|
+
property :claim_date, as: 'claimDate'
|
151
|
+
property :claim_first_appearance, as: 'claimFirstAppearance'
|
152
|
+
property :claim_location, as: 'claimLocation'
|
153
|
+
property :claim_reviewed, as: 'claimReviewed'
|
154
|
+
property :rating, as: 'rating', class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating, decorator: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating::Representation
|
155
|
+
|
156
|
+
property :url, as: 'url'
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
|
161
|
+
# @private
|
162
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
163
|
+
property :claim_review_author, as: 'claimReviewAuthor', class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor, decorator: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor::Representation
|
164
|
+
|
165
|
+
collection :claim_review_markups, as: 'claimReviewMarkups', class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup, decorator: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup::Representation
|
166
|
+
|
167
|
+
property :name, as: 'name'
|
168
|
+
property :page_url, as: 'pageUrl'
|
169
|
+
property :publish_date, as: 'publishDate'
|
170
|
+
property :version_id, as: 'versionId'
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse
|
175
|
+
# @private
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
177
|
+
collection :claims, as: 'claims', class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Claim, decorator: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Claim::Representation
|
178
|
+
|
179
|
+
property :next_page_token, as: 'nextPageToken'
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
183
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse
|
184
|
+
# @private
|
185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
186
|
+
collection :claim_review_markup_pages, as: 'claimReviewMarkupPages', class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage, decorator: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
187
|
+
|
188
|
+
property :next_page_token, as: 'nextPageToken'
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
class GoogleFactcheckingFactchecktoolsV1alpha1Publisher
|
193
|
+
# @private
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
195
|
+
property :name, as: 'name'
|
196
|
+
property :site, as: 'site'
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
class GoogleProtobufEmpty
|
201
|
+
# @private
|
202
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
@@ -0,0 +1,300 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module FactchecktoolsV1alpha1
|
23
|
+
# Fact Check Tools API
|
24
|
+
#
|
25
|
+
#
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/factchecktools_v1alpha1'
|
29
|
+
#
|
30
|
+
# Factchecktools = Google::Apis::FactchecktoolsV1alpha1 # Alias the module
|
31
|
+
# service = Factchecktools::FactCheckToolsService.new
|
32
|
+
#
|
33
|
+
# @see https://developers.google.com/fact-check/tools/api/
|
34
|
+
class FactCheckToolsService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
super('https://factchecktools.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
# Search through fact-checked claims.
|
51
|
+
# @param [String] language_code
|
52
|
+
# The BCP-47 language code, such as "en-US" or "sr-Latn". Can be used to
|
53
|
+
# restrict results by language, though we do not currently consider the
|
54
|
+
# region.
|
55
|
+
# @param [Fixnum] max_age_days
|
56
|
+
# The maximum age of the returned search results, in days.
|
57
|
+
# Age is determined by either claim date or review date, whichever is newer.
|
58
|
+
# @param [Fixnum] offset
|
59
|
+
# An integer that specifies the current offset (that is, starting result
|
60
|
+
# location) in search results. This field is only considered if `page_token`
|
61
|
+
# is unset. For example, 0 means to return results starting from the first
|
62
|
+
# matching result, and 10 means to return from the 11th result.
|
63
|
+
# @param [Fixnum] page_size
|
64
|
+
# The pagination size. We will return up to that many results. Defaults to
|
65
|
+
# 10 if not set.
|
66
|
+
# @param [String] page_token
|
67
|
+
# The pagination token. You may provide the `next_page_token` returned from a
|
68
|
+
# previous List request, if any, in order to get the next page. All other
|
69
|
+
# fields must have the same values as in the previous request.
|
70
|
+
# @param [String] query
|
71
|
+
# Textual query string. Required unless `review_publisher_site_filter` is
|
72
|
+
# specified.
|
73
|
+
# @param [String] review_publisher_site_filter
|
74
|
+
# The review publisher site to filter results by, e.g. nytimes.com.
|
75
|
+
# @param [String] fields
|
76
|
+
# Selector specifying which fields to include in a partial response.
|
77
|
+
# @param [String] quota_user
|
78
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
79
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
80
|
+
# @param [Google::Apis::RequestOptions] options
|
81
|
+
# Request-specific options
|
82
|
+
#
|
83
|
+
# @yield [result, err] Result & error if block supplied
|
84
|
+
# @yieldparam result [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse] parsed result object
|
85
|
+
# @yieldparam err [StandardError] error object if request failed
|
86
|
+
#
|
87
|
+
# @return [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse]
|
88
|
+
#
|
89
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
90
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
91
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
92
|
+
def search_claims(language_code: nil, max_age_days: nil, offset: nil, page_size: nil, page_token: nil, query: nil, review_publisher_site_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
93
|
+
command = make_simple_command(:get, 'v1alpha1/claims:search', options)
|
94
|
+
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse::Representation
|
95
|
+
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse
|
96
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
97
|
+
command.query['maxAgeDays'] = max_age_days unless max_age_days.nil?
|
98
|
+
command.query['offset'] = offset unless offset.nil?
|
99
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
100
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
101
|
+
command.query['query'] = query unless query.nil?
|
102
|
+
command.query['reviewPublisherSiteFilter'] = review_publisher_site_filter unless review_publisher_site_filter.nil?
|
103
|
+
command.query['fields'] = fields unless fields.nil?
|
104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
105
|
+
execute_or_queue_command(command, &block)
|
106
|
+
end
|
107
|
+
|
108
|
+
# Create `ClaimReview` markup on a page.
|
109
|
+
# @param [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage] google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object
|
110
|
+
# @param [String] fields
|
111
|
+
# Selector specifying which fields to include in a partial response.
|
112
|
+
# @param [String] quota_user
|
113
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
114
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
115
|
+
# @param [Google::Apis::RequestOptions] options
|
116
|
+
# Request-specific options
|
117
|
+
#
|
118
|
+
# @yield [result, err] Result & error if block supplied
|
119
|
+
# @yieldparam result [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage] parsed result object
|
120
|
+
# @yieldparam err [StandardError] error object if request failed
|
121
|
+
#
|
122
|
+
# @return [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage]
|
123
|
+
#
|
124
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
125
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
126
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
127
|
+
def create_page(google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
128
|
+
command = make_simple_command(:post, 'v1alpha1/pages', options)
|
129
|
+
command.request_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
130
|
+
command.request_object = google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object
|
131
|
+
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
132
|
+
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
|
133
|
+
command.query['fields'] = fields unless fields.nil?
|
134
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
135
|
+
execute_or_queue_command(command, &block)
|
136
|
+
end
|
137
|
+
|
138
|
+
# Delete all `ClaimReview` markup on a page.
|
139
|
+
# @param [String] name
|
140
|
+
# The name of the resource to delete, in the form of `pages/`page_id``.
|
141
|
+
# @param [String] fields
|
142
|
+
# Selector specifying which fields to include in a partial response.
|
143
|
+
# @param [String] quota_user
|
144
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
145
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
146
|
+
# @param [Google::Apis::RequestOptions] options
|
147
|
+
# Request-specific options
|
148
|
+
#
|
149
|
+
# @yield [result, err] Result & error if block supplied
|
150
|
+
# @yieldparam result [Google::Apis::FactchecktoolsV1alpha1::GoogleProtobufEmpty] parsed result object
|
151
|
+
# @yieldparam err [StandardError] error object if request failed
|
152
|
+
#
|
153
|
+
# @return [Google::Apis::FactchecktoolsV1alpha1::GoogleProtobufEmpty]
|
154
|
+
#
|
155
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
156
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
|
+
def delete_page(name, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
160
|
+
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleProtobufEmpty::Representation
|
161
|
+
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleProtobufEmpty
|
162
|
+
command.params['name'] = name unless name.nil?
|
163
|
+
command.query['fields'] = fields unless fields.nil?
|
164
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
165
|
+
execute_or_queue_command(command, &block)
|
166
|
+
end
|
167
|
+
|
168
|
+
# Get all `ClaimReview` markup on a page.
|
169
|
+
# @param [String] name
|
170
|
+
# The name of the resource to get, in the form of `pages/`page_id``.
|
171
|
+
# @param [String] fields
|
172
|
+
# Selector specifying which fields to include in a partial response.
|
173
|
+
# @param [String] quota_user
|
174
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
175
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
176
|
+
# @param [Google::Apis::RequestOptions] options
|
177
|
+
# Request-specific options
|
178
|
+
#
|
179
|
+
# @yield [result, err] Result & error if block supplied
|
180
|
+
# @yieldparam result [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage] parsed result object
|
181
|
+
# @yieldparam err [StandardError] error object if request failed
|
182
|
+
#
|
183
|
+
# @return [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage]
|
184
|
+
#
|
185
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
186
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
187
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
188
|
+
def get_page(name, fields: nil, quota_user: nil, options: nil, &block)
|
189
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
190
|
+
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
191
|
+
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
|
192
|
+
command.params['name'] = name unless name.nil?
|
193
|
+
command.query['fields'] = fields unless fields.nil?
|
194
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
195
|
+
execute_or_queue_command(command, &block)
|
196
|
+
end
|
197
|
+
|
198
|
+
# List the `ClaimReview` markup pages for a specific URL or for an
|
199
|
+
# organization.
|
200
|
+
# @param [Fixnum] offset
|
201
|
+
# An integer that specifies the current offset (that is, starting result
|
202
|
+
# location) in search results. This field is only considered if `page_token`
|
203
|
+
# is unset, and if the request is not for a specific URL. For example, 0
|
204
|
+
# means to return results starting from the first matching result, and 10
|
205
|
+
# means to return from the 11th result.
|
206
|
+
# @param [String] organization
|
207
|
+
# The organization for which we want to fetch markups for. For instance,
|
208
|
+
# "site.com". Cannot be specified along with an URL.
|
209
|
+
# @param [Fixnum] page_size
|
210
|
+
# The pagination size. We will return up to that many results. Defaults to
|
211
|
+
# 10 if not set. Has no effect if a URL is requested.
|
212
|
+
# @param [String] page_token
|
213
|
+
# The pagination token. You may provide the `next_page_token` returned from a
|
214
|
+
# previous List request, if any, in order to get the next page. All other
|
215
|
+
# fields must have the same values as in the previous request.
|
216
|
+
# @param [String] url
|
217
|
+
# The URL from which to get `ClaimReview` markup. There will be at most one
|
218
|
+
# result. If markup is associated with a more canonical version of the URL
|
219
|
+
# provided, we will return that URL instead. Cannot be specified along with
|
220
|
+
# an organization.
|
221
|
+
# @param [String] fields
|
222
|
+
# Selector specifying which fields to include in a partial response.
|
223
|
+
# @param [String] quota_user
|
224
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
225
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
226
|
+
# @param [Google::Apis::RequestOptions] options
|
227
|
+
# Request-specific options
|
228
|
+
#
|
229
|
+
# @yield [result, err] Result & error if block supplied
|
230
|
+
# @yieldparam result [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse] parsed result object
|
231
|
+
# @yieldparam err [StandardError] error object if request failed
|
232
|
+
#
|
233
|
+
# @return [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse]
|
234
|
+
#
|
235
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
236
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
237
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
238
|
+
def list_pages(offset: nil, organization: nil, page_size: nil, page_token: nil, url: nil, fields: nil, quota_user: nil, options: nil, &block)
|
239
|
+
command = make_simple_command(:get, 'v1alpha1/pages', options)
|
240
|
+
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse::Representation
|
241
|
+
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse
|
242
|
+
command.query['offset'] = offset unless offset.nil?
|
243
|
+
command.query['organization'] = organization unless organization.nil?
|
244
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
245
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
246
|
+
command.query['url'] = url unless url.nil?
|
247
|
+
command.query['fields'] = fields unless fields.nil?
|
248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
249
|
+
execute_or_queue_command(command, &block)
|
250
|
+
end
|
251
|
+
|
252
|
+
# Update for all `ClaimReview` markup on a page
|
253
|
+
# Note that this is a full update. To retain the existing `ClaimReview`
|
254
|
+
# markup on a page, first perform a Get operation, then modify the returned
|
255
|
+
# markup, and finally call Update with the entire `ClaimReview` markup as the
|
256
|
+
# body.
|
257
|
+
# @param [String] name
|
258
|
+
# The name of this `ClaimReview` markup page resource, in the form of
|
259
|
+
# `pages/`page_id``. Except for update requests, this field is output-only
|
260
|
+
# and should not be set by the user.
|
261
|
+
# @param [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage] google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object
|
262
|
+
# @param [String] fields
|
263
|
+
# Selector specifying which fields to include in a partial response.
|
264
|
+
# @param [String] quota_user
|
265
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
266
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
267
|
+
# @param [Google::Apis::RequestOptions] options
|
268
|
+
# Request-specific options
|
269
|
+
#
|
270
|
+
# @yield [result, err] Result & error if block supplied
|
271
|
+
# @yieldparam result [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage] parsed result object
|
272
|
+
# @yieldparam err [StandardError] error object if request failed
|
273
|
+
#
|
274
|
+
# @return [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage]
|
275
|
+
#
|
276
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
277
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
278
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
279
|
+
def update_page(name, google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
280
|
+
command = make_simple_command(:put, 'v1alpha1/{+name}', options)
|
281
|
+
command.request_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
282
|
+
command.request_object = google_factchecking_factchecktools_v1alpha1_claim_review_markup_page_object
|
283
|
+
command.response_representation = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage::Representation
|
284
|
+
command.response_class = Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
|
285
|
+
command.params['name'] = name unless name.nil?
|
286
|
+
command.query['fields'] = fields unless fields.nil?
|
287
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
288
|
+
execute_or_queue_command(command, &block)
|
289
|
+
end
|
290
|
+
|
291
|
+
protected
|
292
|
+
|
293
|
+
def apply_command_defaults(command)
|
294
|
+
command.query['key'] = key unless key.nil?
|
295
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
296
|
+
end
|
297
|
+
end
|
298
|
+
end
|
299
|
+
end
|
300
|
+
end
|