Class: Google::Apis::ArtifactregistryV1::BatchDeleteVersionsMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/artifactregistry_v1/classes.rb,
lib/google/apis/artifactregistry_v1/representations.rb,
lib/google/apis/artifactregistry_v1/representations.rb

Overview

The metadata of an LRO from deleting multiple versions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchDeleteVersionsMetadata

Returns a new instance of BatchDeleteVersionsMetadata.



191
192
193
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 191

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#failed_versionsArray<String>

The versions the operation failed to delete. Corresponds to the JSON property failedVersions

Returns:

  • (Array<String>)


189
190
191
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 189

def failed_versions
  @failed_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



196
197
198
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 196

def update!(**args)
  @failed_versions = args[:failed_versions] if args.key?(:failed_versions)
end