Skip to content

Commit 9db860a

Browse files
feat: Automated regeneration of artifactregistry v1 client (googleapis#20352)
Auto-created at 2024-10-06 09:53:47 +0000 using the toys pull request generator.
1 parent dd891ba commit 9db860a

File tree

5 files changed

+25
-47
lines changed

5 files changed

+25
-47
lines changed

generated/google-apis-artifactregistry_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-artifactregistry_v1
22

3+
### v0.68.0 (2024-10-06)
4+
5+
* Regenerated from discovery document revision 20241001
6+
37
### v0.67.0 (2024-09-29)
48

59
* Regenerated from discovery document revision 20240923

generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/classes.rb

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,19 @@ def update!(**args)
101101
end
102102

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

108108
# Optional. User annotations. These attributes can only be set and used by the
109109
# user, and not by Artifact Registry. See https://google.aip.dev/128#annotations
110-
# for more details such as format and size limitations. Client specified
111-
# annotations.
110+
# for more details such as format and size limitations.
112111
# Corresponds to the JSON property `annotations`
113112
# @return [Hash<String,String>]
114113
attr_accessor :annotations
115114

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

127-
# Required. The files that blong to this Attachment. If the file ID part
128-
# contains slashes, they are escaped. E.g. "projects/p1/locations/us-central1/
129-
# repositories/repo1/files/sha:".
126+
# Required. The files that belong to this attachment. If the file ID part
127+
# contains slashes, they are escaped. E.g. `projects/p1/locations/us-central1/
128+
# repositories/repo1/files/sha:`.
130129
# Corresponds to the JSON property `files`
131130
# @return [Array<String>]
132131
attr_accessor :files
@@ -138,8 +137,8 @@ class Attachment
138137
attr_accessor :name
139138

140139
# Output only. The name of the OCI version that this attachment created. Only
141-
# populated for Docker attachments. E.g. "projects/p1/locations/us-central1/
142-
# repositories/repo1/packages/p1/versions/v1".
140+
# populated for Docker attachments. E.g. `projects/p1/locations/us-central1/
141+
# repositories/repo1/packages/p1/versions/v1`.
143142
# Corresponds to the JSON property `ociVersionName`
144143
# @return [String]
145144
attr_accessor :oci_version_name
@@ -151,7 +150,7 @@ class Attachment
151150
# @return [String]
152151
attr_accessor :target
153152

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

450-
# Required. A common public repository base for Remote Repository.
449+
# Required. A common public repository base for remote repository.
451450
# Corresponds to the JSON property `uri`
452451
# @return [String]
453452
attr_accessor :uri
@@ -2264,19 +2263,6 @@ def update!(**args)
22642263
end
22652264
end
22662265

2267-
# The metadata for promote artifact long running operation.
2268-
class PromoteArtifactMetadata
2269-
include Google::Apis::Core::Hashable
2270-
2271-
def initialize(**args)
2272-
update!(**args)
2273-
end
2274-
2275-
# Update properties of this object
2276-
def update!(**args)
2277-
end
2278-
end
2279-
22802266
# PythonPackage represents a python artifact.
22812267
class PythonPackage
22822268
include Google::Apis::Core::Hashable
@@ -3282,8 +3268,8 @@ class Version
32823268
# @return [Hash<String,Object>]
32833269
attr_accessor :metadata
32843270

3285-
# The name of the version, for example: "projects/p1/locations/us-central1/
3286-
# repositories/repo1/packages/pkg1/versions/art1". If the package or version ID
3271+
# The name of the version, for example: `projects/p1/locations/us-central1/
3272+
# repositories/repo1/packages/pkg1/versions/art1`. If the package or version ID
32873273
# parts contain slashes, the slashes are escaped.
32883274
# Corresponds to the JSON property `name`
32893275
# @return [String]

generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ArtifactregistryV1
1818
# Version of the google-apis-artifactregistry_v1 gem
19-
GEM_VERSION = "0.67.0"
19+
GEM_VERSION = "0.68.0"
2020

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

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240923"
25+
REVISION = "20241001"
2626
end
2727
end
2828
end

generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/representations.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -436,12 +436,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
436436
include Google::Apis::Core::JsonObjectSupport
437437
end
438438

439-
class PromoteArtifactMetadata
440-
class Representation < Google::Apis::Core::JsonRepresentation; end
441-
442-
include Google::Apis::Core::JsonObjectSupport
443-
end
444-
445439
class PythonPackage
446440
class Representation < Google::Apis::Core::JsonRepresentation; end
447441

@@ -1309,12 +1303,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
13091303
end
13101304
end
13111305

1312-
class PromoteArtifactMetadata
1313-
# @private
1314-
class Representation < Google::Apis::Core::JsonRepresentation
1315-
end
1316-
end
1317-
13181306
class PythonPackage
13191307
# @private
13201308
class Representation < Google::Apis::Core::JsonRepresentation

generated/google-apis-artifactregistry_v1/lib/google/apis/artifactregistry_v1/service.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def upload_apt_artifact(parent, upload_apt_artifact_request_object = nil, fields
678678
end
679679

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

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

779-
# Lists repositories.
779+
# Lists attachments.
780780
# @param [String] parent
781781
# Required. The name of the parent resource whose attachments will be listed.
782782
# @param [String] filter
@@ -1094,7 +1094,7 @@ def patch_project_location_repository_file(name, google_devtools_artifactregistr
10941094
execute_or_queue_command(command, &block)
10951095
end
10961096

1097-
# Directly uploads a File to a repository. The returned Operation will complete
1097+
# Directly uploads a file to a repository. The returned Operation will complete
10981098
# once the resources are uploaded.
10991099
# @param [String] parent
11001100
# 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
20212021

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

0 commit comments

Comments
 (0)