class ProjectsLocationsMembershipsRbacrolebindings extends Resource (View source)

The "rbacrolebindings" collection of methods.

Typical usage is:

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

Methods

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

Creates a Membership RBACRoleBinding. (rbacrolebindings.create)

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

Deletes a Membership RBACRoleBinding. (rbacrolebindings.delete)

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

Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.

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

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

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

Lists all Membership RBACRoleBindings.

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

Updates a Membership RBACRoleBinding. (rbacrolebindings.patch)

Details

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

Creates a Membership RBACRoleBinding. (rbacrolebindings.create)

Parameters

string $parent

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

RBACRoleBinding $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a Membership RBACRoleBinding. (rbacrolebindings.delete)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.

(rbacrolebindings.generateMembershipRBACRoleBindingYAML)

Parameters

string $parent

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

RBACRoleBinding $postBody
array $optParams

Optional parameters.

Return Value

GenerateMembershipRBACRoleBindingYAMLResponse

Exceptions

Exception

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

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

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

RBACRoleBinding

Exceptions

Exception

ListMembershipRBACRoleBindingsResponse listProjectsLocationsMembershipsRbacrolebindings(string $parent, array $optParams = [])

Lists all Membership RBACRoleBindings.

(rbacrolebindings.listProjectsLocationsMembershipsRbacrolebindings)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListMembershipRBACRoleBindingsResponse

Exceptions

Exception

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

Updates a Membership 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