google-api-client 0.28.7 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -32
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +138 -0
- data/Rakefile +31 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
- data/generated/google/apis/appengine_v1beta/service.rb +7 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +4 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +28 -4
- data/generated/google/apis/bigquery_v2/representations.rb +13 -0
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
- data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +16 -16
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +224 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +3 -2
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +34 -0
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
- data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +328 -25
- data/generated/google/apis/compute_alpha/representations.rb +134 -0
- data/generated/google/apis/compute_alpha/service.rb +465 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +86 -20
- data/generated/google/apis/compute_beta/representations.rb +7 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +994 -103
- data/generated/google/apis/compute_v1/representations.rb +346 -0
- data/generated/google/apis/compute_v1/service.rb +533 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +167 -21
- data/generated/google/apis/container_v1/representations.rb +66 -0
- data/generated/google/apis/container_v1/service.rb +85 -36
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +86 -21
- data/generated/google/apis/container_v1beta1/representations.rb +32 -0
- data/generated/google/apis/container_v1beta1/service.rb +38 -38
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +5 -5
- data/generated/google/apis/content_v2/service.rb +6 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +18 -4
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/content_v2_1/service.rb +6 -6
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +5 -5
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +202 -93
- data/generated/google/apis/dns_v1/service.rb +110 -15
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
- data/generated/google/apis/dns_v1beta2/service.rb +141 -21
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
- data/generated/google/apis/dns_v2beta1/service.rb +110 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +601 -69
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +452 -96
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -64
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +407 -77
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +399 -8
- data/generated/google/apis/file_v1/representations.rb +121 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +399 -8
- data/generated/google/apis/file_v1beta1/representations.rb +121 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +76 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +9 -8
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +13 -7
- data/generated/google/apis/jobs_v3/service.rb +1 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
- data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +3 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +64 -16
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +5 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +0 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1/service.rb +2 -1
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
- data/generated/google/apis/people_v1.rb +1 -4
- data/generated/google/apis/people_v1/classes.rb +19 -11
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +1 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -5
- data/generated/google/apis/plus_domains_v1/service.rb +8 -90
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/service.rb +7 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +3 -2
- data/generated/google/apis/poly_v1/service.rb +11 -8
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/pubsub_v1/service.rb +8 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +20 -19
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
- 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 +144 -0
- data/generated/google/apis/storage_v1/representations.rb +56 -0
- data/generated/google/apis/storage_v1/service.rb +441 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +6 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +37 -18
- data/generated/google/apis/vault_v1/representations.rb +3 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +84 -47
- data/generated/google/apis/vision_v1/service.rb +68 -4
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +0 -171
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -9
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/webmaster-tools/
|
26
26
|
module WebmastersV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190428'
|
29
29
|
|
30
30
|
# View and manage Search Console data for your verified sites
|
31
31
|
AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters'
|
@@ -270,172 +270,6 @@ module Google
|
|
270
270
|
end
|
271
271
|
end
|
272
272
|
|
273
|
-
# An entry in a URL crawl errors time series.
|
274
|
-
class UrlCrawlErrorCount
|
275
|
-
include Google::Apis::Core::Hashable
|
276
|
-
|
277
|
-
# The error count at the given timestamp.
|
278
|
-
# Corresponds to the JSON property `count`
|
279
|
-
# @return [Fixnum]
|
280
|
-
attr_accessor :count
|
281
|
-
|
282
|
-
# The date and time when the crawl attempt took place, in RFC 3339 format.
|
283
|
-
# Corresponds to the JSON property `timestamp`
|
284
|
-
# @return [DateTime]
|
285
|
-
attr_accessor :timestamp
|
286
|
-
|
287
|
-
def initialize(**args)
|
288
|
-
update!(**args)
|
289
|
-
end
|
290
|
-
|
291
|
-
# Update properties of this object
|
292
|
-
def update!(**args)
|
293
|
-
@count = args[:count] if args.key?(:count)
|
294
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
295
|
-
end
|
296
|
-
end
|
297
|
-
|
298
|
-
# Number of errors per day for a specific error type (defined by platform and
|
299
|
-
# category).
|
300
|
-
class UrlCrawlErrorCountsPerType
|
301
|
-
include Google::Apis::Core::Hashable
|
302
|
-
|
303
|
-
# The crawl error type.
|
304
|
-
# Corresponds to the JSON property `category`
|
305
|
-
# @return [String]
|
306
|
-
attr_accessor :category
|
307
|
-
|
308
|
-
# The error count entries time series.
|
309
|
-
# Corresponds to the JSON property `entries`
|
310
|
-
# @return [Array<Google::Apis::WebmastersV3::UrlCrawlErrorCount>]
|
311
|
-
attr_accessor :entries
|
312
|
-
|
313
|
-
# The general type of Googlebot that made the request (see list of Googlebot
|
314
|
-
# user-agents for the user-agents used).
|
315
|
-
# Corresponds to the JSON property `platform`
|
316
|
-
# @return [String]
|
317
|
-
attr_accessor :platform
|
318
|
-
|
319
|
-
def initialize(**args)
|
320
|
-
update!(**args)
|
321
|
-
end
|
322
|
-
|
323
|
-
# Update properties of this object
|
324
|
-
def update!(**args)
|
325
|
-
@category = args[:category] if args.key?(:category)
|
326
|
-
@entries = args[:entries] if args.key?(:entries)
|
327
|
-
@platform = args[:platform] if args.key?(:platform)
|
328
|
-
end
|
329
|
-
end
|
330
|
-
|
331
|
-
# A time series of the number of URL crawl errors per error category and
|
332
|
-
# platform.
|
333
|
-
class QueryUrlCrawlErrorsCountsResponse
|
334
|
-
include Google::Apis::Core::Hashable
|
335
|
-
|
336
|
-
# The time series of the number of URL crawl errors per error category and
|
337
|
-
# platform.
|
338
|
-
# Corresponds to the JSON property `countPerTypes`
|
339
|
-
# @return [Array<Google::Apis::WebmastersV3::UrlCrawlErrorCountsPerType>]
|
340
|
-
attr_accessor :count_per_types
|
341
|
-
|
342
|
-
def initialize(**args)
|
343
|
-
update!(**args)
|
344
|
-
end
|
345
|
-
|
346
|
-
# Update properties of this object
|
347
|
-
def update!(**args)
|
348
|
-
@count_per_types = args[:count_per_types] if args.key?(:count_per_types)
|
349
|
-
end
|
350
|
-
end
|
351
|
-
|
352
|
-
# Contains information about specific crawl errors.
|
353
|
-
class UrlCrawlErrorsSample
|
354
|
-
include Google::Apis::Core::Hashable
|
355
|
-
|
356
|
-
# The time the error was first detected, in RFC 3339 format.
|
357
|
-
# Corresponds to the JSON property `first_detected`
|
358
|
-
# @return [DateTime]
|
359
|
-
attr_accessor :first_detected
|
360
|
-
|
361
|
-
# The time when the URL was last crawled, in RFC 3339 format.
|
362
|
-
# Corresponds to the JSON property `last_crawled`
|
363
|
-
# @return [DateTime]
|
364
|
-
attr_accessor :last_crawled
|
365
|
-
|
366
|
-
# The URL of an error, relative to the site.
|
367
|
-
# Corresponds to the JSON property `pageUrl`
|
368
|
-
# @return [String]
|
369
|
-
attr_accessor :page_url
|
370
|
-
|
371
|
-
# The HTTP response code, if any.
|
372
|
-
# Corresponds to the JSON property `responseCode`
|
373
|
-
# @return [Fixnum]
|
374
|
-
attr_accessor :response_code
|
375
|
-
|
376
|
-
# Additional details about the URL, set only when calling get().
|
377
|
-
# Corresponds to the JSON property `urlDetails`
|
378
|
-
# @return [Google::Apis::WebmastersV3::UrlSampleDetails]
|
379
|
-
attr_accessor :url_details
|
380
|
-
|
381
|
-
def initialize(**args)
|
382
|
-
update!(**args)
|
383
|
-
end
|
384
|
-
|
385
|
-
# Update properties of this object
|
386
|
-
def update!(**args)
|
387
|
-
@first_detected = args[:first_detected] if args.key?(:first_detected)
|
388
|
-
@last_crawled = args[:last_crawled] if args.key?(:last_crawled)
|
389
|
-
@page_url = args[:page_url] if args.key?(:page_url)
|
390
|
-
@response_code = args[:response_code] if args.key?(:response_code)
|
391
|
-
@url_details = args[:url_details] if args.key?(:url_details)
|
392
|
-
end
|
393
|
-
end
|
394
|
-
|
395
|
-
# List of crawl error samples.
|
396
|
-
class ListUrlCrawlErrorsSamplesResponse
|
397
|
-
include Google::Apis::Core::Hashable
|
398
|
-
|
399
|
-
# Information about the sample URL and its crawl error.
|
400
|
-
# Corresponds to the JSON property `urlCrawlErrorSample`
|
401
|
-
# @return [Array<Google::Apis::WebmastersV3::UrlCrawlErrorsSample>]
|
402
|
-
attr_accessor :url_crawl_error_sample
|
403
|
-
|
404
|
-
def initialize(**args)
|
405
|
-
update!(**args)
|
406
|
-
end
|
407
|
-
|
408
|
-
# Update properties of this object
|
409
|
-
def update!(**args)
|
410
|
-
@url_crawl_error_sample = args[:url_crawl_error_sample] if args.key?(:url_crawl_error_sample)
|
411
|
-
end
|
412
|
-
end
|
413
|
-
|
414
|
-
# Additional details about the URL, set only when calling get().
|
415
|
-
class UrlSampleDetails
|
416
|
-
include Google::Apis::Core::Hashable
|
417
|
-
|
418
|
-
# List of sitemaps pointing at this URL.
|
419
|
-
# Corresponds to the JSON property `containingSitemaps`
|
420
|
-
# @return [Array<String>]
|
421
|
-
attr_accessor :containing_sitemaps
|
422
|
-
|
423
|
-
# A sample set of URLs linking to this URL.
|
424
|
-
# Corresponds to the JSON property `linkedFromUrls`
|
425
|
-
# @return [Array<String>]
|
426
|
-
attr_accessor :linked_from_urls
|
427
|
-
|
428
|
-
def initialize(**args)
|
429
|
-
update!(**args)
|
430
|
-
end
|
431
|
-
|
432
|
-
# Update properties of this object
|
433
|
-
def update!(**args)
|
434
|
-
@containing_sitemaps = args[:containing_sitemaps] if args.key?(:containing_sitemaps)
|
435
|
-
@linked_from_urls = args[:linked_from_urls] if args.key?(:linked_from_urls)
|
436
|
-
end
|
437
|
-
end
|
438
|
-
|
439
273
|
# Contains permission level information about a Search Console site. For more
|
440
274
|
# information, see Permissions in Search Console.
|
441
275
|
class WmxSite
|
@@ -64,42 +64,6 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class UrlCrawlErrorCount
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
|
-
class UrlCrawlErrorCountsPerType
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
class QueryUrlCrawlErrorsCountsResponse
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
class UrlCrawlErrorsSample
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
|
-
class ListUrlCrawlErrorsSamplesResponse
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
|
-
class UrlSampleDetails
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
67
|
class WmxSite
|
104
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
69
|
|
@@ -187,63 +151,6 @@ module Google
|
|
187
151
|
end
|
188
152
|
end
|
189
153
|
|
190
|
-
class UrlCrawlErrorCount
|
191
|
-
# @private
|
192
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
193
|
-
property :count, :numeric_string => true, as: 'count'
|
194
|
-
property :timestamp, as: 'timestamp', type: DateTime
|
195
|
-
|
196
|
-
end
|
197
|
-
end
|
198
|
-
|
199
|
-
class UrlCrawlErrorCountsPerType
|
200
|
-
# @private
|
201
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
202
|
-
property :category, as: 'category'
|
203
|
-
collection :entries, as: 'entries', class: Google::Apis::WebmastersV3::UrlCrawlErrorCount, decorator: Google::Apis::WebmastersV3::UrlCrawlErrorCount::Representation
|
204
|
-
|
205
|
-
property :platform, as: 'platform'
|
206
|
-
end
|
207
|
-
end
|
208
|
-
|
209
|
-
class QueryUrlCrawlErrorsCountsResponse
|
210
|
-
# @private
|
211
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
212
|
-
collection :count_per_types, as: 'countPerTypes', class: Google::Apis::WebmastersV3::UrlCrawlErrorCountsPerType, decorator: Google::Apis::WebmastersV3::UrlCrawlErrorCountsPerType::Representation
|
213
|
-
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
|
-
class UrlCrawlErrorsSample
|
218
|
-
# @private
|
219
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
220
|
-
property :first_detected, as: 'first_detected', type: DateTime
|
221
|
-
|
222
|
-
property :last_crawled, as: 'last_crawled', type: DateTime
|
223
|
-
|
224
|
-
property :page_url, as: 'pageUrl'
|
225
|
-
property :response_code, as: 'responseCode'
|
226
|
-
property :url_details, as: 'urlDetails', class: Google::Apis::WebmastersV3::UrlSampleDetails, decorator: Google::Apis::WebmastersV3::UrlSampleDetails::Representation
|
227
|
-
|
228
|
-
end
|
229
|
-
end
|
230
|
-
|
231
|
-
class ListUrlCrawlErrorsSamplesResponse
|
232
|
-
# @private
|
233
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
234
|
-
collection :url_crawl_error_sample, as: 'urlCrawlErrorSample', class: Google::Apis::WebmastersV3::UrlCrawlErrorsSample, decorator: Google::Apis::WebmastersV3::UrlCrawlErrorsSample::Representation
|
235
|
-
|
236
|
-
end
|
237
|
-
end
|
238
|
-
|
239
|
-
class UrlSampleDetails
|
240
|
-
# @private
|
241
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
242
|
-
collection :containing_sitemaps, as: 'containingSitemaps'
|
243
|
-
collection :linked_from_urls, as: 'linkedFromUrls'
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
154
|
class WmxSite
|
248
155
|
# @private
|
249
156
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -363,177 +363,6 @@ module Google
|
|
363
363
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
364
364
|
execute_or_queue_command(command, &block)
|
365
365
|
end
|
366
|
-
|
367
|
-
# Retrieves a time series of the number of URL crawl errors per error category
|
368
|
-
# and platform.
|
369
|
-
# @param [String] site_url
|
370
|
-
# The site's URL, including protocol. For example: http://www.example.com/
|
371
|
-
# @param [String] category
|
372
|
-
# The crawl error category. For example: serverError. If not specified, returns
|
373
|
-
# results for all categories.
|
374
|
-
# @param [Boolean] latest_counts_only
|
375
|
-
# If true, returns only the latest crawl error counts.
|
376
|
-
# @param [String] platform
|
377
|
-
# The user agent type (platform) that made the request. For example: web. If not
|
378
|
-
# specified, returns results for all platforms.
|
379
|
-
# @param [String] fields
|
380
|
-
# Selector specifying which fields to include in a partial response.
|
381
|
-
# @param [String] quota_user
|
382
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
383
|
-
# characters.
|
384
|
-
# @param [String] user_ip
|
385
|
-
# Deprecated. Please use quotaUser instead.
|
386
|
-
# @param [Google::Apis::RequestOptions] options
|
387
|
-
# Request-specific options
|
388
|
-
#
|
389
|
-
# @yield [result, err] Result & error if block supplied
|
390
|
-
# @yieldparam result [Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse] parsed result object
|
391
|
-
# @yieldparam err [StandardError] error object if request failed
|
392
|
-
#
|
393
|
-
# @return [Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse]
|
394
|
-
#
|
395
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
396
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
397
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
398
|
-
def query_errors_count(site_url, category: nil, latest_counts_only: nil, platform: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
399
|
-
command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsCounts/query', options)
|
400
|
-
command.response_representation = Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse::Representation
|
401
|
-
command.response_class = Google::Apis::WebmastersV3::QueryUrlCrawlErrorsCountsResponse
|
402
|
-
command.params['siteUrl'] = site_url unless site_url.nil?
|
403
|
-
command.query['category'] = category unless category.nil?
|
404
|
-
command.query['latestCountsOnly'] = latest_counts_only unless latest_counts_only.nil?
|
405
|
-
command.query['platform'] = platform unless platform.nil?
|
406
|
-
command.query['fields'] = fields unless fields.nil?
|
407
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
408
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
409
|
-
execute_or_queue_command(command, &block)
|
410
|
-
end
|
411
|
-
|
412
|
-
# Retrieves details about crawl errors for a site's sample URL.
|
413
|
-
# @param [String] site_url
|
414
|
-
# The site's URL, including protocol. For example: http://www.example.com/
|
415
|
-
# @param [String] url
|
416
|
-
# The relative path (without the site) of the sample URL. It must be one of the
|
417
|
-
# URLs returned by list(). For example, for the URL https://www.example.com/
|
418
|
-
# pagename on the site https://www.example.com/, the url value is pagename
|
419
|
-
# @param [String] category
|
420
|
-
# The crawl error category. For example: authPermissions
|
421
|
-
# @param [String] platform
|
422
|
-
# The user agent type (platform) that made the request. For example: web
|
423
|
-
# @param [String] fields
|
424
|
-
# Selector specifying which fields to include in a partial response.
|
425
|
-
# @param [String] quota_user
|
426
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
427
|
-
# characters.
|
428
|
-
# @param [String] user_ip
|
429
|
-
# Deprecated. Please use quotaUser instead.
|
430
|
-
# @param [Google::Apis::RequestOptions] options
|
431
|
-
# Request-specific options
|
432
|
-
#
|
433
|
-
# @yield [result, err] Result & error if block supplied
|
434
|
-
# @yieldparam result [Google::Apis::WebmastersV3::UrlCrawlErrorsSample] parsed result object
|
435
|
-
# @yieldparam err [StandardError] error object if request failed
|
436
|
-
#
|
437
|
-
# @return [Google::Apis::WebmastersV3::UrlCrawlErrorsSample]
|
438
|
-
#
|
439
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
440
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
441
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
442
|
-
def get_errors_sample(site_url, url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
443
|
-
command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', options)
|
444
|
-
command.response_representation = Google::Apis::WebmastersV3::UrlCrawlErrorsSample::Representation
|
445
|
-
command.response_class = Google::Apis::WebmastersV3::UrlCrawlErrorsSample
|
446
|
-
command.params['siteUrl'] = site_url unless site_url.nil?
|
447
|
-
command.params['url'] = url unless url.nil?
|
448
|
-
command.query['category'] = category unless category.nil?
|
449
|
-
command.query['platform'] = platform unless platform.nil?
|
450
|
-
command.query['fields'] = fields unless fields.nil?
|
451
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
452
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
453
|
-
execute_or_queue_command(command, &block)
|
454
|
-
end
|
455
|
-
|
456
|
-
# Lists a site's sample URLs for the specified crawl error category and platform.
|
457
|
-
# @param [String] site_url
|
458
|
-
# The site's URL, including protocol. For example: http://www.example.com/
|
459
|
-
# @param [String] category
|
460
|
-
# The crawl error category. For example: authPermissions
|
461
|
-
# @param [String] platform
|
462
|
-
# The user agent type (platform) that made the request. For example: web
|
463
|
-
# @param [String] fields
|
464
|
-
# Selector specifying which fields to include in a partial response.
|
465
|
-
# @param [String] quota_user
|
466
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
467
|
-
# characters.
|
468
|
-
# @param [String] user_ip
|
469
|
-
# Deprecated. Please use quotaUser instead.
|
470
|
-
# @param [Google::Apis::RequestOptions] options
|
471
|
-
# Request-specific options
|
472
|
-
#
|
473
|
-
# @yield [result, err] Result & error if block supplied
|
474
|
-
# @yieldparam result [Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse] parsed result object
|
475
|
-
# @yieldparam err [StandardError] error object if request failed
|
476
|
-
#
|
477
|
-
# @return [Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse]
|
478
|
-
#
|
479
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
480
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
481
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
482
|
-
def list_errors_samples(site_url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
483
|
-
command = make_simple_command(:get, 'sites/{siteUrl}/urlCrawlErrorsSamples', options)
|
484
|
-
command.response_representation = Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse::Representation
|
485
|
-
command.response_class = Google::Apis::WebmastersV3::ListUrlCrawlErrorsSamplesResponse
|
486
|
-
command.params['siteUrl'] = site_url unless site_url.nil?
|
487
|
-
command.query['category'] = category unless category.nil?
|
488
|
-
command.query['platform'] = platform unless platform.nil?
|
489
|
-
command.query['fields'] = fields unless fields.nil?
|
490
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
491
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
492
|
-
execute_or_queue_command(command, &block)
|
493
|
-
end
|
494
|
-
|
495
|
-
# Marks the provided site's sample URL as fixed, and removes it from the samples
|
496
|
-
# list.
|
497
|
-
# @param [String] site_url
|
498
|
-
# The site's URL, including protocol. For example: http://www.example.com/
|
499
|
-
# @param [String] url
|
500
|
-
# The relative path (without the site) of the sample URL. It must be one of the
|
501
|
-
# URLs returned by list(). For example, for the URL https://www.example.com/
|
502
|
-
# pagename on the site https://www.example.com/, the url value is pagename
|
503
|
-
# @param [String] category
|
504
|
-
# The crawl error category. For example: authPermissions
|
505
|
-
# @param [String] platform
|
506
|
-
# The user agent type (platform) that made the request. For example: web
|
507
|
-
# @param [String] fields
|
508
|
-
# Selector specifying which fields to include in a partial response.
|
509
|
-
# @param [String] quota_user
|
510
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
511
|
-
# characters.
|
512
|
-
# @param [String] user_ip
|
513
|
-
# Deprecated. Please use quotaUser instead.
|
514
|
-
# @param [Google::Apis::RequestOptions] options
|
515
|
-
# Request-specific options
|
516
|
-
#
|
517
|
-
# @yield [result, err] Result & error if block supplied
|
518
|
-
# @yieldparam result [NilClass] No result returned for this method
|
519
|
-
# @yieldparam err [StandardError] error object if request failed
|
520
|
-
#
|
521
|
-
# @return [void]
|
522
|
-
#
|
523
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
524
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
525
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
526
|
-
def mark_as_fixed(site_url, url, category, platform, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
527
|
-
command = make_simple_command(:delete, 'sites/{siteUrl}/urlCrawlErrorsSamples/{url}', options)
|
528
|
-
command.params['siteUrl'] = site_url unless site_url.nil?
|
529
|
-
command.params['url'] = url unless url.nil?
|
530
|
-
command.query['category'] = category unless category.nil?
|
531
|
-
command.query['platform'] = platform unless platform.nil?
|
532
|
-
command.query['fields'] = fields unless fields.nil?
|
533
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
534
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
535
|
-
execute_or_queue_command(command, &block)
|
536
|
-
end
|
537
366
|
|
538
367
|
protected
|
539
368
|
|