class ProjectsLocationsMembershipsBindings extends Resource (View source)

The "bindings" collection of methods.

Typical usage is:

 $gkehubService = new Google\Service\GKEHub(...);
 $bindings = $gkehubService->projects_locations_memberships_bindings;

Methods

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

Creates a MembershipBinding. (bindings.create)

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

Deletes a MembershipBinding. (bindings.delete)

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

Returns the details of a MembershipBinding. (bindings.get)

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

Lists MembershipBindings. (bindings.listProjectsLocationsMembershipsBindings)

patch(string $name, MembershipBinding $postBody, array $optParams = [])

Updates a MembershipBinding. (bindings.patch)

Details

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

Creates a MembershipBinding. (bindings.create)

Parameters

string $parent

Required. The parent (project and location) where the MembershipBinding will be created. Specified in the format projects/locations/memberships.

MembershipBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a MembershipBinding. (bindings.delete)

Parameters

string $name

Required. The MembershipBinding resource name in the format projects/locations/memberships/bindings.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

MembershipBinding get(string $name, array $optParams = [])

Returns the details of a MembershipBinding. (bindings.get)

Parameters

string $name

Required. The MembershipBinding resource name in the format projects/locations/memberships/bindings.

array $optParams

Optional parameters.

Return Value

MembershipBinding

Exceptions

Exception

ListMembershipBindingsResponse listProjectsLocationsMembershipsBindings(string $parent, array $optParams = [])

Lists MembershipBindings. (bindings.listProjectsLocationsMembershipsBindings)

Parameters

string $parent

Required. The parent Membership for which the MembershipBindings will be listed. Specified in the format projects/locations/memberships.

array $optParams

Optional parameters.

Return Value

ListMembershipBindingsResponse

Exceptions

Exception

Operation patch(string $name, MembershipBinding $postBody, array $optParams = [])

Updates a MembershipBinding. (bindings.patch)

Parameters

string $name

The resource name for the membershipbinding itself proje cts/{project}/locations/{location}/memberships/{membership}/bindings/{members hipbinding}

MembershipBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception