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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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)



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 426

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