Google Cloud Logging v2 API - Class Link (4.4.0)

public sealed class Link : IMessage<Link>, IEquatable<Link>, IDeepCloneable<Link>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Logging v2 API class Link.

Describes a link connected to an analytics enabled bucket.

Inheritance

object > Link

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

public Link()
public Link(Link other)
Parameter
Name Description
other Link

Properties

public BigQueryDataset BigqueryDataset { get; set; }

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.

Property Value
Type Description
BigQueryDataset
public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of the link.

Property Value
Type Description
Timestamp
public string Description { get; set; }

Describes this link.

The maximum length of the description is 8000 characters.

Property Value
Type Description
string
public LifecycleState LifecycleState { get; set; }

Output only. The resource lifecycle state.

Property Value
Type Description
LifecycleState
public LinkName LinkName { get; set; }

LinkName-typed view over the Name resource name property.

Property Value
Type Description
LinkName
public string Name { get; set; }

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

Property Value
Type Description
string