Class: Google::Cloud::Bigquery::Dataset::Access
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::Dataset::Access
- Defined in:
- lib/google/cloud/bigquery/dataset/access.rb
Overview
Dataset Access Control
Represents the access control rules for a Google::Cloud::Bigquery::Dataset.
Instance Method Summary collapse
-
#add_owner_domain(domain) ⇒ Object
Add owner access to a domain.
-
#add_owner_group(email) ⇒ Object
Add owner access to a group.
-
#add_owner_special(group) ⇒ Object
Add owner access to a special group.
-
#add_owner_user(email) ⇒ Object
Add owner access to a user.
-
#add_reader_domain(domain) ⇒ Object
Add reader access to a domain.
-
#add_reader_group(email) ⇒ Object
Add reader access to a group.
-
#add_reader_special(group) ⇒ Object
Add reader access to a special group.
-
#add_reader_user(email) ⇒ Object
Add reader access to a user.
-
#add_reader_view(view) ⇒ Object
Add reader access to a view.
-
#add_writer_domain(domain) ⇒ Object
Add writer access to a domain.
-
#add_writer_group(email) ⇒ Object
Add writer access to a group.
-
#add_writer_special(group) ⇒ Object
Add writer access to a special group.
-
#add_writer_user(email) ⇒ Object
Add writer access to a user.
-
#owner_domain?(domain) ⇒ Boolean
Checks owner access for a domain.
-
#owner_group?(email) ⇒ Boolean
Checks owner access for a group.
-
#owner_special?(group) ⇒ Boolean
Checks owner access for a special group.
-
#owner_user?(email) ⇒ Boolean
Checks owner access for a user.
-
#reader_domain?(domain) ⇒ Boolean
Checks reader access for a domain.
-
#reader_group?(email) ⇒ Boolean
Checks reader access for a group.
-
#reader_special?(group) ⇒ Boolean
Checks reader access for a special group.
-
#reader_user?(email) ⇒ Boolean
Checks reader access for a user.
-
#reader_view?(view) ⇒ Boolean
Checks reader access for a view.
-
#remove_owner_domain(domain) ⇒ Object
Remove owner access from a domain.
-
#remove_owner_group(email) ⇒ Object
Remove owner access from a group.
-
#remove_owner_special(group) ⇒ Object
Remove owner access from a special group.
-
#remove_owner_user(email) ⇒ Object
Remove owner access from a user.
-
#remove_reader_domain(domain) ⇒ Object
Remove reader access from a domain.
-
#remove_reader_group(email) ⇒ Object
Remove reader access from a group.
-
#remove_reader_special(group) ⇒ Object
Remove reader access from a special group.
-
#remove_reader_user(email) ⇒ Object
Remove reader access from a user.
-
#remove_reader_view(view) ⇒ Object
Remove reader access from a view.
-
#remove_writer_domain(domain) ⇒ Object
Remove writer access from a domain.
-
#remove_writer_group(email) ⇒ Object
Remove writer access from a group.
-
#remove_writer_special(group) ⇒ Object
Remove writer access from a special group.
-
#remove_writer_user(email) ⇒ Object
Remove writer access from a user.
-
#writer_domain?(domain) ⇒ Boolean
Checks writer access for a domain.
-
#writer_group?(email) ⇒ Boolean
Checks writer access for a group.
-
#writer_special?(group) ⇒ Boolean
Checks writer access for a special group.
-
#writer_user?(email) ⇒ Boolean
Checks writer access for a user.
Instance Method Details
#add_owner_domain(domain) ⇒ Object
Add owner access to a domain.
348 349 350 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 348 def add_owner_domain domain add_access_role_scope_value :owner, :domain, domain end |
#add_owner_group(email) ⇒ Object
Add owner access to a group.
328 329 330 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 328 def add_owner_group email add_access_role_scope_value :owner, :group, email end |
#add_owner_special(group) ⇒ Object
Add owner access to a special group.
368 369 370 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 368 def add_owner_special group add_access_role_scope_value :owner, :special, group end |
#add_owner_user(email) ⇒ Object
Add owner access to a user.
309 310 311 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 309 def add_owner_user email add_access_role_scope_value :owner, :user, email end |
#add_reader_domain(domain) ⇒ Object
Add reader access to a domain.
167 168 169 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 167 def add_reader_domain domain add_access_role_scope_value :reader, :domain, domain end |
#add_reader_group(email) ⇒ Object
Add reader access to a group.
147 148 149 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 147 def add_reader_group email add_access_role_scope_value :reader, :group, email end |
#add_reader_special(group) ⇒ Object
Add reader access to a special group.
187 188 189 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 187 def add_reader_special group add_access_role_scope_value :reader, :special, group end |
#add_reader_user(email) ⇒ Object
Add reader access to a user.
128 129 130 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 128 def add_reader_user email add_access_role_scope_value :reader, :user, email end |
#add_reader_view(view) ⇒ Object
Add reader access to a view.
212 213 214 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 212 def add_reader_view view add_access_view view end |
#add_writer_domain(domain) ⇒ Object
Add writer access to a domain.
270 271 272 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 270 def add_writer_domain domain add_access_role_scope_value :writer, :domain, domain end |
#add_writer_group(email) ⇒ Object
Add writer access to a group.
250 251 252 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 250 def add_writer_group email add_access_role_scope_value :writer, :group, email end |
#add_writer_special(group) ⇒ Object
Add writer access to a special group.
290 291 292 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 290 def add_writer_special group add_access_role_scope_value :writer, :special, group end |
#add_writer_user(email) ⇒ Object
Add writer access to a user.
231 232 233 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 231 def add_writer_user email add_access_role_scope_value :writer, :user, email end |
#owner_domain?(domain) ⇒ Boolean
Checks owner access for a domain.
854 855 856 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 854 def owner_domain? domain lookup_access_role_scope_value :owner, :domain, domain end |
#owner_group?(email) ⇒ Boolean
Checks owner access for a group.
835 836 837 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 835 def owner_group? email lookup_access_role_scope_value :owner, :group, email end |
#owner_special?(group) ⇒ Boolean
Checks owner access for a special group.
873 874 875 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 873 def owner_special? group lookup_access_role_scope_value :owner, :special, group end |
#owner_user?(email) ⇒ Boolean
Checks owner access for a user.
817 818 819 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 817 def owner_user? email lookup_access_role_scope_value :owner, :user, email end |
#reader_domain?(domain) ⇒ Boolean
Checks reader access for a domain.
682 683 684 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 682 def reader_domain? domain lookup_access_role_scope_value :reader, :domain, domain end |
#reader_group?(email) ⇒ Boolean
Checks reader access for a group.
663 664 665 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 663 def reader_group? email lookup_access_role_scope_value :reader, :group, email end |
#reader_special?(group) ⇒ Boolean
Checks reader access for a special group.
701 702 703 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 701 def reader_special? group lookup_access_role_scope_value :reader, :special, group end |
#reader_user?(email) ⇒ Boolean
Checks reader access for a user.
645 646 647 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 645 def reader_user? email lookup_access_role_scope_value :reader, :user, email end |
#reader_view?(view) ⇒ Boolean
Checks reader access for a view.
725 726 727 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 725 def reader_view? view lookup_access_view view end |
#remove_owner_domain(domain) ⇒ Object
Remove owner access from a domain.
607 608 609 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 607 def remove_owner_domain domain remove_access_role_scope_value :owner, :domain, domain end |
#remove_owner_group(email) ⇒ Object
Remove owner access from a group.
587 588 589 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 587 def remove_owner_group email remove_access_role_scope_value :owner, :group, email end |
#remove_owner_special(group) ⇒ Object
Remove owner access from a special group.
627 628 629 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 627 def remove_owner_special group remove_access_role_scope_value :owner, :special, group end |
#remove_owner_user(email) ⇒ Object
Remove owner access from a user.
568 569 570 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 568 def remove_owner_user email remove_access_role_scope_value :owner, :user, email end |
#remove_reader_domain(domain) ⇒ Object
Remove reader access from a domain.
426 427 428 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 426 def remove_reader_domain domain remove_access_role_scope_value :reader, :domain, domain end |
#remove_reader_group(email) ⇒ Object
Remove reader access from a group.
406 407 408 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 406 def remove_reader_group email remove_access_role_scope_value :reader, :group, email end |
#remove_reader_special(group) ⇒ Object
Remove reader access from a special group.
446 447 448 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 446 def remove_reader_special group remove_access_role_scope_value :reader, :special, group end |
#remove_reader_user(email) ⇒ Object
Remove reader access from a user.
387 388 389 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 387 def remove_reader_user email remove_access_role_scope_value :reader, :user, email end |
#remove_reader_view(view) ⇒ Object
Remove reader access from a view.
471 472 473 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 471 def remove_reader_view view remove_access_view view end |
#remove_writer_domain(domain) ⇒ Object
Remove writer access from a domain.
529 530 531 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 529 def remove_writer_domain domain remove_access_role_scope_value :writer, :domain, domain end |
#remove_writer_group(email) ⇒ Object
Remove writer access from a group.
509 510 511 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 509 def remove_writer_group email remove_access_role_scope_value :writer, :group, email end |
#remove_writer_special(group) ⇒ Object
Remove writer access from a special group.
549 550 551 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 549 def remove_writer_special group remove_access_role_scope_value :writer, :special, group end |
#remove_writer_user(email) ⇒ Object
Remove writer access from a user.
490 491 492 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 490 def remove_writer_user email remove_access_role_scope_value :writer, :user, email end |
#writer_domain?(domain) ⇒ Boolean
Checks writer access for a domain.
780 781 782 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 780 def writer_domain? domain lookup_access_role_scope_value :writer, :domain, domain end |
#writer_group?(email) ⇒ Boolean
Checks writer access for a group.
761 762 763 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 761 def writer_group? email lookup_access_role_scope_value :writer, :group, email end |
#writer_special?(group) ⇒ Boolean
Checks writer access for a special group.
799 800 801 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 799 def writer_special? group lookup_access_role_scope_value :writer, :special, group end |
#writer_user?(email) ⇒ Boolean
Checks writer access for a user.
743 744 745 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 743 def writer_user? email lookup_access_role_scope_value :writer, :user, email end |