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

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

Defined Under Namespace

Modules: Category, State Classes: BigQueryDatasetSource, RestrictedExportConfig

Instance Attribute Summary collapse

Instance Attribute Details

#bigquery_dataset::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource

Returns Required. Shared dataset i.e. BigQuery dataset source.

Returns:



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#categories::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::Category>

Returns Optional. Categories of the listing. Up to two categories are allowed.

Returns:



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#data_provider::Google::Cloud::Bigquery::AnalyticsHub::V1::DataProvider

Returns Optional. Details of the data provider who owns the source data.

Returns:



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#description::String

Returns Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.

Returns:

  • (::String)

    Optional. Short description of the listing. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#discovery_type::Google::Cloud::Bigquery::AnalyticsHub::V1::DiscoveryType

Returns Optional. Type of discovery of the listing on the discovery page.

Returns:



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#display_name::String

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

Returns:

  • (::String)

    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.



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#documentation::String

Returns Optional. Documentation describing the listing.

Returns:

  • (::String)

    Optional. Documentation describing the listing.



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#icon::String

Returns Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.

Returns:

  • (::String)

    Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the contents of the field are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#name::String (readonly)

Returns Output only. The resource name of the listing. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

Returns:

  • (::String)

    Output only. The resource name of the listing. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#primary_contact::String

Returns Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.

Returns:

  • (::String)

    Optional. Email or URL of the primary point of contact of the listing. Max Length: 1000 bytes.



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#publisher::Google::Cloud::Bigquery::AnalyticsHub::V1::Publisher

Returns Optional. Details of the publisher who owns the listing and who can share the source data.

Returns:



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#request_access::String

Returns Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.

Returns:

  • (::String)

    Optional. Email or URL of the request access of the listing. Subscribers can use this reference to request access. Max Length: 1000 bytes.



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#restricted_export_config::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::RestrictedExportConfig

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

Returns:



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end

#state::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::State (readonly)

Returns Output only. Current state of the listing.

Returns:



253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 253

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

  # 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.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Resource name of the dataset source for this listing.
  #     e.g. `projects/myproject/datasets/123`
  # @!attribute [rw] selected_resources
  #   @return [::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::SelectedResource>]
  #     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.
  # @!attribute [rw] restricted_export_policy
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Listing::BigQueryDatasetSource::RestrictedExportPolicy]
  #     Optional. If set, restricted export policy will be propagated and
  #     enforced on the linked dataset.
  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 config, used to configure restricted export on linked
  # dataset.
  # @!attribute [rw] enabled
  #   @return [::Boolean]
  #     Optional. If true, enable restricted export.
  # @!attribute [r] restrict_direct_table_access
  #   @return [::Boolean]
  #     Output only. If true, restrict direct table access(read
  #     api/tabledata.list) on linked table.
  # @!attribute [rw] restrict_query_result
  #   @return [::Boolean]
  #     Optional. If true, restrict export of query result derived from
  #     restricted linked dataset table.
  class RestrictedExportConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # State of the listing.
  module State
    # Default value. This value is unused.
    STATE_UNSPECIFIED = 0

    # Subscribable state. Users with dataexchange.listings.subscribe permission
    # can subscribe to this listing.
    ACTIVE = 1
  end

  # Listing categories.
  module Category
    CATEGORY_UNSPECIFIED = 0

    CATEGORY_OTHERS = 1

    CATEGORY_ADVERTISING_AND_MARKETING = 2

    CATEGORY_COMMERCE = 3

    CATEGORY_CLIMATE_AND_ENVIRONMENT = 4

    CATEGORY_DEMOGRAPHICS = 5

    CATEGORY_ECONOMICS = 6

    CATEGORY_EDUCATION = 7

    CATEGORY_ENERGY = 8

    CATEGORY_FINANCIAL = 9

    CATEGORY_GAMING = 10

    CATEGORY_GEOSPATIAL = 11

    CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12

    CATEGORY_MEDIA = 13

    CATEGORY_PUBLIC_SECTOR = 14

    CATEGORY_RETAIL = 15

    CATEGORY_SPORTS = 16

    CATEGORY_SCIENCE_AND_RESEARCH = 17

    CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18

    CATEGORY_TRAVEL_AND_TOURISM = 19
  end
end