class ProjectsLocationsScopesRbacrolebindings extends Resource (View source)

The "rbacrolebindings" collection of methods.

Typical usage is:

 $gkehubService = new Google\Service\GKEHub(...);
 $rbacrolebindings = $gkehubService->projects_locations_scopes_rbacrolebindings;

Methods

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

Creates a Scope RBACRoleBinding. (rbacrolebindings.create)

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

Deletes a Scope RBACRoleBinding. (rbacrolebindings.delete)

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

Returns the details of a Scope RBACRoleBinding. (rbacrolebindings.get)

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

Lists all Scope RBACRoleBindings.

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

Updates a Scope RBACRoleBinding. (rbacrolebindings.patch)

Details

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

Creates a Scope RBACRoleBinding. (rbacrolebindings.create)

Parameters

string $parent

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

RBACRoleBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a Scope RBACRoleBinding. (rbacrolebindings.delete)

Parameters

string $name

Required. The RBACRoleBinding resource name in the format projects/locations/scopes/rbacrolebindings.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Returns the details of a Scope RBACRoleBinding. (rbacrolebindings.get)

Parameters

string $name

Required. The RBACRoleBinding resource name in the format projects/locations/scopes/rbacrolebindings.

array $optParams

Optional parameters.

Return Value

RBACRoleBinding

Exceptions

Exception

ListScopeRBACRoleBindingsResponse listProjectsLocationsScopesRbacrolebindings(string $parent, array $optParams = [])

Lists all Scope RBACRoleBindings.

(rbacrolebindings.listProjectsLocationsScopesRbacrolebindings)

Parameters

string $parent

Required. The parent (project and location) where the Features will be listed. Specified in the format projects/locations/scopes.

array $optParams

Optional parameters.

Return Value

ListScopeRBACRoleBindingsResponse

Exceptions

Exception

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

Updates a Scope RBACRoleBinding. (rbacrolebindings.patch)

Parameters

string $name

The resource name for the rbacrolebinding projects/{proj ect}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding} or projects/{project}/locations/{location}/memberships/{membership}/rbacrole bindings/{rbacrolebinding}

RBACRoleBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception