REST Resource: projects.instances.tables.authorizedViews

Resource: AuthorizedView

An Authorized View of a Cloud Bigtable Table.

JSON representation
{
  "name": string,
  "etag": string,
  "deletionProtection": boolean,

  // Union field authorized_view can be only one of the following:
  "subsetView": {
    object (SubsetView)
  }
  // End of list of possible types for union field authorized_view.
}
Fields
name

string

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

etag

string

The etag for this AuthorizedView. If this is provided on update, it must match the server's etag. The server returns ABORTED error on a mismatched etag.

deletionProtection

boolean

Set to true to make the AuthorizedView protected against deletion. The parent Table and containing Instance cannot be deleted if an AuthorizedView has this bit set.

Union field authorized_view. The type of this AuthorizedView. authorized_view can be only one of the following:
subsetView

object (SubsetView)

An AuthorizedView permitting access to an explicit subset of a Table.

SubsetView

Defines a simple AuthorizedView that is a subset of the underlying Table.

JSON representation
{
  "rowPrefixes": [
    string
  ],
  "familySubsets": {
    string: {
      object (FamilySubsets)
    },
    ...
  }
}
Fields
rowPrefixes[]

string (bytes format)

row prefixes to be included in the AuthorizedView. To provide access to all rows, include the empty string as a prefix ("").

A base64-encoded string.

familySubsets

map (key: string, value: object (FamilySubsets))

Map from column family name to the columns in this family to be included in the AuthorizedView.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

FamilySubsets

Subsets of a column family that are included in this AuthorizedView.

JSON representation
{
  "qualifiers": [
    string
  ],
  "qualifierPrefixes": [
    string
  ]
}
Fields
qualifiers[]

string (bytes format)

Individual exact column qualifiers to be included in the AuthorizedView.

A base64-encoded string.

qualifierPrefixes[]

string (bytes format)

Prefixes for qualifiers to be included in the AuthorizedView. Every qualifier starting with one of these prefixes is included in the AuthorizedView. To provide access to all qualifiers, include the empty string as a prefix ("").

A base64-encoded string.

Methods

create

Creates a new AuthorizedView in a table.

delete

Permanently deletes a specified AuthorizedView.

get

Gets information from a specified AuthorizedView.

getIamPolicy

Gets the access control policy for a Bigtable resource.

list

Lists all AuthorizedViews from a specific table.

patch

Updates an AuthorizedView in a table.

setIamPolicy

Sets the access control policy on a Bigtable resource.

testIamPermissions

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