Class: Google::Cloud::ArtifactRegistry::V1::Repository

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

Overview

A Repository for storing artifacts with a specific format.

Defined Under Namespace

Modules: Format, Mode Classes: CleanupPoliciesEntry, DockerRepositoryConfig, LabelsEntry, MavenRepositoryConfig, VulnerabilityScanningConfig

Instance Attribute Summary collapse

Instance Attribute Details

#cleanup_policies::Google::Protobuf::Map{::String => ::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy}

Returns Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.

Returns:

  • (::Google::Protobuf::Map{::String => ::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy})

    Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#cleanup_policy_dry_run::Boolean

Returns Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.

Returns:

  • (::Boolean)

    Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the repository was created.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#description::String

Returns The user-provided description of the repository.

Returns:

  • (::String)

    The user-provided description of the repository.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#disallow_unspecified_mode::Boolean

Returns Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.

Returns:

  • (::Boolean)

    Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#docker_config::Google::Cloud::ArtifactRegistry::V1::Repository::DockerRepositoryConfig

Returns Docker repository config contains repository level configuration for the repositories of docker type.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#format::Google::Cloud::ArtifactRegistry::V1::Repository::Format

Returns Optional. The format of packages that are stored in the repository.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#kms_key_name::String

Returns The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

Returns:

  • (::String)

    The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

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

Returns Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

Returns:

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

    Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#maven_config::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig

Returns Maven repository config contains repository level configuration for the repositories of maven type.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#mode::Google::Cloud::ArtifactRegistry::V1::Repository::Mode

Returns Optional. The mode of the repository.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#name::String

Returns The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1. For each location in a project, repository names must be unique.

Returns:

  • (::String)

    The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1. For each location in a project, repository names must be unique.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#remote_repository_config::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig

Returns Configuration specific for a Remote Repository.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#satisfies_pzi::Boolean (readonly)

Returns Output only. If set, the repository satisfies physical zone isolation.

Returns:

  • (::Boolean)

    Output only. If set, the repository satisfies physical zone isolation.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#satisfies_pzs::Boolean (readonly)

Returns Output only. If set, the repository satisfies physical zone separation.

Returns:

  • (::Boolean)

    Output only. If set, the repository satisfies physical zone separation.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#size_bytes::Integer (readonly)

Returns Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

Returns:

  • (::Integer)

    Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the repository was last updated.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#virtual_repository_config::Google::Cloud::ArtifactRegistry::V1::VirtualRepositoryConfig

Returns Configuration specific for a Virtual Repository.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end

#vulnerability_scanning_config::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig

Returns Optional. Config and state for vulnerability scanning of resources within this Repository.

Returns:



523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 523

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

  # MavenRepositoryConfig is maven related repository details.
  # Provides additional configuration details for repositories of the maven
  # format type.
  # @!attribute [rw] allow_snapshot_overwrites
  #   @return [::Boolean]
  #     The repository with this flag will allow publishing
  #     the same snapshot versions.
  # @!attribute [rw] version_policy
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig::VersionPolicy]
  #     Version policy defines the versions that the registry will accept.
  class MavenRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # VersionPolicy is the version policy for the repository.
    module VersionPolicy
      # VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
      # When the version policy is not defined, no validation is performed
      # for the versions.
      VERSION_POLICY_UNSPECIFIED = 0

      # RELEASE - repository will accept only Release versions.
      RELEASE = 1

      # SNAPSHOT - repository will accept only Snapshot versions.
      SNAPSHOT = 2
    end
  end

  # DockerRepositoryConfig is docker related repository details.
  # Provides additional configuration details for repositories of the docker
  # format type.
  # @!attribute [rw] immutable_tags
  #   @return [::Boolean]
  #     The repository which enabled this flag prevents all tags from being
  #     modified, moved or deleted. This does not prevent tags from being
  #     created.
  class DockerRepositoryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config on whether to perform vulnerability scanning for resources in this
  # repository, as well as output fields describing current state.
  # @!attribute [rw] enablement_config
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementConfig]
  #     Optional. Config for whether this repository has vulnerability scanning
  #     disabled.
  # @!attribute [r] last_enable_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Output only. The last time this repository config was enabled.
  # @!attribute [r] enablement_state
  #   @return [::Google::Cloud::ArtifactRegistry::V1::Repository::VulnerabilityScanningConfig::EnablementState]
  #     Output only. State of feature enablement, combining repository enablement
  #     config and API enablement state.
  # @!attribute [r] enablement_state_reason
  #   @return [::String]
  #     Output only. Reason for the repository state.
  class VulnerabilityScanningConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Config for vulnerability scanning of resources in this repository.
    module EnablementConfig
      # Not set. This will be treated as INHERITED.
      ENABLEMENT_CONFIG_UNSPECIFIED = 0

      # Scanning is Enabled, but dependent on API enablement.
      INHERITED = 1

      # No automatic vulnerability scanning will be performed for this
      # repository.
      DISABLED = 2
    end

    # Describes the state of vulnerability scanning in this repository,
    # including both repository enablement and API enablement.
    module EnablementState
      # Enablement state is unclear.
      ENABLEMENT_STATE_UNSPECIFIED = 0

      # Repository does not support vulnerability scanning.
      SCANNING_UNSUPPORTED = 1

      # Vulnerability scanning is disabled for this repository.
      SCANNING_DISABLED = 2

      # Vulnerability scanning is active for this repository.
      SCANNING_ACTIVE = 3
    end
  end

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::ArtifactRegistry::V1::CleanupPolicy]
  class CleanupPoliciesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # A package format.
  module Format
    # Unspecified package format.
    FORMAT_UNSPECIFIED = 0

    # Docker package format.
    DOCKER = 1

    # Maven package format.
    MAVEN = 2

    # NPM package format.
    NPM = 3

    # APT package format.
    APT = 5

    # YUM package format.
    YUM = 6

    # Python package format.
    PYTHON = 8

    # Kubeflow Pipelines package format.
    KFP = 9

    # Go package format.
    GO = 10

    # Generic package format.
    GENERIC = 11
  end

  # The mode configures the repository to serve artifacts from different
  # sources.
  module Mode
    # Unspecified mode.
    MODE_UNSPECIFIED = 0

    # A standard repository storing artifacts.
    STANDARD_REPOSITORY = 1

    # A virtual repository to serve artifacts from one or more sources.
    VIRTUAL_REPOSITORY = 2

    # A remote repository to serve artifacts from a remote source.
    REMOTE_REPOSITORY = 3
  end
end