ReadSourceType
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Тип источника данных, возвращаемый в ответах.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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). |"]]