Class: Google::Apis::ArtifactregistryV1::DockerRepositoryConfig

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

DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DockerRepositoryConfig

Returns a new instance of DockerRepositoryConfig.



581
582
583
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 581

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

Instance Attribute Details

#immutable_tagsBoolean Also known as: immutable_tags?

The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created. Corresponds to the JSON property immutableTags

Returns:

  • (Boolean)


578
579
580
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 578

def immutable_tags
  @immutable_tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



586
587
588
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 586

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