class ProjectsInstancesTablesAuthorizedViews extends Resource (View source)

The "authorizedViews" collection of methods.

Typical usage is:

 $bigtableadminService = new Google\Service\BigtableAdmin(...);
 $authorizedViews = $bigtableadminService->projects_instances_tables_authorizedViews;

Methods

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

Creates a new AuthorizedView in a table. (authorizedViews.create)

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

Permanently deletes a specified AuthorizedView. (authorizedViews.delete)

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

Gets information from a specified AuthorizedView. (authorizedViews.get)

getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])

Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set.

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

Lists all AuthorizedViews from a specific table.

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

Updates an AuthorizedView in a table. (authorizedViews.patch)

setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])

Sets the access control policy on a Bigtable resource. Replaces any existing policy. (authorizedViews.setIamPolicy)

testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])

Returns permissions that the caller has on the specified Bigtable resource.

Details

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

Creates a new AuthorizedView in a table. (authorizedViews.create)

Parameters

string $parent

Required. This is the name of the table the AuthorizedView belongs to. Values are of the form projects/{project}/instances/{instance}/tables/{table}.

AuthorizedView $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Permanently deletes a specified AuthorizedView. (authorizedViews.delete)

Parameters

string $name

Required. The unique name of the AuthorizedView to be deleted. Values are of the form projects/{project}/instances/{instance}/tabl es/{table}/authorizedViews/{authorized_view}.

array $optParams

Optional parameters.

Return Value

BigtableadminEmpty

Exceptions

Exception

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

Gets information from a specified AuthorizedView. (authorizedViews.get)

Parameters

string $name

Required. The unique name of the requested AuthorizedView. Values are of the form projects/{project}/instances/{instanc e}/tables/{table}/authorizedViews/{authorized_view}.

array $optParams

Optional parameters.

Return Value

AuthorizedView

Exceptions

Exception

Policy getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])

Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set.

(authorizedViews.getIamPolicy)

Parameters

string $resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

GetIamPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

Policy

Exceptions

Exception

ListAuthorizedViewsResponse listProjectsInstancesTablesAuthorizedViews(string $parent, array $optParams = [])

Lists all AuthorizedViews from a specific table.

(authorizedViews.listProjectsInstancesTablesAuthorizedViews)

Parameters

string $parent

Required. The unique name of the table for which AuthorizedViews should be listed. Values are of the form projects/{project}/instances/{instance}/tables/{table}.

array $optParams

Optional parameters.

Return Value

ListAuthorizedViewsResponse

Exceptions

Exception

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

Updates an AuthorizedView in a table. (authorizedViews.patch)

Parameters

string $name

Identifier. The name of this AuthorizedView. Values are of the form projects/{project}/instances/{instance}/tables/{table}/authorize dViews/{authorized_view}

AuthorizedView $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Policy setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])

Sets the access control policy on a Bigtable resource. Replaces any existing policy. (authorizedViews.setIamPolicy)

Parameters

string $resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

SetIamPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

Policy

Exceptions

Exception

TestIamPermissionsResponse testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])

Returns permissions that the caller has on the specified Bigtable resource.

(authorizedViews.testIamPermissions)

Parameters

string $resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

TestIamPermissionsRequest $postBody
array $optParams

Optional parameters.

Return Value

TestIamPermissionsResponse

Exceptions

Exception