From 601492f10568a1e925d0eb2a8bb71b72ab804d11 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 6 Oct 2024 09:53:47 +0000 Subject: [PATCH] feat: Automated regeneration of artifactregistry v1 client --- .../CHANGELOG.md | 4 ++ .../apis/artifactregistry_v1/classes.rb | 38 ++++++------------- .../apis/artifactregistry_v1/gem_version.rb | 4 +- .../artifactregistry_v1/representations.rb | 12 ------ .../apis/artifactregistry_v1/service.rb | 14 +++---- 5 files changed, 25 insertions(+), 47 deletions(-) diff --git a/generated/google-apis-artifactregistry_v1/CHANGELOG.md b/generated/google-apis-artifactregistry_v1/CHANGELOG.md index 87445db783b..e2802c17648 100644 --- a/generated/google-apis-artifactregistry_v1/CHANGELOG.md +++ b/generated/google-apis-artifactregistry_v1/CHANGELOG.md @@ -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 diff --git a/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/classes.rb b/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/classes.rb index a1bdc1ec137..2cb75f2764e 100644 --- a/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/classes.rb +++ b/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/classes.rb @@ -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] 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 @@ -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] attr_accessor :files @@ -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 @@ -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 @@ -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 @@ -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 @@ -3282,8 +3268,8 @@ class Version # @return [Hash] 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] diff --git a/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/gem_version.rb b/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/gem_version.rb index 2c1902056b6..ed0fcdecf72 100644 --- a/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/gem_version.rb +++ b/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/gem_version.rb @@ -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 diff --git a/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/representations.rb b/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/representations.rb index 9c8a0569b84..a7e7786e5d8 100644 --- a/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/representations.rb +++ b/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/representations.rb @@ -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 @@ -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 diff --git a/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/service.rb b/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/service.rb index 31fa34e1d05..24c4b77ea59 100644 --- a/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/service.rb +++ b/generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/service.rb @@ -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 @@ -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 @@ -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 @@ -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. @@ -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