Reference documentation and code samples for the Analytics Hub V1 API module Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::State.
State of the subscription.
Constants
STATE_UNSPECIFIED
value: 0 Default value. This value is unused.
STATE_ACTIVE
value: 1 This subscription is active and the data is accessible.
STATE_STALE
value: 2 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_INACTIVE
value: 3 This subscription has been cancelled or revoked and the data is no longer
accessible.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Analytics Hub V1 API - Module Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::State (v0.13.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.1 (latest)](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/latest/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.13.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.13.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.12.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.12.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.11.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.11.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.10.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.9.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.8.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.8.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.7.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.7.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.6.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.5.2](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.5.2/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.4.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.4.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.3.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.3.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.2.1](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.2.1/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State)\n- [0.1.0](/ruby/docs/reference/google-cloud-bigquery-analytics_hub-v1/0.1.0/Google-Cloud-Bigquery-AnalyticsHub-V1-Subscription-State) \nReference documentation and code samples for the Analytics Hub V1 API module Google::Cloud::Bigquery::AnalyticsHub::V1::Subscription::State.\n\nState of the subscription.\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n**value:** 0 \nDefault value. This value is unused.\n\n### STATE_ACTIVE\n\n**value:** 1 \nThis subscription is active and the data is accessible.\n\n### STATE_STALE\n\n**value:** 2 \nThe data referenced by this subscription is out of date and should be\nrefreshed. This can happen when a data provider adds or removes datasets.\n\n### STATE_INACTIVE\n\n**value:** 3 \nThis subscription has been cancelled or revoked and the data is no longer\naccessible."]]