class AccountsContainersVersions extends Resource (View source)

The "versions" collection of methods.

Typical usage is:

 $tagmanagerService = new Google\Service\TagManager(...);
 $versions = $tagmanagerService->accounts_containers_versions;

Methods

delete(string $path, array $optParams = [])

Deletes a Container Version. (versions.delete)

get(string $path, array $optParams = [])

Gets a Container Version. (versions.get)

live(string $parent, array $optParams = [])

Gets the live (i.e. published) container version (versions.live)

publish(string $path, array $optParams = [])

Publishes a Container Version. (versions.publish)

set_latest(string $path, array $optParams = [])

Sets the latest version used for synchronization of workspaces when detecting conflicts and errors. (versions.set_latest)

undelete(string $path, array $optParams = [])

Undeletes a Container Version. (versions.undelete)

update(string $path, ContainerVersion $postBody, array $optParams = [])

Updates a Container Version. (versions.update)

Details

delete(string $path, array $optParams = [])

Deletes a Container Version. (versions.delete)

Parameters

string $path

GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

array $optParams

Optional parameters.

Exceptions

Exception

ContainerVersion get(string $path, array $optParams = [])

Gets a Container Version. (versions.get)

Parameters

string $path

GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

array $optParams

Optional parameters.

Return Value

ContainerVersion

Exceptions

Exception

ContainerVersion live(string $parent, array $optParams = [])

Gets the live (i.e. published) container version (versions.live)

Parameters

string $parent

GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}

array $optParams

Optional parameters.

Return Value

ContainerVersion

Exceptions

Exception

PublishContainerVersionResponse publish(string $path, array $optParams = [])

Publishes a Container Version. (versions.publish)

Parameters

string $path

GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

array $optParams

Optional parameters.

Return Value

PublishContainerVersionResponse

Exceptions

Exception

ContainerVersion set_latest(string $path, array $optParams = [])

Sets the latest version used for synchronization of workspaces when detecting conflicts and errors. (versions.set_latest)

Parameters

string $path

GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

array $optParams

Optional parameters.

Return Value

ContainerVersion

Exceptions

Exception

ContainerVersion undelete(string $path, array $optParams = [])

Undeletes a Container Version. (versions.undelete)

Parameters

string $path

GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

array $optParams

Optional parameters.

Return Value

ContainerVersion

Exceptions

Exception

ContainerVersion update(string $path, ContainerVersion $postBody, array $optParams = [])

Updates a Container Version. (versions.update)

Parameters

string $path

GTM ContainerVersion's API relative path. Example: accounts/{account_id}/containers/{container_id}/versions/{version_id}

ContainerVersion $postBody
array $optParams

Optional parameters.

Return Value

ContainerVersion

Exceptions

Exception