Skip to content

Commit 9c16408

Browse files
feat: Automated regeneration of ArtifactRegistry client (googleapis#12310)
Auto-created at 2024-10-12 13:18:56 +0000 using the toys pull request generator.
1 parent e1f9161 commit 9c16408

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

clients/artifact_registry/lib/google_api/artifact_registry/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.ArtifactRegistry.V1 do
2020
API client metadata for GoogleApi.ArtifactRegistry.V1.
2121
"""
2222

23-
@discovery_revision "20241001"
23+
@discovery_revision "20241010"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/artifact_registry/lib/google_api/artifact_registry/v1/model/attachment.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ defmodule GoogleApi.ArtifactRegistry.V1.Model.Attachment do
2222
## Attributes
2323
2424
* `annotations` (*type:* `map()`, *default:* `nil`) - Optional. User annotations. These attributes can only be set and used by the user, and not by Artifact Registry. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
25-
* `attachmentNamespace` (*type:* `String.t`, *default:* `nil`) - The namespace this attachment belongs to. E.g. If an Attachment is created by artifact analysis, namespace is set to `artifactanalysis.googleapis.com`.
25+
* `attachmentNamespace` (*type:* `String.t`, *default:* `nil`) - The namespace this attachment belongs to. E.g. If an attachment is created by artifact analysis, namespace is set to `artifactanalysis.googleapis.com`.
2626
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the attachment was created.
2727
* `files` (*type:* `list(String.t)`, *default:* `nil`) - Required. The files that belong to this attachment. If the file ID part contains slashes, they are escaped. E.g. `projects/p1/locations/us-central1/repositories/repo1/files/sha:`.
28-
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the attachment. E.g. "projects/p1/locations/us/repositories/repo/attachments/sbom".
28+
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the attachment. E.g. `projects/p1/locations/us/repositories/repo/attachments/sbom`.
2929
* `ociVersionName` (*type:* `String.t`, *default:* `nil`) - Output only. The name of the OCI version that this attachment created. Only populated for Docker attachments. E.g. `projects/p1/locations/us-central1/repositories/repo1/packages/p1/versions/v1`.
30-
* `target` (*type:* `String.t`, *default:* `nil`) - 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".
31-
* `type` (*type:* `String.t`, *default:* `nil`) - Type of Attachment. E.g. `application/vnd.spdx+json`
30+
* `target` (*type:* `String.t`, *default:* `nil`) - 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`.
31+
* `type` (*type:* `String.t`, *default:* `nil`) - Type of attachment. E.g. `application/vnd.spdx+json`
3232
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The time when the attachment was last updated.
3333
"""
3434

clients/artifact_registry/lib/google_api/artifact_registry/v1/model/list_attachments_response.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.ArtifactRegistry.V1.Model.ListAttachmentsResponse do
2121
2222
## Attributes
2323
24-
* `attachments` (*type:* `list(GoogleApi.ArtifactRegistry.V1.Model.Attachment.t)`, *default:* `nil`) - The Attachments returned.
24+
* `attachments` (*type:* `list(GoogleApi.ArtifactRegistry.V1.Model.Attachment.t)`, *default:* `nil`) - The attachments returned.
2525
* `nextPageToken` (*type:* `String.t`, *default:* `nil`) - The token to retrieve the next page of attachments, or empty if there are no more attachments to return.
2626
"""
2727

clients/artifact_registry/lib/google_api/artifact_registry/v1/model/remote_repository_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.ArtifactRegistry.V1.Model.RemoteRepositoryConfig do
2222
## Attributes
2323
2424
* `aptRepository` (*type:* `GoogleApi.ArtifactRegistry.V1.Model.AptRepository.t`, *default:* `nil`) - Specific settings for an Apt remote repository.
25-
* `commonRepository` (*type:* `GoogleApi.ArtifactRegistry.V1.Model.CommonRemoteRepository.t`, *default:* `nil`) - 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.
25+
* `commonRepository` (*type:* `GoogleApi.ArtifactRegistry.V1.Model.CommonRemoteRepository.t`, *default:* `nil`) - Common remote repository settings. Used as the remote repository upstream URL.
2626
* `description` (*type:* `String.t`, *default:* `nil`) - The description of the remote source.
2727
* `disableUpstreamValidation` (*type:* `boolean()`, *default:* `nil`) - Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.
2828
* `dockerRepository` (*type:* `GoogleApi.ArtifactRegistry.V1.Model.DockerRepository.t`, *default:* `nil`) - Specific settings for a Docker remote repository.

clients/artifact_registry/lib/google_api/artifact_registry/v1/model/tag.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.ArtifactRegistry.V1.Model.Tag do
2222
## Attributes
2323
2424
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9\\-._~:@], anything else must be URL encoded.
25-
* `version` (*type:* `String.t`, *default:* `nil`) - 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.
25+
* `version` (*type:* `String.t`, *default:* `nil`) - 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.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.ArtifactRegistry.V1beta1 do
2020
API client metadata for GoogleApi.ArtifactRegistry.V1beta1.
2121
"""
2222

23-
@discovery_revision "20241001"
23+
@discovery_revision "20241010"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/tag.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.ArtifactRegistry.V1beta1.Model.Tag do
2222
## Attributes
2323
2424
* `name` (*type:* `String.t`, *default:* `nil`) - The name of the tag, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". If the package part contains slashes, the slashes are escaped. The tag part can only have characters in [a-zA-Z0-9\\-._~:@], anything else must be URL encoded.
25-
* `version` (*type:* `String.t`, *default:* `nil`) - 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.
25+
* `version` (*type:* `String.t`, *default:* `nil`) - 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.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/artifact_registry/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.ArtifactRegistry.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.22.0"
21+
@version "0.22.1"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)