Class: Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription
- 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: CommercialInfo, LinkedDatasetMapEntry, LinkedResource
Instance Attribute Summary collapse
-
#commercial_info ⇒ ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo
readonly
Output only.
-
#creation_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#data_exchange ⇒ ::String
readonly
Output only.
-
#destination_dataset ⇒ ::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset
Optional.
-
#last_modify_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#linked_dataset_map ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource}
readonly
Output only.
-
#linked_resources ⇒ ::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource>
readonly
Output only.
-
#listing ⇒ ::String
readonly
Output only.
-
#log_linked_dataset_query_user_email ⇒ ::Boolean
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#organization_display_name ⇒ ::String
readonly
Output only.
-
#organization_id ⇒ ::String
readonly
Output only.
-
#resource_type ⇒ ::Google::Cloud::Bigquery::AnalyticsHub::V1::SharedResourceType
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::State
readonly
Output only.
-
#subscriber_contact ⇒ ::String
readonly
Output only.
Instance Attribute Details
#commercial_info ⇒ ::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo (readonly)
Returns Output only. This is set if this is a commercial subscription i.e. if this subscription was created from subscribing to a commercial listing.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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 |
#creation_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Timestamp when the subscription was created.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/us/dataExchanges/456
Note: The following fields are mutually exclusive: data_exchange, listing. If a field in that set is populated, all other fields in the set will automatically be cleared.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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 |
#destination_dataset ⇒ ::Google::Cloud::Bigquery::AnalyticsHub::V1::DestinationDataset
Returns Optional. BigQuery destination dataset to create for the subscriber.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. Timestamp when the subscription was last modified.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset
For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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_resources ⇒ ::Array<::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::LinkedResource> (readonly)
Returns Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. Resource name of the source Listing. e.g. projects/123/locations/us/dataExchanges/456/listings/789
Note: The following fields are mutually exclusive: listing, data_exchange. If a field in that set is populated, all other fields in the set will automatically be cleared.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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 |
#log_linked_dataset_query_user_email ⇒ ::Boolean (readonly)
Returns Output only. By default, false. If true, the Subscriber agreed to the email sharing mandate that is enabled for DataExchange/Listing.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. The resource name of the subscription.
e.g. projects/myproject/locations/us/subscriptions/123.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. Display name of the project of this subscription.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. Organization of the project this subscription belongs to.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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 |
#resource_type ⇒ ::Google::Cloud::Bigquery::AnalyticsHub::V1::SharedResourceType (readonly)
Returns Output only. Listing shared asset type.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. Current state of the subscription.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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)
Returns Output only. Email of the subscriber.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'proto_docs/google/cloud/bigquery/analyticshub/v1/analyticshub.rb', line 801 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 # # Note: The following fields are mutually exclusive: `linked_dataset`, `linked_pubsub_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] linked_pubsub_subscription # @return [::String] # Output only. Name of the Pub/Sub subscription, e.g. # projects/subscriberproject/subscriptions/subscriptions/sub_id # # Note: The following fields are mutually exclusive: `linked_pubsub_subscription`, `linked_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [r] listing # @return [::String] # Output only. Listing for which linked resource is created. class LinkedResource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Commercial info metadata for this subscription. # @!attribute [r] cloud_marketplace # @return [::Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::CommercialInfo::GoogleCloudMarketplaceInfo] # Output only. This is set when the subscription is commercialised via # Cloud Marketplace. class CommercialInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Cloud Marketplace commercial metadata for this subscription. # @!attribute [rw] order # @return [::String] # Resource name of the Marketplace Order. class GoogleCloudMarketplaceInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end 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 |