LoggingLink
This resource is able to configure log links for a project. The parent resource is configured by setting
loggingLogBucketRef to a LoggingLogBucket resource.
| Property | Value |
|---|---|
| Google Cloud Service Name | Cloud Logging |
| Google Cloud Service Documentation | /logging/docs/ |
| Google Cloud REST Resource Name |
v2.projects.locations.buckets.links |
| Google Cloud REST Resource Documentation |
/logging/docs/reference/v2/rest/v2/projects.locations.buckets.links |
| Config Connector Resource Short Names | gcplogginglink gcplogginglinks logginglink |
| Config Connector Service Name | logging.googleapis.com |
| Config Connector Resource Fully Qualified Name | logginglinks.logging.cnrm.cloud.google.com |
| Can Be Referenced by IAMPolicy/IAMPolicyMember | No |
| Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
description: string
loggingLogBucketRef:
external: string
name: string
namespace: string
resourceID: string
| Fields | |
|---|---|
|
Optional |
Describes this link. The maximum length of the description is 8000 characters. |
|
Optional |
Required. The LoggingLogBucket that this Link is associated with. |
|
Optional |
A reference to an externally managed LoggingLogBucket resource. Should be in the format "projects/{{projectID}}/locations/{{location}}/buckets/{{bucketID}}". |
|
Optional |
The name of a LoggingLogBucket resource. |
|
Optional |
The namespace of a LoggingLogBucket resource. |
|
Optional |
Immutable. The LoggingLink name. If not given, the metadata.name will be used. |
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
externalRef: string
observedGeneration: integer
observedState:
bigQueryDataset:
datasetID: string
createTime: string
lifecycleState: string
| Fields | |
|---|---|
conditions |
Conditions represent the latest available observations of the object's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |
externalRef |
A unique specifier for the LoggingLink resource in GCP. |
observedGeneration |
ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
observedState |
ObservedState is the state of the resource as most recently observed in Google Cloud. |
observedState.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. |
observedState.bigQueryDataset.datasetID |
Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only). The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" |
observedState.createTime |
Output only. The creation timestamp of the link. |
observedState.lifecycleState |
Output only. The resource lifecycle state. |