Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + type CreateDriveItemPermissionOperationOptions struct + Metadata *odata.Metadata + RetryFunc client.RequestRetryFunc + func DefaultCreateDriveItemPermissionOperationOptions() CreateDriveItemPermissionOperationOptions + func (o CreateDriveItemPermissionOperationOptions) ToHeaders() *client.Headers + func (o CreateDriveItemPermissionOperationOptions) ToOData() *odata.Query + func (o CreateDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams + type CreateDriveItemPermissionOperationResponse struct + HttpResponse *http.Response + Model *beta.Permission + OData *odata.OData + type DeleteDriveItemPermissionOperationOptions struct + IfMatch *string + Metadata *odata.Metadata + RetryFunc client.RequestRetryFunc + func DefaultDeleteDriveItemPermissionOperationOptions() DeleteDriveItemPermissionOperationOptions + func (o DeleteDriveItemPermissionOperationOptions) ToHeaders() *client.Headers + func (o DeleteDriveItemPermissionOperationOptions) ToOData() *odata.Query + func (o DeleteDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams + type DeleteDriveItemPermissionOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DriveItemPermissionClient struct + Client *msgraph.Client + func NewDriveItemPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveItemPermissionClient, error) + func (c DriveItemPermissionClient) CreateDriveItemPermission(ctx context.Context, id beta.MeDriveIdItemId, input beta.Permission, ...) (result CreateDriveItemPermissionOperationResponse, err error) + func (c DriveItemPermissionClient) DeleteDriveItemPermission(ctx context.Context, id beta.MeDriveIdItemIdPermissionId, ...) (result DeleteDriveItemPermissionOperationResponse, err error) + func (c DriveItemPermissionClient) GetDriveItemPermission(ctx context.Context, id beta.MeDriveIdItemIdPermissionId, ...) (result GetDriveItemPermissionOperationResponse, err error) + func (c DriveItemPermissionClient) GetDriveItemPermissionsCount(ctx context.Context, id beta.MeDriveIdItemId, ...) (result GetDriveItemPermissionsCountOperationResponse, err error) + func (c DriveItemPermissionClient) ListDriveItemPermissionGrants(ctx context.Context, id beta.MeDriveIdItemIdPermissionId, ...) (result ListDriveItemPermissionGrantsOperationResponse, err error) + func (c DriveItemPermissionClient) ListDriveItemPermissionGrantsComplete(ctx context.Context, id beta.MeDriveIdItemIdPermissionId, ...) (ListDriveItemPermissionGrantsCompleteResult, error) + func (c DriveItemPermissionClient) ListDriveItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.MeDriveIdItemIdPermissionId, ...) (result ListDriveItemPermissionGrantsCompleteResult, err error) + func (c DriveItemPermissionClient) ListDriveItemPermissions(ctx context.Context, id beta.MeDriveIdItemId, ...) (result ListDriveItemPermissionsOperationResponse, err error) + func (c DriveItemPermissionClient) ListDriveItemPermissionsComplete(ctx context.Context, id beta.MeDriveIdItemId, ...) (ListDriveItemPermissionsCompleteResult, error) + func (c DriveItemPermissionClient) ListDriveItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.MeDriveIdItemId, ...) (result ListDriveItemPermissionsCompleteResult, err error) + func (c DriveItemPermissionClient) RevokeDriveItemPermissionGrants(ctx context.Context, id beta.MeDriveIdItemIdPermissionId, ...) (result RevokeDriveItemPermissionGrantsOperationResponse, err error) + func (c DriveItemPermissionClient) UpdateDriveItemPermission(ctx context.Context, id beta.MeDriveIdItemIdPermissionId, ...) (result UpdateDriveItemPermissionOperationResponse, err error) + type GetDriveItemPermissionOperationOptions struct + Expand *odata.Expand + Metadata *odata.Metadata + RetryFunc client.RequestRetryFunc + Select *[]string + func DefaultGetDriveItemPermissionOperationOptions() GetDriveItemPermissionOperationOptions + func (o GetDriveItemPermissionOperationOptions) ToHeaders() *client.Headers + func (o GetDriveItemPermissionOperationOptions) ToOData() *odata.Query + func (o GetDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams + type GetDriveItemPermissionOperationResponse struct + HttpResponse *http.Response + Model *beta.Permission + OData *odata.OData + type GetDriveItemPermissionsCountOperationOptions struct + Filter *string + Metadata *odata.Metadata + RetryFunc client.RequestRetryFunc + Search *string + func DefaultGetDriveItemPermissionsCountOperationOptions() GetDriveItemPermissionsCountOperationOptions + func (o GetDriveItemPermissionsCountOperationOptions) ToHeaders() *client.Headers + func (o GetDriveItemPermissionsCountOperationOptions) ToOData() *odata.Query + func (o GetDriveItemPermissionsCountOperationOptions) ToQuery() *client.QueryParams + type GetDriveItemPermissionsCountOperationResponse struct + HttpResponse *http.Response + Model *[]byte + OData *odata.OData + type ListDriveItemPermissionGrantsCompleteResult struct + Items []beta.Permission + LatestHttpResponse *http.Response + type ListDriveItemPermissionGrantsCustomPager struct + NextLink *odata.Link + func (p *ListDriveItemPermissionGrantsCustomPager) NextPageLink() *odata.Link + type ListDriveItemPermissionGrantsOperationOptions struct + Metadata *odata.Metadata + RetryFunc client.RequestRetryFunc + Skip *int64 + Top *int64 + func DefaultListDriveItemPermissionGrantsOperationOptions() ListDriveItemPermissionGrantsOperationOptions + func (o ListDriveItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers + func (o ListDriveItemPermissionGrantsOperationOptions) ToOData() *odata.Query + func (o ListDriveItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams + type ListDriveItemPermissionGrantsOperationResponse struct + HttpResponse *http.Response + Model *[]beta.Permission + OData *odata.OData + type ListDriveItemPermissionGrantsRequest struct + Recipients *[]beta.DriveRecipient + Roles *[]string + type ListDriveItemPermissionsCompleteResult struct + Items []beta.Permission + LatestHttpResponse *http.Response + type ListDriveItemPermissionsCustomPager struct + NextLink *odata.Link + func (p *ListDriveItemPermissionsCustomPager) NextPageLink() *odata.Link + type ListDriveItemPermissionsOperationOptions struct + Count *bool + Expand *odata.Expand + Filter *string + Metadata *odata.Metadata + OrderBy *odata.OrderBy + RetryFunc client.RequestRetryFunc + Search *string + Select *[]string + Skip *int64 + Top *int64 + func DefaultListDriveItemPermissionsOperationOptions() ListDriveItemPermissionsOperationOptions + func (o ListDriveItemPermissionsOperationOptions) ToHeaders() *client.Headers + func (o ListDriveItemPermissionsOperationOptions) ToOData() *odata.Query + func (o ListDriveItemPermissionsOperationOptions) ToQuery() *client.QueryParams + type ListDriveItemPermissionsOperationResponse struct + HttpResponse *http.Response + Model *[]beta.Permission + OData *odata.OData + type PermissionOperationPredicate struct + func (p PermissionOperationPredicate) Matches(input beta.Permission) bool + type RevokeDriveItemPermissionGrantsOperationOptions struct + Metadata *odata.Metadata + RetryFunc client.RequestRetryFunc + func DefaultRevokeDriveItemPermissionGrantsOperationOptions() RevokeDriveItemPermissionGrantsOperationOptions + func (o RevokeDriveItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers + func (o RevokeDriveItemPermissionGrantsOperationOptions) ToOData() *odata.Query + func (o RevokeDriveItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams + type RevokeDriveItemPermissionGrantsOperationResponse struct + HttpResponse *http.Response + Model *beta.Permission + OData *odata.OData + type RevokeDriveItemPermissionGrantsRequest struct + Grantees *[]beta.DriveRecipient + type UpdateDriveItemPermissionOperationOptions struct + Metadata *odata.Metadata + RetryFunc client.RequestRetryFunc + func DefaultUpdateDriveItemPermissionOperationOptions() UpdateDriveItemPermissionOperationOptions + func (o UpdateDriveItemPermissionOperationOptions) ToHeaders() *client.Headers + func (o UpdateDriveItemPermissionOperationOptions) ToOData() *odata.Query + func (o UpdateDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams + type UpdateDriveItemPermissionOperationResponse struct + HttpResponse *http.Response + OData *odata.OData