bigquery  v2
Public Member Functions | Static Public Member Functions | List of all members
google_bigquery_api::Dataset::DatasetAccess Class Reference

#include <dataset.h>

Inheritance diagram for google_bigquery_api::Dataset::DatasetAccess:

Public Member Functions

 DatasetAccess (const Json::Value &storage)
 
 DatasetAccess (Json::Value *storage)
 
virtual ~DatasetAccess ()
 
const StringPiece GetTypeName () const
 
bool has_domain () const
 
void clear_domain ()
 
const StringPiece get_domain () const
 
void set_domain (const StringPiece &value)
 
bool has_group_by_email () const
 
void clear_group_by_email ()
 
const StringPiece get_group_by_email () const
 
void set_group_by_email (const StringPiece &value)
 
bool has_iam_member () const
 
void clear_iam_member ()
 
const StringPiece get_iam_member () const
 
void set_iam_member (const StringPiece &value)
 
bool has_role () const
 
void clear_role ()
 
const StringPiece get_role () const
 
void set_role (const StringPiece &value)
 
bool has_special_group () const
 
void clear_special_group ()
 
const StringPiece get_special_group () const
 
void set_special_group (const StringPiece &value)
 
bool has_user_by_email () const
 
void clear_user_by_email ()
 
const StringPiece get_user_by_email () const
 
void set_user_by_email (const StringPiece &value)
 
bool has_view () const
 
void clear_view ()
 
const TableReference get_view () const
 
TableReference mutable_view ()
 

Static Public Member Functions

static DatasetAccessNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ DatasetAccess() [1/2]

google_bigquery_api::Dataset::DatasetAccess::DatasetAccess ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ DatasetAccess() [2/2]

google_bigquery_api::Dataset::DatasetAccess::DatasetAccess ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~DatasetAccess()

google_bigquery_api::Dataset::DatasetAccess::~DatasetAccess ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_domain()

void google_bigquery_api::Dataset::DatasetAccess::clear_domain ( )
inline

Clears the 'domain' attribute.

◆ clear_group_by_email()

void google_bigquery_api::Dataset::DatasetAccess::clear_group_by_email ( )
inline

Clears the 'groupByEmail' attribute.

◆ clear_iam_member()

void google_bigquery_api::Dataset::DatasetAccess::clear_iam_member ( )
inline

Clears the 'iamMember' attribute.

◆ clear_role()

void google_bigquery_api::Dataset::DatasetAccess::clear_role ( )
inline

Clears the 'role' attribute.

◆ clear_special_group()

void google_bigquery_api::Dataset::DatasetAccess::clear_special_group ( )
inline

Clears the 'specialGroup' attribute.

◆ clear_user_by_email()

void google_bigquery_api::Dataset::DatasetAccess::clear_user_by_email ( )
inline

Clears the 'userByEmail' attribute.

◆ clear_view()

void google_bigquery_api::Dataset::DatasetAccess::clear_view ( )
inline

Clears the 'view' attribute.

◆ get_domain()

const StringPiece google_bigquery_api::Dataset::DatasetAccess::get_domain ( ) const
inline

Get the value of the 'domain' attribute.

◆ get_group_by_email()

const StringPiece google_bigquery_api::Dataset::DatasetAccess::get_group_by_email ( ) const
inline

Get the value of the 'groupByEmail' attribute.

◆ get_iam_member()

const StringPiece google_bigquery_api::Dataset::DatasetAccess::get_iam_member ( ) const
inline

Get the value of the 'iamMember' attribute.

◆ get_role()

const StringPiece google_bigquery_api::Dataset::DatasetAccess::get_role ( ) const
inline

Get the value of the 'role' attribute.

◆ get_special_group()

const StringPiece google_bigquery_api::Dataset::DatasetAccess::get_special_group ( ) const
inline

Get the value of the 'specialGroup' attribute.

◆ get_user_by_email()

const StringPiece google_bigquery_api::Dataset::DatasetAccess::get_user_by_email ( ) const
inline

Get the value of the 'userByEmail' attribute.

◆ get_view()

const TableReference google_bigquery_api::Dataset::DatasetAccess::get_view ( ) const

