/// import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js'; import _m0 from 'protobufjs/minimal'; import { FieldMask } from '../../../../google/protobuf/field_mask'; import { ResourcesSpec, DesktopGroupConfiguration, NetworkInterfaceSpec, DesktopGroup } from '../../../../yandex/cloud/clouddesktop/v1/desktop_group'; import { DiskSpec } from '../../../../yandex/cloud/clouddesktop/v1/disk'; import { Desktop } from '../../../../yandex/cloud/clouddesktop/v1/desktop'; import { Operation } from '../../../../yandex/cloud/operation/operation'; import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../yandex/cloud/access/access'; export declare const protobufPackage = "yandex.cloud.clouddesktop.v1.api"; export interface GetDesktopGroupRequest { /** * ID of the desktop group resource to return. * * To get the desktop group ID use a [DesktopGroupService.List] request. */ desktopGroupId: string; } export interface ListDesktopGroupsRequest { /** * ID of the folder to list desktop groups in. * * To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. */ folderId: string; /** * The maximum number of results per page to return. If the number of available * results is larger than [page_size], * the service returns a [ListDesktopGroupsResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * Default value: 100. */ pageSize: number; /** * Page token. To get the next page of results, set [page_token] to the * [ListDesktopGroupsResponse.next_page_token] returned by a previous list request. */ pageToken: string; /** * A filter expression that filters resources listed in the response. * The expression must specify: * 1. The field name. Currently you can use filtering only on [DesktopGroup.name] field. * 2. An operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values. * 3. Value or a list of values to compare against the values of the field. */ filter: string; /** * Sorting the list by [DesktopGroup.name], [DesktopGroup.created_at] and [DesktopGroup.status] fields. * The default sorting order is ascending. */ orderBy: string; } export interface ListDesktopGroupsResponse { /** List of desktop groups. */ desktopGroups: DesktopGroup[]; /** * This token allows you to get the next page of results for list requests. If the number of results * is larger than [ListDesktopGroupsRequest.page_size], use * the [next_page_token] as the value * for the [ListDesktopGroupsRequest.page_token] query parameter * in the next list request. Each subsequent list request will have its own * [next_page_token] to continue paging through the results. */ nextPageToken: string; } export interface ListDesktopGroupDesktopsRequest { /** ID of the desktop group. */ desktopGroupId: string; /** * The maximum number of results per page to return. If the number of available * results is larger than [page_size], * the service returns a [ListDesktopGroupDesktopsResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * Default value: 100. */ pageSize: number; /** * Page token. To get the next page of results, set [page_token] to the * [ListDesktopGroupDesktopsResponse.next_page_token] returned by a previous list request. */ pageToken: string; /** * A filter expression that filters resources listed in the response. * The expression must specify: * 1. The field name. Currently you can use filtering only on [Desktop.name] field. * 2. An operator. Can be either `=` or `!=` for single values, `IN` or `NOT IN` for lists of values. * 3. Value or a list of values to compare against the values of the field. */ filter: string; /** * Sorting the list by [Desktop.name], [Desktop.created_at] and [Desktop.status] fields. * The default sorting order is ascending. */ orderBy: string; } export interface ListDesktopGroupDesktopsResponse { /** List of desktops. */ desktops: Desktop[]; /** * This token allows you to get the next page of results for list requests. If the number of results * is larger than [ListDesktopGroupDesktopsRequest.page_size], use * the [next_page_token] as the value * for the [ListDesktopsDGS Request.page_token] query parameter * in the next list request. Each subsequent list request will have its own * [next_page_token] to continue paging through the results. */ nextPageToken: string; } export interface ListDesktopGroupOperationsRequest { /** ID of the desktop group. */ desktopGroupId: string; /** * The maximum number of results per page to return. If the number of available * results is larger than [page_size], * the service returns a [ListDesktopGroupOperationsResponse.next_page_token] * that can be used to get the next page of results in subsequent list requests. * Default value: 100. */ pageSize: number; /** * Page token. To get the next page of results, set [page_token] to the * [ListDesktopGroupOperationsResponse.next_page_token] returned by a previous list request. */ pageToken: string; /** * Sorting the list by [DesktopGroup.name] field. * The default sorting order is ascending. */ filter: string; } export interface ListDesktopGroupOperationsResponse { /** List of operations for the specified desktop group. */ operations: Operation[]; /** * This token allows you to get the next page of results for list requests. If the number of results * is larger than [ListDesktopGroupOperationsRequest.page_size], use * the [next_page_token] as the value * for the [ListDesktopGroupOperationsRequest.page_token] query parameter * in the next list request. Each subsequent list request will have its own * [next_page_token] to continue paging through the results. */ nextPageToken: string; } export interface UpdateDesktopGroupRequest { updateMask?: FieldMask; desktopGroupId: string; desktopImageId: string; name: string; description: string; labels: { [key: string]: string; }; resourcesSpec?: ResourcesSpec; /** Configuration of the desktop group. */ groupConfig?: DesktopGroupConfiguration; /** Boot disk specification of the desktop group. */ bootDiskSpec?: DiskSpec; /** Data disk specification of the desktop group. */ dataDiskSpec?: DiskSpec; } export interface UpdateDesktopGroupRequest_LabelsEntry { key: string; value: string; } export interface CreateDesktopGroupRequest { /** * ID of the folder to create a DesktopGroup in. * * To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. */ folderId: string; /** An image used to create a desktop boot disk */ desktopImageId: string; /** * Name of the DesktopGroup. * The name must be unique within the folder. */ name: string; /** Description of the DesktopGroup. */ description: string; /** Resource specification of the desktop group. */ resourcesSpec?: ResourcesSpec; /** Network interface specification of the desktop group. */ networkInterfaceSpec?: NetworkInterfaceSpec; /** Boot disk specification of the desktop group. */ bootDiskSpec?: DiskSpec; /** Data disk specification of the desktop group. */ dataDiskSpec?: DiskSpec; /** Configuration of the desktop group. */ groupConfig?: DesktopGroupConfiguration; } export interface CreateDesktopGroupMetadata { /** ID of the desktop group that is being created. */ desktopGroupId: string; } export interface DeleteDesktopGroupRequest { /** * ID of the desktop group to delete. * * To get a desktop group ID make a [DesktopGroupService.List] request. */ desktopGroupId: string; } export interface DeleteDesktopGroupMetadata { /** ID of the desktop group that is being deleted. */ desktopGroupId: string; } export interface UpdateDesktopGroupMetadata { /** ID of the desktop group that is being updated. */ desktopGroupId: string; } export declare const GetDesktopGroupRequest: { encode(message: GetDesktopGroupRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetDesktopGroupRequest; fromJSON(object: any): GetDesktopGroupRequest; toJSON(message: GetDesktopGroupRequest): unknown; fromPartial, never>>(object: I): GetDesktopGroupRequest; }; export declare const ListDesktopGroupsRequest: { encode(message: ListDesktopGroupsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListDesktopGroupsRequest; fromJSON(object: any): ListDesktopGroupsRequest; toJSON(message: ListDesktopGroupsRequest): unknown; fromPartial, never>>(object: I): ListDesktopGroupsRequest; }; export declare const ListDesktopGroupsResponse: { encode(message: ListDesktopGroupsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListDesktopGroupsResponse; fromJSON(object: any): ListDesktopGroupsResponse; toJSON(message: ListDesktopGroupsResponse): unknown; fromPartial, never>) | undefined; networkInterfaceSpec?: ({ networkId?: string | undefined; subnetIds?: string[] | undefined; } & { networkId?: string | undefined; subnetIds?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; bootDiskSpec?: ({ type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & { type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & Record, never>) | undefined; dataDiskSpec?: ({ type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & { type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & Record, never>) | undefined; groupConfig?: ({ minReadyDesktops?: number | undefined; maxDesktopsAmount?: number | undefined; desktopType?: import("../../../../yandex/cloud/clouddesktop/v1/desktop_group").DesktopGroupConfiguration_DesktopType | undefined; members?: { id?: string | undefined; type?: string | undefined; }[] | undefined; } & { minReadyDesktops?: number | undefined; maxDesktopsAmount?: number | undefined; desktopType?: import("../../../../yandex/cloud/clouddesktop/v1/desktop_group").DesktopGroupConfiguration_DesktopType | undefined; members?: ({ id?: string | undefined; type?: string | undefined; }[] & ({ id?: string | undefined; type?: string | undefined; } & { id?: string | undefined; type?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListDesktopGroupsResponse; }; export declare const ListDesktopGroupDesktopsRequest: { encode(message: ListDesktopGroupDesktopsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListDesktopGroupDesktopsRequest; fromJSON(object: any): ListDesktopGroupDesktopsRequest; toJSON(message: ListDesktopGroupDesktopsRequest): unknown; fromPartial, never>>(object: I): ListDesktopGroupDesktopsRequest; }; export declare const ListDesktopGroupDesktopsResponse: { encode(message: ListDesktopGroupDesktopsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListDesktopGroupDesktopsResponse; fromJSON(object: any): ListDesktopGroupDesktopsResponse; toJSON(message: ListDesktopGroupDesktopsResponse): unknown; fromPartial, never>) | undefined; networkInterfaces?: ({ networkId?: string | undefined; subnetId?: string | undefined; }[] & ({ networkId?: string | undefined; subnetId?: string | undefined; } & { networkId?: string | undefined; subnetId?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; users?: ({ subjectId?: string | undefined; subjectType?: string | undefined; }[] & ({ subjectId?: string | undefined; subjectType?: string | undefined; } & { subjectId?: string | undefined; subjectType?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListDesktopGroupDesktopsResponse; }; export declare const ListDesktopGroupOperationsRequest: { encode(message: ListDesktopGroupOperationsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListDesktopGroupOperationsRequest; fromJSON(object: any): ListDesktopGroupOperationsRequest; toJSON(message: ListDesktopGroupOperationsRequest): unknown; fromPartial, never>>(object: I): ListDesktopGroupOperationsRequest; }; export declare const ListDesktopGroupOperationsResponse: { encode(message: ListDesktopGroupOperationsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ListDesktopGroupOperationsResponse; fromJSON(object: any): ListDesktopGroupOperationsResponse; toJSON(message: ListDesktopGroupOperationsResponse): unknown; fromPartial, never>) | undefined; error?: ({ code?: number | undefined; message?: string | undefined; details?: { typeUrl?: string | undefined; value?: Buffer | undefined; }[] | undefined; } & { code?: number | undefined; message?: string | undefined; details?: ({ typeUrl?: string | undefined; value?: Buffer | undefined; }[] & ({ typeUrl?: string | undefined; value?: Buffer | undefined; } & { typeUrl?: string | undefined; value?: Buffer | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; response?: ({ typeUrl?: string | undefined; value?: Buffer | undefined; } & { typeUrl?: string | undefined; value?: Buffer | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; nextPageToken?: string | undefined; } & Record, never>>(object: I): ListDesktopGroupOperationsResponse; }; export declare const UpdateDesktopGroupRequest: { encode(message: UpdateDesktopGroupRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateDesktopGroupRequest; fromJSON(object: any): UpdateDesktopGroupRequest; toJSON(message: UpdateDesktopGroupRequest): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; desktopGroupId?: string | undefined; desktopImageId?: string | undefined; name?: string | undefined; description?: string | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; resourcesSpec?: ({ memory?: number | undefined; cores?: number | undefined; coreFraction?: number | undefined; } & { memory?: number | undefined; cores?: number | undefined; coreFraction?: number | undefined; } & Record, never>) | undefined; groupConfig?: ({ minReadyDesktops?: number | undefined; maxDesktopsAmount?: number | undefined; desktopType?: import("../../../../yandex/cloud/clouddesktop/v1/desktop_group").DesktopGroupConfiguration_DesktopType | undefined; members?: { id?: string | undefined; type?: string | undefined; }[] | undefined; } & { minReadyDesktops?: number | undefined; maxDesktopsAmount?: number | undefined; desktopType?: import("../../../../yandex/cloud/clouddesktop/v1/desktop_group").DesktopGroupConfiguration_DesktopType | undefined; members?: ({ id?: string | undefined; type?: string | undefined; }[] & ({ id?: string | undefined; type?: string | undefined; } & { id?: string | undefined; type?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; bootDiskSpec?: ({ type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & { type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & Record, never>) | undefined; dataDiskSpec?: ({ type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & { type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): UpdateDesktopGroupRequest; }; export declare const UpdateDesktopGroupRequest_LabelsEntry: { encode(message: UpdateDesktopGroupRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateDesktopGroupRequest_LabelsEntry; fromJSON(object: any): UpdateDesktopGroupRequest_LabelsEntry; toJSON(message: UpdateDesktopGroupRequest_LabelsEntry): unknown; fromPartial, never>>(object: I): UpdateDesktopGroupRequest_LabelsEntry; }; export declare const CreateDesktopGroupRequest: { encode(message: CreateDesktopGroupRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateDesktopGroupRequest; fromJSON(object: any): CreateDesktopGroupRequest; toJSON(message: CreateDesktopGroupRequest): unknown; fromPartial, never>) | undefined; networkInterfaceSpec?: ({ networkId?: string | undefined; subnetIds?: string[] | undefined; } & { networkId?: string | undefined; subnetIds?: (string[] & string[] & Record, never>) | undefined; } & Record, never>) | undefined; bootDiskSpec?: ({ type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & { type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & Record, never>) | undefined; dataDiskSpec?: ({ type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & { type?: import("../../../../yandex/cloud/clouddesktop/v1/disk").DiskSpec_Type | undefined; size?: number | undefined; } & Record, never>) | undefined; groupConfig?: ({ minReadyDesktops?: number | undefined; maxDesktopsAmount?: number | undefined; desktopType?: import("../../../../yandex/cloud/clouddesktop/v1/desktop_group").DesktopGroupConfiguration_DesktopType | undefined; members?: { id?: string | undefined; type?: string | undefined; }[] | undefined; } & { minReadyDesktops?: number | undefined; maxDesktopsAmount?: number | undefined; desktopType?: import("../../../../yandex/cloud/clouddesktop/v1/desktop_group").DesktopGroupConfiguration_DesktopType | undefined; members?: ({ id?: string | undefined; type?: string | undefined; }[] & ({ id?: string | undefined; type?: string | undefined; } & { id?: string | undefined; type?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): CreateDesktopGroupRequest; }; export declare const CreateDesktopGroupMetadata: { encode(message: CreateDesktopGroupMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateDesktopGroupMetadata; fromJSON(object: any): CreateDesktopGroupMetadata; toJSON(message: CreateDesktopGroupMetadata): unknown; fromPartial, never>>(object: I): CreateDesktopGroupMetadata; }; export declare const DeleteDesktopGroupRequest: { encode(message: DeleteDesktopGroupRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteDesktopGroupRequest; fromJSON(object: any): DeleteDesktopGroupRequest; toJSON(message: DeleteDesktopGroupRequest): unknown; fromPartial, never>>(object: I): DeleteDesktopGroupRequest; }; export declare const DeleteDesktopGroupMetadata: { encode(message: DeleteDesktopGroupMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DeleteDesktopGroupMetadata; fromJSON(object: any): DeleteDesktopGroupMetadata; toJSON(message: DeleteDesktopGroupMetadata): unknown; fromPartial, never>>(object: I): DeleteDesktopGroupMetadata; }; export declare const UpdateDesktopGroupMetadata: { encode(message: UpdateDesktopGroupMetadata, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): UpdateDesktopGroupMetadata; fromJSON(object: any): UpdateDesktopGroupMetadata; toJSON(message: UpdateDesktopGroupMetadata): unknown; fromPartial, never>>(object: I): UpdateDesktopGroupMetadata; }; /** A set of methods for managing desktop group resources. */ export declare const DesktopGroupServiceService: { /** * Returns the specified desktop group resource. * * To get the list of available desktop groups, make a [List] request. */ readonly get: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetDesktopGroupRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetDesktopGroupRequest; readonly responseSerialize: (value: DesktopGroup) => Buffer; readonly responseDeserialize: (value: Buffer) => DesktopGroup; }; /** Retrieves the list of desktop group resources. */ readonly list: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListDesktopGroupsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListDesktopGroupsRequest; readonly responseSerialize: (value: ListDesktopGroupsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListDesktopGroupsResponse; }; /** Retrieves the list of desktops resources. */ readonly listDesktops: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/ListDesktops"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListDesktopGroupDesktopsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListDesktopGroupDesktopsRequest; readonly responseSerialize: (value: ListDesktopGroupDesktopsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListDesktopGroupDesktopsResponse; }; /** Returns list of the operations for the specified desktop group. */ readonly listOperations: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/ListOperations"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListDesktopGroupOperationsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListDesktopGroupOperationsRequest; readonly responseSerialize: (value: ListDesktopGroupOperationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListDesktopGroupOperationsResponse; }; /** Creates desktop group in the specified folder. */ readonly create: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateDesktopGroupRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => CreateDesktopGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates desktop group properties */ readonly update: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateDesktopGroupRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateDesktopGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Deletes the specified desktop group. */ readonly delete: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteDesktopGroupRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => DeleteDesktopGroupRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Returns a list of the access bindings for the specified desktop group. */ readonly listAccessBindings: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/ListAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ListAccessBindingsRequest; readonly responseSerialize: (value: ListAccessBindingsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAccessBindingsResponse; }; /** Sets access bindings for the specified desktop group. */ readonly setAccessBindings: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/SetAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: SetAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => SetAccessBindingsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; /** Updates access bindings of the specified desktop group. */ readonly updateAccessBindings: { readonly path: "/yandex.cloud.clouddesktop.v1.api.DesktopGroupService/UpdateAccessBindings"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateAccessBindingsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UpdateAccessBindingsRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; export interface DesktopGroupServiceServer extends UntypedServiceImplementation { /** * Returns the specified desktop group resource. * * To get the list of available desktop groups, make a [List] request. */ get: handleUnaryCall; /** Retrieves the list of desktop group resources. */ list: handleUnaryCall; /** Retrieves the list of desktops resources. */ listDesktops: handleUnaryCall; /** Returns list of the operations for the specified desktop group. */ listOperations: handleUnaryCall; /** Creates desktop group in the specified folder. */ create: handleUnaryCall; /** Updates desktop group properties */ update: handleUnaryCall; /** Deletes the specified desktop group. */ delete: handleUnaryCall; /** Returns a list of the access bindings for the specified desktop group. */ listAccessBindings: handleUnaryCall; /** Sets access bindings for the specified desktop group. */ setAccessBindings: handleUnaryCall; /** Updates access bindings of the specified desktop group. */ updateAccessBindings: handleUnaryCall; } export interface DesktopGroupServiceClient extends Client { /** * Returns the specified desktop group resource. * * To get the list of available desktop groups, make a [List] request. */ get(request: GetDesktopGroupRequest, callback: (error: ServiceError | null, response: DesktopGroup) => void): ClientUnaryCall; get(request: GetDesktopGroupRequest, metadata: Metadata, callback: (error: ServiceError | null, response: DesktopGroup) => void): ClientUnaryCall; get(request: GetDesktopGroupRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: DesktopGroup) => void): ClientUnaryCall; /** Retrieves the list of desktop group resources. */ list(request: ListDesktopGroupsRequest, callback: (error: ServiceError | null, response: ListDesktopGroupsResponse) => void): ClientUnaryCall; list(request: ListDesktopGroupsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListDesktopGroupsResponse) => void): ClientUnaryCall; list(request: ListDesktopGroupsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListDesktopGroupsResponse) => void): ClientUnaryCall; /** Retrieves the list of desktops resources. */ listDesktops(request: ListDesktopGroupDesktopsRequest, callback: (error: ServiceError | null, response: ListDesktopGroupDesktopsResponse) => void): ClientUnaryCall; listDesktops(request: ListDesktopGroupDesktopsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListDesktopGroupDesktopsResponse) => void): ClientUnaryCall; listDesktops(request: ListDesktopGroupDesktopsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListDesktopGroupDesktopsResponse) => void): ClientUnaryCall; /** Returns list of the operations for the specified desktop group. */ listOperations(request: ListDesktopGroupOperationsRequest, callback: (error: ServiceError | null, response: ListDesktopGroupOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListDesktopGroupOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListDesktopGroupOperationsResponse) => void): ClientUnaryCall; listOperations(request: ListDesktopGroupOperationsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListDesktopGroupOperationsResponse) => void): ClientUnaryCall; /** Creates desktop group in the specified folder. */ create(request: CreateDesktopGroupRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateDesktopGroupRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; create(request: CreateDesktopGroupRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates desktop group properties */ update(request: UpdateDesktopGroupRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateDesktopGroupRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; update(request: UpdateDesktopGroupRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Deletes the specified desktop group. */ delete(request: DeleteDesktopGroupRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteDesktopGroupRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; delete(request: DeleteDesktopGroupRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Returns a list of the access bindings for the specified desktop group. */ listAccessBindings(request: ListAccessBindingsRequest, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall; /** Sets access bindings for the specified desktop group. */ setAccessBindings(request: SetAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; /** Updates access bindings of the specified desktop group. */ updateAccessBindings(request: UpdateAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall; } export declare const DesktopGroupServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): DesktopGroupServiceClient; service: typeof DesktopGroupServiceService; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};