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.
Namespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
Link()
public Link()
Link(Link)
public Link(Link other)
Parameter | |
---|---|
Name | Description |
other | Link |
Properties
BigqueryDataset
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 |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The creation timestamp of the link.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Describes this link.
The maximum length of the description is 8000 characters.
Property Value | |
---|---|
Type | Description |
string |
LifecycleState
public LifecycleState LifecycleState { get; set; }
Output only. The resource lifecycle state.
Property Value | |
---|---|
Type | Description |
LifecycleState |
LinkName
public LinkName LinkName { get; set; }
Property Value | |
---|---|
Type | Description |
LinkName |
Name
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 |