import { type UserProtectionScopeContainer } from '@microsoft/msgraph-sdk/models/index.js'; import { type ComputeRequestBuilder } from './compute/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the protectionScopes property of the microsoft.graph.userDataSecurityAndGovernance entity. */ export interface ProtectionScopesRequestBuilder extends BaseRequestBuilder { /** * Provides operations to call the compute method. */ get compute(): ComputeRequestBuilder; /** * Delete navigation property protectionScopes 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 | undefined): Promise; /** * Get protectionScopes from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Update the navigation property protectionScopes in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: UserProtectionScopeContainer, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Delete navigation property protectionScopes for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Get protectionScopes from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; /** * Update the navigation property protectionScopes 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: UserProtectionScopeContainer, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Get protectionScopes from users */ export interface ProtectionScopesRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ProtectionScopesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/dataSecurityAndGovernance/protectionScopes{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ProtectionScopesRequestBuilderNavigationMetadata: Record, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ProtectionScopesRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map