class TagBindings extends Resource (View source)

The "tagBindings" collection of methods.

Typical usage is:

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

Methods

create(TagBinding $postBody, array $optParams = [])

Creates a TagBinding between a TagValue and a Google Cloud resource.

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

Deletes a TagBinding. (tagBindings.delete)

listTagBindings(array $optParams = [])

Lists the TagBindings for the given Google Cloud resource, as specified with parent. NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name (tagBindings.listTagBindings)

Details

Operation create(TagBinding $postBody, array $optParams = [])

Creates a TagBinding between a TagValue and a Google Cloud resource.

(tagBindings.create)

Parameters

TagBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a TagBinding. (tagBindings.delete)

Parameters

string $name

Required. The name of the TagBinding. This is a String of the form: tagBindings/{id} (e.g. tagBindings/%2F%2Fcloudresourcemanager.go ogleapis.com%2Fprojects%2F123/tagValues/456).

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

ListTagBindingsResponse listTagBindings(array $optParams = [])

Lists the TagBindings for the given Google Cloud resource, as specified with parent. NOTE: The parent field is expected to be a full resource name: https://cloud.google.com/apis/design/resource_names#full_resource_name (tagBindings.listTagBindings)

Parameters

array $optParams

Optional parameters.

Return Value

ListTagBindingsResponse

Exceptions

Exception