---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# gcp_artifactregistry_rule{% #gcp_artifactregistry_rule %}

## `action`{% #action %}

**Type**: `STRING`**Provider name**: `action`**Description**: The action this rule takes.**Possible values**:

- `ACTION_UNSPECIFIED` - Action not specified.
- `ALLOW` - Allow the operation.
- `DENY` - Deny the operation.

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `condition`{% #condition %}

**Type**: `STRUCT`**Provider name**: `condition`**Description**: Optional. A CEL expression for conditions that must be met in order for the rule to apply. If not provided, the rule matches all objects.

- `description`**Type**: `STRING`**Provider name**: `description`**Description**: Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
- `expression`**Type**: `STRING`**Provider name**: `expression`**Description**: Textual representation of an expression in Common Expression Language syntax.
- `location`**Type**: `STRING`**Provider name**: `location`**Description**: Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
- `title`**Type**: `STRING`**Provider name**: `title`**Description**: Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: The name of the rule, for example: `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`.

## `operation`{% #operation %}

**Type**: `STRING`**Provider name**: `operation`

## `organization_id`{% #organization_id %}

**Type**: `STRING`

## `package_id`{% #package_id %}

**Type**: `STRING`**Provider name**: `packageId`**Description**: The package ID the rule applies to. If empty, this rule applies to all packages inside the repository.

## `parent`{% #parent %}

**Type**: `STRING`

## `project_id`{% #project_id %}

**Type**: `STRING`

## `project_number`{% #project_number %}

**Type**: `STRING`

## `region_id`{% #region_id %}

**Type**: `STRING`

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `zone_id`{% #zone_id %}

**Type**: `STRING`
