Skip to content

Commit 0f19a58

Browse files
feat: Automated regeneration of artifactregistry v1beta1 client (#18979)
Auto-created at 2024-05-12 09:12:31 +0000 using the toys pull request generator.
1 parent 90229a3 commit 0f19a58

File tree

6 files changed

+21
-6
lines changed

6 files changed

+21
-6
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37220,6 +37220,7 @@
3722037220
"/artifactregistry:v1beta1/Repository/labels": labels
3722137221
"/artifactregistry:v1beta1/Repository/labels/label": label
3722237222
"/artifactregistry:v1beta1/Repository/name": name
37223+
"/artifactregistry:v1beta1/Repository/satisfiesPzi": satisfies_pzi
3722337224
"/artifactregistry:v1beta1/Repository/satisfiesPzs": satisfies_pzs
3722437225
"/artifactregistry:v1beta1/Repository/sizeBytes": size_bytes
3722537226
"/artifactregistry:v1beta1/Repository/updateTime": update_time

generated/google-apis-artifactregistry_v1beta1/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_v1beta1
22

3+
### v0.49.0 (2024-05-12)
4+
5+
* Regenerated from discovery document revision 20240501
6+
37
### v0.48.0 (2024-02-24)
48

59
* Regenerated using generator version 0.14.0

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ class File
207207
# @return [Array<Google::Apis::ArtifactregistryV1beta1::HashProp>]
208208
attr_accessor :hashes
209209

210-
# The name of the file, for example: "projects/p1/locations/us-central1/
211-
# repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes,
210+
# The name of the file, for example: `projects/p1/locations/us-central1/
211+
# repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes,
212212
# they are escaped.
213213
# Corresponds to the JSON property `name`
214214
# @return [String]
@@ -699,11 +699,18 @@ class Repository
699699
attr_accessor :labels
700700

701701
# The name of the repository, for example: `projects/p1/locations/us-central1/
702-
# repositories/repo1`.
702+
# repositories/repo1`. For each location in a project, repository names must be
703+
# unique.
703704
# Corresponds to the JSON property `name`
704705
# @return [String]
705706
attr_accessor :name
706707

708+
# Output only. If set, the repository satisfies physical zone isolation.
709+
# Corresponds to the JSON property `satisfiesPzi`
710+
# @return [Boolean]
711+
attr_accessor :satisfies_pzi
712+
alias_method :satisfies_pzi?, :satisfies_pzi
713+
707714
# Output only. If set, the repository satisfies physical zone separation.
708715
# Corresponds to the JSON property `satisfiesPzs`
709716
# @return [Boolean]
@@ -734,6 +741,7 @@ def update!(**args)
734741
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
735742
@labels = args[:labels] if args.key?(:labels)
736743
@name = args[:name] if args.key?(:name)
744+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
737745
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
738746
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
739747
@update_time = args[:update_time] if args.key?(:update_time)

generated/google-apis-artifactregistry_v1beta1/lib/google/apis/artifactregistry_v1beta1/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 ArtifactregistryV1beta1
1818
# Version of the google-apis-artifactregistry_v1beta1 gem
19-
GEM_VERSION = "0.48.0"
19+
GEM_VERSION = "0.49.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
307307
property :kms_key_name, as: 'kmsKeyName'
308308
hash :labels, as: 'labels'
309309
property :name, as: 'name'
310+
property :satisfies_pzi, as: 'satisfiesPzi'
310311
property :satisfies_pzs, as: 'satisfiesPzs'
311312
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
312313
property :update_time, as: 'updateTime'

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ def list_project_location_repositories(parent, page_size: nil, page_token: nil,
338338
# Updates a repository.
339339
# @param [String] name
340340
# The name of the repository, for example: `projects/p1/locations/us-central1/
341-
# repositories/repo1`.
341+
# repositories/repo1`. For each location in a project, repository names must be
342+
# unique.
342343
# @param [Google::Apis::ArtifactregistryV1beta1::Repository] repository_object
343344
# @param [String] update_mask
344345
# The update mask applies to the resource. For the `FieldMask` definition, see

0 commit comments

Comments
 (0)