Class: Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb

Overview

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.

Defined Under Namespace

Classes: RestrictedExportPolicy, SelectedResource

Instance Attribute Summary collapse

Instance Attribute Details

#dataset::String

Returns Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123.

Returns:

  • (::String)

    Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 277

class BigQueryDatasetSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource in this dataset that are selectively shared.
  # @!attribute [rw] table
  #   @return [::String]
  #     Optional. Format:
  #     For table:
  #     `projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
  #     Example:"projects/test_project/datasets/test_dataset/tables/test_table"
  class SelectedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Restricted export policy used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, enable restricted export.
  # @!attribute [rw] restrict_direct_table_access
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, restrict direct table access (read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#restricted_export_policy::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy

Returns Optional. If set, restricted export policy will be propagated and enforced on the linked dataset.

Returns:



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 277

class BigQueryDatasetSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource in this dataset that are selectively shared.
  # @!attribute [rw] table
  #   @return [::String]
  #     Optional. Format:
  #     For table:
  #     `projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
  #     Example:"projects/test_project/datasets/test_dataset/tables/test_table"
  class SelectedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Restricted export policy used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, enable restricted export.
  # @!attribute [rw] restrict_direct_table_access
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, restrict direct table access (read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#selected_resources::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>

Returns 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.

Returns:



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 277

class BigQueryDatasetSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource in this dataset that are selectively shared.
  # @!attribute [rw] table
  #   @return [::String]
  #     Optional. Format:
  #     For table:
  #     `projects/{projectId}/datasets/{datasetId}/tables/{tableId}`
  #     Example:"projects/test_project/datasets/test_dataset/tables/test_table"
  class SelectedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Restricted export policy used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, enable restricted export.
  # @!attribute [rw] restrict_direct_table_access
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, restrict direct table access (read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Google::Protobuf::BoolValue]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end