Get a reference to the value of the 'view' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::Dataset::DatasetAccess::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::DatasetAccess

◆ has_domain()

bool google_bigquery_api::Dataset::DatasetAccess::has_domain ( ) const
inline

Determine if the 'domain' attribute was set.

Returns
true if the 'domain' attribute was set.

◆ has_group_by_email()

bool google_bigquery_api::Dataset::DatasetAccess::has_group_by_email ( ) const
inline

Determine if the 'groupByEmail' attribute was set.

Returns
true if the 'groupByEmail' attribute was set.

◆ has_iam_member()

bool google_bigquery_api::Dataset::DatasetAccess::has_iam_member ( ) const
inline

Determine if the 'iamMember' attribute was set.

Returns
true if the 'iamMember' attribute was set.

◆ has_role()

bool google_bigquery_api::Dataset::DatasetAccess::has_role ( ) const
inline

Determine if the 'role' attribute was set.

Returns
true if the 'role' attribute was set.

◆ has_special_group()

bool google_bigquery_api::Dataset::DatasetAccess::has_special_group ( ) const
inline

Determine if the 'specialGroup' attribute was set.

Returns
true if the 'specialGroup' attribute was set.

◆ has_user_by_email()

bool google_bigquery_api::Dataset::DatasetAccess::has_user_by_email ( ) const
inline

Determine if the 'userByEmail' attribute was set.

Returns
true if the 'userByEmail' attribute was set.

◆ has_view()

bool google_bigquery_api::Dataset::DatasetAccess::has_view ( ) const
inline

Determine if the 'view' attribute was set.

Returns
true if the 'view' attribute was set.

◆ mutable_view()

TableReference google_bigquery_api::Dataset::DatasetAccess::mutable_view ( )

Gets a reference to a mutable value of the 'view' property.

[Pick one] A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation.

Returns
The result can be modified to change the attribute value.

◆ New()

Dataset::DatasetAccess * google_bigquery_api::Dataset::DatasetAccess::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_domain()

void google_bigquery_api::Dataset::DatasetAccess::set_domain ( const StringPiece &  value)
inline

Change the 'domain' attribute.

[Pick one] A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com". Maps to IAM policy member "domain:DOMAIN".

Parameters
[in]valueThe new value.

◆ set_group_by_email()

void google_bigquery_api::Dataset::DatasetAccess::set_group_by_email ( const StringPiece &  value)
inline

Change the 'groupByEmail' attribute.

[Pick one] An email address of a Google Group to grant access to. Maps to IAM policy member "group:GROUP".

Parameters
[in]valueThe new value.

◆ set_iam_member()

void google_bigquery_api::Dataset::DatasetAccess::set_iam_member ( const StringPiece &  value)
inline

Change the 'iamMember' attribute.

[Pick one] Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group.

Parameters
[in]valueThe new value.

◆ set_role()

void google_bigquery_api::Dataset::DatasetAccess::set_role ( const StringPiece &  value)
inline

Change the 'role' attribute.

[Required] An IAM role ID that should be granted to the user, group, or domain specified in this access entry. The following legacy mappings will be applied: OWNER roles/bigquery.dataOwner WRITER roles/bigquery.dataEditor READER roles/bigquery.dataViewer This field will accept any of the above formats, but will return only the legacy format. For example, if you set this field to "roles/bigquery.dataOwner", it will be returned back as "OWNER".

Parameters
[in]valueThe new value.

◆ set_special_group()

void google_bigquery_api::Dataset::DatasetAccess::set_special_group ( const StringPiece &  value)
inline

Change the 'specialGroup' attribute.

[Pick one] A special group to grant access to. Possible values include: projectOwners: Owners of the enclosing project. projectReaders: Readers of the enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-named IAM members.

Parameters
[in]valueThe new value.

◆ set_user_by_email()

void google_bigquery_api::Dataset::DatasetAccess::set_user_by_email ( const StringPiece &  value)
inline

Change the 'userByEmail' attribute.

[Pick one] An email address of a user to grant access to. For example: fred@.nosp@m.exam.nosp@m.ple.c.nosp@m.om. Maps to IAM policy member "user:EMAIL" or "serviceAccount:EMAIL".

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: