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.
342 343 344 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 342 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.
322 323 324 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 322 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.
362 363 364 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 362 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.
303 304 305 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 303 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.
161 162 163 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 161 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.
141 142 143 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 141 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.
181 182 183 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 181 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.
122 123 124 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 122 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.
206 207 208 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 206 def add_reader_view view add_access_view view end |
#add_writer_domain(domain) ⇒ Object
Add writer access to a domain.
264 265 266 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 264 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.
244 245 246 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 244 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.
284 285 286 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 284 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.
225 226 227 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 225 def add_writer_user email add_access_role_scope_value :writer, :user, email end |
#owner_domain?(domain) ⇒ Boolean
Checks owner access for a domain.
848 849 850 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 848 def owner_domain? domain lookup_access_role_scope_value :owner, :domain, domain end |
#owner_group?(email) ⇒ Boolean
Checks owner access for a group.
829 830 831 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 829 def owner_group? email lookup_access_role_scope_value :owner, :group, email end |
#owner_special?(group) ⇒ Boolean
Checks owner access for a special group.
867 868 869 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 867 def owner_special? group lookup_access_role_scope_value :owner, :special, group end |
#owner_user?(email) ⇒ Boolean
Checks owner access for a user.
811 812 813 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 811 def owner_user? email lookup_access_role_scope_value :owner, :user, email end |
#reader_domain?(domain) ⇒ Boolean
Checks reader access for a domain.
676 677 678 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 676 def reader_domain? domain lookup_access_role_scope_value :reader, :domain, domain end |
#reader_group?(email) ⇒ Boolean
Checks reader access for a group.
657 658 659 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 657 def reader_group? email lookup_access_role_scope_value :reader, :group, email end |
#reader_special?(group) ⇒ Boolean
Checks reader access for a special group.
695 696 697 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 695 def reader_special? group lookup_access_role_scope_value :reader, :special, group end |
#reader_user?(email) ⇒ Boolean
Checks reader access for a user.
639 640 641 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 639 def reader_user? email lookup_access_role_scope_value :reader, :user, email end |
#reader_view?(view) ⇒ Boolean
Checks reader access for a view.
719 720 721 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 719 def reader_view? view lookup_access_view view end |
#remove_owner_domain(domain) ⇒ Object
Remove owner access from a domain.
601 602 603 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 601 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.
581 582 583 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 581 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.
621 622 623 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 621 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.
562 563 564 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 562 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.
420 421 422 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 420 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.
400 401 402 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 400 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.
440 441 442 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 440 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.
381 382 383 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 381 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.
465 466 467 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 465 def remove_reader_view view remove_access_view view end |
#remove_writer_domain(domain) ⇒ Object
Remove writer access from a domain.
523 524 525 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 523 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.
503 504 505 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 503 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.
543 544 545 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 543 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.
484 485 486 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 484 def remove_writer_user email remove_access_role_scope_value :writer, :user, email end |
#writer_domain?(domain) ⇒ Boolean
Checks writer access for a domain.
774 775 776 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 774 def writer_domain? domain lookup_access_role_scope_value :writer, :domain, domain end |
#writer_group?(email) ⇒ Boolean
Checks writer access for a group.
755 756 757 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 755 def writer_group? email lookup_access_role_scope_value :writer, :group, email end |
#writer_special?(group) ⇒ Boolean
Checks writer access for a special group.
793 794 795 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 793 def writer_special? group lookup_access_role_scope_value :writer, :special, group end |
#writer_user?(email) ⇒ Boolean
Checks writer access for a user.
737 738 739 |
# File 'lib/google/cloud/bigquery/dataset/access.rb', line 737 def writer_user? email lookup_access_role_scope_value :writer, :user, email end |