#include <dataset.h>
◆ DatasetAccess() [1/2]
google_bigquery_api::Dataset::DatasetAccess::DatasetAccess |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~DatasetAccess()
google_bigquery_api::Dataset::DatasetAccess::~DatasetAccess |
( |
| ) |
|
|
virtual |
◆ 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()
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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/bigquery_api/dataset.h
- google/bigquery_api/dataset.cc