class OrganizationsGcpUserAccessBindings extends Resource (View source)

The "gcpUserAccessBindings" collection of methods.

Typical usage is:

 $accesscontextmanagerService = new Google\Service\AccessContextManager(...);
 $gcpUserAccessBindings = $accesscontextmanagerService->organizations_gcpUserAccessBindings;

Methods

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

Creates a GcpUserAccessBinding. If the client specifies a name, the server ignores it. Fails if a resource already exists with the same group_key.

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

Deletes a GcpUserAccessBinding. Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time. (gcpUserAccessBindings.delete)

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

Gets the GcpUserAccessBinding with the given name.

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

Lists all GcpUserAccessBindings for a Google Cloud organization.

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

Updates a GcpUserAccessBinding. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time. (gcpUserAccessBindings.patch)

Details

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

Creates a GcpUserAccessBinding. If the client specifies a name, the server ignores it. Fails if a resource already exists with the same group_key.

Completion of this long-running operation does not necessarily signify that the new binding is deployed onto all affected users, which may take more time. (gcpUserAccessBindings.create)

Parameters

string $parent

Required. Example: "organizations/256"

GcpUserAccessBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a GcpUserAccessBinding. Completion of this long-running operation does not necessarily signify that the binding deletion is deployed onto all affected users, which may take more time. (gcpUserAccessBindings.delete)

Parameters

string $name

Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets the GcpUserAccessBinding with the given name.

(gcpUserAccessBindings.get)

Parameters

string $name

Required. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

array $optParams

Optional parameters.

Return Value

GcpUserAccessBinding

Exceptions

Exception

ListGcpUserAccessBindingsResponse listOrganizationsGcpUserAccessBindings(string $parent, array $optParams = [])

Lists all GcpUserAccessBindings for a Google Cloud organization.

(gcpUserAccessBindings.listOrganizationsGcpUserAccessBindings)

Parameters

string $parent

Required. Example: "organizations/256"

array $optParams

Optional parameters.

Return Value

ListGcpUserAccessBindingsResponse

Exceptions

Exception

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

Updates a GcpUserAccessBinding. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time. (gcpUserAccessBindings.patch)

Parameters

string $name

Immutable. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"

GcpUserAccessBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception