(::Google::Cloud::Logging::V2::BigQueryDataset) — The information of a BigQuery Dataset. When a link is created, a BigQuery
dataset is created along with it, in the same project as the LogBucket it's
linked to. This dataset will also have BigQuery Views corresponding to the
LogViews in the bucket.
value (::Google::Cloud::Logging::V2::BigQueryDataset) — The information of a BigQuery Dataset. When a link is created, a BigQuery
dataset is created along with it, in the same project as the LogBucket it's
linked to. This dataset will also have BigQuery Views corresponding to the
LogViews in the bucket.
Returns
(::Google::Cloud::Logging::V2::BigQueryDataset) — The information of a BigQuery Dataset. When a link is created, a BigQuery
dataset is created along with it, in the same project as the LogBucket it's
linked to. This dataset will also have BigQuery Views corresponding to the
LogViews in the bucket.
(::String) — The resource name of the link. The name can have up to 100 characters.
A valid link id (at the end of the link name) must only have alphanumeric
characters and underscores within it.
value (::String) — The resource name of the link. The name can have up to 100 characters.
A valid link id (at the end of the link name) must only have alphanumeric
characters and underscores within it.
(::String) — The resource name of the link. The name can have up to 100 characters.
A valid link id (at the end of the link name) must only have alphanumeric
characters and underscores within it.
[[["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-08-28 UTC."],[],[],null,["# Cloud Logging V2 API - Class Google::Cloud::Logging::V2::Link (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-Link)\n- [1.2.1](/ruby/docs/reference/google-cloud-logging-v2/1.2.1/Google-Cloud-Logging-V2-Link)\n- [1.1.0](/ruby/docs/reference/google-cloud-logging-v2/1.1.0/Google-Cloud-Logging-V2-Link)\n- [1.0.1](/ruby/docs/reference/google-cloud-logging-v2/1.0.1/Google-Cloud-Logging-V2-Link)\n- [0.13.0](/ruby/docs/reference/google-cloud-logging-v2/0.13.0/Google-Cloud-Logging-V2-Link)\n- [0.12.2](/ruby/docs/reference/google-cloud-logging-v2/0.12.2/Google-Cloud-Logging-V2-Link)\n- [0.11.0](/ruby/docs/reference/google-cloud-logging-v2/0.11.0/Google-Cloud-Logging-V2-Link)\n- [0.10.1](/ruby/docs/reference/google-cloud-logging-v2/0.10.1/Google-Cloud-Logging-V2-Link)\n- [0.9.0](/ruby/docs/reference/google-cloud-logging-v2/0.9.0/Google-Cloud-Logging-V2-Link)\n- [0.8.1](/ruby/docs/reference/google-cloud-logging-v2/0.8.1/Google-Cloud-Logging-V2-Link)\n- [0.7.0](/ruby/docs/reference/google-cloud-logging-v2/0.7.0/Google-Cloud-Logging-V2-Link)\n- [0.6.0](/ruby/docs/reference/google-cloud-logging-v2/0.6.0/Google-Cloud-Logging-V2-Link)\n- [0.5.6](/ruby/docs/reference/google-cloud-logging-v2/0.5.6/Google-Cloud-Logging-V2-Link) \nReference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::Link.\n\nDescribes a link connected to an analytics enabled bucket. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #bigquery_dataset\n\n def bigquery_dataset() -\u003e ::Google::Cloud::Logging::V2::BigQueryDataset\n\n**Returns**\n\n- ([::Google::Cloud::Logging::V2::BigQueryDataset](./Google-Cloud-Logging-V2-BigQueryDataset)) --- The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.\n\n### #bigquery_dataset=\n\n def bigquery_dataset=(value) -\u003e ::Google::Cloud::Logging::V2::BigQueryDataset\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Logging::V2::BigQueryDataset](./Google-Cloud-Logging-V2-BigQueryDataset)) --- The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket. \n**Returns**\n\n- ([::Google::Cloud::Logging::V2::BigQueryDataset](./Google-Cloud-Logging-V2-BigQueryDataset)) --- The information of a BigQuery Dataset. When a link is created, a BigQuery dataset is created along with it, in the same project as the LogBucket it's linked to. This dataset will also have BigQuery Views corresponding to the LogViews in the bucket.\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The creation timestamp of the link.\n\n### #description\n\n def description() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Describes this link.\n\n The maximum length of the description is 8000 characters.\n\n### #description=\n\n def description=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Describes this link.\n\n\nThe maximum length of the description is 8000 characters. \n**Returns**\n\n- (::String) --- Describes this link.\n\n The maximum length of the description is 8000 characters.\n\n### #lifecycle_state\n\n def lifecycle_state() -\u003e ::Google::Cloud::Logging::V2::LifecycleState\n\n**Returns**\n\n- ([::Google::Cloud::Logging::V2::LifecycleState](./Google-Cloud-Logging-V2-LifecycleState)) --- Output only. The resource lifecycle state.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.\n\n \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n\n For example:\n\n \\`projects/my-project/locations/global/buckets/my-bucket/links/my_link\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.\n\n\n \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n\n For example:\n\n\\`projects/my-project/locations/global/buckets/my-bucket/links/my_link \n**Returns**\n\n- (::String) --- The resource name of the link. The name can have up to 100 characters. A valid link id (at the end of the link name) must only have alphanumeric characters and underscores within it.\n\n \"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n \"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]\"\n\n For example:\n\n \\`projects/my-project/locations/global/buckets/my-bucket/links/my_link"]]