Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of artifactregistry v1 client #20352

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions generated/google-apis-artifactregistry_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-artifactregistry_v1

### v0.68.0 (2024-10-06)

* Regenerated from discovery document revision 20241001

### v0.67.0 (2024-09-29)

* Regenerated from discovery document revision 20240923
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,20 +101,19 @@ def update!(**args)
end

# An Attachment refers to additional metadata that can be attached to artifacts
# in ArtifactRegistry. An attachment consists of one or more files.
# in Artifact Registry. An attachment consists of one or more files.
class Attachment
include Google::Apis::Core::Hashable

# 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. Client specified
# annotations.
# for more details such as format and size limitations.
# Corresponds to the JSON property `annotations`
# @return [Hash<String,String>]
attr_accessor :annotations

# The namespace this attachment belongs to. E.g. If an Attachment is created by
# artifact analysis, namespace is set to artifactanalysis.googleapis.com.
# artifact analysis, namespace is set to `artifactanalysis.googleapis.com`.
# Corresponds to the JSON property `attachmentNamespace`
# @return [String]
attr_accessor :attachment_namespace
Expand All @@ -124,9 +123,9 @@ class Attachment
# @return [String]
attr_accessor :create_time

# Required. The files that blong to this Attachment. If the file ID part
# contains slashes, they are escaped. E.g. "projects/p1/locations/us-central1/
# repositories/repo1/files/sha:".
# 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:`.
# Corresponds to the JSON property `files`
# @return [Array<String>]
attr_accessor :files
Expand All @@ -138,8 +137,8 @@ class Attachment
attr_accessor :name

# 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".
# populated for Docker attachments. E.g. `projects/p1/locations/us-central1/
# repositories/repo1/packages/p1/versions/v1`.
# Corresponds to the JSON property `ociVersionName`
# @return [String]
attr_accessor :oci_version_name
Expand All @@ -151,7 +150,7 @@ class Attachment
# @return [String]
attr_accessor :target

# Type of Attachment. E.g. application/vnd.spdx+jsonn
# Type of Attachment. E.g. `application/vnd.spdx+json`
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
Expand Down Expand Up @@ -447,7 +446,7 @@ def update!(**args)
class CommonRemoteRepository
include Google::Apis::Core::Hashable

# Required. A common public repository base for Remote Repository.
# Required. A common public repository base for remote repository.
# Corresponds to the JSON property `uri`
# @return [String]
attr_accessor :uri
Expand Down Expand Up @@ -2264,19 +2263,6 @@ def update!(**args)
end
end

# The metadata for promote artifact long running operation.
class PromoteArtifactMetadata
include Google::Apis::Core::Hashable

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
end
end

# PythonPackage represents a python artifact.
class PythonPackage
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -3282,8 +3268,8 @@ class Version
# @return [Hash<String,Object>]
attr_accessor :metadata

# The name of the version, for example: "projects/p1/locations/us-central1/
# repositories/repo1/packages/pkg1/versions/art1". If the package or version ID
# The name of the version, for example: `projects/p1/locations/us-central1/
# repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID
# parts contain slashes, the slashes are escaped.
# Corresponds to the JSON property `name`
# @return [String]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ArtifactregistryV1
# Version of the google-apis-artifactregistry_v1 gem
GEM_VERSION = "0.67.0"
GEM_VERSION = "0.68.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240923"
REVISION = "20241001"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -436,12 +436,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class PromoteArtifactMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class PythonPackage
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1309,12 +1303,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class PromoteArtifactMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end

class PythonPackage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def upload_apt_artifact(parent, upload_apt_artifact_request_object = nil, fields
end

# Creates an attachment. The returned Operation will finish once the attachment
# has been created. Its response will be the created Attachment.
# has been created. Its response will be the created attachment.
# @param [String] parent
# Required. The name of the parent resource where the attachment will be created.
# @param [Google::Apis::ArtifactregistryV1::Attachment] attachment_object
Expand Down Expand Up @@ -715,8 +715,8 @@ def create_project_location_repository_attachment(parent, attachment_object = ni
end

# Deletes an attachment. The returned Operation will finish once the attachments
# has been deleted. It will not have any Operation metadata and will return a
# google.protobuf.Empty response.
# has been deleted. It will not have any Operation metadata and will return a `
# google.protobuf.Empty` response.
# @param [String] name
# Required. The name of the attachment to delete.
# @param [String] fields
Expand Down Expand Up @@ -776,7 +776,7 @@ def get_project_location_repository_attachment(name, fields: nil, quota_user: ni
execute_or_queue_command(command, &block)
end

# Lists repositories.
# Lists attachments.
# @param [String] parent
# Required. The name of the parent resource whose attachments will be listed.
# @param [String] filter
Expand Down Expand Up @@ -1094,7 +1094,7 @@ def patch_project_location_repository_file(name, google_devtools_artifactregistr
execute_or_queue_command(command, &block)
end

# Directly uploads a File to a repository. The returned Operation will complete
# Directly uploads a file to a repository. The returned Operation will complete
# once the resources are uploaded.
# @param [String] parent
# Required. The resource name of the repository where the file will be uploaded.
Expand Down Expand Up @@ -2021,8 +2021,8 @@ def list_project_location_repository_package_versions(parent, filter: nil, order

# Updates a version.
# @param [String] name
# The name of the version, for example: "projects/p1/locations/us-central1/
# repositories/repo1/packages/pkg1/versions/art1". If the package or version ID
# The name of the version, for example: `projects/p1/locations/us-central1/
# repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID
# parts contain slashes, the slashes are escaped.
# @param [Google::Apis::ArtifactregistryV1::Version] version_object
# @param [String] update_mask
Expand Down
Loading