Class: Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription

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 subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.

Defined Under Namespace

Modules: State Classes: LinkedDatasetMapEntry, LinkedResource

Instance Attribute Summary collapse

Instance Attribute Details

#creation_time::Google::Protobuf::Timestamp (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

#data_exchange::String (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

#last_modify_time::Google::Protobuf::Timestamp (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

#linked_dataset_map::Google::Protobuf::Map{::String => ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource} (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

#listing::String (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

#name::String (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

#organization_display_name::String (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

#organization_id::String (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

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



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end

#subscriber_contact::String (readonly)



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 364

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

  # Reference to a linked resource tracked by this Subscription.
  # @!attribute [r] linked_dataset
  #   @return [::String]
  #     Output only. Name of the linked dataset, e.g.
  #     projects/subscriberproject/datasets/linked_dataset
  class LinkedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource]
  class LinkedDatasetMapEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

    # This subscription is active and the data is accessible.
    STATE_ACTIVE = 1

    # The data referenced by this subscription is out of date and should be
    # refreshed. This can happen when a data provider adds or removes datasets.
    STATE_STALE = 2

    # This subscription has been cancelled or revoked and the data is no longer
    # accessible.
    STATE_INACTIVE = 3
  end
end