Skip to content

Commit

Permalink
feat: Automated regeneration of artifactregistry v1beta1 client (#18979)
Browse files Browse the repository at this point in the history
Auto-created at 2024-05-12 09:12:31 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed May 12, 2024
1 parent 90229a3 commit 0f19a58
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37220,6 +37220,7 @@
"/artifactregistry:v1beta1/Repository/labels": labels
"/artifactregistry:v1beta1/Repository/labels/label": label
"/artifactregistry:v1beta1/Repository/name": name
"/artifactregistry:v1beta1/Repository/satisfiesPzi": satisfies_pzi
"/artifactregistry:v1beta1/Repository/satisfiesPzs": satisfies_pzs
"/artifactregistry:v1beta1/Repository/sizeBytes": size_bytes
"/artifactregistry:v1beta1/Repository/updateTime": update_time
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-artifactregistry_v1beta1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-artifactregistry_v1beta1

### v0.49.0 (2024-05-12)

* Regenerated from discovery document revision 20240501

### v0.48.0 (2024-02-24)

* Regenerated using generator version 0.14.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ class File
# @return [Array<Google::Apis::ArtifactregistryV1beta1::HashProp>]
attr_accessor :hashes

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

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

# Output only. If set, the repository satisfies physical zone isolation.
# Corresponds to the JSON property `satisfiesPzi`
# @return [Boolean]
attr_accessor :satisfies_pzi
alias_method :satisfies_pzi?, :satisfies_pzi

# Output only. If set, the repository satisfies physical zone separation.
# Corresponds to the JSON property `satisfiesPzs`
# @return [Boolean]
Expand Down Expand Up @@ -734,6 +741,7 @@ def update!(**args)
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
@update_time = args[:update_time] if args.key?(:update_time)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ArtifactregistryV1beta1
# Version of the google-apis-artifactregistry_v1beta1 gem
GEM_VERSION = "0.48.0"
GEM_VERSION = "0.49.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240122"
REVISION = "20240501"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :kms_key_name, as: 'kmsKeyName'
hash :labels, as: 'labels'
property :name, as: 'name'
property :satisfies_pzi, as: 'satisfiesPzi'
property :satisfies_pzs, as: 'satisfiesPzs'
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
property :update_time, as: 'updateTime'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ def list_project_location_repositories(parent, page_size: nil, page_token: nil,
# Updates a repository.
# @param [String] name
# The name of the repository, for example: `projects/p1/locations/us-central1/
# repositories/repo1`.
# repositories/repo1`. For each location in a project, repository names must be
# unique.
# @param [Google::Apis::ArtifactregistryV1beta1::Repository] repository_object
# @param [String] update_mask
# The update mask applies to the resource. For the `FieldMask` definition, see
Expand Down

0 comments on commit 0f19a58

Please sign in to comment.