google-api-client 0.40.2 → 0.42.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +285 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1481 -107
- data/generated/google/apis/apigee_v1/representations.rb +559 -0
- data/generated/google/apis/apigee_v1/service.rb +1162 -117
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +113 -0
- data/generated/google/apis/chat_v1/representations.rb +50 -0
- data/generated/google/apis/chat_v1/service.rb +32 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +9 -5
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +403 -6
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +16 -12
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- 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 +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +7 -6
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +7 -6
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +634 -104
- data/generated/google/apis/compute_alpha/representations.rb +170 -0
- data/generated/google/apis/compute_alpha/service.rb +888 -139
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +703 -102
- data/generated/google/apis/compute_beta/representations.rb +182 -0
- data/generated/google/apis/compute_beta/service.rb +565 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +989 -80
- data/generated/google/apis/compute_v1/representations.rb +290 -0
- data/generated/google/apis/compute_v1/service.rb +784 -38
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +132 -5
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -24
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +8 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +266 -8
- data/generated/google/apis/content_v2_1/representations.rb +108 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +12 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +58 -11
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +53 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +117 -10
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +80 -6
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +75 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +49 -88
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +74 -2
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +26 -59
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/{groupsmigration_v1.rb → gameservices_v1.rb} +10 -11
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +53 -53
- data/generated/google/apis/gmail_v1/service.rb +72 -72
- data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1/service.rb +50 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +577 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +27 -3
- data/generated/google/apis/iam_v1/service.rb +22 -6
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +28 -14
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +119 -48
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +28 -30
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +10 -7
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +118 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +15 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +15 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +29 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +74 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +118 -28
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +20 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +594 -2
- data/generated/google/apis/youtube_v3/representations.rb +308 -0
- data/generated/google/apis/youtube_v3/service.rb +292 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +35 -19
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class ContentRestriction
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class Drive
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -693,6 +699,19 @@ module Google
|
|
693
699
|
end
|
694
700
|
end
|
695
701
|
|
702
|
+
class ContentRestriction
|
703
|
+
# @private
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
705
|
+
property :read_only, as: 'readOnly'
|
706
|
+
property :reason, as: 'reason'
|
707
|
+
property :restricting_user, as: 'restrictingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation
|
708
|
+
|
709
|
+
property :restriction_date, as: 'restrictionDate', type: DateTime
|
710
|
+
|
711
|
+
property :type, as: 'type'
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
696
715
|
class Drive
|
697
716
|
# @private
|
698
717
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -777,6 +796,8 @@ module Google
|
|
777
796
|
property :can_read_revisions, as: 'canReadRevisions'
|
778
797
|
property :capabilities, as: 'capabilities', class: Google::Apis::DriveV2::File::Capabilities, decorator: Google::Apis::DriveV2::File::Capabilities::Representation
|
779
798
|
|
799
|
+
collection :content_restrictions, as: 'contentRestrictions', class: Google::Apis::DriveV2::ContentRestriction, decorator: Google::Apis::DriveV2::ContentRestriction::Representation
|
800
|
+
|
780
801
|
property :copy_requires_writer_permission, as: 'copyRequiresWriterPermission'
|
781
802
|
property :copyable, as: 'copyable'
|
782
803
|
property :created_date, as: 'createdDate', type: DateTime
|
@@ -868,6 +889,7 @@ module Google
|
|
868
889
|
# @private
|
869
890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
870
891
|
property :can_add_children, as: 'canAddChildren'
|
892
|
+
property :can_add_folder_from_another_drive, as: 'canAddFolderFromAnotherDrive'
|
871
893
|
property :can_add_my_drive_parent, as: 'canAddMyDriveParent'
|
872
894
|
property :can_change_copy_requires_writer_permission, as: 'canChangeCopyRequiresWriterPermission'
|
873
895
|
property :can_change_restricted_download, as: 'canChangeRestrictedDownload'
|
@@ -879,6 +901,7 @@ module Google
|
|
879
901
|
property :can_edit, as: 'canEdit'
|
880
902
|
property :can_list_children, as: 'canListChildren'
|
881
903
|
property :can_modify_content, as: 'canModifyContent'
|
904
|
+
property :can_modify_content_restriction, as: 'canModifyContentRestriction'
|
882
905
|
property :can_move_children_out_of_drive, as: 'canMoveChildrenOutOfDrive'
|
883
906
|
property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
|
884
907
|
property :can_move_children_within_drive, as: 'canMoveChildrenWithinDrive'
|
@@ -181,9 +181,7 @@ module Google
|
|
181
181
|
# @param [String] drive_id
|
182
182
|
# The shared drive from which the change is returned.
|
183
183
|
# @param [Boolean] supports_all_drives
|
184
|
-
#
|
185
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
186
|
-
# Afterwards all applications are assumed to support shared drives.
|
184
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
187
185
|
# @param [Boolean] supports_team_drives
|
188
186
|
# Deprecated use supportsAllDrives instead.
|
189
187
|
# @param [String] team_drive_id
|
@@ -227,9 +225,7 @@ module Google
|
|
227
225
|
# The ID of the shared drive for which the starting pageToken for listing future
|
228
226
|
# changes from that shared drive is returned.
|
229
227
|
# @param [Boolean] supports_all_drives
|
230
|
-
#
|
231
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
232
|
-
# Afterwards all applications are assumed to support shared drives.
|
228
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
233
229
|
# @param [Boolean] supports_team_drives
|
234
230
|
# Deprecated use supportsAllDrives instead.
|
235
231
|
# @param [String] team_drive_id
|
@@ -281,9 +277,7 @@ module Google
|
|
281
277
|
# Whether to include changes indicating that items have been removed from the
|
282
278
|
# list of changes, for example by deletion or loss of access.
|
283
279
|
# @param [Boolean] include_items_from_all_drives
|
284
|
-
#
|
285
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
286
|
-
# Afterwards shared drive items are included in the results.
|
280
|
+
# Whether both My Drive and shared drive items should be included in results.
|
287
281
|
# @param [Boolean] include_subscribed
|
288
282
|
# Whether to include changes outside the My Drive hierarchy in the result. When
|
289
283
|
# set to false, changes to files such as those in the Application Data folder or
|
@@ -302,9 +296,7 @@ module Google
|
|
302
296
|
# @param [Fixnum] start_change_id
|
303
297
|
# Deprecated - use pageToken instead.
|
304
298
|
# @param [Boolean] supports_all_drives
|
305
|
-
#
|
306
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
307
|
-
# Afterwards all applications are assumed to support shared drives.
|
299
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
308
300
|
# @param [Boolean] supports_team_drives
|
309
301
|
# Deprecated use supportsAllDrives instead.
|
310
302
|
# @param [String] team_drive_id
|
@@ -366,9 +358,7 @@ module Google
|
|
366
358
|
# Whether to include changes indicating that items have been removed from the
|
367
359
|
# list of changes, for example by deletion or loss of access.
|
368
360
|
# @param [Boolean] include_items_from_all_drives
|
369
|
-
#
|
370
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
371
|
-
# Afterwards shared drive items are included in the results.
|
361
|
+
# Whether both My Drive and shared drive items should be included in results.
|
372
362
|
# @param [Boolean] include_subscribed
|
373
363
|
# Whether to include changes outside the My Drive hierarchy in the result. When
|
374
364
|
# set to false, changes to files such as those in the Application Data folder or
|
@@ -387,9 +377,7 @@ module Google
|
|
387
377
|
# @param [Fixnum] start_change_id
|
388
378
|
# Deprecated - use pageToken instead.
|
389
379
|
# @param [Boolean] supports_all_drives
|
390
|
-
#
|
391
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
392
|
-
# Afterwards all applications are assumed to support shared drives.
|
380
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
393
381
|
# @param [Boolean] supports_team_drives
|
394
382
|
# Deprecated use supportsAllDrives instead.
|
395
383
|
# @param [String] team_drive_id
|
@@ -557,9 +545,7 @@ module Google
|
|
557
545
|
# increase the number of the child's parents fail, except when the
|
558
546
|
# canAddMyDriveParent file capability is true and a single parent is being added.
|
559
547
|
# @param [Boolean] supports_all_drives
|
560
|
-
#
|
561
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
562
|
-
# Afterwards all applications are assumed to support shared drives.
|
548
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
563
549
|
# @param [Boolean] supports_team_drives
|
564
550
|
# Deprecated use supportsAllDrives instead.
|
565
551
|
# @param [String] fields
|
@@ -1145,7 +1131,7 @@ module Google
|
|
1145
1131
|
execute_or_queue_command(command, &block)
|
1146
1132
|
end
|
1147
1133
|
|
1148
|
-
# Creates a copy of the specified file.
|
1134
|
+
# Creates a copy of the specified file. Folders cannot be copied.
|
1149
1135
|
# @param [String] file_id
|
1150
1136
|
# The ID of the file to copy.
|
1151
1137
|
# @param [Google::Apis::DriveV2::File] file_object
|
@@ -1163,9 +1149,7 @@ module Google
|
|
1163
1149
|
# Whether to pin the head revision of the new copy. A file can have a maximum of
|
1164
1150
|
# 200 pinned revisions.
|
1165
1151
|
# @param [Boolean] supports_all_drives
|
1166
|
-
#
|
1167
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1168
|
-
# Afterwards all applications are assumed to support shared drives.
|
1152
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1169
1153
|
# @param [Boolean] supports_team_drives
|
1170
1154
|
# Deprecated use supportsAllDrives instead.
|
1171
1155
|
# @param [String] timed_text_language
|
@@ -1222,9 +1206,7 @@ module Google
|
|
1222
1206
|
# @param [String] file_id
|
1223
1207
|
# The ID of the file to delete.
|
1224
1208
|
# @param [Boolean] supports_all_drives
|
1225
|
-
#
|
1226
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1227
|
-
# Afterwards all applications are assumed to support shared drives.
|
1209
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1228
1210
|
# @param [Boolean] supports_team_drives
|
1229
1211
|
# Deprecated use supportsAllDrives instead.
|
1230
1212
|
# @param [String] fields
|
@@ -1376,9 +1358,7 @@ module Google
|
|
1376
1358
|
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media
|
1377
1359
|
# is specified.
|
1378
1360
|
# @param [Boolean] supports_all_drives
|
1379
|
-
#
|
1380
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1381
|
-
# Afterwards all applications are assumed to support shared drives.
|
1361
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1382
1362
|
# @param [Boolean] supports_team_drives
|
1383
1363
|
# Deprecated use supportsAllDrives instead.
|
1384
1364
|
# @param [Boolean] update_viewed_date
|
@@ -1443,9 +1423,7 @@ module Google
|
|
1443
1423
|
# Whether to pin the head revision of the uploaded file. A file can have a
|
1444
1424
|
# maximum of 200 pinned revisions.
|
1445
1425
|
# @param [Boolean] supports_all_drives
|
1446
|
-
#
|
1447
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1448
|
-
# Afterwards all applications are assumed to support shared drives.
|
1426
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1449
1427
|
# @param [Boolean] supports_team_drives
|
1450
1428
|
# Deprecated use supportsAllDrives instead.
|
1451
1429
|
# @param [String] timed_text_language
|
@@ -1511,18 +1489,19 @@ module Google
|
|
1511
1489
|
|
1512
1490
|
# Lists the user's files.
|
1513
1491
|
# @param [String] corpora
|
1514
|
-
#
|
1515
|
-
#
|
1516
|
-
#
|
1492
|
+
# Groupings of files to which the query applies. Supported groupings are: 'user'
|
1493
|
+
# (files created by, opened by, or shared directly with the user), 'drive' (
|
1494
|
+
# files in the specified shared drive as indicated by the 'driveId'), 'domain' (
|
1495
|
+
# files shared to the user's domain), and 'allDrives' (A combination of 'user'
|
1496
|
+
# and 'drive' for all drives where the user is a member). When able, use 'user'
|
1497
|
+
# or 'drive', instead of 'allDrives', for efficiency.
|
1517
1498
|
# @param [String] corpus
|
1518
1499
|
# The body of items (files/documents) to which the query applies. Deprecated:
|
1519
1500
|
# use 'corpora' instead.
|
1520
1501
|
# @param [String] drive_id
|
1521
1502
|
# ID of the shared drive to search.
|
1522
1503
|
# @param [Boolean] include_items_from_all_drives
|
1523
|
-
#
|
1524
|
-
# in results. This parameter will only be effective until June 1, 2020.
|
1525
|
-
# Afterwards shared drive items will be included in the results.
|
1504
|
+
# Whether both My Drive and shared drive items should be included in results.
|
1526
1505
|
# @param [Boolean] include_team_drive_items
|
1527
1506
|
# Deprecated use includeItemsFromAllDrives instead.
|
1528
1507
|
# @param [Fixnum] max_results
|
@@ -1546,9 +1525,7 @@ module Google
|
|
1546
1525
|
# A comma-separated list of spaces to query. Supported values are 'drive', '
|
1547
1526
|
# appDataFolder' and 'photos'.
|
1548
1527
|
# @param [Boolean] supports_all_drives
|
1549
|
-
#
|
1550
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1551
|
-
# Afterwards all applications are assumed to support shared drives.
|
1528
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1552
1529
|
# @param [Boolean] supports_team_drives
|
1553
1530
|
# Deprecated use supportsAllDrives instead.
|
1554
1531
|
# @param [String] team_drive_id
|
@@ -1620,14 +1597,16 @@ module Google
|
|
1620
1597
|
# created as head revision, and previous unpinned revisions are preserved for a
|
1621
1598
|
# short period of time. Pinned revisions are stored indefinitely, using
|
1622
1599
|
# additional storage quota, up to a maximum of 200 revisions. For details on how
|
1623
|
-
# revisions are retained, see the Drive Help Center.
|
1600
|
+
# revisions are retained, see the Drive Help Center. Note that this field is
|
1601
|
+
# ignored if there is no payload in the request.
|
1624
1602
|
# @param [Boolean] ocr
|
1625
1603
|
# Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
|
1626
1604
|
# @param [String] ocr_language
|
1627
1605
|
# If ocr is true, hints at the language to use. Valid values are BCP 47 codes.
|
1628
1606
|
# @param [Boolean] pinned
|
1629
1607
|
# Whether to pin the new revision. A file can have a maximum of 200 pinned
|
1630
|
-
# revisions.
|
1608
|
+
# revisions. Note that this field is ignored if there is no payload in the
|
1609
|
+
# request.
|
1631
1610
|
# @param [String] remove_parents
|
1632
1611
|
# Comma-separated list of parent IDs to remove.
|
1633
1612
|
# @param [Boolean] set_modified_date
|
@@ -1636,9 +1615,7 @@ module Google
|
|
1636
1615
|
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
|
1637
1616
|
# to the modified date set modifiedDateBehavior=noChange.
|
1638
1617
|
# @param [Boolean] supports_all_drives
|
1639
|
-
#
|
1640
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1641
|
-
# Afterwards all applications are assumed to support shared drives.
|
1618
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1642
1619
|
# @param [Boolean] supports_team_drives
|
1643
1620
|
# Deprecated use supportsAllDrives instead.
|
1644
1621
|
# @param [String] timed_text_language
|
@@ -1701,9 +1678,7 @@ module Google
|
|
1701
1678
|
# @param [String] file_id
|
1702
1679
|
# The ID of the file to update.
|
1703
1680
|
# @param [Boolean] supports_all_drives
|
1704
|
-
#
|
1705
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1706
|
-
# Afterwards all applications are assumed to support shared drives.
|
1681
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1707
1682
|
# @param [Boolean] supports_team_drives
|
1708
1683
|
# Deprecated use supportsAllDrives instead.
|
1709
1684
|
# @param [String] fields
|
@@ -1739,13 +1714,15 @@ module Google
|
|
1739
1714
|
end
|
1740
1715
|
|
1741
1716
|
# Moves a file to the trash. The currently authenticated user must own the file
|
1742
|
-
# or be at least a fileOrganizer on the parent for shared drive files.
|
1717
|
+
# or be at least a fileOrganizer on the parent for shared drive files. Only the
|
1718
|
+
# owner may trash a file. The trashed item is excluded from all files.list
|
1719
|
+
# responses returned for any user who does not own the file. However, all users
|
1720
|
+
# with access to the file can see the trashed item metadata in an API response.
|
1721
|
+
# All users with access can copy, download, export, and share the file.
|
1743
1722
|
# @param [String] file_id
|
1744
1723
|
# The ID of the file to trash.
|
1745
1724
|
# @param [Boolean] supports_all_drives
|
1746
|
-
#
|
1747
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1748
|
-
# Afterwards all applications are assumed to support shared drives.
|
1725
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1749
1726
|
# @param [Boolean] supports_team_drives
|
1750
1727
|
# Deprecated use supportsAllDrives instead.
|
1751
1728
|
# @param [String] fields
|
@@ -1780,13 +1757,13 @@ module Google
|
|
1780
1757
|
execute_or_queue_command(command, &block)
|
1781
1758
|
end
|
1782
1759
|
|
1783
|
-
# Restores a file from the trash.
|
1760
|
+
# Restores a file from the trash. The currently authenticated user must own the
|
1761
|
+
# file or be at least a fileOrganizer on the parent for shared drive files. Only
|
1762
|
+
# the owner may untrash a file.
|
1784
1763
|
# @param [String] file_id
|
1785
1764
|
# The ID of the file to untrash.
|
1786
1765
|
# @param [Boolean] supports_all_drives
|
1787
|
-
#
|
1788
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1789
|
-
# Afterwards all applications are assumed to support shared drives.
|
1766
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1790
1767
|
# @param [Boolean] supports_team_drives
|
1791
1768
|
# Deprecated use supportsAllDrives instead.
|
1792
1769
|
# @param [String] fields
|
@@ -1845,14 +1822,16 @@ module Google
|
|
1845
1822
|
# created as head revision, and previous unpinned revisions are preserved for a
|
1846
1823
|
# short period of time. Pinned revisions are stored indefinitely, using
|
1847
1824
|
# additional storage quota, up to a maximum of 200 revisions. For details on how
|
1848
|
-
# revisions are retained, see the Drive Help Center.
|
1825
|
+
# revisions are retained, see the Drive Help Center. Note that this field is
|
1826
|
+
# ignored if there is no payload in the request.
|
1849
1827
|
# @param [Boolean] ocr
|
1850
1828
|
# Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
|
1851
1829
|
# @param [String] ocr_language
|
1852
1830
|
# If ocr is true, hints at the language to use. Valid values are BCP 47 codes.
|
1853
1831
|
# @param [Boolean] pinned
|
1854
1832
|
# Whether to pin the new revision. A file can have a maximum of 200 pinned
|
1855
|
-
# revisions.
|
1833
|
+
# revisions. Note that this field is ignored if there is no payload in the
|
1834
|
+
# request.
|
1856
1835
|
# @param [String] remove_parents
|
1857
1836
|
# Comma-separated list of parent IDs to remove.
|
1858
1837
|
# @param [Boolean] set_modified_date
|
@@ -1861,9 +1840,7 @@ module Google
|
|
1861
1840
|
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
|
1862
1841
|
# to the modified date set modifiedDateBehavior=noChange.
|
1863
1842
|
# @param [Boolean] supports_all_drives
|
1864
|
-
#
|
1865
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1866
|
-
# Afterwards all applications are assumed to support shared drives.
|
1843
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1867
1844
|
# @param [Boolean] supports_team_drives
|
1868
1845
|
# Deprecated use supportsAllDrives instead.
|
1869
1846
|
# @param [String] timed_text_language
|
@@ -1945,9 +1922,7 @@ module Google
|
|
1945
1922
|
# Specifies the Revision ID that should be downloaded. Ignored unless alt=media
|
1946
1923
|
# is specified.
|
1947
1924
|
# @param [Boolean] supports_all_drives
|
1948
|
-
#
|
1949
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
1950
|
-
# Afterwards all applications are assumed to support shared drives.
|
1925
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
1951
1926
|
# @param [Boolean] supports_team_drives
|
1952
1927
|
# Deprecated use supportsAllDrives instead.
|
1953
1928
|
# @param [Boolean] update_viewed_date
|
@@ -2086,9 +2061,7 @@ module Google
|
|
2086
2061
|
# increase the number of the child's parents fail, except when the
|
2087
2062
|
# canAddMyDriveParent file capability is true and a single parent is being added.
|
2088
2063
|
# @param [Boolean] supports_all_drives
|
2089
|
-
#
|
2090
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
2091
|
-
# Afterwards all applications are assumed to support shared drives.
|
2064
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
2092
2065
|
# @param [Boolean] supports_team_drives
|
2093
2066
|
# Deprecated use supportsAllDrives instead.
|
2094
2067
|
# @param [String] fields
|
@@ -2165,9 +2138,7 @@ module Google
|
|
2165
2138
|
# @param [String] permission_id
|
2166
2139
|
# The ID for the permission.
|
2167
2140
|
# @param [Boolean] supports_all_drives
|
2168
|
-
#
|
2169
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
2170
|
-
# Afterwards all applications are assumed to support shared drives.
|
2141
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
2171
2142
|
# @param [Boolean] supports_team_drives
|
2172
2143
|
# Deprecated use supportsAllDrives instead.
|
2173
2144
|
# @param [Boolean] use_domain_admin_access
|
@@ -2213,9 +2184,7 @@ module Google
|
|
2213
2184
|
# @param [String] permission_id
|
2214
2185
|
# The ID for the permission.
|
2215
2186
|
# @param [Boolean] supports_all_drives
|
2216
|
-
#
|
2217
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
2218
|
-
# Afterwards all applications are assumed to support shared drives.
|
2187
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
2219
2188
|
# @param [Boolean] supports_team_drives
|
2220
2189
|
# Deprecated use supportsAllDrives instead.
|
2221
2190
|
# @param [Boolean] use_domain_admin_access
|
@@ -2312,9 +2281,7 @@ module Google
|
|
2312
2281
|
# Whether to send notification emails when sharing to users or groups. This
|
2313
2282
|
# parameter is ignored and an email is sent if the role is owner.
|
2314
2283
|
# @param [Boolean] supports_all_drives
|
2315
|
-
#
|
2316
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
2317
|
-
# Afterwards all applications are assumed to support shared drives.
|
2284
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
2318
2285
|
# @param [Boolean] supports_team_drives
|
2319
2286
|
# Deprecated use supportsAllDrives instead.
|
2320
2287
|
# @param [Boolean] use_domain_admin_access
|
@@ -2372,9 +2339,7 @@ module Google
|
|
2372
2339
|
# The token for continuing a previous list request on the next page. This should
|
2373
2340
|
# be set to the value of 'nextPageToken' from the previous response.
|
2374
2341
|
# @param [Boolean] supports_all_drives
|
2375
|
-
#
|
2376
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
2377
|
-
# Afterwards all applications are assumed to support shared drives.
|
2342
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
2378
2343
|
# @param [Boolean] supports_team_drives
|
2379
2344
|
# Deprecated use supportsAllDrives instead.
|
2380
2345
|
# @param [Boolean] use_domain_admin_access
|
@@ -2426,9 +2391,7 @@ module Google
|
|
2426
2391
|
# @param [Boolean] remove_expiration
|
2427
2392
|
# Whether to remove the expiration date.
|
2428
2393
|
# @param [Boolean] supports_all_drives
|
2429
|
-
#
|
2430
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
2431
|
-
# Afterwards all applications are assumed to support shared drives.
|
2394
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
2432
2395
|
# @param [Boolean] supports_team_drives
|
2433
2396
|
# Deprecated use supportsAllDrives instead.
|
2434
2397
|
# @param [Boolean] transfer_ownership
|
@@ -2486,9 +2449,7 @@ module Google
|
|
2486
2449
|
# @param [Boolean] remove_expiration
|
2487
2450
|
# Whether to remove the expiration date.
|
2488
2451
|
# @param [Boolean] supports_all_drives
|
2489
|
-
#
|
2490
|
-
# shared drives. This parameter will only be effective until June 1, 2020.
|
2491
|
-
# Afterwards all applications are assumed to support shared drives.
|
2452
|
+
# Whether the requesting application supports both My Drives and shared drives.
|
2492
2453
|
# @param [Boolean] supports_team_drives
|
2493
2454
|
# Deprecated use supportsAllDrives instead.
|
2494
2455
|
# @param [Boolean] transfer_ownership
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/drive/
|
27
27
|
module DriveV3
|
28
28
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200706'
|
30
30
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -577,6 +577,53 @@ module Google
|
|
577
577
|
end
|
578
578
|
end
|
579
579
|
|
580
|
+
# A restriction for accessing the content of the file.
|
581
|
+
class ContentRestriction
|
582
|
+
include Google::Apis::Core::Hashable
|
583
|
+
|
584
|
+
# Whether the content of the file is read-only.
|
585
|
+
# Corresponds to the JSON property `readOnly`
|
586
|
+
# @return [Boolean]
|
587
|
+
attr_accessor :read_only
|
588
|
+
alias_method :read_only?, :read_only
|
589
|
+
|
590
|
+
# Reason for why the content of the file is restricted. This is only mutable on
|
591
|
+
# requests that also set readOnly=true.
|
592
|
+
# Corresponds to the JSON property `reason`
|
593
|
+
# @return [String]
|
594
|
+
attr_accessor :reason
|
595
|
+
|
596
|
+
# Information about a Drive user.
|
597
|
+
# Corresponds to the JSON property `restrictingUser`
|
598
|
+
# @return [Google::Apis::DriveV3::User]
|
599
|
+
attr_accessor :restricting_user
|
600
|
+
|
601
|
+
# The time at which the content restriction was set (formatted RFC 3339
|
602
|
+
# timestamp). Only populated if readOnly is true.
|
603
|
+
# Corresponds to the JSON property `restrictionTime`
|
604
|
+
# @return [DateTime]
|
605
|
+
attr_accessor :restriction_time
|
606
|
+
|
607
|
+
# The type of the content restriction. Currently the only possible value is
|
608
|
+
# globalContentRestriction.
|
609
|
+
# Corresponds to the JSON property `type`
|
610
|
+
# @return [String]
|
611
|
+
attr_accessor :type
|
612
|
+
|
613
|
+
def initialize(**args)
|
614
|
+
update!(**args)
|
615
|
+
end
|
616
|
+
|
617
|
+
# Update properties of this object
|
618
|
+
def update!(**args)
|
619
|
+
@read_only = args[:read_only] if args.key?(:read_only)
|
620
|
+
@reason = args[:reason] if args.key?(:reason)
|
621
|
+
@restricting_user = args[:restricting_user] if args.key?(:restricting_user)
|
622
|
+
@restriction_time = args[:restriction_time] if args.key?(:restriction_time)
|
623
|
+
@type = args[:type] if args.key?(:type)
|
624
|
+
end
|
625
|
+
end
|
626
|
+
|
580
627
|
# Representation of a shared drive.
|
581
628
|
class Drive
|
582
629
|
include Google::Apis::Core::Hashable
|
@@ -972,6 +1019,12 @@ module Google
|
|
972
1019
|
# @return [Google::Apis::DriveV3::File::ContentHints]
|
973
1020
|
attr_accessor :content_hints
|
974
1021
|
|
1022
|
+
# Restrictions for accessing the content of the file. Only populated if such a
|
1023
|
+
# restriction exists.
|
1024
|
+
# Corresponds to the JSON property `contentRestrictions`
|
1025
|
+
# @return [Array<Google::Apis::DriveV3::ContentRestriction>]
|
1026
|
+
attr_accessor :content_restrictions
|
1027
|
+
|
975
1028
|
# Whether the options to copy, print, or download this file, should be disabled
|
976
1029
|
# for readers and commenters.
|
977
1030
|
# Corresponds to the JSON property `copyRequiresWriterPermission`
|
@@ -1234,8 +1287,10 @@ module Google
|
|
1234
1287
|
attr_accessor :thumbnail_version
|
1235
1288
|
|
1236
1289
|
# Whether the file has been trashed, either explicitly or from a trashed parent
|
1237
|
-
# folder. Only the owner may trash a file
|
1238
|
-
# the
|
1290
|
+
# folder. Only the owner may trash a file. The trashed item is excluded from all
|
1291
|
+
# files.list responses returned for any user who does not own the file. However,
|
1292
|
+
# all users with access to the file can see the trashed item metadata in an API
|
1293
|
+
# response. All users with access can copy, download, export, and share the file.
|
1239
1294
|
# Corresponds to the JSON property `trashed`
|
1240
1295
|
# @return [Boolean]
|
1241
1296
|
attr_accessor :trashed
|
@@ -1308,6 +1363,7 @@ module Google
|
|
1308
1363
|
@app_properties = args[:app_properties] if args.key?(:app_properties)
|
1309
1364
|
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
1310
1365
|
@content_hints = args[:content_hints] if args.key?(:content_hints)
|
1366
|
+
@content_restrictions = args[:content_restrictions] if args.key?(:content_restrictions)
|
1311
1367
|
@copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission)
|
1312
1368
|
@created_time = args[:created_time] if args.key?(:created_time)
|
1313
1369
|
@description = args[:description] if args.key?(:description)
|
@@ -1375,6 +1431,14 @@ module Google
|
|
1375
1431
|
attr_accessor :can_add_children
|
1376
1432
|
alias_method :can_add_children?, :can_add_children
|
1377
1433
|
|
1434
|
+
# Whether the current user can add a folder from another drive (different shared
|
1435
|
+
# drive or My Drive) to this folder. This is false when the item is not a folder.
|
1436
|
+
# Only populated for items in shared drives.
|
1437
|
+
# Corresponds to the JSON property `canAddFolderFromAnotherDrive`
|
1438
|
+
# @return [Boolean]
|
1439
|
+
attr_accessor :can_add_folder_from_another_drive
|
1440
|
+
alias_method :can_add_folder_from_another_drive?, :can_add_folder_from_another_drive
|
1441
|
+
|
1378
1442
|
# Whether the current user can add a parent for the item without removing an
|
1379
1443
|
# existing parent in the same request. Not populated for shared drive files.
|
1380
1444
|
# Corresponds to the JSON property `canAddMyDriveParent`
|
@@ -1449,6 +1513,12 @@ module Google
|
|
1449
1513
|
attr_accessor :can_modify_content
|
1450
1514
|
alias_method :can_modify_content?, :can_modify_content
|
1451
1515
|
|
1516
|
+
# Whether the current user can modify restrictions on content of this file.
|
1517
|
+
# Corresponds to the JSON property `canModifyContentRestriction`
|
1518
|
+
# @return [Boolean]
|
1519
|
+
attr_accessor :can_modify_content_restriction
|
1520
|
+
alias_method :can_modify_content_restriction?, :can_modify_content_restriction
|
1521
|
+
|
1452
1522
|
# Whether the current user can move children of this folder outside of the
|
1453
1523
|
# shared drive. This is false when the item is not a folder. Only populated for
|
1454
1524
|
# items in shared drives.
|
@@ -1591,6 +1661,7 @@ module Google
|
|
1591
1661
|
# Update properties of this object
|
1592
1662
|
def update!(**args)
|
1593
1663
|
@can_add_children = args[:can_add_children] if args.key?(:can_add_children)
|
1664
|
+
@can_add_folder_from_another_drive = args[:can_add_folder_from_another_drive] if args.key?(:can_add_folder_from_another_drive)
|
1594
1665
|
@can_add_my_drive_parent = args[:can_add_my_drive_parent] if args.key?(:can_add_my_drive_parent)
|
1595
1666
|
@can_change_copy_requires_writer_permission = args[:can_change_copy_requires_writer_permission] if args.key?(:can_change_copy_requires_writer_permission)
|
1596
1667
|
@can_change_viewers_can_copy_content = args[:can_change_viewers_can_copy_content] if args.key?(:can_change_viewers_can_copy_content)
|
@@ -1602,6 +1673,7 @@ module Google
|
|
1602
1673
|
@can_edit = args[:can_edit] if args.key?(:can_edit)
|
1603
1674
|
@can_list_children = args[:can_list_children] if args.key?(:can_list_children)
|
1604
1675
|
@can_modify_content = args[:can_modify_content] if args.key?(:can_modify_content)
|
1676
|
+
@can_modify_content_restriction = args[:can_modify_content_restriction] if args.key?(:can_modify_content_restriction)
|
1605
1677
|
@can_move_children_out_of_drive = args[:can_move_children_out_of_drive] if args.key?(:can_move_children_out_of_drive)
|
1606
1678
|
@can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
|
1607
1679
|
@can_move_children_within_drive = args[:can_move_children_within_drive] if args.key?(:can_move_children_within_drive)
|