Class: Google::Cloud::ArtifactRegistry::V1::ProjectSettings

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

Overview

The Artifact Registry settings that apply to a Project.

Defined Under Namespace

Modules: RedirectionState

Instance Attribute Summary collapse

Instance Attribute Details

#legacy_redirection_state::Google::Cloud::ArtifactRegistry::V1::ProjectSettings::RedirectionState

Returns The redirection state of the legacy repositories in this project.

Returns:



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'proto_docs/google/devtools/artifactregistry/v1/settings.rb', line 37

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

  # The possible redirection states for legacy repositories.
  module RedirectionState
    # No redirection status has been set.
    REDIRECTION_STATE_UNSPECIFIED = 0

    # Redirection is disabled.
    REDIRECTION_FROM_GCR_IO_DISABLED = 1

    # Redirection is enabled.
    REDIRECTION_FROM_GCR_IO_ENABLED = 2

    # Redirection is enabled, and has been finalized so cannot be reverted.
    REDIRECTION_FROM_GCR_IO_FINALIZED = 3
  end
end

#name::String

Returns The name of the project's settings.

Always of the form: projects/{project-id}/projectSettings

In update request: never set In response: always set.

Returns:

  • (::String)

    The name of the project's settings.

    Always of the form: projects/{project-id}/projectSettings

    In update request: never set In response: always set



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'proto_docs/google/devtools/artifactregistry/v1/settings.rb', line 37

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

  # The possible redirection states for legacy repositories.
  module RedirectionState
    # No redirection status has been set.
    REDIRECTION_STATE_UNSPECIFIED = 0

    # Redirection is disabled.
    REDIRECTION_FROM_GCR_IO_DISABLED = 1

    # Redirection is enabled.
    REDIRECTION_FROM_GCR_IO_ENABLED = 2

    # Redirection is enabled, and has been finalized so cannot be reverted.
    REDIRECTION_FROM_GCR_IO_FINALIZED = 3
  end
end