Class: Google::Cloud::ArtifactRegistry::V1::Version

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/artifactregistry/v1/version.rb

Overview

The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.

Defined Under Namespace

Classes: AnnotationsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#annotations::Google::Protobuf::Map{::String => ::String}

Returns Optional. Client specified annotations.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. Client specified annotations.



56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#create_time::Google::Protobuf::Timestamp

Returns The time when the version was created.

Returns:



56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#description::String

Returns Optional. Description of the version, as specified in its metadata.

Returns:

  • (::String)

    Optional. Description of the version, as specified in its metadata.



56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#metadata::Google::Protobuf::Struct (readonly)

Returns Output only. Repository-specific Metadata stored against this version. The fields returned are defined by the underlying repository-specific resource. Currently, the resources could be: DockerImage MavenArtifact.

Returns:



56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns The name of the version, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1. If the package or version ID parts contain slashes, the slashes are escaped.

Returns:

  • (::String)

    The name of the version, for example: projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1. If the package or version ID parts contain slashes, the slashes are escaped.



56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

Returns Output only. A list of related tags. Will contain up to 100 tags that reference this version.

Returns:



56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#update_time::Google::Protobuf::Timestamp

Returns The time when the version was last updated.

Returns:



56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/version.rb', line 56

class Version
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class AnnotationsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end