BigQueryAnalyticsHubListing
Property | Value |
---|---|
Google Cloud Service Name | Analytics Hub |
Google Cloud Service Documentation | /bigquery/docs/query-overview |
Google Cloud REST Resource Name | v1.projects.locations.dataExchanges.listings |
Google Cloud REST Resource Documentation | /bigquery/docs/reference/analytics-hub/rest/v1/projects.locations.dataExchanges.listings |
Config Connector Resource Short Names | gcpbigqueryanalyticshublisting gcpbigqueryanalyticshublistings bigqueryanalyticshublisting |
Config Connector Service Name | analyticshub.googleapis.com |
Config Connector Resource Fully Qualified Name | bigqueryanalyticshublistings.bigqueryanalyticshub.cnrm.cloud.google.com |
Can Be Referenced by IAMPolicy/IAMPolicyMember | No |
Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
categories:
- string
dataExchangeRef:
external: string
name: string
namespace: string
dataProvider:
name: string
primaryContact: string
description: string
discoveryType: string
displayName: string
documentation: string
location: string
primaryContact: string
projectRef:
external: string
kind: string
name: string
namespace: string
publisher:
name: string
primaryContact: string
requestAccess: string
resourceID: string
source:
bigQueryDatasetSource:
datasetRef:
external: string
name: string
namespace: string
restrictedExportPolicy:
enabled: boolean
restrictDirectTableAccess: boolean
restrictQueryResult: boolean
selectedResources:
- tableRef:
external: string
name: string
namespace: string
Fields | |
---|---|
Optional |
Optional. Categories of the listing. Up to two categories are allowed. |
Optional |
|
Required* |
BigQueryAnalyticsHubDataExchangeRef defines the resource reference to BigQueryAnalyticsHubDataExchange, which "External" field holds the GCP identifier for the KRM object. |
Optional |
A reference to an externally managed BigQueryAnalyticsHubDataExchange resource. Should be in the format "projects/{{projectID}}/locations/{{location}}/dataexchanges/{{dataexchangeID}}". |
Optional |
The name of a BigQueryAnalyticsHubDataExchange resource. |
Optional |
The namespace of a BigQueryAnalyticsHubDataExchange resource. |
Optional |
Optional. Details of the data provider who owns the source data. |
Optional |
Optional. Name of the data provider. |
Optional |
Optional. Email or URL of the data provider. Max Length: 1000 bytes. |
Optional |
Optional. Short description of the listing. The description must contain only Unicode characters or tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes. |
Optional |
Optional. Type of discovery of the listing on the discovery page. |
Required* |
Required. Human-readable display name of the listing. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes. |
Optional |
Optional. Documentation describing the listing. |
Required* |
Immutable. The name of the location this data exchange. |
Optional |
Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes. |
Required* |
The Project that this resource belongs to. |
Optional |
The `projectID` field of a project, when not managed by Config Connector. |
Optional |
The kind of the Project resource; optional but must be `Project` if provided. |
Optional |
The `name` field of a `Project` resource. |
Optional |
The `namespace` field of a `Project` resource. |
Optional |
Optional. Details of the publisher who owns the listing and who can share the source data. |
Optional |
Optional. Name of the listing publisher. |
Optional |
Optional. Email or URL of the listing publisher. Max Length: 1000 bytes. |
Optional |
Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes. |
Optional |
Immutable. The BigQueryAnalyticsHubDataExchangeListing name. If not given, the metadata.name will be used. |
Required* |
|
Optional |
One of the following fields must be set. |
Required* |
Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123` |
Optional |
If provided must be in the format `projects/[project_id]/datasets/[dataset_id]`. |
Optional |
The `metadata.name` field of a `BigQueryDataset` resource. |
Optional |
The `metadata.namespace` field of a `BigQueryDataset` resource. |
Optional |
Optional. If set, restricted export policy will be propagated and enforced on the linked dataset. |
Optional |
Optional. If true, enable restricted export. |
Optional |
Optional. If true, restrict direct table access (read api/tabledata.list) on linked table. |
Optional |
Optional. If true, restrict export of query result derived from restricted linked dataset table. |
Optional |
Optional. Resources in this dataset that are selectively shared. If this field is empty, then the entire dataset (all resources) are shared. This field is only valid for data clean room exchanges. |
Optional |
|
Optional |
Optional. A reference to a BigQueryTable. Format: `projects/{projectId}/datasets/{datasetId}/tables/{tableId}` Example:"projects/test_project/datasets/test_dataset/tables/test_table" |
Optional |
If provided must be in the format `projects/{projectId}/datasets/{datasetId}/tables/{tableId}`. |
Optional |
The `metadata.name` field of a `BigQueryTable` resource. |
Optional |
The `metadata.namespace` field of a `BigQueryTable` resource. |
* Field is required when parent field is specified
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
externalRef: string
observedGeneration: integer
observedState:
state: string
Fields | |
---|---|
conditions |
Conditions represent the latest available observations of the object's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |
externalRef |
A unique specifier for the BigQueryAnalyticsHubDataExchangeListing resource in GCP. |
observedGeneration |
ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
observedState |
ObservedState is the state of the resource as most recently observed in GCP. |
observedState.state |
Output only. Current state of the listing. |
Sample YAML(s)
Typical Use Case
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: bigqueryanalyticshub.cnrm.cloud.google.com/v1beta1
kind: BigQueryAnalyticsHubListing
metadata:
name: bigqueryanalyticshublistingsample
spec:
displayName: my_listing
location: US
source:
bigQueryDatasetSource:
datasetRef:
name: bigqueryanalyticshublisting-dep
dataExchangeRef:
name: bigqueryanalyticshublistingdep
projectRef:
external: ${PROJECT_ID?}
---
apiVersion: bigquery.cnrm.cloud.google.com/v1beta1
kind: BigQueryDataset
metadata:
name: bigqueryanalyticshublisting-dep
spec:
friendlyName: my-bigquerydataset
---
apiVersion: bigqueryanalyticshub.cnrm.cloud.google.com/v1beta1
kind: BigQueryAnalyticsHubDataExchange
metadata:
name: bigqueryanalyticshublistingdep
spec:
displayName: my_data_exchange
location: US
projectRef:
external: ${PROJECT_ID?}