google-api-client 0.39.4 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +283 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- 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 +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +58 -10
- data/generated/google/apis/apigee_v1/representations.rb +7 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1132 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +442 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +54 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- 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 +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- 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 +39 -31
- 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 +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +82 -46
- data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1/service.rb +14 -11
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +977 -52
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +20 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- 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/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +20 -15
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +711 -151
- data/generated/google/apis/compute_alpha/representations.rb +220 -33
- data/generated/google/apis/compute_alpha/service.rb +1618 -831
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +173 -71
- data/generated/google/apis/compute_beta/representations.rb +25 -0
- data/generated/google/apis/compute_beta/service.rb +591 -591
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +66 -18
- data/generated/google/apis/compute_v1/representations.rb +6 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +82 -10
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +450 -6
- data/generated/google/apis/content_v2_1/representations.rb +173 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +68 -22
- 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 +61 -35
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -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 +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -6
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -27
- data/generated/google/apis/dlp_v2/service.rb +247 -204
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- 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/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- 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_v1/classes.rb +31 -1156
- data/generated/google/apis/file_v1/representations.rb +12 -378
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +26 -373
- 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/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +39 -30
- data/generated/google/apis/healthcare_v1/service.rb +66 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +948 -77
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +682 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +116 -93
- data/generated/google/apis/iam_v1/service.rb +170 -144
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- 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/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +73 -17
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- 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 +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +64 -8
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{customsearch_v1.rb → recommender_v1.rb} +11 -8
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +15 -6
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +143 -28
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +10 -10
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +143 -28
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -74
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -74
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +123 -80
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +498 -74
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +307 -74
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -74
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -74
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -2
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1298 -1244
- data/generated/google/apis/youtube_v3/representations.rb +91 -192
- data/generated/google/apis/youtube_v3/service.rb +1857 -2152
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +27 -19
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-sql/
|
26
26
|
module SqlV1beta4
|
27
27
|
VERSION = 'V1beta4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200518'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -956,6 +956,12 @@ module Google
|
|
956
956
|
# @return [String]
|
957
957
|
attr_accessor :kind
|
958
958
|
|
959
|
+
# Option for export offload.
|
960
|
+
# Corresponds to the JSON property `offload`
|
961
|
+
# @return [Boolean]
|
962
|
+
attr_accessor :offload
|
963
|
+
alias_method :offload?, :offload
|
964
|
+
|
959
965
|
# Options for exporting data as SQL statements.
|
960
966
|
# Corresponds to the JSON property `sqlExportOptions`
|
961
967
|
# @return [Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions]
|
@@ -981,6 +987,7 @@ module Google
|
|
981
987
|
@databases = args[:databases] if args.key?(:databases)
|
982
988
|
@file_type = args[:file_type] if args.key?(:file_type)
|
983
989
|
@kind = args[:kind] if args.key?(:kind)
|
990
|
+
@offload = args[:offload] if args.key?(:offload)
|
984
991
|
@sql_export_options = args[:sql_export_options] if args.key?(:sql_export_options)
|
985
992
|
@uri = args[:uri] if args.key?(:uri)
|
986
993
|
end
|
@@ -669,6 +669,7 @@ module Google
|
|
669
669
|
collection :databases, as: 'databases'
|
670
670
|
property :file_type, as: 'fileType'
|
671
671
|
property :kind, as: 'kind'
|
672
|
+
property :offload, as: 'offload'
|
672
673
|
property :sql_export_options, as: 'sqlExportOptions', class: Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions, decorator: Google::Apis::SqlV1beta4::ExportContext::SqlExportOptions::Representation
|
673
674
|
|
674
675
|
property :uri, as: 'uri'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/storage-transfer/docs
|
27
27
|
module StoragetransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200605'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -582,7 +582,8 @@ module Google
|
|
582
582
|
# @return [Google::Apis::StoragetransferV1::Status]
|
583
583
|
attr_accessor :error
|
584
584
|
|
585
|
-
# Represents the transfer operation object.
|
585
|
+
# Represents the transfer operation object. To request a TransferOperation
|
586
|
+
# object, use transferOperations.get.
|
586
587
|
# Corresponds to the JSON property `metadata`
|
587
588
|
# @return [Hash<String,Object>]
|
588
589
|
attr_accessor :metadata
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Tasks API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# The Google Tasks API lets you manage your tasks and task lists.
|
24
24
|
#
|
25
|
-
# @see
|
25
|
+
# @see
|
26
26
|
module TasksV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200516'
|
29
29
|
|
30
30
|
# Create, edit, organize, and delete all your tasks
|
31
31
|
AUTH_TASKS = 'https://www.googleapis.com/auth/tasks'
|
@@ -26,24 +26,24 @@ module Google
|
|
26
26
|
class Task
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Completion date of the task (as a RFC 3339 timestamp). This field is
|
30
|
-
# if the task has not been completed.
|
29
|
+
# Completion date of the task (as a RFC 3339 timestamp). This field is
|
30
|
+
# omitted if the task has not been completed.
|
31
31
|
# Corresponds to the JSON property `completed`
|
32
|
-
# @return [
|
32
|
+
# @return [String]
|
33
33
|
attr_accessor :completed
|
34
34
|
|
35
|
-
# Flag indicating whether the task has been deleted. The default
|
35
|
+
# Flag indicating whether the task has been deleted. The default is False.
|
36
36
|
# Corresponds to the JSON property `deleted`
|
37
37
|
# @return [Boolean]
|
38
38
|
attr_accessor :deleted
|
39
39
|
alias_method :deleted?, :deleted
|
40
40
|
|
41
41
|
# Due date of the task (as a RFC 3339 timestamp). Optional. The due date only
|
42
|
-
# records date information; the time portion of the timestamp is discarded
|
43
|
-
# setting the due date. It isn't possible to read or write the time that
|
44
|
-
# is due via the API.
|
42
|
+
# records date information; the time portion of the timestamp is discarded
|
43
|
+
# when setting the due date. It isn't possible to read or write the time that
|
44
|
+
# a task is due via the API.
|
45
45
|
# Corresponds to the JSON property `due`
|
46
|
-
# @return [
|
46
|
+
# @return [String]
|
47
47
|
attr_accessor :due
|
48
48
|
|
49
49
|
# ETag of the resource.
|
@@ -51,9 +51,9 @@ module Google
|
|
51
51
|
# @return [String]
|
52
52
|
attr_accessor :etag
|
53
53
|
|
54
|
-
# Flag indicating whether the task is hidden. This is the case if the task
|
55
|
-
# been marked completed when the task list was last cleared. The default
|
56
|
-
# False. This field is read-only.
|
54
|
+
# Flag indicating whether the task is hidden. This is the case if the task
|
55
|
+
# had been marked completed when the task list was last cleared. The default
|
56
|
+
# is False. This field is read-only.
|
57
57
|
# Corresponds to the JSON property `hidden`
|
58
58
|
# @return [Boolean]
|
59
59
|
attr_accessor :hidden
|
@@ -79,19 +79,19 @@ module Google
|
|
79
79
|
# @return [String]
|
80
80
|
attr_accessor :notes
|
81
81
|
|
82
|
-
# Parent task identifier. This field is omitted if it is a top-level task.
|
83
|
-
# field is read-only. Use the "move" method to move the task under a
|
84
|
-
# parent or to the top level.
|
82
|
+
# Parent task identifier. This field is omitted if it is a top-level task.
|
83
|
+
# This field is read-only. Use the "move" method to move the task under a
|
84
|
+
# different parent or to the top level.
|
85
85
|
# Corresponds to the JSON property `parent`
|
86
86
|
# @return [String]
|
87
87
|
attr_accessor :parent
|
88
88
|
|
89
|
-
# String indicating the position of the task among its sibling tasks under
|
90
|
-
# same parent task or at the top level. If this string is greater than
|
91
|
-
# task's corresponding position string according to lexicographical
|
92
|
-
# the task is positioned after the other task under the same parent
|
93
|
-
# the top level). This field is read-only. Use the "move" method
|
94
|
-
# task to another position.
|
89
|
+
# String indicating the position of the task among its sibling tasks under
|
90
|
+
# the same parent task or at the top level. If this string is greater than
|
91
|
+
# another task's corresponding position string according to lexicographical
|
92
|
+
# ordering, the task is positioned after the other task under the same parent
|
93
|
+
# task (or at the top level). This field is read-only. Use the "move" method
|
94
|
+
# to move the task to another position.
|
95
95
|
# Corresponds to the JSON property `position`
|
96
96
|
# @return [String]
|
97
97
|
attr_accessor :position
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
|
114
114
|
# Last modification time of the task (as a RFC 3339 timestamp).
|
115
115
|
# Corresponds to the JSON property `updated`
|
116
|
-
# @return [
|
116
|
+
# @return [String]
|
117
117
|
attr_accessor :updated
|
118
118
|
|
119
119
|
def initialize(**args)
|
@@ -143,7 +143,8 @@ module Google
|
|
143
143
|
class Link
|
144
144
|
include Google::Apis::Core::Hashable
|
145
145
|
|
146
|
-
# The description. In HTML speak: Everything between
|
146
|
+
# The description. In HTML speak: Everything between <a> and
|
147
|
+
# </a>.
|
147
148
|
# Corresponds to the JSON property `description`
|
148
149
|
# @return [String]
|
149
150
|
attr_accessor :description
|
@@ -190,8 +191,8 @@ module Google
|
|
190
191
|
# @return [String]
|
191
192
|
attr_accessor :kind
|
192
193
|
|
193
|
-
# URL pointing to this task list. Used to retrieve, update, or delete this
|
194
|
-
# list.
|
194
|
+
# URL pointing to this task list. Used to retrieve, update, or delete this
|
195
|
+
# task list.
|
195
196
|
# Corresponds to the JSON property `selfLink`
|
196
197
|
# @return [String]
|
197
198
|
attr_accessor :self_link
|
@@ -203,7 +204,7 @@ module Google
|
|
203
204
|
|
204
205
|
# Last modification time of the task list (as a RFC 3339 timestamp).
|
205
206
|
# Corresponds to the JSON property `updated`
|
206
|
-
# @return [
|
207
|
+
# @return [String]
|
207
208
|
attr_accessor :updated
|
208
209
|
|
209
210
|
def initialize(**args)
|
@@ -55,11 +55,9 @@ module Google
|
|
55
55
|
class Task
|
56
56
|
# @private
|
57
57
|
class Representation < Google::Apis::Core::JsonRepresentation
|
58
|
-
property :completed, as: 'completed'
|
59
|
-
|
58
|
+
property :completed, as: 'completed'
|
60
59
|
property :deleted, as: 'deleted'
|
61
|
-
property :due, as: 'due'
|
62
|
-
|
60
|
+
property :due, as: 'due'
|
63
61
|
property :etag, as: 'etag'
|
64
62
|
property :hidden, as: 'hidden'
|
65
63
|
property :id, as: 'id'
|
@@ -72,8 +70,7 @@ module Google
|
|
72
70
|
property :self_link, as: 'selfLink'
|
73
71
|
property :status, as: 'status'
|
74
72
|
property :title, as: 'title'
|
75
|
-
property :updated, as: 'updated'
|
76
|
-
|
73
|
+
property :updated, as: 'updated'
|
77
74
|
end
|
78
75
|
|
79
76
|
class Link
|
@@ -94,8 +91,7 @@ module Google
|
|
94
91
|
property :kind, as: 'kind'
|
95
92
|
property :self_link, as: 'selfLink'
|
96
93
|
property :title, as: 'title'
|
97
|
-
property :updated, as: 'updated'
|
98
|
-
|
94
|
+
property :updated, as: 'updated'
|
99
95
|
end
|
100
96
|
end
|
101
97
|
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module TasksV1
|
23
23
|
# Tasks API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# The Google Tasks API lets you manage your tasks and task lists.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/tasks_v1'
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Tasks = Google::Apis::TasksV1 # Alias the module
|
31
31
|
# service = Tasks::TasksService.new
|
32
32
|
#
|
33
|
-
# @see
|
33
|
+
# @see
|
34
34
|
class TasksService < Google::Apis::Core::BaseService
|
35
35
|
# @return [String]
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -38,16 +38,12 @@ module Google
|
|
38
38
|
attr_accessor :key
|
39
39
|
|
40
40
|
# @return [String]
|
41
|
-
#
|
42
|
-
# characters.
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
|
-
# @return [String]
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
47
|
-
attr_accessor :user_ip
|
48
|
-
|
49
45
|
def initialize
|
50
|
-
super('https://www.googleapis.com/', '
|
46
|
+
super('https://www.googleapis.com/', '')
|
51
47
|
@batch_path = 'batch/tasks/v1'
|
52
48
|
end
|
53
49
|
|
@@ -57,10 +53,8 @@ module Google
|
|
57
53
|
# @param [String] fields
|
58
54
|
# Selector specifying which fields to include in a partial response.
|
59
55
|
# @param [String] quota_user
|
60
|
-
#
|
61
|
-
# characters.
|
62
|
-
# @param [String] user_ip
|
63
|
-
# Deprecated. Please use quotaUser instead.
|
56
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
57
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
58
|
# @param [Google::Apis::RequestOptions] options
|
65
59
|
# Request-specific options
|
66
60
|
#
|
@@ -73,12 +67,11 @@ module Google
|
|
73
67
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
68
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
69
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
-
def delete_tasklist(tasklist, fields: nil, quota_user: nil,
|
77
|
-
command = make_simple_command(:delete, 'users/@me/lists/{tasklist}', options)
|
70
|
+
def delete_tasklist(tasklist, fields: nil, quota_user: nil, options: nil, &block)
|
71
|
+
command = make_simple_command(:delete, 'tasks/v1/users/@me/lists/{tasklist}', options)
|
78
72
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
79
73
|
command.query['fields'] = fields unless fields.nil?
|
80
74
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
82
75
|
execute_or_queue_command(command, &block)
|
83
76
|
end
|
84
77
|
|
@@ -88,10 +81,8 @@ module Google
|
|
88
81
|
# @param [String] fields
|
89
82
|
# Selector specifying which fields to include in a partial response.
|
90
83
|
# @param [String] quota_user
|
91
|
-
#
|
92
|
-
# characters.
|
93
|
-
# @param [String] user_ip
|
94
|
-
# Deprecated. Please use quotaUser instead.
|
84
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
85
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
95
86
|
# @param [Google::Apis::RequestOptions] options
|
96
87
|
# Request-specific options
|
97
88
|
#
|
@@ -104,28 +95,23 @@ module Google
|
|
104
95
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
105
96
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
106
97
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
107
|
-
def get_tasklist(tasklist, fields: nil, quota_user: nil,
|
108
|
-
command = make_simple_command(:get, 'users/@me/lists/{tasklist}', options)
|
98
|
+
def get_tasklist(tasklist, fields: nil, quota_user: nil, options: nil, &block)
|
99
|
+
command = make_simple_command(:get, 'tasks/v1/users/@me/lists/{tasklist}', options)
|
109
100
|
command.response_representation = Google::Apis::TasksV1::TaskList::Representation
|
110
101
|
command.response_class = Google::Apis::TasksV1::TaskList
|
111
102
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
112
103
|
command.query['fields'] = fields unless fields.nil?
|
113
104
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
114
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
115
105
|
execute_or_queue_command(command, &block)
|
116
106
|
end
|
117
107
|
|
118
108
|
# Creates a new task list and adds it to the authenticated user's task lists.
|
119
|
-
# Fails with HTTP code 403 or 429 after reaching the storage limit of 2,000
|
120
|
-
# lists.
|
121
109
|
# @param [Google::Apis::TasksV1::TaskList] task_list_object
|
122
110
|
# @param [String] fields
|
123
111
|
# Selector specifying which fields to include in a partial response.
|
124
112
|
# @param [String] quota_user
|
125
|
-
#
|
126
|
-
# characters.
|
127
|
-
# @param [String] user_ip
|
128
|
-
# Deprecated. Please use quotaUser instead.
|
113
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
114
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
129
115
|
# @param [Google::Apis::RequestOptions] options
|
130
116
|
# Request-specific options
|
131
117
|
#
|
@@ -138,31 +124,28 @@ module Google
|
|
138
124
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
139
125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
140
126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
141
|
-
def insert_tasklist(task_list_object = nil, fields: nil, quota_user: nil,
|
142
|
-
command = make_simple_command(:post, 'users/@me/lists', options)
|
127
|
+
def insert_tasklist(task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
128
|
+
command = make_simple_command(:post, 'tasks/v1/users/@me/lists', options)
|
143
129
|
command.request_representation = Google::Apis::TasksV1::TaskList::Representation
|
144
130
|
command.request_object = task_list_object
|
145
131
|
command.response_representation = Google::Apis::TasksV1::TaskList::Representation
|
146
132
|
command.response_class = Google::Apis::TasksV1::TaskList
|
147
133
|
command.query['fields'] = fields unless fields.nil?
|
148
134
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
149
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
150
135
|
execute_or_queue_command(command, &block)
|
151
136
|
end
|
152
137
|
|
153
138
|
# Returns all the authenticated user's task lists.
|
154
139
|
# @param [Fixnum] max_results
|
155
|
-
# Maximum number of task lists returned on one page. Optional. The default is
|
156
|
-
# (max allowed: 100).
|
140
|
+
# Maximum number of task lists returned on one page. Optional. The default is
|
141
|
+
# 20 (max allowed: 100).
|
157
142
|
# @param [String] page_token
|
158
143
|
# Token specifying the result page to return. Optional.
|
159
144
|
# @param [String] fields
|
160
145
|
# Selector specifying which fields to include in a partial response.
|
161
146
|
# @param [String] quota_user
|
162
|
-
#
|
163
|
-
# characters.
|
164
|
-
# @param [String] user_ip
|
165
|
-
# Deprecated. Please use quotaUser instead.
|
147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
166
149
|
# @param [Google::Apis::RequestOptions] options
|
167
150
|
# Request-specific options
|
168
151
|
#
|
@@ -175,15 +158,14 @@ module Google
|
|
175
158
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
176
159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
177
160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
178
|
-
def list_tasklists(max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
179
|
-
command = make_simple_command(:get, 'users/@me/lists', options)
|
161
|
+
def list_tasklists(max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
162
|
+
command = make_simple_command(:get, 'tasks/v1/users/@me/lists', options)
|
180
163
|
command.response_representation = Google::Apis::TasksV1::TaskLists::Representation
|
181
164
|
command.response_class = Google::Apis::TasksV1::TaskLists
|
182
165
|
command.query['maxResults'] = max_results unless max_results.nil?
|
183
166
|
command.query['pageToken'] = page_token unless page_token.nil?
|
184
167
|
command.query['fields'] = fields unless fields.nil?
|
185
168
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
186
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
187
169
|
execute_or_queue_command(command, &block)
|
188
170
|
end
|
189
171
|
|
@@ -195,10 +177,8 @@ module Google
|
|
195
177
|
# @param [String] fields
|
196
178
|
# Selector specifying which fields to include in a partial response.
|
197
179
|
# @param [String] quota_user
|
198
|
-
#
|
199
|
-
# characters.
|
200
|
-
# @param [String] user_ip
|
201
|
-
# Deprecated. Please use quotaUser instead.
|
180
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
181
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
202
182
|
# @param [Google::Apis::RequestOptions] options
|
203
183
|
# Request-specific options
|
204
184
|
#
|
@@ -211,8 +191,8 @@ module Google
|
|
211
191
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
212
192
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
213
193
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
214
|
-
def patch_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil,
|
215
|
-
command = make_simple_command(:patch, 'users/@me/lists/{tasklist}', options)
|
194
|
+
def patch_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
195
|
+
command = make_simple_command(:patch, 'tasks/v1/users/@me/lists/{tasklist}', options)
|
216
196
|
command.request_representation = Google::Apis::TasksV1::TaskList::Representation
|
217
197
|
command.request_object = task_list_object
|
218
198
|
command.response_representation = Google::Apis::TasksV1::TaskList::Representation
|
@@ -220,7 +200,6 @@ module Google
|
|
220
200
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
221
201
|
command.query['fields'] = fields unless fields.nil?
|
222
202
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
223
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
224
203
|
execute_or_queue_command(command, &block)
|
225
204
|
end
|
226
205
|
|
@@ -231,10 +210,8 @@ module Google
|
|
231
210
|
# @param [String] fields
|
232
211
|
# Selector specifying which fields to include in a partial response.
|
233
212
|
# @param [String] quota_user
|
234
|
-
#
|
235
|
-
# characters.
|
236
|
-
# @param [String] user_ip
|
237
|
-
# Deprecated. Please use quotaUser instead.
|
213
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
214
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
238
215
|
# @param [Google::Apis::RequestOptions] options
|
239
216
|
# Request-specific options
|
240
217
|
#
|
@@ -247,8 +224,8 @@ module Google
|
|
247
224
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
248
225
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
249
226
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
250
|
-
def update_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil,
|
251
|
-
command = make_simple_command(:put, 'users/@me/lists/{tasklist}', options)
|
227
|
+
def update_tasklist(tasklist, task_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
228
|
+
command = make_simple_command(:put, 'tasks/v1/users/@me/lists/{tasklist}', options)
|
252
229
|
command.request_representation = Google::Apis::TasksV1::TaskList::Representation
|
253
230
|
command.request_object = task_list_object
|
254
231
|
command.response_representation = Google::Apis::TasksV1::TaskList::Representation
|
@@ -256,7 +233,6 @@ module Google
|
|
256
233
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
257
234
|
command.query['fields'] = fields unless fields.nil?
|
258
235
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
259
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
260
236
|
execute_or_queue_command(command, &block)
|
261
237
|
end
|
262
238
|
|
@@ -268,10 +244,8 @@ module Google
|
|
268
244
|
# @param [String] fields
|
269
245
|
# Selector specifying which fields to include in a partial response.
|
270
246
|
# @param [String] quota_user
|
271
|
-
#
|
272
|
-
# characters.
|
273
|
-
# @param [String] user_ip
|
274
|
-
# Deprecated. Please use quotaUser instead.
|
247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
275
249
|
# @param [Google::Apis::RequestOptions] options
|
276
250
|
# Request-specific options
|
277
251
|
#
|
@@ -284,12 +258,11 @@ module Google
|
|
284
258
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
285
259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
286
260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
287
|
-
def clear_task(tasklist, fields: nil, quota_user: nil,
|
288
|
-
command = make_simple_command(:post, 'lists/{tasklist}/clear', options)
|
261
|
+
def clear_task(tasklist, fields: nil, quota_user: nil, options: nil, &block)
|
262
|
+
command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/clear', options)
|
289
263
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
290
264
|
command.query['fields'] = fields unless fields.nil?
|
291
265
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
292
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
293
266
|
execute_or_queue_command(command, &block)
|
294
267
|
end
|
295
268
|
|
@@ -301,10 +274,8 @@ module Google
|
|
301
274
|
# @param [String] fields
|
302
275
|
# Selector specifying which fields to include in a partial response.
|
303
276
|
# @param [String] quota_user
|
304
|
-
#
|
305
|
-
# characters.
|
306
|
-
# @param [String] user_ip
|
307
|
-
# Deprecated. Please use quotaUser instead.
|
277
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
278
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
308
279
|
# @param [Google::Apis::RequestOptions] options
|
309
280
|
# Request-specific options
|
310
281
|
#
|
@@ -317,13 +288,12 @@ module Google
|
|
317
288
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
318
289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
319
290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
320
|
-
def delete_task(tasklist, task, fields: nil, quota_user: nil,
|
321
|
-
command = make_simple_command(:delete, 'lists/{tasklist}/tasks/{task}', options)
|
291
|
+
def delete_task(tasklist, task, fields: nil, quota_user: nil, options: nil, &block)
|
292
|
+
command = make_simple_command(:delete, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
|
322
293
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
323
294
|
command.params['task'] = task unless task.nil?
|
324
295
|
command.query['fields'] = fields unless fields.nil?
|
325
296
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
326
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
327
297
|
execute_or_queue_command(command, &block)
|
328
298
|
end
|
329
299
|
|
@@ -335,10 +305,8 @@ module Google
|
|
335
305
|
# @param [String] fields
|
336
306
|
# Selector specifying which fields to include in a partial response.
|
337
307
|
# @param [String] quota_user
|
338
|
-
#
|
339
|
-
# characters.
|
340
|
-
# @param [String] user_ip
|
341
|
-
# Deprecated. Please use quotaUser instead.
|
308
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
309
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
342
310
|
# @param [Google::Apis::RequestOptions] options
|
343
311
|
# Request-specific options
|
344
312
|
#
|
@@ -351,20 +319,18 @@ module Google
|
|
351
319
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
352
320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
|
-
def get_task(tasklist, task, fields: nil, quota_user: nil,
|
355
|
-
command = make_simple_command(:get, 'lists/{tasklist}/tasks/{task}', options)
|
322
|
+
def get_task(tasklist, task, fields: nil, quota_user: nil, options: nil, &block)
|
323
|
+
command = make_simple_command(:get, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
|
356
324
|
command.response_representation = Google::Apis::TasksV1::Task::Representation
|
357
325
|
command.response_class = Google::Apis::TasksV1::Task
|
358
326
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
359
327
|
command.params['task'] = task unless task.nil?
|
360
328
|
command.query['fields'] = fields unless fields.nil?
|
361
329
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
362
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
363
330
|
execute_or_queue_command(command, &block)
|
364
331
|
end
|
365
332
|
|
366
|
-
# Creates a new task on the specified task list.
|
367
|
-
# after reaching the storage limit of 100,000 tasks per account.
|
333
|
+
# Creates a new task on the specified task list.
|
368
334
|
# @param [String] tasklist
|
369
335
|
# Task list identifier.
|
370
336
|
# @param [Google::Apis::TasksV1::Task] task_object
|
@@ -372,15 +338,13 @@ module Google
|
|
372
338
|
# Parent task identifier. If the task is created at the top level, this
|
373
339
|
# parameter is omitted. Optional.
|
374
340
|
# @param [String] previous
|
375
|
-
# Previous sibling task identifier. If the task is created at the first
|
376
|
-
# among its siblings, this parameter is omitted. Optional.
|
341
|
+
# Previous sibling task identifier. If the task is created at the first
|
342
|
+
# position among its siblings, this parameter is omitted. Optional.
|
377
343
|
# @param [String] fields
|
378
344
|
# Selector specifying which fields to include in a partial response.
|
379
345
|
# @param [String] quota_user
|
380
|
-
#
|
381
|
-
# characters.
|
382
|
-
# @param [String] user_ip
|
383
|
-
# Deprecated. Please use quotaUser instead.
|
346
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
347
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
384
348
|
# @param [Google::Apis::RequestOptions] options
|
385
349
|
# Request-specific options
|
386
350
|
#
|
@@ -393,8 +357,8 @@ module Google
|
|
393
357
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
394
358
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
395
359
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
396
|
-
def insert_task(tasklist, task_object = nil, parent: nil, previous: nil, fields: nil, quota_user: nil,
|
397
|
-
command = make_simple_command(:post, 'lists/{tasklist}/tasks', options)
|
360
|
+
def insert_task(tasklist, task_object = nil, parent: nil, previous: nil, fields: nil, quota_user: nil, options: nil, &block)
|
361
|
+
command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/tasks', options)
|
398
362
|
command.request_representation = Google::Apis::TasksV1::Task::Representation
|
399
363
|
command.request_object = task_object
|
400
364
|
command.response_representation = Google::Apis::TasksV1::Task::Representation
|
@@ -404,7 +368,6 @@ module Google
|
|
404
368
|
command.query['previous'] = previous unless previous.nil?
|
405
369
|
command.query['fields'] = fields unless fields.nil?
|
406
370
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
407
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
408
371
|
execute_or_queue_command(command, &block)
|
409
372
|
end
|
410
373
|
|
@@ -412,11 +375,11 @@ module Google
|
|
412
375
|
# @param [String] tasklist
|
413
376
|
# Task list identifier.
|
414
377
|
# @param [String] completed_max
|
415
|
-
# Upper bound for a task's completion date (as a RFC 3339 timestamp) to
|
416
|
-
# by. Optional. The default is not to filter by completion date.
|
378
|
+
# Upper bound for a task's completion date (as a RFC 3339 timestamp) to
|
379
|
+
# filter by. Optional. The default is not to filter by completion date.
|
417
380
|
# @param [String] completed_min
|
418
|
-
# Lower bound for a task's completion date (as a RFC 3339 timestamp) to
|
419
|
-
# by. Optional. The default is not to filter by completion date.
|
381
|
+
# Lower bound for a task's completion date (as a RFC 3339 timestamp) to
|
382
|
+
# filter by. Optional. The default is not to filter by completion date.
|
420
383
|
# @param [String] due_max
|
421
384
|
# Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by.
|
422
385
|
# Optional. The default is not to filter by due date.
|
@@ -424,29 +387,28 @@ module Google
|
|
424
387
|
# Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by.
|
425
388
|
# Optional. The default is not to filter by due date.
|
426
389
|
# @param [Fixnum] max_results
|
427
|
-
# Maximum number of task lists returned on one page. Optional. The default is
|
428
|
-
# (max allowed: 100).
|
390
|
+
# Maximum number of task lists returned on one page. Optional. The default is
|
391
|
+
# 20 (max allowed: 100).
|
429
392
|
# @param [String] page_token
|
430
393
|
# Token specifying the result page to return. Optional.
|
431
394
|
# @param [Boolean] show_completed
|
432
|
-
# Flag indicating whether completed tasks are returned in the result.
|
433
|
-
# The default is True.
|
395
|
+
# Flag indicating whether completed tasks are returned in the result.
|
396
|
+
# Optional. The default is True.
|
434
397
|
# @param [Boolean] show_deleted
|
435
398
|
# Flag indicating whether deleted tasks are returned in the result. Optional.
|
436
399
|
# The default is False.
|
437
400
|
# @param [Boolean] show_hidden
|
438
|
-
# Flag indicating whether hidden tasks are returned in the result. Optional.
|
439
|
-
# default is False.
|
401
|
+
# Flag indicating whether hidden tasks are returned in the result. Optional.
|
402
|
+
# The default is False.
|
440
403
|
# @param [String] updated_min
|
441
|
-
# Lower bound for a task's last modification time (as a RFC 3339 timestamp)
|
442
|
-
# filter by. Optional. The default is not to filter by last modification
|
404
|
+
# Lower bound for a task's last modification time (as a RFC 3339 timestamp)
|
405
|
+
# to filter by. Optional. The default is not to filter by last modification
|
406
|
+
# time.
|
443
407
|
# @param [String] fields
|
444
408
|
# Selector specifying which fields to include in a partial response.
|
445
409
|
# @param [String] quota_user
|
446
|
-
#
|
447
|
-
# characters.
|
448
|
-
# @param [String] user_ip
|
449
|
-
# Deprecated. Please use quotaUser instead.
|
410
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
411
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
450
412
|
# @param [Google::Apis::RequestOptions] options
|
451
413
|
# Request-specific options
|
452
414
|
#
|
@@ -459,8 +421,8 @@ module Google
|
|
459
421
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
460
422
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
461
423
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
462
|
-
def list_tasks(tasklist, completed_max: nil, completed_min: nil, due_max: nil, due_min: nil, max_results: nil, page_token: nil, show_completed: nil, show_deleted: nil, show_hidden: nil, updated_min: nil, fields: nil, quota_user: nil,
|
463
|
-
command = make_simple_command(:get, 'lists/{tasklist}/tasks', options)
|
424
|
+
def list_tasks(tasklist, completed_max: nil, completed_min: nil, due_max: nil, due_min: nil, max_results: nil, page_token: nil, show_completed: nil, show_deleted: nil, show_hidden: nil, updated_min: nil, fields: nil, quota_user: nil, options: nil, &block)
|
425
|
+
command = make_simple_command(:get, 'tasks/v1/lists/{tasklist}/tasks', options)
|
464
426
|
command.response_representation = Google::Apis::TasksV1::Tasks::Representation
|
465
427
|
command.response_class = Google::Apis::TasksV1::Tasks
|
466
428
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
@@ -476,7 +438,6 @@ module Google
|
|
476
438
|
command.query['updatedMin'] = updated_min unless updated_min.nil?
|
477
439
|
command.query['fields'] = fields unless fields.nil?
|
478
440
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
479
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
480
441
|
execute_or_queue_command(command, &block)
|
481
442
|
end
|
482
443
|
|
@@ -496,10 +457,8 @@ module Google
|
|
496
457
|
# @param [String] fields
|
497
458
|
# Selector specifying which fields to include in a partial response.
|
498
459
|
# @param [String] quota_user
|
499
|
-
#
|
500
|
-
# characters.
|
501
|
-
# @param [String] user_ip
|
502
|
-
# Deprecated. Please use quotaUser instead.
|
460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
503
462
|
# @param [Google::Apis::RequestOptions] options
|
504
463
|
# Request-specific options
|
505
464
|
#
|
@@ -512,8 +471,8 @@ module Google
|
|
512
471
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
513
472
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
514
473
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
515
|
-
def move_task(tasklist, task, parent: nil, previous: nil, fields: nil, quota_user: nil,
|
516
|
-
command = make_simple_command(:post, 'lists/{tasklist}/tasks/{task}/move', options)
|
474
|
+
def move_task(tasklist, task, parent: nil, previous: nil, fields: nil, quota_user: nil, options: nil, &block)
|
475
|
+
command = make_simple_command(:post, 'tasks/v1/lists/{tasklist}/tasks/{task}/move', options)
|
517
476
|
command.response_representation = Google::Apis::TasksV1::Task::Representation
|
518
477
|
command.response_class = Google::Apis::TasksV1::Task
|
519
478
|
command.params['tasklist'] = tasklist unless tasklist.nil?
|
@@ -522,7 +481,6 @@ module Google
|
|
522
481
|
command.query['previous'] = previous unless previous.nil?
|
523
482
|
command.query['fields'] = fields unless fields.nil?
|
524
483
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
525
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
526
484
|
execute_or_queue_command(command, &block)
|
527
485
|
end
|
528
486
|
|
@@ -535,10 +493,8 @@ module Google
|
|
535
493
|
# @param [String] fields
|
536
494
|
# Selector specifying which fields to include in a partial response.
|
537
495
|
# @param [String] quota_user
|
538
|
-
#
|
539
|
-
# characters.
|
540
|
-
# @param [String] user_ip
|
541
|
-
# Deprecated. Please use quotaUser instead.
|
496
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
497
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
542
498
|
# @param [Google::Apis::RequestOptions] options
|
543
499
|
# Request-specific options
|
544
500
|
#
|
@@ -551,8 +507,8 @@ module Google
|
|
551
507
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
552
508
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
553
509
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
554
|
-
def patch_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil,
|
555
|
-
command = make_simple_command(:patch, 'lists/{tasklist}/tasks/{task}', options)
|
510
|
+
def patch_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
511
|
+
command = make_simple_command(:patch, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
|
556
512
|
command.request_representation = Google::Apis::TasksV1::Task::Representation
|
557
513
|
command.request_object = task_object
|
558
514
|
command.response_representation = Google::Apis::TasksV1::Task::Representation
|
@@ -561,7 +517,6 @@ module Google
|
|
561
517
|
command.params['task'] = task unless task.nil?
|
562
518
|
command.query['fields'] = fields unless fields.nil?
|
563
519
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
564
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
565
520
|
execute_or_queue_command(command, &block)
|
566
521
|
end
|
567
522
|
|
@@ -574,10 +529,8 @@ module Google
|
|
574
529
|
# @param [String] fields
|
575
530
|
# Selector specifying which fields to include in a partial response.
|
576
531
|
# @param [String] quota_user
|
577
|
-
#
|
578
|
-
# characters.
|
579
|
-
# @param [String] user_ip
|
580
|
-
# Deprecated. Please use quotaUser instead.
|
532
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
533
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
581
534
|
# @param [Google::Apis::RequestOptions] options
|
582
535
|
# Request-specific options
|
583
536
|
#
|
@@ -590,8 +543,8 @@ module Google
|
|
590
543
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
591
544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
592
545
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
593
|
-
def update_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil,
|
594
|
-
command = make_simple_command(:put, 'lists/{tasklist}/tasks/{task}', options)
|
546
|
+
def update_task(tasklist, task, task_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
547
|
+
command = make_simple_command(:put, 'tasks/v1/lists/{tasklist}/tasks/{task}', options)
|
595
548
|
command.request_representation = Google::Apis::TasksV1::Task::Representation
|
596
549
|
command.request_object = task_object
|
597
550
|
command.response_representation = Google::Apis::TasksV1::Task::Representation
|
@@ -600,7 +553,6 @@ module Google
|
|
600
553
|
command.params['task'] = task unless task.nil?
|
601
554
|
command.query['fields'] = fields unless fields.nil?
|
602
555
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
603
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
604
556
|
execute_or_queue_command(command, &block)
|
605
557
|
end
|
606
558
|
|
@@ -609,7 +561,6 @@ module Google
|
|
609
561
|
def apply_command_defaults(command)
|
610
562
|
command.query['key'] = key unless key.nil?
|
611
563
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
612
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
613
564
|
end
|
614
565
|
end
|
615
566
|
end
|