Class PlaybooksGrpc.PlaybooksBlockingStub (0.59.0)

public static final class PlaybooksGrpc.PlaybooksBlockingStub extends AbstractBlockingStub<PlaybooksGrpc.PlaybooksBlockingStub>

A stub to allow clients to do synchronous rpc calls to service Playbooks.

Service for managing Playbooks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > PlaybooksGrpc.PlaybooksBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected PlaybooksGrpc.PlaybooksBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
PlaybooksGrpc.PlaybooksBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createPlaybook(CreatePlaybookRequest request)

public Playbook createPlaybook(CreatePlaybookRequest request)

Creates a playbook in a specified agent.

Parameter
Name Description
request CreatePlaybookRequest
Returns
Type Description
Playbook

createPlaybookVersion(CreatePlaybookVersionRequest request)

public PlaybookVersion createPlaybookVersion(CreatePlaybookVersionRequest request)

Creates a version for the specified Playbook.

Parameter
Name Description
request CreatePlaybookVersionRequest
Returns
Type Description
PlaybookVersion

deletePlaybook(DeletePlaybookRequest request)

public Empty deletePlaybook(DeletePlaybookRequest request)

Deletes a specified playbook.

Parameter
Name Description
request DeletePlaybookRequest
Returns
Type Description
Empty

deletePlaybookVersion(DeletePlaybookVersionRequest request)

public Empty deletePlaybookVersion(DeletePlaybookVersionRequest request)

Deletes the specified version of the Playbook.

Parameter
Name Description
request DeletePlaybookVersionRequest
Returns
Type Description
Empty

getPlaybook(GetPlaybookRequest request)

public Playbook getPlaybook(GetPlaybookRequest request)

Retrieves the specified Playbook.

Parameter
Name Description
request GetPlaybookRequest
Returns
Type Description
Playbook

getPlaybookVersion(GetPlaybookVersionRequest request)

public PlaybookVersion getPlaybookVersion(GetPlaybookVersionRequest request)

Retrieves the specified version of the Playbook.

Parameter
Name Description
request GetPlaybookVersionRequest
Returns
Type Description
PlaybookVersion

listPlaybookVersions(ListPlaybookVersionsRequest request)

public ListPlaybookVersionsResponse listPlaybookVersions(ListPlaybookVersionsRequest request)

Lists versions for the specified Playbook.

Parameter
Name Description
request ListPlaybookVersionsRequest
Returns
Type Description
ListPlaybookVersionsResponse

listPlaybooks(ListPlaybooksRequest request)

public ListPlaybooksResponse listPlaybooks(ListPlaybooksRequest request)

Returns a list of playbooks in the specified agent.

Parameter
Name Description
request ListPlaybooksRequest
Returns
Type Description
ListPlaybooksResponse

updatePlaybook(UpdatePlaybookRequest request)

public Playbook updatePlaybook(UpdatePlaybookRequest request)

Updates the specified Playbook.

Parameter
Name Description
request UpdatePlaybookRequest
Returns
Type Description
Playbook