class TagValuesTagHolds extends Resource (View source)

The "tagHolds" collection of methods.

Typical usage is:

 $cloudresourcemanagerService = new Google\Service\CloudResourceManager(...);
 $tagHolds = $cloudresourcemanagerService->tagValues_tagHolds;

Methods

create(string $parent, TagHold $postBody, array $optParams = [])

Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue. (tagHolds.create)

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

Deletes a TagHold. (tagHolds.delete)

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

Lists TagHolds under a TagValue. (tagHolds.listTagValuesTagHolds)

Details

Operation create(string $parent, TagHold $postBody, array $optParams = [])

Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same resource and origin exists under the same TagValue. (tagHolds.create)

Parameters

string $parent

Required. The resource name of the TagHold's parent TagValue. Must be of the form: tagValues/{tag-value-id}.

TagHold $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a TagHold. (tagHolds.delete)

Parameters

string $name

Required. The resource name of the TagHold to delete. Must be of the form: tagValues/{tag-value-id}/tagHolds/{tag-hold-id}.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

ListTagHoldsResponse listTagValuesTagHolds(string $parent, array $optParams = [])

Lists TagHolds under a TagValue. (tagHolds.listTagValuesTagHolds)

Parameters

string $parent

Required. The resource name of the parent TagValue. Must be of the form: tagValues/{tag-value-id}.

array $optParams

Optional parameters.

Return Value

ListTagHoldsResponse

Exceptions

Exception