google.cloud.forseti.common.gcp_type.bigquery_access_controls module

BigQuery ACL Resource.

class BigqueryAccessControls(project_id, dataset_id, full_name, special_group, user_email, domain, group_email, role, view, raw_json)[source]

Bases: object

BigQuery ACL Resource.

__hash__()[source]

Return hash of properties.

Returns:The hash of the class properties.
Return type:hash
classmethod from_dict(project_id, dataset_id, full_name, acl)[source]

Returns a new BigqueryAccessControls object from dict.

Parameters:
  • project_id (str) – the project id
  • dataset_id (str) – BigQuery dataset_id
  • full_name (str) – The full resource name and ancestory.
  • acl (dict) – The Bigquery Dataset Access ACL.
Returns:

A new BigqueryAccessControls object.

Return type:

BigqueryAccessControls

static from_json(project_id, dataset_id, full_name, acls)[source]

Yields a new BigqueryAccessControls object from for each acl.

Parameters:
  • project_id (str) – the project id
  • dataset_id (str) – BigQuery dataset_id
  • full_name (str) – The full resource name and ancestory.
  • acls (str) – The json dataset access list.
Yields:

BigqueryAccessControls

A new BigqueryAccessControls object for

each acl in acls.