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.



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

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>)


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

def failed_versions
  @failed_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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