Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::Link.
Describes a link connected to an analytics enabled bucket.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bigquery_dataset
def bigquery_dataset() -> ::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.
#bigquery_dataset=
def bigquery_dataset=(value) -> ::Google::Cloud::Logging::V2::BigQueryDataset
- 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.
- (::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.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The creation timestamp of the link.
#description
def description() -> ::String
-
(::String) — Describes this link.
The maximum length of the description is 8000 characters.
#description=
def description=(value) -> ::String
-
value (::String) — Describes this link.
The maximum length of the description is 8000 characters.
-
(::String) — Describes this link.
The maximum length of the description is 8000 characters.
#lifecycle_state
def lifecycle_state() -> ::Google::Cloud::Logging::V2::LifecycleState
- (::Google::Cloud::Logging::V2::LifecycleState) — Output only. The resource lifecycle state.
#name
def name() -> ::String
-
(::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.
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
For example:
`projects/my-project/locations/global/buckets/my-bucket/links/my_link
#name=
def name=(value) -> ::String
-
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.
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
For example:
`projects/my-project/locations/global/buckets/my-bucket/links/my_link
-
(::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.
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
For example:
`projects/my-project/locations/global/buckets/my-bucket/links/my_link