Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/analyticshub:v1.ts";

§Classes

AnalyticsHub

Exchange data and analytics assets securely and efficiently.

GoogleAuth

§Variables

auth

§Interfaces

AuditConfig

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.

AuditLogConfig

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

BigQueryDatasetSource

A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a symbolic link to a shared dataset.

Binding

Associates members, or principals, with a role.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

DataExchange

A data exchange is a container that lets you share data. Along with the descriptive information about the data exchange, it contains listings that reference shared datasets.

DataProvider

Contains details of the data provider.

DcrExchangeConfig

Data Clean Room (DCR), used for privacy-safe and secured data sharing.

DefaultExchangeConfig

Default Analytics Hub data exchange, used for secured data sharing.

DestinationDataset

Defines the destination bigquery dataset.

DestinationDatasetReference

Contains the reference that identifies a destination bigquery dataset.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

Expr

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

GetIamPolicyRequest

Request message for GetIamPolicy method.

GetPolicyOptions

Encapsulates settings provided to GetIamPolicy.

LinkedResource

Reference to a linked resource tracked by this Subscription.

ListDataExchangesResponse

Message for response to the list of data exchanges.

Listing

A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.

ListListingsResponse

Message for response to the list of Listings.

ListOrgDataExchangesResponse

Message for response to listing data exchanges in an organization and location.

ListSharedResourceSubscriptionsResponse

Message for response to the listing of shared resource subscriptions.

ListSubscriptionsResponse

Message for response to the listing of subscriptions.

Operation

This resource represents a long-running operation that is the result of a network API call.

OperationMetadata

Represents the metadata of a long-running operation in Analytics Hub.

OrganizationsLocationsDataExchangesListOptions

Additional options for AnalyticsHub#organizationsLocationsDataExchangesList.

Policy

An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation. JSON example: { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } YAML example: ``` bindings: - members:

ProjectsLocationsDataExchangesCreateOptions

Additional options for AnalyticsHub#projectsLocationsDataExchangesCreate.

ProjectsLocationsDataExchangesListingsCreateOptions

Additional options for AnalyticsHub#projectsLocationsDataExchangesListingsCreate.

ProjectsLocationsDataExchangesListingsListOptions

Additional options for AnalyticsHub#projectsLocationsDataExchangesListingsList.

ProjectsLocationsDataExchangesListingsListSubscriptionsOptions

Additional options for AnalyticsHub#projectsLocationsDataExchangesListingsListSubscriptions.

ProjectsLocationsDataExchangesListingsPatchOptions

Additional options for AnalyticsHub#projectsLocationsDataExchangesListingsPatch.

ProjectsLocationsDataExchangesListOptions

Additional options for AnalyticsHub#projectsLocationsDataExchangesList.

ProjectsLocationsDataExchangesListSubscriptionsOptions

Additional options for AnalyticsHub#projectsLocationsDataExchangesListSubscriptions.

ProjectsLocationsDataExchangesPatchOptions

Additional options for AnalyticsHub#projectsLocationsDataExchangesPatch.

ProjectsLocationsSubscriptionsListOptions

Additional options for AnalyticsHub#projectsLocationsSubscriptionsList.

Publisher

Contains details of the listing publisher.

RefreshSubscriptionRequest

Message for refreshing a subscription.

RefreshSubscriptionResponse

Message for response when you refresh a subscription.

RestrictedExportConfig

Restricted export config, used to configure restricted export on linked dataset.

RestrictedExportPolicy

Restricted export policy used to configure restricted export on linked dataset.

RevokeSubscriptionRequest

Message for revoking a subscription.

RevokeSubscriptionResponse

Message for response when you revoke a subscription.

SelectedResource

Resource in this dataset that are selectively shared.

SetIamPolicyRequest

Request message for SetIamPolicy method.

SharingEnvironmentConfig

Sharing environment is a behavior model for sharing data within a data exchange. This option is configurable for a data exchange.

Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

SubscribeDataExchangeRequest

Message for subscribing to a Data Exchange.

SubscribeDataExchangeResponse

Message for response when you subscribe to a Data Exchange.

SubscribeListingRequest

Message for subscribing to a listing.

SubscribeListingResponse

Message for response when you subscribe to a listing.

Subscription

A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.

TestIamPermissionsRequest

Request message for TestIamPermissions method.

TestIamPermissionsResponse

Response message for TestIamPermissions method.