ReadSourceType
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Typ źródła danych zwracany w odpowiedziach.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003ereadSourceType\u003c/code\u003e specifies the desired data source type for responses.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eREAD_SOURCE_TYPE_PROFILE\u003c/code\u003e encompasses account, domain profile, and profile source types.\u003c/p\u003e\n"],["\u003cp\u003eOptions include specific source types like contact, domain contact, and other contact.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eREAD_SOURCE_TYPE_UNSPECIFIED\u003c/code\u003e serves as a default or neutral selection.\u003c/p\u003e\n"]]],["The data source type determines the content returned in responses. `READ_SOURCE_TYPE_UNSPECIFIED` is unspecified. `READ_SOURCE_TYPE_PROFILE` returns `ACCOUNT`, `DOMAIN_PROFILE`, and `PROFILE`. `READ_SOURCE_TYPE_CONTACT` returns `CONTACT`. `READ_SOURCE_TYPE_DOMAIN_CONTACT` returns `DOMAIN_CONTACT`. `READ_SOURCE_TYPE_OTHER_CONTACT` returns `OTHER_CONTACT`. Each source type corresponds to a specific enum value, detailing the kind of data being provided in the response.\n"],null,["# ReadSourceType\n\nData source type to return in responses.\n\n| Enums ||\n|-----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `READ_SOURCE_TYPE_UNSPECIFIED` | Unspecified. |\n| `READ_SOURCE_TYPE_PROFILE` | Returns [SourceType.ACCOUNT](/people/api/rest/v1/people#Person.SourceType.ENUM_VALUES.ACCOUNT), [SourceType.DOMAIN_PROFILE](/people/api/rest/v1/people#Person.SourceType.ENUM_VALUES.DOMAIN_PROFILE), and [SourceType.PROFILE](/people/api/rest/v1/people#Person.SourceType.ENUM_VALUES.PROFILE). |\n| `READ_SOURCE_TYPE_CONTACT` | Returns [SourceType.CONTACT](/people/api/rest/v1/people#Person.SourceType.ENUM_VALUES.CONTACT). |\n| `READ_SOURCE_TYPE_DOMAIN_CONTACT` | Returns [SourceType.DOMAIN_CONTACT](/people/api/rest/v1/people#Person.SourceType.ENUM_VALUES.DOMAIN_CONTACT). |\n| `READ_SOURCE_TYPE_OTHER_CONTACT` | Returns [SourceType.OTHER_CONTACT](/people/api/rest/v1/people#Person.SourceType.ENUM_VALUES.OTHER_CONTACT). |"]]