snowflake.core.grant.Securables¶

class snowflake.core.grant.Securables¶

Bases: object

Util Class with static method to create various Securable class instances.

Examples

Creating a Securable:

>>> Securables.account("test-account")
>>> Securables.database("testdb")
>>> Securables.current_account
Copy

Methods

static account(name: str) → Securable¶

Securable for an account.

static alert(name: str) → Securable¶

Securable for an alert.

static all_aggregation_policies(scope: Securable) → Securable¶

Securable for all aggregation policies.

static all_alerts(scope: Securable) → Securable¶

Securable for all alerts.

static all_authentication_policies(scope: Securable) → Securable¶

Securable for all authentication policies.

static all_data_metric_functions(scope: Securable) → Securable¶

Securable for all data metric functions.

static all_dynamic_tables(scope: Securable) → Securable¶

Securable for all dynamic tables.

static all_event_tables(scope: Securable) → Securable¶

Securable for all event tables.

static all_external_tables(scope: Securable) → Securable¶

Securable for all external tables.

static all_file_formats(scope: Securable) → Securable¶

Securable for all file formats.

static all_functions(scope: Securable) → Securable¶

Securable for all functions.

static all_git_repositories(scope: Securable) → Securable¶

Securable for all git repositories.

static all_hybrid_tables(scope: Securable) → Securable¶

Securable for all hybrid tables.

static all_iceberg_tables(scope: Securable) → Securable¶

Securable for all iceberg tables.

static all_image_repositories(scope: Securable) → Securable¶

Securable for all image repositories.

static all_masking_policies(scope: Securable) → Securable¶

Securable for all masking policies.

static all_materialized_views(scope: Securable) → Securable¶

Securable for all materialized views.

static all_models(scope: Securable) → Securable¶

Securable for all models.

static all_network_rules(scope: Securable) → Securable¶

Securable for all network rules.

static all_notebooks(scope: Securable) → Securable¶

Securable for all notebooks.

static all_packages_policies(scope: Securable) → Securable¶

Securable for all packages policies.

static all_password_policies(scope: Securable) → Securable¶

Securable for all password policies.

static all_procedures(scope: Securable) → Securable¶

Securable for all procedures.

static all_projection_policies(scope: Securable) → Securable¶

Securable for all projection policies.

static all_row_access_policies(scope: Securable) → Securable¶

Securable for all row access policies.

static all_schemas(scope: Securable) → Securable¶

Securable for all schemas.

static all_secrets(scope: Securable) → Securable¶

Securable for all secrets.

static all_sequences(scope: Securable) → Securable¶

Securable for all sequences.

static all_services(scope: Securable) → Securable¶

Securable for all services.

static all_session_policies(scope: Securable) → Securable¶

Securable for all session policies.

static all_stages(scope: Securable) → Securable¶

Securable for all stages.

static all_streamlits(scope: Securable) → Securable¶

Securable for all streamlits.

static all_streams(scope: Securable) → Securable¶

Securable for all streams.

static all_tables(scope: Securable) → Securable¶

Securable for all tables.

static all_tags(scope: Securable) → Securable¶

Securable for all tags.

static all_tasks(scope: Securable) → Securable¶

Securable for all tasks.

static all_views(scope: Securable) → Securable¶

Securable for all views.

static application_role(name: str) → Securable¶

Securable for a application role.

static authentication_policy(name: str) → Securable¶

Securable for an authentication policy.

static compute_pool(name: str) → Securable¶

Securable for a compute pool.

static connection(name: str) → Securable¶

Securable for a connection.

static data_metric_function(name: str) → Securable¶

Securable for a data metric function.

static database(name: str) → Securable¶

Securable for a database.

static database_role(name: str) → Securable¶

Securable for a database role.

static dynamic_table(name: str) → Securable¶

Securable for a dynamic table.

static event_table(name: str) → Securable¶

Securable for an event table.

static external_table(name: str) → Securable¶

Securable for an external table.

static external_volume(name: str) → Securable¶

Securable for an external volume.

static failover_group(name: str) → Securable¶

Securable for a failover group.

static file_format(name: str) → Securable¶

Securable for a file format.

static function(name: str) → Securable¶

Securable for a function.

static future_aggregation_policies(scope: Securable) → Securable¶

Securable for future aggregation policies.

static future_alerts(scope: Securable) → Securable¶

Securable for future alerts.

static future_authentication_policies(scope: Securable) → Securable¶

Securable for future authentication policies.

static future_data_metric_functions(scope: Securable) → Securable¶

Securable for future data metric functions.

static future_dynamic_tables(scope: Securable) → Securable¶

