google-api-client 0.29.0 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +122 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2/classes.rb +53 -33
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +45 -45
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +16 -16
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/classes.rb +10 -21
- data/generated/google/apis/drive_v2/service.rb +152 -100
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -20
- data/generated/google/apis/drive_v3/service.rb +100 -64
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +48 -0
- data/generated/google/apis/iam_v1/representations.rb +28 -0
- data/generated/google/apis/iam_v1/service.rb +59 -42
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1/classes.rb +51 -9
- data/generated/google/apis/spanner_v1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
80
|
def delete_acl(calendar_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
81
|
-
command =
|
81
|
+
command = make_simple_command(:delete, 'calendars/{calendarId}/acl/{ruleId}', options)
|
82
82
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
83
83
|
command.params['ruleId'] = rule_id unless rule_id.nil?
|
84
84
|
command.query['fields'] = fields unless fields.nil?
|
@@ -114,7 +114,7 @@ module Google
|
|
114
114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
116
|
def get_acl(calendar_id, rule_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
117
|
-
command =
|
117
|
+
command = make_simple_command(:get, 'calendars/{calendarId}/acl/{ruleId}', options)
|
118
118
|
command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
|
119
119
|
command.response_class = Google::Apis::CalendarV3::AclRule
|
120
120
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -154,7 +154,7 @@ module Google
|
|
154
154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
155
155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
156
156
|
def insert_acl(calendar_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
157
|
-
command =
|
157
|
+
command = make_simple_command(:post, 'calendars/{calendarId}/acl', options)
|
158
158
|
command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
|
159
159
|
command.request_object = acl_rule_object
|
160
160
|
command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
|
@@ -212,7 +212,7 @@ module Google
|
|
212
212
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
213
213
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
214
214
|
def list_acls(calendar_id, max_results: nil, page_token: nil, show_deleted: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
215
|
-
command =
|
215
|
+
command = make_simple_command(:get, 'calendars/{calendarId}/acl', options)
|
216
216
|
command.response_representation = Google::Apis::CalendarV3::Acl::Representation
|
217
217
|
command.response_class = Google::Apis::CalendarV3::Acl
|
218
218
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -257,7 +257,7 @@ module Google
|
|
257
257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
258
258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
259
259
|
def patch_acl(calendar_id, rule_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
260
|
-
command =
|
260
|
+
command = make_simple_command(:patch, 'calendars/{calendarId}/acl/{ruleId}', options)
|
261
261
|
command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
|
262
262
|
command.request_object = acl_rule_object
|
263
263
|
command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
|
@@ -302,7 +302,7 @@ module Google
|
|
302
302
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
303
303
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
304
304
|
def update_acl(calendar_id, rule_id, acl_rule_object = nil, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
305
|
-
command =
|
305
|
+
command = make_simple_command(:put, 'calendars/{calendarId}/acl/{ruleId}', options)
|
306
306
|
command.request_representation = Google::Apis::CalendarV3::AclRule::Representation
|
307
307
|
command.request_object = acl_rule_object
|
308
308
|
command.response_representation = Google::Apis::CalendarV3::AclRule::Representation
|
@@ -362,7 +362,7 @@ module Google
|
|
362
362
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
363
363
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
364
364
|
def watch_acl(calendar_id, channel_object = nil, max_results: nil, page_token: nil, show_deleted: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
365
|
-
command =
|
365
|
+
command = make_simple_command(:post, 'calendars/{calendarId}/acl/watch', options)
|
366
366
|
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
|
367
367
|
command.request_object = channel_object
|
368
368
|
command.response_representation = Google::Apis::CalendarV3::Channel::Representation
|
@@ -403,7 +403,7 @@ module Google
|
|
403
403
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
404
404
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
405
405
|
def delete_calendar_list(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
406
|
-
command =
|
406
|
+
command = make_simple_command(:delete, 'users/me/calendarList/{calendarId}', options)
|
407
407
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
408
408
|
command.query['fields'] = fields unless fields.nil?
|
409
409
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -436,7 +436,7 @@ module Google
|
|
436
436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
437
437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
438
438
|
def get_calendar_list(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
439
|
-
command =
|
439
|
+
command = make_simple_command(:get, 'users/me/calendarList/{calendarId}', options)
|
440
440
|
command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
|
441
441
|
command.response_class = Google::Apis::CalendarV3::CalendarListEntry
|
442
442
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -473,7 +473,7 @@ module Google
|
|
473
473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
474
474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
475
475
|
def insert_calendar_list(calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
476
|
-
command =
|
476
|
+
command = make_simple_command(:post, 'users/me/calendarList', options)
|
477
477
|
command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
|
478
478
|
command.request_object = calendar_list_entry_object
|
479
479
|
command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
|
@@ -534,7 +534,7 @@ module Google
|
|
534
534
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
535
535
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
536
536
|
def list_calendar_lists(max_results: nil, min_access_role: nil, page_token: nil, show_deleted: nil, show_hidden: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
537
|
-
command =
|
537
|
+
command = make_simple_command(:get, 'users/me/calendarList', options)
|
538
538
|
command.response_representation = Google::Apis::CalendarV3::CalendarList::Representation
|
539
539
|
command.response_class = Google::Apis::CalendarV3::CalendarList
|
540
540
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -581,7 +581,7 @@ module Google
|
|
581
581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
582
582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
583
583
|
def patch_calendar_list(calendar_id, calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
584
|
-
command =
|
584
|
+
command = make_simple_command(:patch, 'users/me/calendarList/{calendarId}', options)
|
585
585
|
command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
|
586
586
|
command.request_object = calendar_list_entry_object
|
587
587
|
command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
|
@@ -625,7 +625,7 @@ module Google
|
|
625
625
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
626
626
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
627
627
|
def update_calendar_list(calendar_id, calendar_list_entry_object = nil, color_rgb_format: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
628
|
-
command =
|
628
|
+
command = make_simple_command(:put, 'users/me/calendarList/{calendarId}', options)
|
629
629
|
command.request_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
|
630
630
|
command.request_object = calendar_list_entry_object
|
631
631
|
command.response_representation = Google::Apis::CalendarV3::CalendarListEntry::Representation
|
@@ -688,7 +688,7 @@ module Google
|
|
688
688
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
689
689
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
690
690
|
def watch_calendar_list(channel_object = nil, max_results: nil, min_access_role: nil, page_token: nil, show_deleted: nil, show_hidden: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
691
|
-
command =
|
691
|
+
command = make_simple_command(:post, 'users/me/calendarList/watch', options)
|
692
692
|
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
|
693
693
|
command.request_object = channel_object
|
694
694
|
command.response_representation = Google::Apis::CalendarV3::Channel::Representation
|
@@ -731,7 +731,7 @@ module Google
|
|
731
731
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
732
732
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
733
733
|
def clear_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
734
|
-
command =
|
734
|
+
command = make_simple_command(:post, 'calendars/{calendarId}/clear', options)
|
735
735
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
736
736
|
command.query['fields'] = fields unless fields.nil?
|
737
737
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -765,7 +765,7 @@ module Google
|
|
765
765
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
766
766
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
767
767
|
def delete_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
768
|
-
command =
|
768
|
+
command = make_simple_command(:delete, 'calendars/{calendarId}', options)
|
769
769
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
770
770
|
command.query['fields'] = fields unless fields.nil?
|
771
771
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -798,7 +798,7 @@ module Google
|
|
798
798
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
799
799
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
800
800
|
def get_calendar(calendar_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
801
|
-
command =
|
801
|
+
command = make_simple_command(:get, 'calendars/{calendarId}', options)
|
802
802
|
command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
|
803
803
|
command.response_class = Google::Apis::CalendarV3::Calendar
|
804
804
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -830,7 +830,7 @@ module Google
|
|
830
830
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
831
831
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
832
832
|
def insert_calendar(calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
833
|
-
command =
|
833
|
+
command = make_simple_command(:post, 'calendars', options)
|
834
834
|
command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
|
835
835
|
command.request_object = calendar_object
|
836
836
|
command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
|
@@ -867,7 +867,7 @@ module Google
|
|
867
867
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
868
868
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
869
869
|
def patch_calendar(calendar_id, calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
870
|
-
command =
|
870
|
+
command = make_simple_command(:patch, 'calendars/{calendarId}', options)
|
871
871
|
command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
|
872
872
|
command.request_object = calendar_object
|
873
873
|
command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
|
@@ -905,7 +905,7 @@ module Google
|
|
905
905
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
906
906
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
907
907
|
def update_calendar(calendar_id, calendar_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
908
|
-
command =
|
908
|
+
command = make_simple_command(:put, 'calendars/{calendarId}', options)
|
909
909
|
command.request_representation = Google::Apis::CalendarV3::Calendar::Representation
|
910
910
|
command.request_object = calendar_object
|
911
911
|
command.response_representation = Google::Apis::CalendarV3::Calendar::Representation
|
@@ -939,7 +939,7 @@ module Google
|
|
939
939
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
940
940
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
941
941
|
def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
942
|
-
command =
|
942
|
+
command = make_simple_command(:post, 'channels/stop', options)
|
943
943
|
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
|
944
944
|
command.request_object = channel_object
|
945
945
|
command.query['fields'] = fields unless fields.nil?
|
@@ -969,7 +969,7 @@ module Google
|
|
969
969
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
970
970
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
971
971
|
def get_color(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
972
|
-
command =
|
972
|
+
command = make_simple_command(:get, 'colors', options)
|
973
973
|
command.response_representation = Google::Apis::CalendarV3::Colors::Representation
|
974
974
|
command.response_class = Google::Apis::CalendarV3::Colors
|
975
975
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1012,7 +1012,7 @@ module Google
|
|
1012
1012
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1013
1013
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1014
1014
|
def delete_event(calendar_id, event_id, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1015
|
-
command =
|
1015
|
+
command = make_simple_command(:delete, 'calendars/{calendarId}/events/{eventId}', options)
|
1016
1016
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
1017
1017
|
command.params['eventId'] = event_id unless event_id.nil?
|
1018
1018
|
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
@@ -1063,7 +1063,7 @@ module Google
|
|
1063
1063
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1064
1064
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1065
1065
|
def get_event(calendar_id, event_id, always_include_email: nil, max_attendees: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1066
|
-
command =
|
1066
|
+
command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}', options)
|
1067
1067
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
1068
1068
|
command.response_class = Google::Apis::CalendarV3::Event
|
1069
1069
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -1113,7 +1113,7 @@ module Google
|
|
1113
1113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1114
1114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1115
1115
|
def import_event(calendar_id, event_object = nil, conference_data_version: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1116
|
-
command =
|
1116
|
+
command = make_simple_command(:post, 'calendars/{calendarId}/events/import', options)
|
1117
1117
|
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
1118
1118
|
command.request_object = event_object
|
1119
1119
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
@@ -1174,7 +1174,7 @@ module Google
|
|
1174
1174
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1175
1175
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1176
1176
|
def insert_event(calendar_id, event_object = nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1177
|
-
command =
|
1177
|
+
command = make_simple_command(:post, 'calendars/{calendarId}/events', options)
|
1178
1178
|
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
1179
1179
|
command.request_object = event_object
|
1180
1180
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
@@ -1250,7 +1250,7 @@ module Google
|
|
1250
1250
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1251
1251
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1252
1252
|
def list_event_instances(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1253
|
-
command =
|
1253
|
+
command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
|
1254
1254
|
command.response_representation = Google::Apis::CalendarV3::Events::Representation
|
1255
1255
|
command.response_class = Google::Apis::CalendarV3::Events
|
1256
1256
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -1346,14 +1346,14 @@ module Google
|
|
1346
1346
|
# Learn more about incremental synchronization.
|
1347
1347
|
# Optional. The default is to return all entries.
|
1348
1348
|
# @param [DateTime] time_max
|
1349
|
-
# Upper bound (exclusive) for an event's
|
1350
|
-
# default is not to filter by
|
1349
|
+
# Upper bound (exclusive) for an event's start time to filter by. Optional. The
|
1350
|
+
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
1351
1351
|
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1352
1352
|
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
|
1353
1353
|
# timeMax must be greater than timeMin.
|
1354
1354
|
# @param [DateTime] time_min
|
1355
|
-
# Lower bound (
|
1356
|
-
# default is not to filter by
|
1355
|
+
# Lower bound (exclusive) for an event's end time to filter by. Optional. The
|
1356
|
+
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
1357
1357
|
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1358
1358
|
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
|
1359
1359
|
# timeMin must be smaller than timeMax.
|
@@ -1385,7 +1385,7 @@ module Google
|
|
1385
1385
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1386
1386
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1387
1387
|
def list_events(calendar_id, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1388
|
-
command =
|
1388
|
+
command = make_simple_command(:get, 'calendars/{calendarId}/events', options)
|
1389
1389
|
command.response_representation = Google::Apis::CalendarV3::Events::Representation
|
1390
1390
|
command.response_class = Google::Apis::CalendarV3::Events
|
1391
1391
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -1447,7 +1447,7 @@ module Google
|
|
1447
1447
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1448
1448
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1449
1449
|
def move_event(calendar_id, event_id, destination, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1450
|
-
command =
|
1450
|
+
command = make_simple_command(:post, 'calendars/{calendarId}/events/{eventId}/move', options)
|
1451
1451
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
1452
1452
|
command.response_class = Google::Apis::CalendarV3::Event
|
1453
1453
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -1516,7 +1516,7 @@ module Google
|
|
1516
1516
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1517
1517
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1518
1518
|
def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1519
|
-
command =
|
1519
|
+
command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options)
|
1520
1520
|
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
1521
1521
|
command.request_object = event_object
|
1522
1522
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
@@ -1569,7 +1569,7 @@ module Google
|
|
1569
1569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1570
1570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1571
1571
|
def quick_add_event(calendar_id, text, send_notifications: nil, send_updates: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1572
|
-
command =
|
1572
|
+
command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
|
1573
1573
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
1574
1574
|
command.response_class = Google::Apis::CalendarV3::Event
|
1575
1575
|
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
@@ -1637,7 +1637,7 @@ module Google
|
|
1637
1637
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1638
1638
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1639
1639
|
def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, send_updates: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1640
|
-
command =
|
1640
|
+
command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options)
|
1641
1641
|
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
1642
1642
|
command.request_object = event_object
|
1643
1643
|
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
@@ -1733,14 +1733,14 @@ module Google
|
|
1733
1733
|
# Learn more about incremental synchronization.
|
1734
1734
|
# Optional. The default is to return all entries.
|
1735
1735
|
# @param [DateTime] time_max
|
1736
|
-
# Upper bound (exclusive) for an event's
|
1737
|
-
# default is not to filter by
|
1736
|
+
# Upper bound (exclusive) for an event's start time to filter by. Optional. The
|
1737
|
+
# default is not to filter by start time. Must be an RFC3339 timestamp with
|
1738
1738
|
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1739
1739
|
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set,
|
1740
1740
|
# timeMax must be greater than timeMin.
|
1741
1741
|
# @param [DateTime] time_min
|
1742
|
-
# Lower bound (
|
1743
|
-
# default is not to filter by
|
1742
|
+
# Lower bound (exclusive) for an event's end time to filter by. Optional. The
|
1743
|
+
# default is not to filter by end time. Must be an RFC3339 timestamp with
|
1744
1744
|
# mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-
|
1745
1745
|
# 03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set,
|
1746
1746
|
# timeMin must be smaller than timeMax.
|
@@ -1772,7 +1772,7 @@ module Google
|
|
1772
1772
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1773
1773
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1774
1774
|
def watch_event(calendar_id, channel_object = nil, always_include_email: nil, i_cal_uid: nil, max_attendees: nil, max_results: nil, order_by: nil, page_token: nil, private_extended_property: nil, q: nil, shared_extended_property: nil, show_deleted: nil, show_hidden_invitations: nil, single_events: nil, sync_token: nil, time_max: nil, time_min: nil, time_zone: nil, updated_min: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1775
|
-
command =
|
1775
|
+
command = make_simple_command(:post, 'calendars/{calendarId}/events/watch', options)
|
1776
1776
|
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
|
1777
1777
|
command.request_object = channel_object
|
1778
1778
|
command.response_representation = Google::Apis::CalendarV3::Channel::Representation
|
@@ -1823,7 +1823,7 @@ module Google
|
|
1823
1823
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1824
1824
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1825
1825
|
def query_freebusy(free_busy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1826
|
-
command =
|
1826
|
+
command = make_simple_command(:post, 'freeBusy', options)
|
1827
1827
|
command.request_representation = Google::Apis::CalendarV3::FreeBusyRequest::Representation
|
1828
1828
|
command.request_object = free_busy_request_object
|
1829
1829
|
command.response_representation = Google::Apis::CalendarV3::FreeBusyResponse::Representation
|
@@ -1857,7 +1857,7 @@ module Google
|
|
1857
1857
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1858
1858
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1859
1859
|
def get_setting(setting, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1860
|
-
command =
|
1860
|
+
command = make_simple_command(:get, 'users/me/settings/{setting}', options)
|
1861
1861
|
command.response_representation = Google::Apis::CalendarV3::Setting::Representation
|
1862
1862
|
command.response_class = Google::Apis::CalendarV3::Setting
|
1863
1863
|
command.params['setting'] = setting unless setting.nil?
|
@@ -1902,7 +1902,7 @@ module Google
|
|
1902
1902
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1903
1903
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1904
1904
|
def list_settings(max_results: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1905
|
-
command =
|
1905
|
+
command = make_simple_command(:get, 'users/me/settings', options)
|
1906
1906
|
command.response_representation = Google::Apis::CalendarV3::Settings::Representation
|
1907
1907
|
command.response_class = Google::Apis::CalendarV3::Settings
|
1908
1908
|
command.query['maxResults'] = max_results unless max_results.nil?
|
@@ -1950,7 +1950,7 @@ module Google
|
|
1950
1950
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1951
1951
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1952
1952
|
def watch_setting(channel_object = nil, max_results: nil, page_token: nil, sync_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1953
|
-
command =
|
1953
|
+
command = make_simple_command(:post, 'users/me/settings/watch', options)
|
1954
1954
|
command.request_representation = Google::Apis::CalendarV3::Channel::Representation
|
1955
1955
|
command.request_object = channel_object
|
1956
1956
|
command.response_representation = Google::Apis::CalendarV3::Channel::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
26
26
|
module CalendarV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190430'
|
29
29
|
|
30
30
|
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -69,7 +69,7 @@ module Google
|
|
69
69
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
70
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
71
|
def get_space(name, fields: nil, quota_user: nil, options: nil, &block)
|
72
|
-
command =
|
72
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
73
73
|
command.response_representation = Google::Apis::ChatV1::Space::Representation
|
74
74
|
command.response_class = Google::Apis::ChatV1::Space
|
75
75
|
command.params['name'] = name unless name.nil?
|
@@ -103,7 +103,7 @@ module Google
|
|
103
103
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
104
104
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
105
105
|
def list_spaces(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
-
command =
|
106
|
+
command = make_simple_command(:get, 'v1/spaces', options)
|
107
107
|
command.response_representation = Google::Apis::ChatV1::ListSpacesResponse::Representation
|
108
108
|
command.response_class = Google::Apis::ChatV1::ListSpacesResponse
|
109
109
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
137
137
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
138
138
|
def get_space_member(name, fields: nil, quota_user: nil, options: nil, &block)
|
139
|
-
command =
|
139
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
140
140
|
command.response_representation = Google::Apis::ChatV1::Membership::Representation
|
141
141
|
command.response_class = Google::Apis::ChatV1::Membership
|
142
142
|
command.params['name'] = name unless name.nil?
|
@@ -174,7 +174,7 @@ module Google
|
|
174
174
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
175
175
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
176
176
|
def list_space_members(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
177
|
-
command =
|
177
|
+
command = make_simple_command(:get, 'v1/{+parent}/members', options)
|
178
178
|
command.response_representation = Google::Apis::ChatV1::ListMembershipsResponse::Representation
|
179
179
|
command.response_class = Google::Apis::ChatV1::ListMembershipsResponse
|
180
180
|
command.params['parent'] = parent unless parent.nil?
|
@@ -218,7 +218,7 @@ module Google
|
|
218
218
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
219
219
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
220
220
|
def create_space_message(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
221
|
-
command =
|
221
|
+
command = make_simple_command(:post, 'v1/{+parent}/messages', options)
|
222
222
|
command.request_representation = Google::Apis::ChatV1::Message::Representation
|
223
223
|
command.request_object = message_object
|
224
224
|
command.response_representation = Google::Apis::ChatV1::Message::Representation
|
@@ -253,7 +253,7 @@ module Google
|
|
253
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
255
|
def delete_space_message(name, fields: nil, quota_user: nil, options: nil, &block)
|
256
|
-
command =
|
256
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
257
257
|
command.response_representation = Google::Apis::ChatV1::Empty::Representation
|
258
258
|
command.response_class = Google::Apis::ChatV1::Empty
|
259
259
|
command.params['name'] = name unless name.nil?
|
@@ -285,7 +285,7 @@ module Google
|
|
285
285
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
286
286
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
287
287
|
def get_space_message(name, fields: nil, quota_user: nil, options: nil, &block)
|
288
|
-
command =
|
288
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
289
289
|
command.response_representation = Google::Apis::ChatV1::Message::Representation
|
290
290
|
command.response_class = Google::Apis::ChatV1::Message
|
291
291
|
command.params['name'] = name unless name.nil?
|
@@ -320,7 +320,7 @@ module Google
|
|
320
320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
321
321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
322
322
|
def update_space_message(name, message_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
323
|
-
command =
|
323
|
+
command = make_simple_command(:put, 'v1/{+name}', options)
|
324
324
|
command.request_representation = Google::Apis::ChatV1::Message::Representation
|
325
325
|
command.request_object = message_object
|
326
326
|
command.response_representation = Google::Apis::ChatV1::Message::Representation
|
@@ -79,7 +79,7 @@ module Google
|
|
79
79
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
80
80
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
81
81
|
def search_divisions(division_search_request_object = nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
82
|
-
command =
|
82
|
+
command = make_simple_command(:get, 'divisions', options)
|
83
83
|
command.request_representation = Google::Apis::CivicinfoV2::DivisionSearchRequest::Representation
|
84
84
|
command.request_object = division_search_request_object
|
85
85
|
command.response_representation = Google::Apis::CivicinfoV2::SearchDivisionResponse::Representation
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
115
|
def query_election(elections_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
116
|
-
command =
|
116
|
+
command = make_simple_command(:get, 'elections', options)
|
117
117
|
command.request_representation = Google::Apis::CivicinfoV2::ElectionsQueryRequest::Representation
|
118
118
|
command.request_object = elections_query_request_object
|
119
119
|
command.response_representation = Google::Apis::CivicinfoV2::QueryElectionsResponse::Representation
|
@@ -161,7 +161,7 @@ module Google
|
|
161
161
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
162
162
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
163
163
|
def query_voter_info(address, voter_info_request_object = nil, election_id: nil, official_only: nil, return_all_available_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
164
|
-
command =
|
164
|
+
command = make_simple_command(:get, 'voterinfo', options)
|
165
165
|
command.request_representation = Google::Apis::CivicinfoV2::VoterInfoRequest::Representation
|
166
166
|
command.request_object = voter_info_request_object
|
167
167
|
command.response_representation = Google::Apis::CivicinfoV2::VoterInfoResponse::Representation
|
@@ -213,7 +213,7 @@ module Google
|
|
213
213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
214
214
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
215
215
|
def representative_info_by_address(representative_info_request_object = nil, address: nil, include_offices: nil, levels: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
216
|
-
command =
|
216
|
+
command = make_simple_command(:get, 'representatives', options)
|
217
217
|
command.request_representation = Google::Apis::CivicinfoV2::RepresentativeInfoRequest::Representation
|
218
218
|
command.request_object = representative_info_request_object
|
219
219
|
command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoResponse::Representation
|
@@ -264,7 +264,7 @@ module Google
|
|
264
264
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
265
265
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
266
266
|
def representative_info_by_division(ocd_id, division_representative_info_request_object = nil, levels: nil, recursive: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
267
|
-
command =
|
267
|
+
command = make_simple_command(:get, 'representatives/{ocdId}', options)
|
268
268
|
command.request_representation = Google::Apis::CivicinfoV2::DivisionRepresentativeInfoRequest::Representation
|
269
269
|
command.request_object = division_representative_info_request_object
|
270
270
|
command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoData::Representation
|