public static final class VersionsGrpc.VersionsBlockingStub extends AbstractBlockingStub<VersionsGrpc.VersionsBlockingStub>
Service for managing [Versions][google.cloud.dialogflow.v2beta1.Version].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected VersionsGrpc.VersionsBlockingStub |
build(Channel channel,
CallOptions callOptions) |
Version |
createVersion(CreateVersionRequest request)
Creates an agent version.
|
Empty |
deleteVersion(DeleteVersionRequest request)
Delete the specified agent version.
|
Version |
getVersion(GetVersionRequest request)
Retrieves the specified agent version.
|
ListVersionsResponse |
listVersions(ListVersionsRequest request)
Returns the list of all versions of the specified agent.
|
Version |
updateVersion(UpdateVersionRequest request)
Updates the specified agent version.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected VersionsGrpc.VersionsBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<VersionsGrpc.VersionsBlockingStub>
public ListVersionsResponse listVersions(ListVersionsRequest request)
Returns the list of all versions of the specified agent.
public Version getVersion(GetVersionRequest request)
Retrieves the specified agent version.
public Version createVersion(CreateVersionRequest request)
Creates an agent version. The new version points to the agent instance in the "default" environment.
public Version updateVersion(UpdateVersionRequest request)
Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.
public Empty deleteVersion(DeleteVersionRequest request)
Delete the specified agent version.
Copyright © 2022 Google LLC. All rights reserved.