|
2334 | 2334 | ],
|
2335 | 2335 | "parameters": {
|
2336 | 2336 | "name": {
|
2337 |
| - "description": "The name of the rule, for example: \"projects/p1/locations/us-central1/repositories/repo1/rules/rule1\".", |
| 2337 | + "description": "The name of the rule, for example: `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`.", |
2338 | 2338 | "location": "path",
|
2339 | 2339 | "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$",
|
2340 | 2340 | "required": true,
|
|
2439 | 2439 | }
|
2440 | 2440 | }
|
2441 | 2441 | },
|
2442 |
| - "revision": "20241001", |
| 2442 | + "revision": "20241205", |
2443 | 2443 | "rootUrl": "https://artifactregistry.googleapis.com/",
|
2444 | 2444 | "schemas": {
|
2445 | 2445 | "AptArtifact": {
|
|
2517 | 2517 | "type": "object"
|
2518 | 2518 | },
|
2519 | 2519 | "attachmentNamespace": {
|
2520 |
| - "description": "The namespace this attachment belongs to. E.g. If an Attachment is created by artifact analysis, namespace is set to `artifactanalysis.googleapis.com`.", |
| 2520 | + "description": "The namespace this attachment belongs to. E.g. If an attachment is created by artifact analysis, namespace is set to `artifactanalysis.googleapis.com`.", |
2521 | 2521 | "type": "string"
|
2522 | 2522 | },
|
2523 | 2523 | "createTime": {
|
|
2534 | 2534 | "type": "array"
|
2535 | 2535 | },
|
2536 | 2536 | "name": {
|
2537 |
| - "description": "The name of the attachment. E.g. \"projects/p1/locations/us/repositories/repo/attachments/sbom\".", |
| 2537 | + "description": "The name of the attachment. E.g. `projects/p1/locations/us/repositories/repo/attachments/sbom`.", |
2538 | 2538 | "type": "string"
|
2539 | 2539 | },
|
2540 | 2540 | "ociVersionName": {
|
|
2543 | 2543 | "type": "string"
|
2544 | 2544 | },
|
2545 | 2545 | "target": {
|
2546 |
| - "description": "Required. The target the attachment is for, can be a Version, Package or Repository. E.g. \"projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1\".", |
| 2546 | + "description": "Required. The target the attachment is for, can be a Version, Package or Repository. E.g. `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.", |
2547 | 2547 | "type": "string"
|
2548 | 2548 | },
|
2549 | 2549 | "type": {
|
2550 |
| - "description": "Type of Attachment. E.g. `application/vnd.spdx+json`", |
| 2550 | + "description": "Type of attachment. E.g. `application/vnd.spdx+json`", |
2551 | 2551 | "type": "string"
|
2552 | 2552 | },
|
2553 | 2553 | "updateTime": {
|
|
3101 | 3101 | "type": "object"
|
3102 | 3102 | },
|
3103 | 3103 | "GoogleDevtoolsArtifactregistryV1Rule": {
|
3104 |
| - "description": "A Rule applies to repository or package level. It defines the deny or allow action of the operation when the conditions in the rule are met.", |
| 3104 | + "description": "A rule defines the deny or allow action of the operation it applies to and the conditions required for the rule to apply. You can set one rule for an entire repository and one rule for each package within.", |
3105 | 3105 | "id": "GoogleDevtoolsArtifactregistryV1Rule",
|
3106 | 3106 | "properties": {
|
3107 | 3107 | "action": {
|
3108 |
| - "description": "The action this rule makes.", |
| 3108 | + "description": "The action this rule takes.", |
3109 | 3109 | "enum": [
|
3110 | 3110 | "ACTION_UNSPECIFIED",
|
3111 | 3111 | "ALLOW",
|
|
3120 | 3120 | },
|
3121 | 3121 | "condition": {
|
3122 | 3122 | "$ref": "Expr",
|
3123 |
| - "description": "Optional. The condition of the rule in CEL expression. If not provided, the rule matches all the objects." |
| 3123 | + "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." |
3124 | 3124 | },
|
3125 | 3125 | "name": {
|
3126 |
| - "description": "The name of the rule, for example: \"projects/p1/locations/us-central1/repositories/repo1/rules/rule1\".", |
| 3126 | + "description": "The name of the rule, for example: `projects/p1/locations/us-central1/repositories/repo1/rules/rule1`.", |
3127 | 3127 | "type": "string"
|
3128 | 3128 | },
|
3129 | 3129 | "operation": {
|
|
3138 | 3138 | "type": "string"
|
3139 | 3139 | },
|
3140 | 3140 | "packageId": {
|
3141 |
| - "description": "The package ID the rule applies to. If empty, this rule applies to all the packages inside the repository.", |
| 3141 | + "description": "The package ID the rule applies to. If empty, this rule applies to all packages inside the repository.", |
3142 | 3142 | "type": "string"
|
3143 | 3143 | }
|
3144 | 3144 | },
|
|
3404 | 3404 | "id": "ListAttachmentsResponse",
|
3405 | 3405 | "properties": {
|
3406 | 3406 | "attachments": {
|
3407 |
| - "description": "The Attachments returned.", |
| 3407 | + "description": "The attachments returned.", |
3408 | 3408 | "items": {
|
3409 | 3409 | "$ref": "Attachment"
|
3410 | 3410 | },
|
|
4006 | 4006 | },
|
4007 | 4007 | "commonRepository": {
|
4008 | 4008 | "$ref": "CommonRemoteRepository",
|
4009 |
| - "description": "Common remote repository settings. Used as the RemoteRepository upstream URL instead of Predefined and Custom remote repositories. Google Cloud Console and Google Cloud CLI will map all the new remote repositories to this field." |
| 4009 | + "description": "Common remote repository settings. Used as the remote repository upstream URL." |
4010 | 4010 | },
|
4011 | 4011 | "description": {
|
4012 | 4012 | "description": "The description of the remote source.",
|
|
4145 | 4145 | "description": "The name of the repository, for example: `projects/p1/locations/us-central1/repositories/repo1`. For each location in a project, repository names must be unique.",
|
4146 | 4146 | "type": "string"
|
4147 | 4147 | },
|
| 4148 | + "registryUri": { |
| 4149 | + "description": "Output only. The repository endpoint, for example: `us-docker.pkg.dev/my-proj/my-repo`.", |
| 4150 | + "readOnly": true, |
| 4151 | + "type": "string" |
| 4152 | + }, |
4148 | 4153 | "remoteRepositoryConfig": {
|
4149 | 4154 | "$ref": "RemoteRepositoryConfig",
|
4150 | 4155 | "description": "Configuration specific for a Remote Repository."
|
|
4174 | 4179 | "virtualRepositoryConfig": {
|
4175 | 4180 | "$ref": "VirtualRepositoryConfig",
|
4176 | 4181 | "description": "Configuration specific for a Virtual Repository."
|
| 4182 | + }, |
| 4183 | + "vulnerabilityScanningConfig": { |
| 4184 | + "$ref": "VulnerabilityScanningConfig", |
| 4185 | + "description": "Optional. Config and state for vulnerability scanning of resources within this Repository." |
4177 | 4186 | }
|
4178 | 4187 | },
|
4179 | 4188 | "type": "object"
|
|
4225 | 4234 | "type": "string"
|
4226 | 4235 | },
|
4227 | 4236 | "version": {
|
4228 |
| - "description": "The name of the version the tag refers to, for example: \"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811\" If the package or version ID parts contain slashes, the slashes are escaped.", |
| 4237 | + "description": "The name of the version the tag refers to, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811` If the package or version ID parts contain slashes, the slashes are escaped.", |
4229 | 4238 | "type": "string"
|
4230 | 4239 | }
|
4231 | 4240 | },
|
|
4619 | 4628 | },
|
4620 | 4629 | "type": "object"
|
4621 | 4630 | },
|
| 4631 | + "VulnerabilityScanningConfig": { |
| 4632 | + "description": "Config on whether to perform vulnerability scanning for resources in this repository, as well as output fields describing current state.", |
| 4633 | + "id": "VulnerabilityScanningConfig", |
| 4634 | + "properties": { |
| 4635 | + "enablementConfig": { |
| 4636 | + "description": "Optional. Config for whether this repository has vulnerability scanning disabled.", |
| 4637 | + "enum": [ |
| 4638 | + "ENABLEMENT_CONFIG_UNSPECIFIED", |
| 4639 | + "INHERITED", |
| 4640 | + "DISABLED" |
| 4641 | + ], |
| 4642 | + "enumDescriptions": [ |
| 4643 | + "Not set. This will be treated as INHERITED.", |
| 4644 | + "Scanning is Enabled, but dependent on API enablement.", |
| 4645 | + "No automatic vulnerability scanning will be performed for this repository." |
| 4646 | + ], |
| 4647 | + "type": "string" |
| 4648 | + }, |
| 4649 | + "enablementState": { |
| 4650 | + "description": "Output only. State of feature enablement, combining repository enablement config and API enablement state.", |
| 4651 | + "enum": [ |
| 4652 | + "ENABLEMENT_STATE_UNSPECIFIED", |
| 4653 | + "SCANNING_UNSUPPORTED", |
| 4654 | + "SCANNING_DISABLED", |
| 4655 | + "SCANNING_ACTIVE" |
| 4656 | + ], |
| 4657 | + "enumDescriptions": [ |
| 4658 | + "Enablement state is unclear.", |
| 4659 | + "Repository does not support vulnerability scanning.", |
| 4660 | + "Vulnerability scanning is disabled for this repository.", |
| 4661 | + "Vulnerability scanning is active for this repository." |
| 4662 | + ], |
| 4663 | + "readOnly": true, |
| 4664 | + "type": "string" |
| 4665 | + }, |
| 4666 | + "enablementStateReason": { |
| 4667 | + "description": "Output only. Reason for the repository state.", |
| 4668 | + "readOnly": true, |
| 4669 | + "type": "string" |
| 4670 | + }, |
| 4671 | + "lastEnableTime": { |
| 4672 | + "description": "Output only. The last time this repository config was enabled.", |
| 4673 | + "format": "google-datetime", |
| 4674 | + "readOnly": true, |
| 4675 | + "type": "string" |
| 4676 | + } |
| 4677 | + }, |
| 4678 | + "type": "object" |
| 4679 | + }, |
4622 | 4680 | "YumArtifact": {
|
4623 | 4681 | "description": "A detailed representation of a Yum artifact.",
|
4624 | 4682 | "id": "YumArtifact",
|
|
0 commit comments