google-api-client 0.39.5 → 0.41.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +290 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/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 +183 -52
- data/generated/google/apis/apigee_v1/representations.rb +22 -0
- data/generated/google/apis/apigee_v1/service.rb +38 -37
- 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 +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +78 -6
- data/generated/google/apis/bigquery_v2/representations.rb +7 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +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 +3 -3
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- 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/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/chromeuxreport_v1.rb +32 -0
- 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/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
- data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
- data/generated/google/apis/cloudasset_v1/service.rb +18 -15
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- 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/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +16 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -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/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- 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 +22 -18
- 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 +12 -11
- 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/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- 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/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +756 -182
- data/generated/google/apis/compute_alpha/representations.rb +220 -33
- data/generated/google/apis/compute_alpha/service.rb +1891 -1099
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +435 -102
- data/generated/google/apis/compute_beta/representations.rb +95 -0
- data/generated/google/apis/compute_beta/service.rb +824 -595
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +658 -47
- data/generated/google/apis/compute_v1/representations.rb +188 -0
- data/generated/google/apis/compute_v1/service.rb +501 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +31 -7
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +47 -10
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +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 +616 -6
- data/generated/google/apis/content_v2_1/representations.rb +243 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +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 +35 -23
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +731 -20
- data/generated/google/apis/dialogflow_v2/representations.rb +311 -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 +722 -19
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +311 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +72 -4
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +717 -2
- data/generated/google/apis/displayvideo_v1/representations.rb +325 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1865 -162
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/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 +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- 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/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_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 +45 -36
- 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 +954 -83
- 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 +4 -3
- 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/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- 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/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -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 +75 -19
- data/generated/google/apis/monitoring_v3/representations.rb +2 -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 +4 -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/{pagespeedonline_v2.rb → playablelocations_v3.rb} +9 -10
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/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/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- 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 +68 -10
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → recommender_v1.rb} +12 -10
- 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/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -7
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- 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 +116 -16
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- 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 +116 -16
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -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 +55 -32
- data/generated/google/apis/spanner_v1/service.rb +10 -8
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- 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/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- 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/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/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/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +64 -26
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +33 -36
- 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/dialogflow_v3alpha1/classes.rb +0 -5022
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2057
- 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
@@ -296,8 +296,138 @@ module Google
|
|
296
296
|
execute_or_queue_command(command, &block)
|
297
297
|
end
|
298
298
|
|
299
|
+
# Copies an "Other contact" to a new contact in the user's "myContacts" group
|
300
|
+
# @param [String] resource_name
|
301
|
+
# Required. The resource name of the "Other contact" to copy.
|
302
|
+
# @param [Google::Apis::PeopleV1::CopyOtherContactToMyContactsGroupRequest] copy_other_contact_to_my_contacts_group_request_object
|
303
|
+
# @param [String] fields
|
304
|
+
# Selector specifying which fields to include in a partial response.
|
305
|
+
# @param [String] quota_user
|
306
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
307
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
308
|
+
# @param [Google::Apis::RequestOptions] options
|
309
|
+
# Request-specific options
|
310
|
+
#
|
311
|
+
# @yield [result, err] Result & error if block supplied
|
312
|
+
# @yieldparam result [Google::Apis::PeopleV1::Person] parsed result object
|
313
|
+
# @yieldparam err [StandardError] error object if request failed
|
314
|
+
#
|
315
|
+
# @return [Google::Apis::PeopleV1::Person]
|
316
|
+
#
|
317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
320
|
+
def copy_other_contact_to_my_contacts_group(resource_name, copy_other_contact_to_my_contacts_group_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
321
|
+
command = make_simple_command(:post, 'v1/{+resourceName}:copyOtherContactToMyContactsGroup', options)
|
322
|
+
command.request_representation = Google::Apis::PeopleV1::CopyOtherContactToMyContactsGroupRequest::Representation
|
323
|
+
command.request_object = copy_other_contact_to_my_contacts_group_request_object
|
324
|
+
command.response_representation = Google::Apis::PeopleV1::Person::Representation
|
325
|
+
command.response_class = Google::Apis::PeopleV1::Person
|
326
|
+
command.params['resourceName'] = resource_name unless resource_name.nil?
|
327
|
+
command.query['fields'] = fields unless fields.nil?
|
328
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
329
|
+
execute_or_queue_command(command, &block)
|
330
|
+
end
|
331
|
+
|
332
|
+
# List all "Other contacts", that is contacts that are not in a contact
|
333
|
+
# group. "Other contacts" are typically auto created contacts from
|
334
|
+
# interactions.
|
335
|
+
# @param [Fixnum] page_size
|
336
|
+
# Optional. The number of "Other contacts" to include in the response. Valid
|
337
|
+
# values are
|
338
|
+
# between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0.
|
339
|
+
# @param [String] page_token
|
340
|
+
# Optional. A page token, received from a previous `ListOtherContacts` call.
|
341
|
+
# Provide this to retrieve the subsequent page.
|
342
|
+
# When paginating, all other parameters provided to `ListOtherContacts`
|
343
|
+
# must match the call that provided the page token.
|
344
|
+
# @param [String] read_mask
|
345
|
+
# Required. A field mask to restrict which fields on each person are returned.
|
346
|
+
# Multiple
|
347
|
+
# fields can be specified by separating them with commas. Valid values are:
|
348
|
+
# * emailAddresses
|
349
|
+
# * names
|
350
|
+
# * phoneNumbers
|
351
|
+
# @param [Boolean] request_sync_token
|
352
|
+
# Optional. Whether the response should include `next_sync_token`, which can be
|
353
|
+
# used to
|
354
|
+
# get all changes since the last request. For subsequent sync requests use
|
355
|
+
# the `sync_token` param instead. Initial sync requests that specify
|
356
|
+
# `request_sync_token` have an additional rate limit.
|
357
|
+
# @param [String] sync_token
|
358
|
+
# Optional. A sync token, received from a previous `ListOtherContacts` call.
|
359
|
+
# Provide this to retrieve only the resources changed since the last request.
|
360
|
+
# Sync requests that specify `sync_token` have an additional rate limit.
|
361
|
+
# When syncing, all other parameters provided to `ListOtherContacts`
|
362
|
+
# must match the call that provided the sync token.
|
363
|
+
# @param [String] fields
|
364
|
+
# Selector specifying which fields to include in a partial response.
|
365
|
+
# @param [String] quota_user
|
366
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
367
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
368
|
+
# @param [Google::Apis::RequestOptions] options
|
369
|
+
# Request-specific options
|
370
|
+
#
|
371
|
+
# @yield [result, err] Result & error if block supplied
|
372
|
+
# @yieldparam result [Google::Apis::PeopleV1::ListOtherContactsResponse] parsed result object
|
373
|
+
# @yieldparam err [StandardError] error object if request failed
|
374
|
+
#
|
375
|
+
# @return [Google::Apis::PeopleV1::ListOtherContactsResponse]
|
376
|
+
#
|
377
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
378
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
379
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
380
|
+
def list_other_contacts(page_size: nil, page_token: nil, read_mask: nil, request_sync_token: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
381
|
+
command = make_simple_command(:get, 'v1/otherContacts', options)
|
382
|
+
command.response_representation = Google::Apis::PeopleV1::ListOtherContactsResponse::Representation
|
383
|
+
command.response_class = Google::Apis::PeopleV1::ListOtherContactsResponse
|
384
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
385
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
386
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
387
|
+
command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil?
|
388
|
+
command.query['syncToken'] = sync_token unless sync_token.nil?
|
389
|
+
command.query['fields'] = fields unless fields.nil?
|
390
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
391
|
+
execute_or_queue_command(command, &block)
|
392
|
+
end
|
393
|
+
|
299
394
|
# Create a new contact and return the person resource for that contact.
|
300
395
|
# @param [Google::Apis::PeopleV1::Person] person_object
|
396
|
+
# @param [String] person_fields
|
397
|
+
# Required. A field mask to restrict which fields on each person are returned.
|
398
|
+
# Multiple
|
399
|
+
# fields can be specified by separating them with commas. Defaults to all
|
400
|
+
# fields if not set. Valid values are:
|
401
|
+
# * addresses
|
402
|
+
# * ageRanges
|
403
|
+
# * biographies
|
404
|
+
# * birthdays
|
405
|
+
# * coverPhotos
|
406
|
+
# * emailAddresses
|
407
|
+
# * events
|
408
|
+
# * genders
|
409
|
+
# * imClients
|
410
|
+
# * interests
|
411
|
+
# * locales
|
412
|
+
# * memberships
|
413
|
+
# * metadata
|
414
|
+
# * names
|
415
|
+
# * nicknames
|
416
|
+
# * occupations
|
417
|
+
# * organizations
|
418
|
+
# * phoneNumbers
|
419
|
+
# * photos
|
420
|
+
# * relations
|
421
|
+
# * residences
|
422
|
+
# * sipAddresses
|
423
|
+
# * skills
|
424
|
+
# * urls
|
425
|
+
# * userDefined
|
426
|
+
# @param [Array<String>, String] sources
|
427
|
+
# Optional. A mask of what source types to return. Defaults to
|
428
|
+
# ReadSourceType.CONTACT and
|
429
|
+
# ReadSourceType.PROFILE if not
|
430
|
+
# set.
|
301
431
|
# @param [String] fields
|
302
432
|
# Selector specifying which fields to include in a partial response.
|
303
433
|
# @param [String] quota_user
|
@@ -315,12 +445,14 @@ module Google
|
|
315
445
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
316
446
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
317
447
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
318
|
-
def create_person_contact(person_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
448
|
+
def create_person_contact(person_object = nil, person_fields: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
319
449
|
command = make_simple_command(:post, 'v1/people:createContact', options)
|
320
450
|
command.request_representation = Google::Apis::PeopleV1::Person::Representation
|
321
451
|
command.request_object = person_object
|
322
452
|
command.response_representation = Google::Apis::PeopleV1::Person::Representation
|
323
453
|
command.response_class = Google::Apis::PeopleV1::Person
|
454
|
+
command.query['personFields'] = person_fields unless person_fields.nil?
|
455
|
+
command.query['sources'] = sources unless sources.nil?
|
324
456
|
command.query['fields'] = fields unless fields.nil?
|
325
457
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
326
458
|
execute_or_queue_command(command, &block)
|
@@ -389,6 +521,11 @@ module Google
|
|
389
521
|
# * skills
|
390
522
|
# * urls
|
391
523
|
# * userDefined
|
524
|
+
# @param [Array<String>, String] sources
|
525
|
+
# Optional. A mask of what source types to return. Defaults to
|
526
|
+
# ReadSourceType.CONTACT and
|
527
|
+
# ReadSourceType.PROFILE if not
|
528
|
+
# set.
|
392
529
|
# @param [String] fields
|
393
530
|
# Selector specifying which fields to include in a partial response.
|
394
531
|
# @param [String] quota_user
|
@@ -406,12 +543,13 @@ module Google
|
|
406
543
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
407
544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
408
545
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
409
|
-
def delete_person_contact_photo(resource_name, person_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
|
546
|
+
def delete_person_contact_photo(resource_name, person_fields: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
410
547
|
command = make_simple_command(:delete, 'v1/{+resourceName}:deleteContactPhoto', options)
|
411
548
|
command.response_representation = Google::Apis::PeopleV1::DeleteContactPhotoResponse::Representation
|
412
549
|
command.response_class = Google::Apis::PeopleV1::DeleteContactPhotoResponse
|
413
550
|
command.params['resourceName'] = resource_name unless resource_name.nil?
|
414
551
|
command.query['personFields'] = person_fields unless person_fields.nil?
|
552
|
+
command.query['sources'] = sources unless sources.nil?
|
415
553
|
command.query['fields'] = fields unless fields.nil?
|
416
554
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
417
555
|
execute_or_queue_command(command, &block)
|
@@ -462,6 +600,12 @@ module Google
|
|
462
600
|
# Each
|
463
601
|
# path should start with `person.`: for example, `person.names` or
|
464
602
|
# `person.photos`.
|
603
|
+
# @param [Array<String>, String] sources
|
604
|
+
# Optional. A mask of what source types to return. Defaults to
|
605
|
+
# ReadSourceType.PROFILE
|
606
|
+
# and
|
607
|
+
# ReadSourceType.CONTACT
|
608
|
+
# if not set.
|
465
609
|
# @param [String] fields
|
466
610
|
# Selector specifying which fields to include in a partial response.
|
467
611
|
# @param [String] quota_user
|
@@ -479,13 +623,14 @@ module Google
|
|
479
623
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
480
624
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
481
625
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
482
|
-
def get_person(resource_name, person_fields: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
|
626
|
+
def get_person(resource_name, person_fields: nil, request_mask_include_field: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
483
627
|
command = make_simple_command(:get, 'v1/{+resourceName}', options)
|
484
628
|
command.response_representation = Google::Apis::PeopleV1::Person::Representation
|
485
629
|
command.response_class = Google::Apis::PeopleV1::Person
|
486
630
|
command.params['resourceName'] = resource_name unless resource_name.nil?
|
487
631
|
command.query['personFields'] = person_fields unless person_fields.nil?
|
488
632
|
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
633
|
+
command.query['sources'] = sources unless sources.nil?
|
489
634
|
command.query['fields'] = fields unless fields.nil?
|
490
635
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
491
636
|
execute_or_queue_command(command, &block)
|
@@ -538,6 +683,12 @@ module Google
|
|
538
683
|
# identifies the contact as returned by
|
539
684
|
# [`people.connections.list`](/people/api/rest/v1/people.connections/list).
|
540
685
|
# You can include up to 50 resource names in one request.
|
686
|
+
# @param [Array<String>, String] sources
|
687
|
+
# Optional. A mask of what source types to return. Defaults to
|
688
|
+
# ReadSourceType.CONTACT
|
689
|
+
# and
|
690
|
+
# ReadSourceType.PROFILE
|
691
|
+
# if not set.
|
541
692
|
# @param [String] fields
|
542
693
|
# Selector specifying which fields to include in a partial response.
|
543
694
|
# @param [String] quota_user
|
@@ -555,13 +706,182 @@ module Google
|
|
555
706
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
556
707
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
557
708
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
558
|
-
def get_people(person_fields: nil, request_mask_include_field: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
709
|
+
def get_people(person_fields: nil, request_mask_include_field: nil, resource_names: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
559
710
|
command = make_simple_command(:get, 'v1/people:batchGet', options)
|
560
711
|
command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation
|
561
712
|
command.response_class = Google::Apis::PeopleV1::GetPeopleResponse
|
562
713
|
command.query['personFields'] = person_fields unless person_fields.nil?
|
563
714
|
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
564
715
|
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
716
|
+
command.query['sources'] = sources unless sources.nil?
|
717
|
+
command.query['fields'] = fields unless fields.nil?
|
718
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
719
|
+
execute_or_queue_command(command, &block)
|
720
|
+
end
|
721
|
+
|
722
|
+
# Provides a list of domain profiles and domain contacts in the authenticated
|
723
|
+
# user's domain directory.
|
724
|
+
# @param [Array<String>, String] merge_sources
|
725
|
+
# Optional. Additional data to merge into the directory sources if they are
|
726
|
+
# connected
|
727
|
+
# through verified join keys such as email addresses or phone numbers.
|
728
|
+
# @param [Fixnum] page_size
|
729
|
+
# Optional. The number of people to include in the response. Valid values are
|
730
|
+
# between 1 and 1000, inclusive. Defaults to 100 if not set or set to 0.
|
731
|
+
# @param [String] page_token
|
732
|
+
# Optional. A page token, received from a previous `ListDirectoryPeople` call.
|
733
|
+
# Provide this to retrieve the subsequent page.
|
734
|
+
# When paginating, all other parameters provided to `ListDirectoryPeople`
|
735
|
+
# must match the call that provided the page token.
|
736
|
+
# @param [String] read_mask
|
737
|
+
# Required. A field mask to restrict which fields on each person are returned.
|
738
|
+
# Multiple
|
739
|
+
# fields can be specified by separating them with commas. Valid values are:
|
740
|
+
# * addresses
|
741
|
+
# * ageRanges
|
742
|
+
# * biographies
|
743
|
+
# * birthdays
|
744
|
+
# * coverPhotos
|
745
|
+
# * emailAddresses
|
746
|
+
# * events
|
747
|
+
# * genders
|
748
|
+
# * imClients
|
749
|
+
# * interests
|
750
|
+
# * locales
|
751
|
+
# * memberships
|
752
|
+
# * metadata
|
753
|
+
# * names
|
754
|
+
# * nicknames
|
755
|
+
# * occupations
|
756
|
+
# * organizations
|
757
|
+
# * phoneNumbers
|
758
|
+
# * photos
|
759
|
+
# * relations
|
760
|
+
# * residences
|
761
|
+
# * sipAddresses
|
762
|
+
# * skills
|
763
|
+
# * urls
|
764
|
+
# * userDefined
|
765
|
+
# @param [Boolean] request_sync_token
|
766
|
+
# Optional. Whether the response should include `next_sync_token`, which can be
|
767
|
+
# used to
|
768
|
+
# get all changes since the last request. For subsequent sync requests use
|
769
|
+
# the `sync_token` param instead.
|
770
|
+
# @param [Array<String>, String] sources
|
771
|
+
# Required. Directory sources to return.
|
772
|
+
# @param [String] sync_token
|
773
|
+
# Optional. A sync token, received from a previous `ListDirectoryPeople` call.
|
774
|
+
# Provide this to retrieve only the resources changed since the last request.
|
775
|
+
# When syncing, all other parameters provided to `ListDirectoryPeople`
|
776
|
+
# must match the call that provided the sync token.
|
777
|
+
# @param [String] fields
|
778
|
+
# Selector specifying which fields to include in a partial response.
|
779
|
+
# @param [String] quota_user
|
780
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
781
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
782
|
+
# @param [Google::Apis::RequestOptions] options
|
783
|
+
# Request-specific options
|
784
|
+
#
|
785
|
+
# @yield [result, err] Result & error if block supplied
|
786
|
+
# @yieldparam result [Google::Apis::PeopleV1::ListDirectoryPeopleResponse] parsed result object
|
787
|
+
# @yieldparam err [StandardError] error object if request failed
|
788
|
+
#
|
789
|
+
# @return [Google::Apis::PeopleV1::ListDirectoryPeopleResponse]
|
790
|
+
#
|
791
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
792
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
793
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
794
|
+
def list_person_directory_people(merge_sources: nil, page_size: nil, page_token: nil, read_mask: nil, request_sync_token: nil, sources: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
795
|
+
command = make_simple_command(:get, 'v1/people:listDirectoryPeople', options)
|
796
|
+
command.response_representation = Google::Apis::PeopleV1::ListDirectoryPeopleResponse::Representation
|
797
|
+
command.response_class = Google::Apis::PeopleV1::ListDirectoryPeopleResponse
|
798
|
+
command.query['mergeSources'] = merge_sources unless merge_sources.nil?
|
799
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
800
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
801
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
802
|
+
command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil?
|
803
|
+
command.query['sources'] = sources unless sources.nil?
|
804
|
+
command.query['syncToken'] = sync_token unless sync_token.nil?
|
805
|
+
command.query['fields'] = fields unless fields.nil?
|
806
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
807
|
+
execute_or_queue_command(command, &block)
|
808
|
+
end
|
809
|
+
|
810
|
+
# Provides a list of domain profiles and domain contacts in the authenticated
|
811
|
+
# user's domain directory that match the search query.
|
812
|
+
# @param [Array<String>, String] merge_sources
|
813
|
+
# Optional. Additional data to merge into the directory sources if they are
|
814
|
+
# connected
|
815
|
+
# through verified join keys such as email addresses or phone numbers.
|
816
|
+
# @param [Fixnum] page_size
|
817
|
+
# Optional. The number of people to include in the response. Valid values are
|
818
|
+
# between 1 and 500, inclusive. Defaults to 100 if not set or set to 0.
|
819
|
+
# @param [String] page_token
|
820
|
+
# Optional. A page token, received from a previous `SearchDirectoryPeople` call.
|
821
|
+
# Provide this to retrieve the subsequent page.
|
822
|
+
# When paginating, all other parameters provided to `SearchDirectoryPeople`
|
823
|
+
# must match the call that provided the page token.
|
824
|
+
# @param [String] query
|
825
|
+
# Required. Prefix query that matches fields in the person. Does NOT use the
|
826
|
+
# read_mask for determining what fields to match.
|
827
|
+
# @param [String] read_mask
|
828
|
+
# Required. A field mask to restrict which fields on each person are returned.
|
829
|
+
# Multiple
|
830
|
+
# fields can be specified by separating them with commas. Valid values are:
|
831
|
+
# * addresses
|
832
|
+
# * ageRanges
|
833
|
+
# * biographies
|
834
|
+
# * birthdays
|
835
|
+
# * coverPhotos
|
836
|
+
# * emailAddresses
|
837
|
+
# * events
|
838
|
+
# * genders
|
839
|
+
# * imClients
|
840
|
+
# * interests
|
841
|
+
# * locales
|
842
|
+
# * memberships
|
843
|
+
# * metadata
|
844
|
+
# * names
|
845
|
+
# * nicknames
|
846
|
+
# * occupations
|
847
|
+
# * organizations
|
848
|
+
# * phoneNumbers
|
849
|
+
# * photos
|
850
|
+
# * relations
|
851
|
+
# * residences
|
852
|
+
# * sipAddresses
|
853
|
+
# * skills
|
854
|
+
# * urls
|
855
|
+
# * userDefined
|
856
|
+
# @param [Array<String>, String] sources
|
857
|
+
# Required. Directory sources to return.
|
858
|
+
# @param [String] fields
|
859
|
+
# Selector specifying which fields to include in a partial response.
|
860
|
+
# @param [String] quota_user
|
861
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
862
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
863
|
+
# @param [Google::Apis::RequestOptions] options
|
864
|
+
# Request-specific options
|
865
|
+
#
|
866
|
+
# @yield [result, err] Result & error if block supplied
|
867
|
+
# @yieldparam result [Google::Apis::PeopleV1::SearchDirectoryPeopleResponse] parsed result object
|
868
|
+
# @yieldparam err [StandardError] error object if request failed
|
869
|
+
#
|
870
|
+
# @return [Google::Apis::PeopleV1::SearchDirectoryPeopleResponse]
|
871
|
+
#
|
872
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
873
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
874
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
875
|
+
def search_person_directory_people(merge_sources: nil, page_size: nil, page_token: nil, query: nil, read_mask: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
876
|
+
command = make_simple_command(:get, 'v1/people:searchDirectoryPeople', options)
|
877
|
+
command.response_representation = Google::Apis::PeopleV1::SearchDirectoryPeopleResponse::Representation
|
878
|
+
command.response_class = Google::Apis::PeopleV1::SearchDirectoryPeopleResponse
|
879
|
+
command.query['mergeSources'] = merge_sources unless merge_sources.nil?
|
880
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
881
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
882
|
+
command.query['query'] = query unless query.nil?
|
883
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
884
|
+
command.query['sources'] = sources unless sources.nil?
|
565
885
|
command.query['fields'] = fields unless fields.nil?
|
566
886
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
567
887
|
execute_or_queue_command(command, &block)
|
@@ -582,6 +902,41 @@ module Google
|
|
582
902
|
# with a max length of 27 characters, in the form of
|
583
903
|
# `people/`person_id``.
|
584
904
|
# @param [Google::Apis::PeopleV1::Person] person_object
|
905
|
+
# @param [String] person_fields
|
906
|
+
# Optional. A field mask to restrict which fields on each person are returned.
|
907
|
+
# Multiple
|
908
|
+
# fields can be specified by separating them with commas. Defaults to all
|
909
|
+
# fields if not set. Valid values are:
|
910
|
+
# * addresses
|
911
|
+
# * ageRanges
|
912
|
+
# * biographies
|
913
|
+
# * birthdays
|
914
|
+
# * coverPhotos
|
915
|
+
# * emailAddresses
|
916
|
+
# * events
|
917
|
+
# * genders
|
918
|
+
# * imClients
|
919
|
+
# * interests
|
920
|
+
# * locales
|
921
|
+
# * memberships
|
922
|
+
# * metadata
|
923
|
+
# * names
|
924
|
+
# * nicknames
|
925
|
+
# * occupations
|
926
|
+
# * organizations
|
927
|
+
# * phoneNumbers
|
928
|
+
# * photos
|
929
|
+
# * relations
|
930
|
+
# * residences
|
931
|
+
# * sipAddresses
|
932
|
+
# * skills
|
933
|
+
# * urls
|
934
|
+
# * userDefined
|
935
|
+
# @param [Array<String>, String] sources
|
936
|
+
# Optional. A mask of what source types to return. Defaults to
|
937
|
+
# ReadSourceType.CONTACT and
|
938
|
+
# ReadSourceType.PROFILE if not
|
939
|
+
# set.
|
585
940
|
# @param [String] update_person_fields
|
586
941
|
# Required. A field mask to restrict which fields on the person are updated.
|
587
942
|
# Multiple
|
@@ -624,13 +979,15 @@ module Google
|
|
624
979
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
625
980
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
626
981
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
627
|
-
def update_person_contact(resource_name, person_object = nil, update_person_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
|
982
|
+
def update_person_contact(resource_name, person_object = nil, person_fields: nil, sources: nil, update_person_fields: nil, fields: nil, quota_user: nil, options: nil, &block)
|
628
983
|
command = make_simple_command(:patch, 'v1/{+resourceName}:updateContact', options)
|
629
984
|
command.request_representation = Google::Apis::PeopleV1::Person::Representation
|
630
985
|
command.request_object = person_object
|
631
986
|
command.response_representation = Google::Apis::PeopleV1::Person::Representation
|
632
987
|
command.response_class = Google::Apis::PeopleV1::Person
|
633
988
|
command.params['resourceName'] = resource_name unless resource_name.nil?
|
989
|
+
command.query['personFields'] = person_fields unless person_fields.nil?
|
990
|
+
command.query['sources'] = sources unless sources.nil?
|
634
991
|
command.query['updatePersonFields'] = update_person_fields unless update_person_fields.nil?
|
635
992
|
command.query['fields'] = fields unless fields.nil?
|
636
993
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -670,8 +1027,7 @@ module Google
|
|
670
1027
|
execute_or_queue_command(command, &block)
|
671
1028
|
end
|
672
1029
|
|
673
|
-
# Provides a list of the authenticated user's contacts
|
674
|
-
# connected profiles.
|
1030
|
+
# Provides a list of the authenticated user's contacts.
|
675
1031
|
# The request throws a 400 error if 'personFields' is not specified.
|
676
1032
|
# @param [String] resource_name
|
677
1033
|
# Required. The resource name to return connections for. Only `people/me` is
|
@@ -728,6 +1084,12 @@ module Google
|
|
728
1084
|
# @param [String] sort_order
|
729
1085
|
# Optional. The order in which the connections should be sorted. Defaults to
|
730
1086
|
# `LAST_MODIFIED_ASCENDING`.
|
1087
|
+
# @param [Array<String>, String] sources
|
1088
|
+
# Optional. A mask of what source types to return. Defaults to
|
1089
|
+
# ReadSourceType.CONTACT
|
1090
|
+
# and
|
1091
|
+
# ReadSourceType.PROFILE if not
|
1092
|
+
# set.
|
731
1093
|
# @param [String] sync_token
|
732
1094
|
# Optional. A sync token, received from a previous `ListConnections` call.
|
733
1095
|
# Provide this to retrieve only the resources changed since the last request.
|
@@ -751,7 +1113,7 @@ module Google
|
|
751
1113
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
752
1114
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
1115
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
|
-
def list_person_connections(resource_name, page_size: nil, page_token: nil, person_fields: nil, request_mask_include_field: nil, request_sync_token: nil, sort_order: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1116
|
+
def list_person_connections(resource_name, page_size: nil, page_token: nil, person_fields: nil, request_mask_include_field: nil, request_sync_token: nil, sort_order: nil, sources: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
755
1117
|
command = make_simple_command(:get, 'v1/{+resourceName}/connections', options)
|
756
1118
|
command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation
|
757
1119
|
command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse
|
@@ -762,6 +1124,7 @@ module Google
|
|
762
1124
|
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
763
1125
|
command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil?
|
764
1126
|
command.query['sortOrder'] = sort_order unless sort_order.nil?
|
1127
|
+
command.query['sources'] = sources unless sources.nil?
|
765
1128
|
command.query['syncToken'] = sync_token unless sync_token.nil?
|
766
1129
|
command.query['fields'] = fields unless fields.nil?
|
767
1130
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|