Class: Google::Cloud::ArtifactRegistry::V1::Rule

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

Overview

A rule defines the deny or allow action of the operation it applies to and the conditions required for the rule to apply. You can set one rule for an entire repository and one rule for each package within.

Defined Under Namespace

Modules: Action, Operation

Instance Attribute Summary collapse

Instance Attribute Details

#action::Google::Cloud::ArtifactRegistry::V1::Rule::Action



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/rule.rb', line 44

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

  # Defines the action of the rule.
  module Action
    # Action not specified.
    ACTION_UNSPECIFIED = 0

    # Allow the operation.
    ALLOW = 1

    # Deny the operation.
    DENY = 2
  end

  # The operation the rule applies to.
  module Operation
    # Operation not specified.
    OPERATION_UNSPECIFIED = 0

    # Download operation.
    DOWNLOAD = 1
  end
end

#condition::Google::Type::Expr



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/rule.rb', line 44

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

  # Defines the action of the rule.
  module Action
    # Action not specified.
    ACTION_UNSPECIFIED = 0

    # Allow the operation.
    ALLOW = 1

    # Deny the operation.
    DENY = 2
  end

  # The operation the rule applies to.
  module Operation
    # Operation not specified.
    OPERATION_UNSPECIFIED = 0

    # Download operation.
    DOWNLOAD = 1
  end
end

#name::String



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/rule.rb', line 44

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

  # Defines the action of the rule.
  module Action
    # Action not specified.
    ACTION_UNSPECIFIED = 0

    # Allow the operation.
    ALLOW = 1

    # Deny the operation.
    DENY = 2
  end

  # The operation the rule applies to.
  module Operation
    # Operation not specified.
    OPERATION_UNSPECIFIED = 0

    # Download operation.
    DOWNLOAD = 1
  end
end

#operation::Google::Cloud::ArtifactRegistry::V1::Rule::Operation



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/rule.rb', line 44

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

  # Defines the action of the rule.
  module Action
    # Action not specified.
    ACTION_UNSPECIFIED = 0

    # Allow the operation.
    ALLOW = 1

    # Deny the operation.
    DENY = 2
  end

  # The operation the rule applies to.
  module Operation
    # Operation not specified.
    OPERATION_UNSPECIFIED = 0

    # Download operation.
    DOWNLOAD = 1
  end
end

#package_id::String



44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/devtools/artifactregistry/v1/rule.rb', line 44

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

  # Defines the action of the rule.
  module Action
    # Action not specified.
    ACTION_UNSPECIFIED = 0

    # Allow the operation.
    ALLOW = 1

    # Deny the operation.
    DENY = 2
  end

  # The operation the rule applies to.
  module Operation
    # Operation not specified.
    OPERATION_UNSPECIFIED = 0

    # Download operation.
    DOWNLOAD = 1
  end
end