google-api-client 0.41.1 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -503,6 +503,12 @@ module Google
|
|
|
503
503
|
# @return [Google::Apis::OsconfigV1beta::PatchConfig]
|
|
504
504
|
attr_accessor :patch_config
|
|
505
505
|
|
|
506
|
+
# Patch rollout configuration specifications. Contains details on the
|
|
507
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
|
508
|
+
# Corresponds to the JSON property `rollout`
|
|
509
|
+
# @return [Google::Apis::OsconfigV1beta::PatchRollout]
|
|
510
|
+
attr_accessor :rollout
|
|
511
|
+
|
|
506
512
|
def initialize(**args)
|
|
507
513
|
update!(**args)
|
|
508
514
|
end
|
|
@@ -515,6 +521,34 @@ module Google
|
|
|
515
521
|
@duration = args[:duration] if args.key?(:duration)
|
|
516
522
|
@instance_filter = args[:instance_filter] if args.key?(:instance_filter)
|
|
517
523
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
|
524
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
|
525
|
+
end
|
|
526
|
+
end
|
|
527
|
+
|
|
528
|
+
# Message encapsulating a value that can be either absolute ("fixed") or
|
|
529
|
+
# relative ("percent") to a value.
|
|
530
|
+
class FixedOrPercent
|
|
531
|
+
include Google::Apis::Core::Hashable
|
|
532
|
+
|
|
533
|
+
# Specifies a fixed value.
|
|
534
|
+
# Corresponds to the JSON property `fixed`
|
|
535
|
+
# @return [Fixnum]
|
|
536
|
+
attr_accessor :fixed
|
|
537
|
+
|
|
538
|
+
# Specifies the relative value defined as a percentage, which will be
|
|
539
|
+
# multiplied by a reference value.
|
|
540
|
+
# Corresponds to the JSON property `percent`
|
|
541
|
+
# @return [Fixnum]
|
|
542
|
+
attr_accessor :percent
|
|
543
|
+
|
|
544
|
+
def initialize(**args)
|
|
545
|
+
update!(**args)
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
# Update properties of this object
|
|
549
|
+
def update!(**args)
|
|
550
|
+
@fixed = args[:fixed] if args.key?(:fixed)
|
|
551
|
+
@percent = args[:percent] if args.key?(:percent)
|
|
518
552
|
end
|
|
519
553
|
end
|
|
520
554
|
|
|
@@ -1095,8 +1129,14 @@ module Google
|
|
|
1095
1129
|
# @return [Google::Apis::OsconfigV1beta::RecurringSchedule]
|
|
1096
1130
|
attr_accessor :recurring_schedule
|
|
1097
1131
|
|
|
1132
|
+
# Patch rollout configuration specifications. Contains details on the
|
|
1133
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
|
1134
|
+
# Corresponds to the JSON property `rollout`
|
|
1135
|
+
# @return [Google::Apis::OsconfigV1beta::PatchRollout]
|
|
1136
|
+
attr_accessor :rollout
|
|
1137
|
+
|
|
1098
1138
|
# Output only. Time the patch deployment was last updated. Timestamp is in
|
|
1099
|
-
# [RFC3339](
|
|
1139
|
+
# [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
|
1100
1140
|
# Corresponds to the JSON property `updateTime`
|
|
1101
1141
|
# @return [String]
|
|
1102
1142
|
attr_accessor :update_time
|
|
@@ -1116,6 +1156,7 @@ module Google
|
|
|
1116
1156
|
@one_time_schedule = args[:one_time_schedule] if args.key?(:one_time_schedule)
|
|
1117
1157
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
|
1118
1158
|
@recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule)
|
|
1159
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
|
1119
1160
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1120
1161
|
end
|
|
1121
1162
|
end
|
|
@@ -1148,7 +1189,7 @@ module Google
|
|
|
1148
1189
|
attr_accessor :instance_name_prefixes
|
|
1149
1190
|
|
|
1150
1191
|
# Targets any of the VM instances specified. Instances are specified by their
|
|
1151
|
-
# URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]
|
|
1192
|
+
# URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`,
|
|
1152
1193
|
# `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or
|
|
1153
1194
|
# `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/
|
|
1154
1195
|
# instances/[INSTANCE_NAME]`
|
|
@@ -1282,6 +1323,12 @@ module Google
|
|
|
1282
1323
|
# @return [Float]
|
|
1283
1324
|
attr_accessor :percent_complete
|
|
1284
1325
|
|
|
1326
|
+
# Patch rollout configuration specifications. Contains details on the
|
|
1327
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
|
1328
|
+
# Corresponds to the JSON property `rollout`
|
|
1329
|
+
# @return [Google::Apis::OsconfigV1beta::PatchRollout]
|
|
1330
|
+
attr_accessor :rollout
|
|
1331
|
+
|
|
1285
1332
|
# The current state of the PatchJob.
|
|
1286
1333
|
# Corresponds to the JSON property `state`
|
|
1287
1334
|
# @return [String]
|
|
@@ -1310,6 +1357,7 @@ module Google
|
|
|
1310
1357
|
@patch_config = args[:patch_config] if args.key?(:patch_config)
|
|
1311
1358
|
@patch_deployment = args[:patch_deployment] if args.key?(:patch_deployment)
|
|
1312
1359
|
@percent_complete = args[:percent_complete] if args.key?(:percent_complete)
|
|
1360
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
|
1313
1361
|
@state = args[:state] if args.key?(:state)
|
|
1314
1362
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1315
1363
|
end
|
|
@@ -1471,6 +1519,33 @@ module Google
|
|
|
1471
1519
|
end
|
|
1472
1520
|
end
|
|
1473
1521
|
|
|
1522
|
+
# Patch rollout configuration specifications. Contains details on the
|
|
1523
|
+
# concurrency control when applying patch(es) to all targeted VMs.
|
|
1524
|
+
class PatchRollout
|
|
1525
|
+
include Google::Apis::Core::Hashable
|
|
1526
|
+
|
|
1527
|
+
# Message encapsulating a value that can be either absolute ("fixed") or
|
|
1528
|
+
# relative ("percent") to a value.
|
|
1529
|
+
# Corresponds to the JSON property `disruptionBudget`
|
|
1530
|
+
# @return [Google::Apis::OsconfigV1beta::FixedOrPercent]
|
|
1531
|
+
attr_accessor :disruption_budget
|
|
1532
|
+
|
|
1533
|
+
# Mode of the patch rollout.
|
|
1534
|
+
# Corresponds to the JSON property `mode`
|
|
1535
|
+
# @return [String]
|
|
1536
|
+
attr_accessor :mode
|
|
1537
|
+
|
|
1538
|
+
def initialize(**args)
|
|
1539
|
+
update!(**args)
|
|
1540
|
+
end
|
|
1541
|
+
|
|
1542
|
+
# Update properties of this object
|
|
1543
|
+
def update!(**args)
|
|
1544
|
+
@disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget)
|
|
1545
|
+
@mode = args[:mode] if args.key?(:mode)
|
|
1546
|
+
end
|
|
1547
|
+
end
|
|
1548
|
+
|
|
1474
1549
|
# Sets the time for recurring patch deployments.
|
|
1475
1550
|
class RecurringSchedule
|
|
1476
1551
|
include Google::Apis::Core::Hashable
|
|
@@ -106,6 +106,12 @@ module Google
|
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
+
class FixedOrPercent
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
109
115
|
class GcsObject
|
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
117
|
|
|
@@ -226,6 +232,12 @@ module Google
|
|
|
226
232
|
include Google::Apis::Core::JsonObjectSupport
|
|
227
233
|
end
|
|
228
234
|
|
|
235
|
+
class PatchRollout
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
|
+
|
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
239
|
+
end
|
|
240
|
+
|
|
229
241
|
class RecurringSchedule
|
|
230
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
243
|
|
|
@@ -490,6 +502,16 @@ module Google
|
|
|
490
502
|
|
|
491
503
|
property :patch_config, as: 'patchConfig', class: Google::Apis::OsconfigV1beta::PatchConfig, decorator: Google::Apis::OsconfigV1beta::PatchConfig::Representation
|
|
492
504
|
|
|
505
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation
|
|
506
|
+
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
class FixedOrPercent
|
|
511
|
+
# @private
|
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
513
|
+
property :fixed, as: 'fixed'
|
|
514
|
+
property :percent, as: 'percent'
|
|
493
515
|
end
|
|
494
516
|
end
|
|
495
517
|
|
|
@@ -656,6 +678,8 @@ module Google
|
|
|
656
678
|
|
|
657
679
|
property :recurring_schedule, as: 'recurringSchedule', class: Google::Apis::OsconfigV1beta::RecurringSchedule, decorator: Google::Apis::OsconfigV1beta::RecurringSchedule::Representation
|
|
658
680
|
|
|
681
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation
|
|
682
|
+
|
|
659
683
|
property :update_time, as: 'updateTime'
|
|
660
684
|
end
|
|
661
685
|
end
|
|
@@ -697,6 +721,8 @@ module Google
|
|
|
697
721
|
|
|
698
722
|
property :patch_deployment, as: 'patchDeployment'
|
|
699
723
|
property :percent_complete, as: 'percentComplete'
|
|
724
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation
|
|
725
|
+
|
|
700
726
|
property :state, as: 'state'
|
|
701
727
|
property :update_time, as: 'updateTime'
|
|
702
728
|
end
|
|
@@ -734,6 +760,15 @@ module Google
|
|
|
734
760
|
end
|
|
735
761
|
end
|
|
736
762
|
|
|
763
|
+
class PatchRollout
|
|
764
|
+
# @private
|
|
765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
766
|
+
property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1beta::FixedOrPercent, decorator: Google::Apis::OsconfigV1beta::FixedOrPercent::Representation
|
|
767
|
+
|
|
768
|
+
property :mode, as: 'mode'
|
|
769
|
+
end
|
|
770
|
+
end
|
|
771
|
+
|
|
737
772
|
class RecurringSchedule
|
|
738
773
|
# @private
|
|
739
774
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/people/
|
|
26
26
|
module PeopleV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200730'
|
|
29
29
|
|
|
30
30
|
# See, edit, download, and permanently delete your contacts
|
|
31
31
|
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
|
@@ -54,8 +54,8 @@ module Google
|
|
|
54
54
|
# @return [String]
|
|
55
55
|
attr_accessor :formatted_type
|
|
56
56
|
|
|
57
|
-
# The unstructured value of the address. If this is not set by the user it
|
|
58
|
-
#
|
|
57
|
+
# The unstructured value of the address. If this is not set by the user it will
|
|
58
|
+
# be automatically constructed from structured values.
|
|
59
59
|
# Corresponds to the JSON property `formattedValue`
|
|
60
60
|
# @return [String]
|
|
61
61
|
attr_accessor :formatted_value
|
|
@@ -86,10 +86,7 @@ module Google
|
|
|
86
86
|
attr_accessor :street_address
|
|
87
87
|
|
|
88
88
|
# The type of the address. The type can be custom or one of these predefined
|
|
89
|
-
# values:
|
|
90
|
-
# * `home`
|
|
91
|
-
# * `work`
|
|
92
|
-
# * `other`
|
|
89
|
+
# values: * `home` * `work` * `other`
|
|
93
90
|
# Corresponds to the JSON property `type`
|
|
94
91
|
# @return [String]
|
|
95
92
|
attr_accessor :type
|
|
@@ -191,19 +188,19 @@ module Google
|
|
|
191
188
|
end
|
|
192
189
|
|
|
193
190
|
# A person's birthday. At least one of the `date` and `text` fields are
|
|
194
|
-
# specified. The `date` and `text` fields typically represent the same
|
|
195
|
-
#
|
|
191
|
+
# specified. The `date` and `text` fields typically represent the same date, but
|
|
192
|
+
# are not guaranteed to.
|
|
196
193
|
class Birthday
|
|
197
194
|
include Google::Apis::Core::Hashable
|
|
198
195
|
|
|
199
196
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
|
200
197
|
# and time zone are either specified elsewhere or are not significant. The date
|
|
201
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
|
202
|
-
#
|
|
203
|
-
# * A
|
|
204
|
-
# * A year
|
|
205
|
-
#
|
|
206
|
-
#
|
|
198
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
|
199
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
|
200
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
|
201
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
|
202
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
|
203
|
+
# Timestamp`.
|
|
207
204
|
# Corresponds to the JSON property `date`
|
|
208
205
|
# @return [Google::Apis::PeopleV1::Date]
|
|
209
206
|
attr_accessor :date
|
|
@@ -230,8 +227,7 @@ module Google
|
|
|
230
227
|
end
|
|
231
228
|
end
|
|
232
229
|
|
|
233
|
-
# **DEPRECATED**: No data will be returned
|
|
234
|
-
# A person's bragging rights.
|
|
230
|
+
# **DEPRECATED**: No data will be returned A person's bragging rights.
|
|
235
231
|
class BraggingRights
|
|
236
232
|
include Google::Apis::Core::Hashable
|
|
237
233
|
|
|
@@ -256,19 +252,58 @@ module Google
|
|
|
256
252
|
end
|
|
257
253
|
end
|
|
258
254
|
|
|
255
|
+
# A person's calendar URL.
|
|
256
|
+
class CalendarUrl
|
|
257
|
+
include Google::Apis::Core::Hashable
|
|
258
|
+
|
|
259
|
+
# Output only. The type of the calendar URL translated and formatted in the
|
|
260
|
+
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
|
261
|
+
# Corresponds to the JSON property `formattedType`
|
|
262
|
+
# @return [String]
|
|
263
|
+
attr_accessor :formatted_type
|
|
264
|
+
|
|
265
|
+
# Metadata about a field.
|
|
266
|
+
# Corresponds to the JSON property `metadata`
|
|
267
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
268
|
+
attr_accessor :metadata
|
|
269
|
+
|
|
270
|
+
# The type of the calendar URL. The type can be custom or one of these
|
|
271
|
+
# predefined values: * `home` * `freeBusy` * `work`
|
|
272
|
+
# Corresponds to the JSON property `type`
|
|
273
|
+
# @return [String]
|
|
274
|
+
attr_accessor :type
|
|
275
|
+
|
|
276
|
+
# The calendar URL.
|
|
277
|
+
# Corresponds to the JSON property `url`
|
|
278
|
+
# @return [String]
|
|
279
|
+
attr_accessor :url
|
|
280
|
+
|
|
281
|
+
def initialize(**args)
|
|
282
|
+
update!(**args)
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# Update properties of this object
|
|
286
|
+
def update!(**args)
|
|
287
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
288
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
289
|
+
@type = args[:type] if args.key?(:type)
|
|
290
|
+
@url = args[:url] if args.key?(:url)
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
259
294
|
# A contact group.
|
|
260
295
|
class ContactGroup
|
|
261
296
|
include Google::Apis::Core::Hashable
|
|
262
297
|
|
|
263
|
-
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
|
264
|
-
#
|
|
298
|
+
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
|
299
|
+
# Used for web cache validation.
|
|
265
300
|
# Corresponds to the JSON property `etag`
|
|
266
301
|
# @return [String]
|
|
267
302
|
attr_accessor :etag
|
|
268
303
|
|
|
269
304
|
# Output only. The name translated and formatted in the viewer's account locale
|
|
270
|
-
# or the `Accept-Language` HTTP header locale for system groups names.
|
|
271
|
-
#
|
|
305
|
+
# or the `Accept-Language` HTTP header locale for system groups names. Group
|
|
306
|
+
# names set by the owner are the same as name.
|
|
272
307
|
# Corresponds to the JSON property `formattedName`
|
|
273
308
|
# @return [String]
|
|
274
309
|
attr_accessor :formatted_name
|
|
@@ -279,17 +314,15 @@ module Google
|
|
|
279
314
|
attr_accessor :group_type
|
|
280
315
|
|
|
281
316
|
# Output only. The total number of contacts in the group irrespective of max
|
|
282
|
-
# members in
|
|
283
|
-
# specified in the request.
|
|
317
|
+
# members in specified in the request.
|
|
284
318
|
# Corresponds to the JSON property `memberCount`
|
|
285
319
|
# @return [Fixnum]
|
|
286
320
|
attr_accessor :member_count
|
|
287
321
|
|
|
288
322
|
# Output only. The list of contact person resource names that are members of the
|
|
289
|
-
# contact
|
|
290
|
-
#
|
|
291
|
-
#
|
|
292
|
-
# [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
|
|
323
|
+
# contact group. The field is not populated for LIST requests and can only be
|
|
324
|
+
# updated through the [ModifyContactGroupMembers](/people/api/rest/v1/
|
|
325
|
+
# contactgroups/members/modify).
|
|
293
326
|
# Corresponds to the JSON property `memberResourceNames`
|
|
294
327
|
# @return [Array<String>]
|
|
295
328
|
attr_accessor :member_resource_names
|
|
@@ -299,8 +332,8 @@ module Google
|
|
|
299
332
|
# @return [Google::Apis::PeopleV1::ContactGroupMetadata]
|
|
300
333
|
attr_accessor :metadata
|
|
301
334
|
|
|
302
|
-
# The contact group name set by the group owner or a system provided name
|
|
303
|
-
#
|
|
335
|
+
# The contact group name set by the group owner or a system provided name for
|
|
336
|
+
# system groups.
|
|
304
337
|
# Corresponds to the JSON property `name`
|
|
305
338
|
# @return [String]
|
|
306
339
|
attr_accessor :name
|
|
@@ -338,11 +371,11 @@ module Google
|
|
|
338
371
|
attr_accessor :contact_group_id
|
|
339
372
|
|
|
340
373
|
# The resource name for the contact group, assigned by the server. An ASCII
|
|
341
|
-
# string, in the form of `contactGroups/`contact_group_id``.
|
|
342
|
-
#
|
|
343
|
-
#
|
|
344
|
-
#
|
|
345
|
-
#
|
|
374
|
+
# string, in the form of `contactGroups/`contact_group_id``. Only
|
|
375
|
+
# contact_group_resource_name can be used for modifying memberships. Any contact
|
|
376
|
+
# group membership can be removed, but only user group or "myContacts" or "
|
|
377
|
+
# starred" system groups memberships can be added. A contact must always have at
|
|
378
|
+
# least one contact group membership.
|
|
346
379
|
# Corresponds to the JSON property `contactGroupResourceName`
|
|
347
380
|
# @return [String]
|
|
348
381
|
attr_accessor :contact_group_resource_name
|
|
@@ -363,9 +396,8 @@ module Google
|
|
|
363
396
|
include Google::Apis::Core::Hashable
|
|
364
397
|
|
|
365
398
|
# Output only. True if the contact group resource has been deleted. Populated
|
|
366
|
-
# only for
|
|
367
|
-
#
|
|
368
|
-
# that include a sync token.
|
|
399
|
+
# only for [`ListContactGroups`](/people/api/rest/v1/contactgroups/list)
|
|
400
|
+
# requests that include a sync token.
|
|
369
401
|
# Corresponds to the JSON property `deleted`
|
|
370
402
|
# @return [Boolean]
|
|
371
403
|
attr_accessor :deleted
|
|
@@ -401,12 +433,12 @@ module Google
|
|
|
401
433
|
# @return [String]
|
|
402
434
|
attr_accessor :requested_resource_name
|
|
403
435
|
|
|
404
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
405
|
-
#
|
|
406
|
-
#
|
|
407
|
-
#
|
|
408
|
-
#
|
|
409
|
-
#
|
|
436
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
437
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
438
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
439
|
+
# data: error code, error message, and error details. You can find out more
|
|
440
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
441
|
+
# //cloud.google.com/apis/design/errors).
|
|
410
442
|
# Corresponds to the JSON property `status`
|
|
411
443
|
# @return [Google::Apis::PeopleV1::Status]
|
|
412
444
|
attr_accessor :status
|
|
@@ -428,52 +460,25 @@ module Google
|
|
|
428
460
|
include Google::Apis::Core::Hashable
|
|
429
461
|
|
|
430
462
|
# Required. A field mask to restrict which fields are copied into the new
|
|
431
|
-
# contact.
|
|
432
|
-
# Valid values are:
|
|
433
|
-
# * emailAddresses
|
|
434
|
-
# * names
|
|
435
|
-
# * phoneNumbers
|
|
463
|
+
# contact. Valid values are: * emailAddresses * names * phoneNumbers
|
|
436
464
|
# Corresponds to the JSON property `copyMask`
|
|
437
465
|
# @return [String]
|
|
438
466
|
attr_accessor :copy_mask
|
|
439
467
|
|
|
440
468
|
# Optional. A field mask to restrict which fields on the person are returned.
|
|
441
|
-
# Multiple
|
|
442
|
-
#
|
|
443
|
-
#
|
|
444
|
-
# *
|
|
445
|
-
# *
|
|
446
|
-
# *
|
|
447
|
-
# *
|
|
448
|
-
# * coverPhotos
|
|
449
|
-
# * emailAddresses
|
|
450
|
-
# * events
|
|
451
|
-
# * genders
|
|
452
|
-
# * imClients
|
|
453
|
-
# * interests
|
|
454
|
-
# * locales
|
|
455
|
-
# * memberships
|
|
456
|
-
# * metadata
|
|
457
|
-
# * names
|
|
458
|
-
# * nicknames
|
|
459
|
-
# * occupations
|
|
460
|
-
# * organizations
|
|
461
|
-
# * phoneNumbers
|
|
462
|
-
# * photos
|
|
463
|
-
# * relations
|
|
464
|
-
# * residences
|
|
465
|
-
# * sipAddresses
|
|
466
|
-
# * skills
|
|
467
|
-
# * urls
|
|
468
|
-
# * userDefined
|
|
469
|
+
# Multiple fields can be specified by separating them with commas. Defaults to
|
|
470
|
+
# the copy mask with metadata and membership fields if not set. Valid values are:
|
|
471
|
+
# * addresses * ageRanges * biographies * birthdays * calendarUrls *
|
|
472
|
+
# coverPhotos * emailAddresses * events * externalIds * genders * imClients *
|
|
473
|
+
# interests * locales * memberships * metadata * miscKeywords * names *
|
|
474
|
+
# nicknames * occupations * organizations * phoneNumbers * photos * relations *
|
|
475
|
+
# residences * sipAddresses * skills * urls * userDefined
|
|
469
476
|
# Corresponds to the JSON property `readMask`
|
|
470
477
|
# @return [String]
|
|
471
478
|
attr_accessor :read_mask
|
|
472
479
|
|
|
473
|
-
# Optional. A mask of what source types to return. Defaults to
|
|
474
|
-
# ReadSourceType.
|
|
475
|
-
# ReadSourceType.PROFILE if not
|
|
476
|
-
# set.
|
|
480
|
+
# Optional. A mask of what source types to return. Defaults to ReadSourceType.
|
|
481
|
+
# CONTACT and ReadSourceType.PROFILE if not set.
|
|
477
482
|
# Corresponds to the JSON property `sources`
|
|
478
483
|
# @return [Array<String>]
|
|
479
484
|
attr_accessor :sources
|
|
@@ -490,13 +495,13 @@ module Google
|
|
|
490
495
|
end
|
|
491
496
|
end
|
|
492
497
|
|
|
493
|
-
# A person's cover photo. A large image shown on the person's
|
|
494
|
-
#
|
|
498
|
+
# A person's cover photo. A large image shown on the person's profile page that
|
|
499
|
+
# represents who they are or what they care about.
|
|
495
500
|
class CoverPhoto
|
|
496
501
|
include Google::Apis::Core::Hashable
|
|
497
502
|
|
|
498
|
-
# True if the cover photo is the default cover photo;
|
|
499
|
-
#
|
|
503
|
+
# True if the cover photo is the default cover photo; false if the cover photo
|
|
504
|
+
# is a user-provided cover photo.
|
|
500
505
|
# Corresponds to the JSON property `default`
|
|
501
506
|
# @return [Boolean]
|
|
502
507
|
attr_accessor :default
|
|
@@ -545,30 +550,29 @@ module Google
|
|
|
545
550
|
|
|
546
551
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
|
547
552
|
# and time zone are either specified elsewhere or are not significant. The date
|
|
548
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
|
549
|
-
#
|
|
550
|
-
# * A
|
|
551
|
-
# * A year
|
|
552
|
-
#
|
|
553
|
-
#
|
|
553
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
|
554
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
|
555
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
|
556
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
|
557
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
|
558
|
+
# Timestamp`.
|
|
554
559
|
class Date
|
|
555
560
|
include Google::Apis::Core::Hashable
|
|
556
561
|
|
|
557
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
|
558
|
-
#
|
|
562
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
|
|
563
|
+
# specifying a year by itself or a year and month where the day is not
|
|
559
564
|
# significant.
|
|
560
565
|
# Corresponds to the JSON property `day`
|
|
561
566
|
# @return [Fixnum]
|
|
562
567
|
attr_accessor :day
|
|
563
568
|
|
|
564
|
-
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
|
565
|
-
#
|
|
569
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
|
|
570
|
+
# and day.
|
|
566
571
|
# Corresponds to the JSON property `month`
|
|
567
572
|
# @return [Fixnum]
|
|
568
573
|
attr_accessor :month
|
|
569
574
|
|
|
570
|
-
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
|
571
|
-
# a year.
|
|
575
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
|
|
572
576
|
# Corresponds to the JSON property `year`
|
|
573
577
|
# @return [Fixnum]
|
|
574
578
|
attr_accessor :year
|
|
@@ -590,10 +594,9 @@ module Google
|
|
|
590
594
|
include Google::Apis::Core::Hashable
|
|
591
595
|
|
|
592
596
|
# Information about a person merged from various data sources such as the
|
|
593
|
-
# authenticated user's contacts and profile data.
|
|
594
|
-
#
|
|
595
|
-
#
|
|
596
|
-
# `metadata.primary` set to true.
|
|
597
|
+
# authenticated user's contacts and profile data. Most fields can have multiple
|
|
598
|
+
# items. The items in a field have no guaranteed order, but each non-empty field
|
|
599
|
+
# is guaranteed to have exactly one field with `metadata.primary` set to true.
|
|
597
600
|
# Corresponds to the JSON property `person`
|
|
598
601
|
# @return [Google::Apis::PeopleV1::Person]
|
|
599
602
|
attr_accessor :person
|
|
@@ -649,10 +652,7 @@ module Google
|
|
|
649
652
|
attr_accessor :metadata
|
|
650
653
|
|
|
651
654
|
# The type of the email address. The type can be custom or one of these
|
|
652
|
-
# predefined values:
|
|
653
|
-
# * `home`
|
|
654
|
-
# * `work`
|
|
655
|
-
# * `other`
|
|
655
|
+
# predefined values: * `home` * `work` * `other`
|
|
656
656
|
# Corresponds to the JSON property `type`
|
|
657
657
|
# @return [String]
|
|
658
658
|
attr_accessor :type
|
|
@@ -676,13 +676,11 @@ module Google
|
|
|
676
676
|
end
|
|
677
677
|
end
|
|
678
678
|
|
|
679
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
|
680
|
-
#
|
|
681
|
-
#
|
|
682
|
-
#
|
|
683
|
-
#
|
|
684
|
-
# `
|
|
685
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
679
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
680
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
681
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
682
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
683
|
+
# `Empty` is empty JSON object ````.
|
|
686
684
|
class Empty
|
|
687
685
|
include Google::Apis::Core::Hashable
|
|
688
686
|
|
|
@@ -701,18 +699,18 @@ module Google
|
|
|
701
699
|
|
|
702
700
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
|
703
701
|
# and time zone are either specified elsewhere or are not significant. The date
|
|
704
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
|
705
|
-
#
|
|
706
|
-
# * A
|
|
707
|
-
# * A year
|
|
708
|
-
#
|
|
709
|
-
#
|
|
702
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
|
703
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
|
704
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
|
705
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
|
706
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
|
707
|
+
# Timestamp`.
|
|
710
708
|
# Corresponds to the JSON property `date`
|
|
711
709
|
# @return [Google::Apis::PeopleV1::Date]
|
|
712
710
|
attr_accessor :date
|
|
713
711
|
|
|
714
|
-
# Output only. The type of the event translated and formatted in the
|
|
715
|
-
#
|
|
712
|
+
# Output only. The type of the event translated and formatted in the viewer's
|
|
713
|
+
# account locale or the `Accept-Language` HTTP header locale.
|
|
716
714
|
# Corresponds to the JSON property `formattedType`
|
|
717
715
|
# @return [String]
|
|
718
716
|
attr_accessor :formatted_type
|
|
@@ -723,9 +721,7 @@ module Google
|
|
|
723
721
|
attr_accessor :metadata
|
|
724
722
|
|
|
725
723
|
# The type of the event. The type can be custom or one of these predefined
|
|
726
|
-
# values:
|
|
727
|
-
# * `anniversary`
|
|
728
|
-
# * `other`
|
|
724
|
+
# values: * `anniversary` * `other`
|
|
729
725
|
# Corresponds to the JSON property `type`
|
|
730
726
|
# @return [String]
|
|
731
727
|
attr_accessor :type
|
|
@@ -743,6 +739,45 @@ module Google
|
|
|
743
739
|
end
|
|
744
740
|
end
|
|
745
741
|
|
|
742
|
+
# An identifier from an external entity related to the person.
|
|
743
|
+
class ExternalId
|
|
744
|
+
include Google::Apis::Core::Hashable
|
|
745
|
+
|
|
746
|
+
# Output only. The type of the event translated and formatted in the viewer's
|
|
747
|
+
# account locale or the `Accept-Language` HTTP header locale.
|
|
748
|
+
# Corresponds to the JSON property `formattedType`
|
|
749
|
+
# @return [String]
|
|
750
|
+
attr_accessor :formatted_type
|
|
751
|
+
|
|
752
|
+
# Metadata about a field.
|
|
753
|
+
# Corresponds to the JSON property `metadata`
|
|
754
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
755
|
+
attr_accessor :metadata
|
|
756
|
+
|
|
757
|
+
# The type of the external ID. The type can be custom or one of these predefined
|
|
758
|
+
# values: * `account` * `customer` * `loginId` * `network` * `organization`
|
|
759
|
+
# Corresponds to the JSON property `type`
|
|
760
|
+
# @return [String]
|
|
761
|
+
attr_accessor :type
|
|
762
|
+
|
|
763
|
+
# The value of the external ID.
|
|
764
|
+
# Corresponds to the JSON property `value`
|
|
765
|
+
# @return [String]
|
|
766
|
+
attr_accessor :value
|
|
767
|
+
|
|
768
|
+
def initialize(**args)
|
|
769
|
+
update!(**args)
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
# Update properties of this object
|
|
773
|
+
def update!(**args)
|
|
774
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
775
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
776
|
+
@type = args[:type] if args.key?(:type)
|
|
777
|
+
@value = args[:value] if args.key?(:value)
|
|
778
|
+
end
|
|
779
|
+
end
|
|
780
|
+
|
|
746
781
|
# Metadata about a field.
|
|
747
782
|
class FieldMetadata
|
|
748
783
|
include Google::Apis::Core::Hashable
|
|
@@ -760,9 +795,8 @@ module Google
|
|
|
760
795
|
attr_accessor :source
|
|
761
796
|
|
|
762
797
|
# Output only. True if the field is verified; false if the field is unverified.
|
|
763
|
-
# A
|
|
764
|
-
#
|
|
765
|
-
# website that has been confirmed to be owned by the person.
|
|
798
|
+
# A verified field is typically a name, email address, phone number, or website
|
|
799
|
+
# that has been confirmed to be owned by the person.
|
|
766
800
|
# Corresponds to the JSON property `verified`
|
|
767
801
|
# @return [Boolean]
|
|
768
802
|
attr_accessor :verified
|
|
@@ -809,19 +843,15 @@ module Google
|
|
|
809
843
|
class Gender
|
|
810
844
|
include Google::Apis::Core::Hashable
|
|
811
845
|
|
|
812
|
-
# The type of pronouns that should be used to address the person. The value
|
|
813
|
-
#
|
|
814
|
-
# * `male`
|
|
815
|
-
# * `female`
|
|
816
|
-
# * `other`
|
|
846
|
+
# The type of pronouns that should be used to address the person. The value can
|
|
847
|
+
# be custom or one of these predefined values: * `male` * `female` * `other`
|
|
817
848
|
# Corresponds to the JSON property `addressMeAs`
|
|
818
849
|
# @return [String]
|
|
819
850
|
attr_accessor :address_me_as
|
|
820
851
|
|
|
821
852
|
# Output only. The value of the gender translated and formatted in the viewer's
|
|
822
|
-
# account
|
|
823
|
-
#
|
|
824
|
-
# value are not localized.
|
|
853
|
+
# account locale or the `Accept-Language` HTTP header locale. Unspecified or
|
|
854
|
+
# custom value are not localized.
|
|
825
855
|
# Corresponds to the JSON property `formattedValue`
|
|
826
856
|
# @return [String]
|
|
827
857
|
attr_accessor :formatted_value
|
|
@@ -831,11 +861,8 @@ module Google
|
|
|
831
861
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
832
862
|
attr_accessor :metadata
|
|
833
863
|
|
|
834
|
-
# The gender for the person. The gender can be custom or one of these
|
|
835
|
-
#
|
|
836
|
-
# * `male`
|
|
837
|
-
# * `female`
|
|
838
|
-
# * `unspecified`
|
|
864
|
+
# The gender for the person. The gender can be custom or one of these predefined
|
|
865
|
+
# values: * `male` * `female` * `unspecified`
|
|
839
866
|
# Corresponds to the JSON property `value`
|
|
840
867
|
# @return [String]
|
|
841
868
|
attr_accessor :value
|
|
@@ -882,8 +909,8 @@ module Google
|
|
|
882
909
|
# @return [String]
|
|
883
910
|
attr_accessor :formatted_protocol
|
|
884
911
|
|
|
885
|
-
# Output only. The type of the IM client translated and formatted in the
|
|
886
|
-
#
|
|
912
|
+
# Output only. The type of the IM client translated and formatted in the viewer'
|
|
913
|
+
# s account locale or the `Accept-Language` HTTP header locale.
|
|
887
914
|
# Corresponds to the JSON property `formattedType`
|
|
888
915
|
# @return [String]
|
|
889
916
|
attr_accessor :formatted_type
|
|
@@ -894,25 +921,14 @@ module Google
|
|
|
894
921
|
attr_accessor :metadata
|
|
895
922
|
|
|
896
923
|
# The protocol of the IM client. The protocol can be custom or one of these
|
|
897
|
-
# predefined values:
|
|
898
|
-
# * `
|
|
899
|
-
# * `msn`
|
|
900
|
-
# * `yahoo`
|
|
901
|
-
# * `skype`
|
|
902
|
-
# * `qq`
|
|
903
|
-
# * `googleTalk`
|
|
904
|
-
# * `icq`
|
|
905
|
-
# * `jabber`
|
|
906
|
-
# * `netMeeting`
|
|
924
|
+
# predefined values: * `aim` * `msn` * `yahoo` * `skype` * `qq` * `googleTalk` *
|
|
925
|
+
# `icq` * `jabber` * `netMeeting`
|
|
907
926
|
# Corresponds to the JSON property `protocol`
|
|
908
927
|
# @return [String]
|
|
909
928
|
attr_accessor :protocol
|
|
910
929
|
|
|
911
|
-
# The type of the IM client. The type can be custom or one of these
|
|
912
|
-
#
|
|
913
|
-
# * `home`
|
|
914
|
-
# * `work`
|
|
915
|
-
# * `other`
|
|
930
|
+
# The type of the IM client. The type can be custom or one of these predefined
|
|
931
|
+
# values: * `home` * `work` * `other`
|
|
916
932
|
# Corresponds to the JSON property `type`
|
|
917
933
|
# @return [String]
|
|
918
934
|
attr_accessor :type
|
|
@@ -971,15 +987,14 @@ module Google
|
|
|
971
987
|
# @return [Array<Google::Apis::PeopleV1::Person>]
|
|
972
988
|
attr_accessor :connections
|
|
973
989
|
|
|
974
|
-
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
975
|
-
#
|
|
990
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
991
|
+
# field is omitted, there are no subsequent pages.
|
|
976
992
|
# Corresponds to the JSON property `nextPageToken`
|
|
977
993
|
# @return [String]
|
|
978
994
|
attr_accessor :next_page_token
|
|
979
995
|
|
|
980
|
-
# A token, which can be sent as `sync_token` to retrieve changes since the
|
|
981
|
-
#
|
|
982
|
-
# token.
|
|
996
|
+
# A token, which can be sent as `sync_token` to retrieve changes since the last
|
|
997
|
+
# request. Request must set `request_sync_token` to return the sync token.
|
|
983
998
|
# Corresponds to the JSON property `nextSyncToken`
|
|
984
999
|
# @return [String]
|
|
985
1000
|
attr_accessor :next_sync_token
|
|
@@ -989,8 +1004,8 @@ module Google
|
|
|
989
1004
|
# @return [Fixnum]
|
|
990
1005
|
attr_accessor :total_items
|
|
991
1006
|
|
|
992
|
-
# **DEPRECATED** (Please use totalItems)
|
|
993
|
-
#
|
|
1007
|
+
# **DEPRECATED** (Please use totalItems) The total number of people in the list
|
|
1008
|
+
# without pagination.
|
|
994
1009
|
# Corresponds to the JSON property `totalPeople`
|
|
995
1010
|
# @return [Fixnum]
|
|
996
1011
|
attr_accessor :total_people
|
|
@@ -1013,8 +1028,7 @@ module Google
|
|
|
1013
1028
|
class ListContactGroupsResponse
|
|
1014
1029
|
include Google::Apis::Core::Hashable
|
|
1015
1030
|
|
|
1016
|
-
# The list of contact groups. Members of the contact groups are not
|
|
1017
|
-
# populated.
|
|
1031
|
+
# The list of contact groups. Members of the contact groups are not populated.
|
|
1018
1032
|
# Corresponds to the JSON property `contactGroups`
|
|
1019
1033
|
# @return [Array<Google::Apis::PeopleV1::ContactGroup>]
|
|
1020
1034
|
attr_accessor :contact_groups
|
|
@@ -1051,15 +1065,14 @@ module Google
|
|
|
1051
1065
|
class ListDirectoryPeopleResponse
|
|
1052
1066
|
include Google::Apis::Core::Hashable
|
|
1053
1067
|
|
|
1054
|
-
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
1055
|
-
#
|
|
1068
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
1069
|
+
# field is omitted, there are no subsequent pages.
|
|
1056
1070
|
# Corresponds to the JSON property `nextPageToken`
|
|
1057
1071
|
# @return [String]
|
|
1058
1072
|
attr_accessor :next_page_token
|
|
1059
1073
|
|
|
1060
|
-
# A token, which can be sent as `sync_token` to retrieve changes since the
|
|
1061
|
-
#
|
|
1062
|
-
# token.
|
|
1074
|
+
# A token, which can be sent as `sync_token` to retrieve changes since the last
|
|
1075
|
+
# request. Request must set `request_sync_token` to return the sync token.
|
|
1063
1076
|
# Corresponds to the JSON property `nextSyncToken`
|
|
1064
1077
|
# @return [String]
|
|
1065
1078
|
attr_accessor :next_sync_token
|
|
@@ -1085,22 +1098,21 @@ module Google
|
|
|
1085
1098
|
class ListOtherContactsResponse
|
|
1086
1099
|
include Google::Apis::Core::Hashable
|
|
1087
1100
|
|
|
1088
|
-
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
1089
|
-
#
|
|
1101
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
1102
|
+
# field is omitted, there are no subsequent pages.
|
|
1090
1103
|
# Corresponds to the JSON property `nextPageToken`
|
|
1091
1104
|
# @return [String]
|
|
1092
1105
|
attr_accessor :next_page_token
|
|
1093
1106
|
|
|
1094
|
-
# A token, which can be sent as `sync_token` to retrieve changes since the
|
|
1095
|
-
#
|
|
1096
|
-
# token.
|
|
1107
|
+
# A token, which can be sent as `sync_token` to retrieve changes since the last
|
|
1108
|
+
# request. Request must set `request_sync_token` to return the sync token.
|
|
1097
1109
|
# Corresponds to the JSON property `nextSyncToken`
|
|
1098
1110
|
# @return [String]
|
|
1099
1111
|
attr_accessor :next_sync_token
|
|
1100
1112
|
|
|
1101
1113
|
# The list of "Other contacts" returned as Person resources. "Other contacts"
|
|
1102
|
-
# support a limited subset of fields. See
|
|
1103
|
-
#
|
|
1114
|
+
# support a limited subset of fields. See ListOtherContactsRequest.request_mask
|
|
1115
|
+
# for more detailed information.
|
|
1104
1116
|
# Corresponds to the JSON property `otherContacts`
|
|
1105
1117
|
# @return [Array<Google::Apis::PeopleV1::Person>]
|
|
1106
1118
|
attr_accessor :other_contacts
|
|
@@ -1126,8 +1138,8 @@ module Google
|
|
|
1126
1138
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1127
1139
|
attr_accessor :metadata
|
|
1128
1140
|
|
|
1129
|
-
# The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47)
|
|
1130
|
-
#
|
|
1141
|
+
# The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) language tag
|
|
1142
|
+
# representing the locale.
|
|
1131
1143
|
# Corresponds to the JSON property `value`
|
|
1132
1144
|
# @return [String]
|
|
1133
1145
|
attr_accessor :value
|
|
@@ -1175,20 +1187,58 @@ module Google
|
|
|
1175
1187
|
end
|
|
1176
1188
|
end
|
|
1177
1189
|
|
|
1190
|
+
# A person's miscellaneous keyword.
|
|
1191
|
+
class MiscKeyword
|
|
1192
|
+
include Google::Apis::Core::Hashable
|
|
1193
|
+
|
|
1194
|
+
# Output only. The type of the miscellaneous keyword translated and formatted in
|
|
1195
|
+
# the viewer's account locale or the `Accept-Language` HTTP header locale.
|
|
1196
|
+
# Corresponds to the JSON property `formattedType`
|
|
1197
|
+
# @return [String]
|
|
1198
|
+
attr_accessor :formatted_type
|
|
1199
|
+
|
|
1200
|
+
# Metadata about a field.
|
|
1201
|
+
# Corresponds to the JSON property `metadata`
|
|
1202
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1203
|
+
attr_accessor :metadata
|
|
1204
|
+
|
|
1205
|
+
# The miscellaneous keyword type.
|
|
1206
|
+
# Corresponds to the JSON property `type`
|
|
1207
|
+
# @return [String]
|
|
1208
|
+
attr_accessor :type
|
|
1209
|
+
|
|
1210
|
+
# The value of the miscellaneous keyword.
|
|
1211
|
+
# Corresponds to the JSON property `value`
|
|
1212
|
+
# @return [String]
|
|
1213
|
+
attr_accessor :value
|
|
1214
|
+
|
|
1215
|
+
def initialize(**args)
|
|
1216
|
+
update!(**args)
|
|
1217
|
+
end
|
|
1218
|
+
|
|
1219
|
+
# Update properties of this object
|
|
1220
|
+
def update!(**args)
|
|
1221
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
1222
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1223
|
+
@type = args[:type] if args.key?(:type)
|
|
1224
|
+
@value = args[:value] if args.key?(:value)
|
|
1225
|
+
end
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1178
1228
|
# A request to modify an existing contact group's members. Contacts can be
|
|
1179
|
-
# removed from any group but they can only be added to a user group or
|
|
1180
|
-
#
|
|
1229
|
+
# removed from any group but they can only be added to a user group or "
|
|
1230
|
+
# myContacts" or "starred" system groups.
|
|
1181
1231
|
class ModifyContactGroupMembersRequest
|
|
1182
1232
|
include Google::Apis::Core::Hashable
|
|
1183
1233
|
|
|
1184
|
-
# Optional. The resource names of the contact people to add in the form of
|
|
1185
|
-
#
|
|
1234
|
+
# Optional. The resource names of the contact people to add in the form of `
|
|
1235
|
+
# people/`person_id``.
|
|
1186
1236
|
# Corresponds to the JSON property `resourceNamesToAdd`
|
|
1187
1237
|
# @return [Array<String>]
|
|
1188
1238
|
attr_accessor :resource_names_to_add
|
|
1189
1239
|
|
|
1190
|
-
# Optional. The resource names of the contact people to remove in the form of
|
|
1191
|
-
#
|
|
1240
|
+
# Optional. The resource names of the contact people to remove in the form of `
|
|
1241
|
+
# people/`person_id``.
|
|
1192
1242
|
# Corresponds to the JSON property `resourceNamesToRemove`
|
|
1193
1243
|
# @return [Array<String>]
|
|
1194
1244
|
attr_accessor :resource_names_to_remove
|
|
@@ -1208,8 +1258,8 @@ module Google
|
|
|
1208
1258
|
class ModifyContactGroupMembersResponse
|
|
1209
1259
|
include Google::Apis::Core::Hashable
|
|
1210
1260
|
|
|
1211
|
-
# The contact people resource names that cannot be removed from their
|
|
1212
|
-
#
|
|
1261
|
+
# The contact people resource names that cannot be removed from their last
|
|
1262
|
+
# contact group.
|
|
1213
1263
|
# Corresponds to the JSON property `canNotRemoveLastContactGroupResourceNames`
|
|
1214
1264
|
# @return [Array<String>]
|
|
1215
1265
|
attr_accessor :can_not_remove_last_contact_group_resource_names
|
|
@@ -1241,8 +1291,8 @@ module Google
|
|
|
1241
1291
|
attr_accessor :display_name
|
|
1242
1292
|
|
|
1243
1293
|
# Output only. The display name with the last name first formatted according to
|
|
1244
|
-
# the locale specified by the viewer's account or the
|
|
1245
|
-
#
|
|
1294
|
+
# the locale specified by the viewer's account or the `Accept-Language` HTTP
|
|
1295
|
+
# header.
|
|
1246
1296
|
# Corresponds to the JSON property `displayNameLastFirst`
|
|
1247
1297
|
# @return [String]
|
|
1248
1298
|
attr_accessor :display_name_last_first
|
|
@@ -1392,13 +1442,12 @@ module Google
|
|
|
1392
1442
|
end
|
|
1393
1443
|
end
|
|
1394
1444
|
|
|
1395
|
-
# A person's past or current organization. Overlapping date ranges are
|
|
1396
|
-
# permitted.
|
|
1445
|
+
# A person's past or current organization. Overlapping date ranges are permitted.
|
|
1397
1446
|
class Organization
|
|
1398
1447
|
include Google::Apis::Core::Hashable
|
|
1399
1448
|
|
|
1400
|
-
# True if the organization is the person's current organization;
|
|
1401
|
-
#
|
|
1449
|
+
# True if the organization is the person's current organization; false if the
|
|
1450
|
+
# organization is a past organization.
|
|
1402
1451
|
# Corresponds to the JSON property `current`
|
|
1403
1452
|
# @return [Boolean]
|
|
1404
1453
|
attr_accessor :current
|
|
@@ -1409,20 +1458,19 @@ module Google
|
|
|
1409
1458
|
# @return [String]
|
|
1410
1459
|
attr_accessor :department
|
|
1411
1460
|
|
|
1412
|
-
# The domain name associated with the organization; for example,
|
|
1413
|
-
# `google.com`.
|
|
1461
|
+
# The domain name associated with the organization; for example, `google.com`.
|
|
1414
1462
|
# Corresponds to the JSON property `domain`
|
|
1415
1463
|
# @return [String]
|
|
1416
1464
|
attr_accessor :domain
|
|
1417
1465
|
|
|
1418
1466
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
|
1419
1467
|
# and time zone are either specified elsewhere or are not significant. The date
|
|
1420
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
|
1421
|
-
#
|
|
1422
|
-
# * A
|
|
1423
|
-
# * A year
|
|
1424
|
-
#
|
|
1425
|
-
#
|
|
1468
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
|
1469
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
|
1470
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
|
1471
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
|
1472
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
|
1473
|
+
# Timestamp`.
|
|
1426
1474
|
# Corresponds to the JSON property `endDate`
|
|
1427
1475
|
# @return [Google::Apis::PeopleV1::Date]
|
|
1428
1476
|
attr_accessor :end_date
|
|
@@ -1460,12 +1508,12 @@ module Google
|
|
|
1460
1508
|
|
|
1461
1509
|
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
|
1462
1510
|
# and time zone are either specified elsewhere or are not significant. The date
|
|
1463
|
-
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
|
1464
|
-
#
|
|
1465
|
-
# * A
|
|
1466
|
-
# * A year
|
|
1467
|
-
#
|
|
1468
|
-
#
|
|
1511
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent: * A full
|
|
1512
|
+
# date, with non-zero year, month and day values * A month and day value, with a
|
|
1513
|
+
# zero year, e.g. an anniversary * A year on its own, with zero month and day
|
|
1514
|
+
# values * A year and month value, with a zero day, e.g. a credit card
|
|
1515
|
+
# expiration date Related types are google.type.TimeOfDay and `google.protobuf.
|
|
1516
|
+
# Timestamp`.
|
|
1469
1517
|
# Corresponds to the JSON property `startDate`
|
|
1470
1518
|
# @return [Google::Apis::PeopleV1::Date]
|
|
1471
1519
|
attr_accessor :start_date
|
|
@@ -1481,10 +1529,8 @@ module Google
|
|
|
1481
1529
|
# @return [String]
|
|
1482
1530
|
attr_accessor :title
|
|
1483
1531
|
|
|
1484
|
-
# The type of the organization. The type can be custom or
|
|
1485
|
-
# predefined values:
|
|
1486
|
-
# * `work`
|
|
1487
|
-
# * `school`
|
|
1532
|
+
# The type of the organization. The type can be custom or one of these
|
|
1533
|
+
# predefined values: * `work` * `school`
|
|
1488
1534
|
# Corresponds to the JSON property `type`
|
|
1489
1535
|
# @return [String]
|
|
1490
1536
|
attr_accessor :type
|
|
@@ -1513,10 +1559,9 @@ module Google
|
|
|
1513
1559
|
end
|
|
1514
1560
|
|
|
1515
1561
|
# Information about a person merged from various data sources such as the
|
|
1516
|
-
# authenticated user's contacts and profile data.
|
|
1517
|
-
#
|
|
1518
|
-
#
|
|
1519
|
-
# `metadata.primary` set to true.
|
|
1562
|
+
# authenticated user's contacts and profile data. Most fields can have multiple
|
|
1563
|
+
# items. The items in a field have no guaranteed order, but each non-empty field
|
|
1564
|
+
# is guaranteed to have exactly one field with `metadata.primary` set to true.
|
|
1520
1565
|
class Person
|
|
1521
1566
|
include Google::Apis::Core::Hashable
|
|
1522
1567
|
|
|
@@ -1525,8 +1570,8 @@ module Google
|
|
|
1525
1570
|
# @return [Array<Google::Apis::PeopleV1::Address>]
|
|
1526
1571
|
attr_accessor :addresses
|
|
1527
1572
|
|
|
1528
|
-
# Output only. **DEPRECATED** (Please use `person.ageRanges` instead)
|
|
1529
|
-
#
|
|
1573
|
+
# Output only. **DEPRECATED** (Please use `person.ageRanges` instead) The person'
|
|
1574
|
+
# s age range.
|
|
1530
1575
|
# Corresponds to the JSON property `ageRange`
|
|
1531
1576
|
# @return [String]
|
|
1532
1577
|
attr_accessor :age_range
|
|
@@ -1536,22 +1581,26 @@ module Google
|
|
|
1536
1581
|
# @return [Array<Google::Apis::PeopleV1::AgeRangeType>]
|
|
1537
1582
|
attr_accessor :age_ranges
|
|
1538
1583
|
|
|
1539
|
-
# The person's biographies.
|
|
1584
|
+
# The person's biographies. This field is a singleton for contact sources.
|
|
1540
1585
|
# Corresponds to the JSON property `biographies`
|
|
1541
1586
|
# @return [Array<Google::Apis::PeopleV1::Biography>]
|
|
1542
1587
|
attr_accessor :biographies
|
|
1543
1588
|
|
|
1544
|
-
# The person's birthdays.
|
|
1589
|
+
# The person's birthdays. This field is a singleton for contact sources.
|
|
1545
1590
|
# Corresponds to the JSON property `birthdays`
|
|
1546
1591
|
# @return [Array<Google::Apis::PeopleV1::Birthday>]
|
|
1547
1592
|
attr_accessor :birthdays
|
|
1548
1593
|
|
|
1549
|
-
# **DEPRECATED**: No data will be returned
|
|
1550
|
-
# The person's bragging rights.
|
|
1594
|
+
# **DEPRECATED**: No data will be returned The person's bragging rights.
|
|
1551
1595
|
# Corresponds to the JSON property `braggingRights`
|
|
1552
1596
|
# @return [Array<Google::Apis::PeopleV1::BraggingRights>]
|
|
1553
1597
|
attr_accessor :bragging_rights
|
|
1554
1598
|
|
|
1599
|
+
# The person's calendar URLs.
|
|
1600
|
+
# Corresponds to the JSON property `calendarUrls`
|
|
1601
|
+
# @return [Array<Google::Apis::PeopleV1::CalendarUrl>]
|
|
1602
|
+
attr_accessor :calendar_urls
|
|
1603
|
+
|
|
1555
1604
|
# Output only. The person's cover photos.
|
|
1556
1605
|
# Corresponds to the JSON property `coverPhotos`
|
|
1557
1606
|
# @return [Array<Google::Apis::PeopleV1::CoverPhoto>]
|
|
@@ -1562,8 +1611,8 @@ module Google
|
|
|
1562
1611
|
# @return [Array<Google::Apis::PeopleV1::EmailAddress>]
|
|
1563
1612
|
attr_accessor :email_addresses
|
|
1564
1613
|
|
|
1565
|
-
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
|
1566
|
-
#
|
|
1614
|
+
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource.
|
|
1615
|
+
# Used for web cache validation.
|
|
1567
1616
|
# Corresponds to the JSON property `etag`
|
|
1568
1617
|
# @return [String]
|
|
1569
1618
|
attr_accessor :etag
|
|
@@ -1573,12 +1622,17 @@ module Google
|
|
|
1573
1622
|
# @return [Array<Google::Apis::PeopleV1::Event>]
|
|
1574
1623
|
attr_accessor :events
|
|
1575
1624
|
|
|
1625
|
+
# The person's external IDs.
|
|
1626
|
+
# Corresponds to the JSON property `externalIds`
|
|
1627
|
+
# @return [Array<Google::Apis::PeopleV1::ExternalId>]
|
|
1628
|
+
attr_accessor :external_ids
|
|
1629
|
+
|
|
1576
1630
|
# The person's file-ases.
|
|
1577
1631
|
# Corresponds to the JSON property `fileAses`
|
|
1578
1632
|
# @return [Array<Google::Apis::PeopleV1::FileAs>]
|
|
1579
1633
|
attr_accessor :file_ases
|
|
1580
1634
|
|
|
1581
|
-
# The person's genders.
|
|
1635
|
+
# The person's genders. This field is a singleton for contact sources.
|
|
1582
1636
|
# Corresponds to the JSON property `genders`
|
|
1583
1637
|
# @return [Array<Google::Apis::PeopleV1::Gender>]
|
|
1584
1638
|
attr_accessor :genders
|
|
@@ -1608,7 +1662,12 @@ module Google
|
|
|
1608
1662
|
# @return [Google::Apis::PeopleV1::PersonMetadata]
|
|
1609
1663
|
attr_accessor :metadata
|
|
1610
1664
|
|
|
1611
|
-
# The person's
|
|
1665
|
+
# The person's miscellaneous keywords.
|
|
1666
|
+
# Corresponds to the JSON property `miscKeywords`
|
|
1667
|
+
# @return [Array<Google::Apis::PeopleV1::MiscKeyword>]
|
|
1668
|
+
attr_accessor :misc_keywords
|
|
1669
|
+
|
|
1670
|
+
# The person's names. This field is a singleton for contact sources.
|
|
1612
1671
|
# Corresponds to the JSON property `names`
|
|
1613
1672
|
# @return [Array<Google::Apis::PeopleV1::Name>]
|
|
1614
1673
|
attr_accessor :names
|
|
@@ -1643,14 +1702,14 @@ module Google
|
|
|
1643
1702
|
# @return [Array<Google::Apis::PeopleV1::Relation>]
|
|
1644
1703
|
attr_accessor :relations
|
|
1645
1704
|
|
|
1646
|
-
# Output only. **DEPRECATED**: No data will be returned
|
|
1647
|
-
#
|
|
1705
|
+
# Output only. **DEPRECATED**: No data will be returned The person's
|
|
1706
|
+
# relationship interests.
|
|
1648
1707
|
# Corresponds to the JSON property `relationshipInterests`
|
|
1649
1708
|
# @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
|
|
1650
1709
|
attr_accessor :relationship_interests
|
|
1651
1710
|
|
|
1652
|
-
# Output only. **DEPRECATED**: No data will be returned
|
|
1653
|
-
#
|
|
1711
|
+
# Output only. **DEPRECATED**: No data will be returned The person's
|
|
1712
|
+
# relationship statuses.
|
|
1654
1713
|
# Corresponds to the JSON property `relationshipStatuses`
|
|
1655
1714
|
# @return [Array<Google::Apis::PeopleV1::RelationshipStatus>]
|
|
1656
1715
|
attr_accessor :relationship_statuses
|
|
@@ -1660,9 +1719,8 @@ module Google
|
|
|
1660
1719
|
# @return [Array<Google::Apis::PeopleV1::Residence>]
|
|
1661
1720
|
attr_accessor :residences
|
|
1662
1721
|
|
|
1663
|
-
# The resource name for the person, assigned by the server. An ASCII string
|
|
1664
|
-
#
|
|
1665
|
-
# `people/`person_id``.
|
|
1722
|
+
# The resource name for the person, assigned by the server. An ASCII string with
|
|
1723
|
+
# a max length of 27 characters, in the form of `people/`person_id``.
|
|
1666
1724
|
# Corresponds to the JSON property `resourceName`
|
|
1667
1725
|
# @return [String]
|
|
1668
1726
|
attr_accessor :resource_name
|
|
@@ -1677,8 +1735,7 @@ module Google
|
|
|
1677
1735
|
# @return [Array<Google::Apis::PeopleV1::Skill>]
|
|
1678
1736
|
attr_accessor :skills
|
|
1679
1737
|
|
|
1680
|
-
# Output only. **DEPRECATED**: No data will be returned
|
|
1681
|
-
# The person's taglines.
|
|
1738
|
+
# Output only. **DEPRECATED**: No data will be returned The person's taglines.
|
|
1682
1739
|
# Corresponds to the JSON property `taglines`
|
|
1683
1740
|
# @return [Array<Google::Apis::PeopleV1::Tagline>]
|
|
1684
1741
|
attr_accessor :taglines
|
|
@@ -1705,10 +1762,12 @@ module Google
|
|
|
1705
1762
|
@biographies = args[:biographies] if args.key?(:biographies)
|
|
1706
1763
|
@birthdays = args[:birthdays] if args.key?(:birthdays)
|
|
1707
1764
|
@bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
|
|
1765
|
+
@calendar_urls = args[:calendar_urls] if args.key?(:calendar_urls)
|
|
1708
1766
|
@cover_photos = args[:cover_photos] if args.key?(:cover_photos)
|
|
1709
1767
|
@email_addresses = args[:email_addresses] if args.key?(:email_addresses)
|
|
1710
1768
|
@etag = args[:etag] if args.key?(:etag)
|
|
1711
1769
|
@events = args[:events] if args.key?(:events)
|
|
1770
|
+
@external_ids = args[:external_ids] if args.key?(:external_ids)
|
|
1712
1771
|
@file_ases = args[:file_ases] if args.key?(:file_ases)
|
|
1713
1772
|
@genders = args[:genders] if args.key?(:genders)
|
|
1714
1773
|
@im_clients = args[:im_clients] if args.key?(:im_clients)
|
|
@@ -1716,6 +1775,7 @@ module Google
|
|
|
1716
1775
|
@locales = args[:locales] if args.key?(:locales)
|
|
1717
1776
|
@memberships = args[:memberships] if args.key?(:memberships)
|
|
1718
1777
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1778
|
+
@misc_keywords = args[:misc_keywords] if args.key?(:misc_keywords)
|
|
1719
1779
|
@names = args[:names] if args.key?(:names)
|
|
1720
1780
|
@nicknames = args[:nicknames] if args.key?(:nicknames)
|
|
1721
1781
|
@occupations = args[:occupations] if args.key?(:occupations)
|
|
@@ -1739,9 +1799,9 @@ module Google
|
|
|
1739
1799
|
class PersonMetadata
|
|
1740
1800
|
include Google::Apis::Core::Hashable
|
|
1741
1801
|
|
|
1742
|
-
# Output only. True if the person resource has been deleted. Populated only for
|
|
1743
|
-
#
|
|
1744
|
-
#
|
|
1802
|
+
# Output only. True if the person resource has been deleted. Populated only for [
|
|
1803
|
+
# `connections.list`](/people/api/rest/v1/people.connections/list) requests that
|
|
1804
|
+
# include a sync token.
|
|
1745
1805
|
# Corresponds to the JSON property `deleted`
|
|
1746
1806
|
# @return [Boolean]
|
|
1747
1807
|
attr_accessor :deleted
|
|
@@ -1752,19 +1812,17 @@ module Google
|
|
|
1752
1812
|
# @return [Array<String>]
|
|
1753
1813
|
attr_accessor :linked_people_resource_names
|
|
1754
1814
|
|
|
1755
|
-
# Output only. **DEPRECATED** (Please use
|
|
1756
|
-
#
|
|
1757
|
-
# The type of the person object.
|
|
1815
|
+
# Output only. **DEPRECATED** (Please use `person.metadata.sources.
|
|
1816
|
+
# profileMetadata.objectType` instead) The type of the person object.
|
|
1758
1817
|
# Corresponds to the JSON property `objectType`
|
|
1759
1818
|
# @return [String]
|
|
1760
1819
|
attr_accessor :object_type
|
|
1761
1820
|
|
|
1762
1821
|
# Output only. Any former resource names this person has had. Populated only for
|
|
1763
1822
|
# [`connections.list`](/people/api/rest/v1/people.connections/list) requests
|
|
1764
|
-
# that include a sync token.
|
|
1765
|
-
#
|
|
1766
|
-
#
|
|
1767
|
-
# profile URL.
|
|
1823
|
+
# that include a sync token. The resource name may change when adding or
|
|
1824
|
+
# removing fields that link a contact and profile such as a verified email,
|
|
1825
|
+
# verified phone number, or profile URL.
|
|
1768
1826
|
# Corresponds to the JSON property `previousResourceNames`
|
|
1769
1827
|
# @return [Array<String>]
|
|
1770
1828
|
attr_accessor :previous_resource_names
|
|
@@ -1792,37 +1850,34 @@ module Google
|
|
|
1792
1850
|
class PersonResponse
|
|
1793
1851
|
include Google::Apis::Core::Hashable
|
|
1794
1852
|
|
|
1795
|
-
# **DEPRECATED** (Please use status instead)
|
|
1796
|
-
#
|
|
1797
|
-
# (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
|
|
1853
|
+
# **DEPRECATED** (Please use status instead) [HTTP 1.1 status code] (http://www.
|
|
1854
|
+
# w3.org/Protocols/rfc2616/rfc2616-sec10.html).
|
|
1798
1855
|
# Corresponds to the JSON property `httpStatusCode`
|
|
1799
1856
|
# @return [Fixnum]
|
|
1800
1857
|
attr_accessor :http_status_code
|
|
1801
1858
|
|
|
1802
1859
|
# Information about a person merged from various data sources such as the
|
|
1803
|
-
# authenticated user's contacts and profile data.
|
|
1804
|
-
#
|
|
1805
|
-
#
|
|
1806
|
-
# `metadata.primary` set to true.
|
|
1860
|
+
# authenticated user's contacts and profile data. Most fields can have multiple
|
|
1861
|
+
# items. The items in a field have no guaranteed order, but each non-empty field
|
|
1862
|
+
# is guaranteed to have exactly one field with `metadata.primary` set to true.
|
|
1807
1863
|
# Corresponds to the JSON property `person`
|
|
1808
1864
|
# @return [Google::Apis::PeopleV1::Person]
|
|
1809
1865
|
attr_accessor :person
|
|
1810
1866
|
|
|
1811
|
-
# The original requested resource name. May be different than the resource
|
|
1812
|
-
#
|
|
1813
|
-
#
|
|
1814
|
-
#
|
|
1815
|
-
# profile URL.
|
|
1867
|
+
# The original requested resource name. May be different than the resource name
|
|
1868
|
+
# on the returned person. The resource name can change when adding or removing
|
|
1869
|
+
# fields that link a contact and profile such as a verified email, verified
|
|
1870
|
+
# phone number, or a profile URL.
|
|
1816
1871
|
# Corresponds to the JSON property `requestedResourceName`
|
|
1817
1872
|
# @return [String]
|
|
1818
1873
|
attr_accessor :requested_resource_name
|
|
1819
1874
|
|
|
1820
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
1821
|
-
#
|
|
1822
|
-
#
|
|
1823
|
-
#
|
|
1824
|
-
#
|
|
1825
|
-
#
|
|
1875
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
1876
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1877
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1878
|
+
# data: error code, error message, and error details. You can find out more
|
|
1879
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
1880
|
+
# //cloud.google.com/apis/design/errors).
|
|
1826
1881
|
# Corresponds to the JSON property `status`
|
|
1827
1882
|
# @return [Google::Apis::PeopleV1::Status]
|
|
1828
1883
|
attr_accessor :status
|
|
@@ -1844,9 +1899,8 @@ module Google
|
|
|
1844
1899
|
class PhoneNumber
|
|
1845
1900
|
include Google::Apis::Core::Hashable
|
|
1846
1901
|
|
|
1847
|
-
# Output only. The canonicalized [ITU-T
|
|
1848
|
-
#
|
|
1849
|
-
# form of the phone number.
|
|
1902
|
+
# Output only. The canonicalized [ITU-T E.164](https://law.resource.org/pub/us/
|
|
1903
|
+
# cfr/ibr/004/itu-t.E.164.1.2008.pdf) form of the phone number.
|
|
1850
1904
|
# Corresponds to the JSON property `canonicalForm`
|
|
1851
1905
|
# @return [String]
|
|
1852
1906
|
attr_accessor :canonical_form
|
|
@@ -1863,19 +1917,9 @@ module Google
|
|
|
1863
1917
|
attr_accessor :metadata
|
|
1864
1918
|
|
|
1865
1919
|
# The type of the phone number. The type can be custom or one of these
|
|
1866
|
-
# predefined values:
|
|
1867
|
-
# * `
|
|
1868
|
-
#
|
|
1869
|
-
# * `mobile`
|
|
1870
|
-
# * `homeFax`
|
|
1871
|
-
# * `workFax`
|
|
1872
|
-
# * `otherFax`
|
|
1873
|
-
# * `pager`
|
|
1874
|
-
# * `workMobile`
|
|
1875
|
-
# * `workPager`
|
|
1876
|
-
# * `main`
|
|
1877
|
-
# * `googleVoice`
|
|
1878
|
-
# * `other`
|
|
1920
|
+
# predefined values: * `home` * `work` * `mobile` * `homeFax` * `workFax` * `
|
|
1921
|
+
# otherFax` * `pager` * `workMobile` * `workPager` * `main` * `googleVoice` * `
|
|
1922
|
+
# other`
|
|
1879
1923
|
# Corresponds to the JSON property `type`
|
|
1880
1924
|
# @return [String]
|
|
1881
1925
|
attr_accessor :type
|
|
@@ -1899,13 +1943,13 @@ module Google
|
|
|
1899
1943
|
end
|
|
1900
1944
|
end
|
|
1901
1945
|
|
|
1902
|
-
# A person's photo. A picture shown next to the person's name to
|
|
1903
|
-
#
|
|
1946
|
+
# A person's photo. A picture shown next to the person's name to help others
|
|
1947
|
+
# recognize the person.
|
|
1904
1948
|
class Photo
|
|
1905
1949
|
include Google::Apis::Core::Hashable
|
|
1906
1950
|
|
|
1907
|
-
# True if the photo is a default photo;
|
|
1908
|
-
#
|
|
1951
|
+
# True if the photo is a default photo; false if the photo is a user-provided
|
|
1952
|
+
# photo.
|
|
1909
1953
|
# Corresponds to the JSON property `default`
|
|
1910
1954
|
# @return [Boolean]
|
|
1911
1955
|
attr_accessor :default
|
|
@@ -1918,9 +1962,8 @@ module Google
|
|
|
1918
1962
|
|
|
1919
1963
|
# The URL of the photo. You can change the desired size by appending a query
|
|
1920
1964
|
# parameter `sz=`size`` at the end of the url, where `size` is the size in
|
|
1921
|
-
# pixels. Example:
|
|
1922
|
-
#
|
|
1923
|
-
# 00gzXvDBYqw/s100/photo.jpg?sz=50
|
|
1965
|
+
# pixels. Example: https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/
|
|
1966
|
+
# AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50
|
|
1924
1967
|
# Corresponds to the JSON property `url`
|
|
1925
1968
|
# @return [String]
|
|
1926
1969
|
attr_accessor :url
|
|
@@ -1983,21 +2026,9 @@ module Google
|
|
|
1983
2026
|
attr_accessor :person
|
|
1984
2027
|
|
|
1985
2028
|
# The person's relation to the other person. The type can be custom or one of
|
|
1986
|
-
# these predefined values:
|
|
1987
|
-
# * `
|
|
1988
|
-
# * `
|
|
1989
|
-
# * `mother`
|
|
1990
|
-
# * `father`
|
|
1991
|
-
# * `parent`
|
|
1992
|
-
# * `brother`
|
|
1993
|
-
# * `sister`
|
|
1994
|
-
# * `friend`
|
|
1995
|
-
# * `relative`
|
|
1996
|
-
# * `domesticPartner`
|
|
1997
|
-
# * `manager`
|
|
1998
|
-
# * `assistant`
|
|
1999
|
-
# * `referredBy`
|
|
2000
|
-
# * `partner`
|
|
2029
|
+
# these predefined values: * `spouse` * `child` * `mother` * `father` * `parent`
|
|
2030
|
+
# * `brother` * `sister` * `friend` * `relative` * `domesticPartner` * `manager`
|
|
2031
|
+
# * `assistant` * `referredBy` * `partner`
|
|
2001
2032
|
# Corresponds to the JSON property `type`
|
|
2002
2033
|
# @return [String]
|
|
2003
2034
|
attr_accessor :type
|
|
@@ -2015,14 +2046,13 @@ module Google
|
|
|
2015
2046
|
end
|
|
2016
2047
|
end
|
|
2017
2048
|
|
|
2018
|
-
# **DEPRECATED**: No data will be returned
|
|
2019
|
-
# A person's relationship interest .
|
|
2049
|
+
# **DEPRECATED**: No data will be returned A person's relationship interest .
|
|
2020
2050
|
class RelationshipInterest
|
|
2021
2051
|
include Google::Apis::Core::Hashable
|
|
2022
2052
|
|
|
2023
2053
|
# Output only. The value of the relationship interest translated and formatted
|
|
2024
|
-
# in the viewer's account locale or the locale specified in the
|
|
2025
|
-
#
|
|
2054
|
+
# in the viewer's account locale or the locale specified in the Accept-Language
|
|
2055
|
+
# HTTP header.
|
|
2026
2056
|
# Corresponds to the JSON property `formattedValue`
|
|
2027
2057
|
# @return [String]
|
|
2028
2058
|
attr_accessor :formatted_value
|
|
@@ -2032,12 +2062,9 @@ module Google
|
|
|
2032
2062
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
2033
2063
|
attr_accessor :metadata
|
|
2034
2064
|
|
|
2035
|
-
# The kind of relationship the person is looking for. The value can be custom
|
|
2036
|
-
#
|
|
2037
|
-
#
|
|
2038
|
-
# * `date`
|
|
2039
|
-
# * `relationship`
|
|
2040
|
-
# * `networking`
|
|
2065
|
+
# The kind of relationship the person is looking for. The value can be custom or
|
|
2066
|
+
# one of these predefined values: * `friend` * `date` * `relationship` * `
|
|
2067
|
+
# networking`
|
|
2041
2068
|
# Corresponds to the JSON property `value`
|
|
2042
2069
|
# @return [String]
|
|
2043
2070
|
attr_accessor :value
|
|
@@ -2054,8 +2081,7 @@ module Google
|
|
|
2054
2081
|
end
|
|
2055
2082
|
end
|
|
2056
2083
|
|
|
2057
|
-
# **DEPRECATED**: No data will be returned
|
|
2058
|
-
# A person's relationship status.
|
|
2084
|
+
# **DEPRECATED**: No data will be returned A person's relationship status.
|
|
2059
2085
|
class RelationshipStatus
|
|
2060
2086
|
include Google::Apis::Core::Hashable
|
|
2061
2087
|
|
|
@@ -2070,17 +2096,10 @@ module Google
|
|
|
2070
2096
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
2071
2097
|
attr_accessor :metadata
|
|
2072
2098
|
|
|
2073
|
-
# The relationship status. The value can be custom or one of these
|
|
2074
|
-
#
|
|
2075
|
-
# * `
|
|
2076
|
-
#
|
|
2077
|
-
# * `engaged`
|
|
2078
|
-
# * `married`
|
|
2079
|
-
# * `itsComplicated`
|
|
2080
|
-
# * `openRelationship`
|
|
2081
|
-
# * `widowed`
|
|
2082
|
-
# * `inDomesticPartnership`
|
|
2083
|
-
# * `inCivilUnion`
|
|
2099
|
+
# The relationship status. The value can be custom or one of these predefined
|
|
2100
|
+
# values: * `single` * `inARelationship` * `engaged` * `married` * `
|
|
2101
|
+
# itsComplicated` * `openRelationship` * `widowed` * `inDomesticPartnership` * `
|
|
2102
|
+
# inCivilUnion`
|
|
2084
2103
|
# Corresponds to the JSON property `value`
|
|
2085
2104
|
# @return [String]
|
|
2086
2105
|
attr_accessor :value
|
|
@@ -2101,8 +2120,8 @@ module Google
|
|
|
2101
2120
|
class Residence
|
|
2102
2121
|
include Google::Apis::Core::Hashable
|
|
2103
2122
|
|
|
2104
|
-
# True if the residence is the person's current residence;
|
|
2105
|
-
#
|
|
2123
|
+
# True if the residence is the person's current residence; false if the
|
|
2124
|
+
# residence is a past residence.
|
|
2106
2125
|
# Corresponds to the JSON property `current`
|
|
2107
2126
|
# @return [Boolean]
|
|
2108
2127
|
attr_accessor :current
|
|
@@ -2135,8 +2154,8 @@ module Google
|
|
|
2135
2154
|
class SearchDirectoryPeopleResponse
|
|
2136
2155
|
include Google::Apis::Core::Hashable
|
|
2137
2156
|
|
|
2138
|
-
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
2139
|
-
#
|
|
2157
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
|
2158
|
+
# field is omitted, there are no subsequent pages.
|
|
2140
2159
|
# Corresponds to the JSON property `nextPageToken`
|
|
2141
2160
|
# @return [String]
|
|
2142
2161
|
attr_accessor :next_page_token
|
|
@@ -2180,18 +2199,13 @@ module Google
|
|
|
2180
2199
|
attr_accessor :metadata
|
|
2181
2200
|
|
|
2182
2201
|
# The type of the SIP address. The type can be custom or or one of these
|
|
2183
|
-
# predefined values:
|
|
2184
|
-
# * `home`
|
|
2185
|
-
# * `work`
|
|
2186
|
-
# * `mobile`
|
|
2187
|
-
# * `other`
|
|
2202
|
+
# predefined values: * `home` * `work` * `mobile` * `other`
|
|
2188
2203
|
# Corresponds to the JSON property `type`
|
|
2189
2204
|
# @return [String]
|
|
2190
2205
|
attr_accessor :type
|
|
2191
2206
|
|
|
2192
|
-
# The SIP address in the
|
|
2193
|
-
#
|
|
2194
|
-
# format.
|
|
2207
|
+
# The SIP address in the [RFC 3261 19.1](https://tools.ietf.org/html/rfc3261#
|
|
2208
|
+
# section-19.1) SIP URI format.
|
|
2195
2209
|
# Corresponds to the JSON property `value`
|
|
2196
2210
|
# @return [String]
|
|
2197
2211
|
attr_accessor :value
|
|
@@ -2238,9 +2252,8 @@ module Google
|
|
|
2238
2252
|
class Source
|
|
2239
2253
|
include Google::Apis::Core::Hashable
|
|
2240
2254
|
|
|
2241
|
-
# **Only populated in `person.metadata.sources`.**
|
|
2242
|
-
#
|
|
2243
|
-
# source. Used for web cache validation.
|
|
2255
|
+
# **Only populated in `person.metadata.sources`.** The [HTTP entity tag](https://
|
|
2256
|
+
# en.wikipedia.org/wiki/HTTP_ETag) of the source. Used for web cache validation.
|
|
2244
2257
|
# Corresponds to the JSON property `etag`
|
|
2245
2258
|
# @return [String]
|
|
2246
2259
|
attr_accessor :etag
|
|
@@ -2260,8 +2273,8 @@ module Google
|
|
|
2260
2273
|
# @return [String]
|
|
2261
2274
|
attr_accessor :type
|
|
2262
2275
|
|
|
2263
|
-
# Output only. **Only populated in `person.metadata.sources`.**
|
|
2264
|
-
#
|
|
2276
|
+
# Output only. **Only populated in `person.metadata.sources`.** Last update
|
|
2277
|
+
# timestamp of this source.
|
|
2265
2278
|
# Corresponds to the JSON property `updateTime`
|
|
2266
2279
|
# @return [String]
|
|
2267
2280
|
attr_accessor :update_time
|
|
@@ -2280,12 +2293,12 @@ module Google
|
|
|
2280
2293
|
end
|
|
2281
2294
|
end
|
|
2282
2295
|
|
|
2283
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
2284
|
-
#
|
|
2285
|
-
#
|
|
2286
|
-
#
|
|
2287
|
-
#
|
|
2288
|
-
#
|
|
2296
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
2297
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2298
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
2299
|
+
# data: error code, error message, and error details. You can find out more
|
|
2300
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
2301
|
+
# //cloud.google.com/apis/design/errors).
|
|
2289
2302
|
class Status
|
|
2290
2303
|
include Google::Apis::Core::Hashable
|
|
2291
2304
|
|
|
@@ -2294,15 +2307,15 @@ module Google
|
|
|
2294
2307
|
# @return [Fixnum]
|
|
2295
2308
|
attr_accessor :code
|
|
2296
2309
|
|
|
2297
|
-
# A list of messages that carry the error details.
|
|
2310
|
+
# A list of messages that carry the error details. There is a common set of
|
|
2298
2311
|
# message types for APIs to use.
|
|
2299
2312
|
# Corresponds to the JSON property `details`
|
|
2300
2313
|
# @return [Array<Hash<String,Object>>]
|
|
2301
2314
|
attr_accessor :details
|
|
2302
2315
|
|
|
2303
|
-
# A developer-facing error message, which should be in English. Any
|
|
2304
|
-
#
|
|
2305
|
-
#
|
|
2316
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
2317
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
2318
|
+
# field, or localized by the client.
|
|
2306
2319
|
# Corresponds to the JSON property `message`
|
|
2307
2320
|
# @return [String]
|
|
2308
2321
|
attr_accessor :message
|
|
@@ -2319,8 +2332,8 @@ module Google
|
|
|
2319
2332
|
end
|
|
2320
2333
|
end
|
|
2321
2334
|
|
|
2322
|
-
# **DEPRECATED**: No data will be returned
|
|
2323
|
-
#
|
|
2335
|
+
# **DEPRECATED**: No data will be returned A brief one-line description of the
|
|
2336
|
+
# person.
|
|
2324
2337
|
class Tagline
|
|
2325
2338
|
include Google::Apis::Core::Hashable
|
|
2326
2339
|
|
|
@@ -2345,8 +2358,8 @@ module Google
|
|
|
2345
2358
|
end
|
|
2346
2359
|
end
|
|
2347
2360
|
|
|
2348
|
-
# A request to update an existing user contact group. All updated fields will
|
|
2349
|
-
#
|
|
2361
|
+
# A request to update an existing user contact group. All updated fields will be
|
|
2362
|
+
# replaced.
|
|
2350
2363
|
class UpdateContactGroupRequest
|
|
2351
2364
|
include Google::Apis::Core::Hashable
|
|
2352
2365
|
|
|
@@ -2365,40 +2378,19 @@ module Google
|
|
|
2365
2378
|
end
|
|
2366
2379
|
end
|
|
2367
2380
|
|
|
2368
|
-
# A request to update an existing contact's photo.
|
|
2369
|
-
#
|
|
2381
|
+
# A request to update an existing contact's photo. All requests must have a
|
|
2382
|
+
# valid photo format: JPEG or PNG.
|
|
2370
2383
|
class UpdateContactPhotoRequest
|
|
2371
2384
|
include Google::Apis::Core::Hashable
|
|
2372
2385
|
|
|
2373
2386
|
# Optional. A field mask to restrict which fields on the person are returned.
|
|
2374
|
-
# Multiple
|
|
2375
|
-
#
|
|
2376
|
-
#
|
|
2377
|
-
# *
|
|
2378
|
-
# *
|
|
2379
|
-
# *
|
|
2380
|
-
# *
|
|
2381
|
-
# * coverPhotos
|
|
2382
|
-
# * emailAddresses
|
|
2383
|
-
# * events
|
|
2384
|
-
# * genders
|
|
2385
|
-
# * imClients
|
|
2386
|
-
# * interests
|
|
2387
|
-
# * locales
|
|
2388
|
-
# * memberships
|
|
2389
|
-
# * metadata
|
|
2390
|
-
# * names
|
|
2391
|
-
# * nicknames
|
|
2392
|
-
# * occupations
|
|
2393
|
-
# * organizations
|
|
2394
|
-
# * phoneNumbers
|
|
2395
|
-
# * photos
|
|
2396
|
-
# * relations
|
|
2397
|
-
# * residences
|
|
2398
|
-
# * sipAddresses
|
|
2399
|
-
# * skills
|
|
2400
|
-
# * urls
|
|
2401
|
-
# * userDefined
|
|
2387
|
+
# Multiple fields can be specified by separating them with commas. Defaults to
|
|
2388
|
+
# empty if not set, which will skip the post mutate get. Valid values are: *
|
|
2389
|
+
# addresses * ageRanges * biographies * birthdays * calendarUrls * coverPhotos *
|
|
2390
|
+
# emailAddresses * events * externalIds * genders * imClients * interests *
|
|
2391
|
+
# locales * memberships * metadata * miscKeywords * names * nicknames *
|
|
2392
|
+
# occupations * organizations * phoneNumbers * photos * relations * residences *
|
|
2393
|
+
# sipAddresses * skills * urls * userDefined
|
|
2402
2394
|
# Corresponds to the JSON property `personFields`
|
|
2403
2395
|
# @return [String]
|
|
2404
2396
|
attr_accessor :person_fields
|
|
@@ -2409,10 +2401,8 @@ module Google
|
|
|
2409
2401
|
# @return [String]
|
|
2410
2402
|
attr_accessor :photo_bytes
|
|
2411
2403
|
|
|
2412
|
-
# Optional. A mask of what source types to return. Defaults to
|
|
2413
|
-
# ReadSourceType.
|
|
2414
|
-
# ReadSourceType.PROFILE if not
|
|
2415
|
-
# set.
|
|
2404
|
+
# Optional. A mask of what source types to return. Defaults to ReadSourceType.
|
|
2405
|
+
# CONTACT and ReadSourceType.PROFILE if not set.
|
|
2416
2406
|
# Corresponds to the JSON property `sources`
|
|
2417
2407
|
# @return [Array<String>]
|
|
2418
2408
|
attr_accessor :sources
|
|
@@ -2434,10 +2424,9 @@ module Google
|
|
|
2434
2424
|
include Google::Apis::Core::Hashable
|
|
2435
2425
|
|
|
2436
2426
|
# Information about a person merged from various data sources such as the
|
|
2437
|
-
# authenticated user's contacts and profile data.
|
|
2438
|
-
#
|
|
2439
|
-
#
|
|
2440
|
-
# `metadata.primary` set to true.
|
|
2427
|
+
# authenticated user's contacts and profile data. Most fields can have multiple
|
|
2428
|
+
# items. The items in a field have no guaranteed order, but each non-empty field
|
|
2429
|
+
# is guaranteed to have exactly one field with `metadata.primary` set to true.
|
|
2441
2430
|
# Corresponds to the JSON property `person`
|
|
2442
2431
|
# @return [Google::Apis::PeopleV1::Person]
|
|
2443
2432
|
attr_accessor :person
|
|
@@ -2467,17 +2456,9 @@ module Google
|
|
|
2467
2456
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
2468
2457
|
attr_accessor :metadata
|
|
2469
2458
|
|
|
2470
|
-
# The type of the URL. The type can be custom or one of these predefined
|
|
2471
|
-
#
|
|
2472
|
-
# * `
|
|
2473
|
-
# * `work`
|
|
2474
|
-
# * `blog`
|
|
2475
|
-
# * `profile`
|
|
2476
|
-
# * `homePage`
|
|
2477
|
-
# * `ftp`
|
|
2478
|
-
# * `reservations`
|
|
2479
|
-
# * `appInstallPage`: website for a Google+ application.
|
|
2480
|
-
# * `other`
|
|
2459
|
+
# The type of the URL. The type can be custom or one of these predefined values:
|
|
2460
|
+
# * `home` * `work` * `blog` * `profile` * `homePage` * `ftp` * `reservations` *
|
|
2461
|
+
# `appInstallPage`: website for a Google+ application. * `other`
|
|
2481
2462
|
# Corresponds to the JSON property `type`
|
|
2482
2463
|
# @return [String]
|
|
2483
2464
|
attr_accessor :type
|