Documentation

CollectionAdminServiceClient extends BaseStub
in package

Table of Contents

__construct()  : mixed
CreateCollection()  : UnaryCall
CreateScope()  : UnaryCall
DeleteCollection()  : UnaryCall
DeleteScope()  : UnaryCall
ListCollections()  : UnaryCall

Methods

__construct()

public __construct(string $hostname, array<string|int, mixed> $opts[, Channel $channel = null ]) : mixed
Parameters
$hostname : string

hostname

$opts : array<string|int, mixed>

channel options

$channel : Channel = null

(optional) re-use channel object

Return values
mixed

CreateCollection()

public CreateCollection(CreateCollectionRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : CreateCollectionRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

CreateScope()

public CreateScope(CreateScopeRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : CreateScopeRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

DeleteCollection()

public DeleteCollection(DeleteCollectionRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : DeleteCollectionRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

DeleteScope()

public DeleteScope(DeleteScopeRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : DeleteScopeRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

ListCollections()

public ListCollections(ListCollectionsRequest $argument[, array<string|int, mixed> $metadata = [] ][, array<string|int, mixed> $options = [] ]) : UnaryCall
Parameters
$argument : ListCollectionsRequest

input argument

$metadata : array<string|int, mixed> = []

metadata

$options : array<string|int, mixed> = []

call options

Return values
UnaryCall

        

Search results