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

description

Optional

string

Describes this link. The maximum length of the description is 8000 characters.

loggingLogBucketRef

Optional

object

Required. The LoggingLogBucket that this Link is associated with.

loggingLogBucketRef.external

Optional

string

A reference to an externally managed LoggingLogBucket resource. Should be in the format "projects/{{projectID}}/locations/{{location}}/buckets/{{bucketID}}".

loggingLogBucketRef.name

Optional

string

The name of a LoggingLogBucket resource.

loggingLogBucketRef.namespace

Optional

string

The namespace of a LoggingLogBucket resource.

resourceID

Optional

string

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

list (object)

Conditions represent the latest available observations of the object's current state.

conditions[]

object

conditions[].lastTransitionTime

string

Last time the condition transitioned from one status to another.

conditions[].message

string

Human-readable message indicating details about last transition.

conditions[].reason

string

Unique, one-word, CamelCase reason for the condition's last transition.

conditions[].status

string

Status is the status of the condition. Can be True, False, Unknown.

conditions[].type

string

Type is the type of the condition.

externalRef

string

A unique specifier for the LoggingLink resource in GCP.

observedGeneration

integer

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

object

ObservedState is the state of the resource as most recently observed in Google Cloud.

observedState.bigQueryDataset

object

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

string

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

string

Output only. The creation timestamp of the link.

observedState.lifecycleState

string

Output only. The resource lifecycle state.