UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
93 lines 5.31 kB
import { type UserDataSecurityAndGovernance } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type ActivitiesRequestBuilder } from './activities/index.js'; import { type ProcessContentRequestBuilder } from './processContent/index.js'; import { type ProtectionScopesRequestBuilder } from './protectionScopes/index.js'; import { type SensitivityLabelsRequestBuilder } from './sensitivityLabels/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.user entity. */ export interface DataSecurityAndGovernanceRequestBuilder extends BaseRequestBuilder<DataSecurityAndGovernanceRequestBuilder> { /** * Provides operations to manage the activities property of the microsoft.graph.userDataSecurityAndGovernance entity. */ get activities(): ActivitiesRequestBuilder; /** * Provides operations to call the processContent method. */ get processContent(): ProcessContentRequestBuilder; /** * Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. */ get protectionScopes(): ProtectionScopesRequestBuilder; /** * Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. */ get sensitivityLabels(): SensitivityLabelsRequestBuilder; /** * Delete navigation property dataSecurityAndGovernance for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * The data security and governance settings for the user. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<UserDataSecurityAndGovernance>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DataSecurityAndGovernanceRequestBuilderGetQueryParameters> | undefined): Promise<UserDataSecurityAndGovernance | undefined>; /** * Update the navigation property dataSecurityAndGovernance in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<UserDataSecurityAndGovernance>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: UserDataSecurityAndGovernance, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UserDataSecurityAndGovernance | undefined>; /** * Delete navigation property dataSecurityAndGovernance for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The data security and governance settings for the user. Read-only. Nullable. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DataSecurityAndGovernanceRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property dataSecurityAndGovernance in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: UserDataSecurityAndGovernance, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The data security and governance settings for the user. Read-only. Nullable. */ export interface DataSecurityAndGovernanceRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DataSecurityAndGovernanceRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DataSecurityAndGovernanceRequestBuilderNavigationMetadata: Record<Exclude<keyof DataSecurityAndGovernanceRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DataSecurityAndGovernanceRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map