diff --git a/generated/google/apis/artifactregistry_v1beta1.rb b/generated/google/apis/artifactregistry_v1beta1.rb index af56c8d5c..700b0bf57 100644 --- a/generated/google/apis/artifactregistry_v1beta1.rb +++ b/generated/google/apis/artifactregistry_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/artifacts/docs/ module ArtifactregistryV1beta1 VERSION = 'V1beta1' - REVISION = '20201203' + REVISION = '20201215' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/artifactregistry_v1beta1/classes.rb b/generated/google/apis/artifactregistry_v1beta1/classes.rb index e5c90f9ea..0b9a5ca97 100644 --- a/generated/google/apis/artifactregistry_v1beta1/classes.rb +++ b/generated/google/apis/artifactregistry_v1beta1/classes.rb @@ -214,126 +214,6 @@ module Google end end - # Error information explaining why a package was not imported. - class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo - include Google::Apis::Core::Hashable - - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by [ - # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of - # data: error code, error message, and error details. You can find out more - # about this error model and how to work with it in the [API Design Guide](https: - # //cloud.google.com/apis/design/errors). - # Corresponds to the JSON property `error` - # @return [Google::Apis::ArtifactregistryV1beta1::Status] - attr_accessor :error - - # Google Cloud Storage location where the artifacts currently reside. - # Corresponds to the JSON property `gcsSource` - # @return [Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource] - attr_accessor :gcs_source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error = args[:error] if args.key?(:error) - @gcs_source = args[:gcs_source] if args.key?(:gcs_source) - end - end - - # Google Cloud Storage location where the artifacts currently reside. - class GoogleDevtoolsArtifactregistryV1alpha1GcsSource - include Google::Apis::Core::Hashable - - # Cloud Storage paths URI (e.g., gs://my_bucket//my_object). - # Corresponds to the JSON property `uris` - # @return [Array] - attr_accessor :uris - - # Supports URI wildcards for matching multiple objects from a single URI. - # Corresponds to the JSON property `useWildcards` - # @return [Boolean] - attr_accessor :use_wildcards - alias_method :use_wildcards?, :use_wildcards - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @uris = args[:uris] if args.key?(:uris) - @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards) - end - end - - # The response message from importing artifacts. - class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse - include Google::Apis::Core::Hashable - - # Detailed error info for packages that were not imported. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - # The packages updated. - # Corresponds to the JSON property `packages` - # @return [Array] - attr_accessor :packages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @errors = args[:errors] if args.key?(:errors) - @packages = args[:packages] if args.key?(:packages) - end - end - - # Packages are named collections of versions. - class GoogleDevtoolsArtifactregistryV1alpha1Package - include Google::Apis::Core::Hashable - - # The time when the package was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The display name of the package. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The name of the package, for example: "projects/p1/locations/us-central1/ - # repositories/repo1/packages/pkg1". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The time when the package was last updated. This includes publishing a new - # version of the package. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @display_name = args[:display_name] if args.key?(:display_name) - @name = args[:name] if args.key?(:name) - @update_time = args[:update_time] if args.key?(:update_time) - end - end - # A hash of file content. class HashProp include Google::Apis::Core::Hashable diff --git a/generated/google/apis/artifactregistry_v1beta1/representations.rb b/generated/google/apis/artifactregistry_v1beta1/representations.rb index 739c3caef..f7d7b5e10 100644 --- a/generated/google/apis/artifactregistry_v1beta1/representations.rb +++ b/generated/google/apis/artifactregistry_v1beta1/representations.rb @@ -46,30 +46,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleDevtoolsArtifactregistryV1alpha1GcsSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GoogleDevtoolsArtifactregistryV1alpha1Package - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class HashProp class Representation < Google::Apis::Core::JsonRepresentation; end @@ -223,44 +199,6 @@ module Google end end - class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta1::Status, decorator: Google::Apis::ArtifactregistryV1beta1::Status::Representation - - property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource::Representation - - end - end - - class GoogleDevtoolsArtifactregistryV1alpha1GcsSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :uris, as: 'uris' - property :use_wildcards, as: 'useWildcards' - end - end - - class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo::Representation - - collection :packages, as: 'packages', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1Package, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1Package::Representation - - end - end - - class GoogleDevtoolsArtifactregistryV1alpha1Package - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :display_name, as: 'displayName' - property :name, as: 'name' - property :update_time, as: 'updateTime' - end - end - class HashProp # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/artifactregistry_v1beta1/synth.metadata b/generated/google/apis/artifactregistry_v1beta1/synth.metadata index 9deaa982c..30b2c1e66 100644 --- a/generated/google/apis/artifactregistry_v1beta1/synth.metadata +++ b/generated/google/apis/artifactregistry_v1beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "14926bc6021243bb9b419ee77034b7a2fa849937" + "sha": "eaafd551c577a73f90f07ea99fa35d0ba8087b51" } } ]