ProjectsLocationsAgentsFlowsVersions
class ProjectsLocationsAgentsFlowsVersions extends Resource (View source)
The "versions" collection of methods.
Typical usage is:
$dialogflowService = new Google\Service\Dialogflow(...);
$versions = $dialogflowService->projects_locations_agents_flows_versions;
Methods
Compares the specified base version with target version.
Creates a Version in the specified Flow. This method is a long-running
operation. The returned Operation
type has the following method-specific
fields: - metadata
: CreateVersionOperationMetadata - response
: Version
(versions.create)
Deletes the specified Version. (versions.delete)
Retrieves the specified Version. (versions.get)
Returns the list of all versions in the specified Flow.
Loads resources in the specified version to the draft flow. This method is a
long-running
operation. The returned Operation
type has the following method-specific
fields: - metadata
: An empty Struct
message - response
: An Empty
message (versions.load)
Updates the specified Version. (versions.patch)
Details
GoogleCloudDialogflowCxV3CompareVersionsResponse
compareVersions(string $baseVersion, GoogleCloudDialogflowCxV3CompareVersionsRequest $postBody, array $optParams = [])
Compares the specified base version with target version.
(versions.compareVersions)
GoogleLongrunningOperation
create(string $parent, GoogleCloudDialogflowCxV3Version $postBody, array $optParams = [])
Creates a Version in the specified Flow. This method is a long-running
operation. The returned Operation
type has the following method-specific
fields: - metadata
: CreateVersionOperationMetadata - response
: Version
(versions.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes the specified Version. (versions.delete)
GoogleCloudDialogflowCxV3Version
get(string $name, array $optParams = [])
Retrieves the specified Version. (versions.get)
GoogleCloudDialogflowCxV3ListVersionsResponse
listProjectsLocationsAgentsFlowsVersions(string $parent, array $optParams = [])
Returns the list of all versions in the specified Flow.
(versions.listProjectsLocationsAgentsFlowsVersions)
GoogleLongrunningOperation
load(string $name, GoogleCloudDialogflowCxV3LoadVersionRequest $postBody, array $optParams = [])
Loads resources in the specified version to the draft flow. This method is a
long-running
operation. The returned Operation
type has the following method-specific
fields: - metadata
: An empty Struct
message - response
: An Empty
message (versions.load)
GoogleCloudDialogflowCxV3Version
patch(string $name, GoogleCloudDialogflowCxV3Version $postBody, array $optParams = [])
Updates the specified Version. (versions.patch)