Securable for future dynamic tables.

static future_event_tables(scope: Securable) → Securable¶

Securable for future event tables.

static future_external_tables(scope: Securable) → Securable¶

Securable for future external tables.

static future_file_formats(scope: Securable) → Securable¶

Securable for future file formats.

static future_functions(scope: Securable) → Securable¶

Securable for future functions.

static future_git_repositories(scope: Securable) → Securable¶

Securable for future git repositories.

static future_hybrid_tables(scope: Securable) → Securable¶

Securable for future hybrid tables.

static future_iceberg_tables(scope: Securable) → Securable¶

Securable for future iceberg tables.

static future_image_repositories(scope: Securable) → Securable¶

Securable for future image repositories.

static future_masking_policies(scope: Securable) → Securable¶

Securable for future masking policies.

static future_materialized_views(scope: Securable) → Securable¶

Securable for future materialized views.

static future_models(scope: Securable) → Securable¶

Securable for future models.

static future_network_rules(scope: Securable) → Securable¶

Securable for future network rules.

static future_notebooks(scope: Securable) → Securable¶

Securable for future notebooks.

static future_packages_policies(scope: Securable) → Securable¶

Securable for future packages policies.

static future_password_policies(scope: Securable) → Securable¶

Securable for future password policies.

static future_procedures(scope: Securable) → Securable¶

Securable for future procedures.

static future_projection_policies(scope: Securable) → Securable¶

Securable for future projection policies.

static future_row_access_policies(scope: Securable) → Securable¶

Securable for future row access policies.

static future_schemas(scope: Securable) → Securable¶

Securable for future schemas.

static future_secrets(scope: Securable) → Securable¶

Securable for future secrets.

static future_sequences(scope: Securable) → Securable¶

Securable for future sequences.

static future_services(scope: Securable) → Securable¶

Securable for future services.

static future_session_policies(scope: Securable) → Securable¶

Securable for future session policies.

static future_stages(scope: Securable) → Securable¶

Securable for future stages.

static future_streamlits(scope: Securable) → Securable¶

Securable for future streamlits.

static future_streams(scope: Securable) → Securable¶

Securable for future streams.

static future_tables(scope: Securable) → Securable¶

Securable for future tables.

static future_tags(scope: Securable) → Securable¶

Securable for future tags.

static future_tasks(scope: Securable) → Securable¶

Securable for future tasks.

static future_views(scope: Securable) → Securable¶

Securable for future views.

static git_repository(name: str) → Securable¶

Securable for a git repository.

static hybrid_table(name: str) → Securable¶

Securable for a hybrid table.

static iceberg_table(name: str) → Securable¶

Securable for an iceberg table.

static image_repository(name: str) → Securable¶

Securable for an image repository.

static integration(name: str) → Securable¶

Securable for an integration.

static masking_policy(name: str) → Securable¶

Securable for a masking policy.

static materialized_view(name: str) → Securable¶

Securable for a materialized view.

static model(name: str) → Securable¶

Securable for a model.

static network_rule(name: str) → Securable¶

Securable for a network rule.

static notebook(name: str) → Securable¶

Securable for a notebook.

static packages_policy(name: str) → Securable¶

Securable for a packages policy.

static password_policy(name: str) → Securable¶

Securable for a password policy.

static pipe(name: str) → Securable¶

Securable for a pipe.

static procedure(name: str) → Securable¶

Securable for a procedure.

static projection_policy(name: str) → Securable¶

Securable for a projection policy.

static replication_group(name: str) → Securable¶

Securable for a replication group.

static resource_monitor(name: str) → Securable¶

Securable for a resource monitor.

static role(name: str) → Securable¶

Securable for a role.

static row_access_policy(name: str) → Securable¶

Securable for a row access policy.

static secret(name: str) → Securable¶

Securable for a secret.

static sequence(name: str) → Securable¶

Securable for a sequence.

static service(name: str) → Securable¶

Securable for a service.

static service_role(name: str) → Securable¶

Securable for a service role.

static session_policy(name: str) → Securable¶

Securable for a session policy.

static stage(name: str) → Securable¶

Securable for a stage.

static stream(name: str) → Securable¶

Securable for a stream.

static streamlit(name: str) → Securable¶

Securable for a streamlit.

static table(name: str) → Securable¶

Securable for a table.

static tag(name: str) → Securable¶

Securable for a tag.

static task(name: str) → Securable¶

Securable for a task.

static user(name: str) → Securable¶

Securable for a user.

static view(name: str) → Securable¶

Securable for a view.

static warehouse(name: str) → Securable¶

Securable for a warehouse.