Class: Google::Cloud::ArtifactRegistry::V1::VPCSCConfig

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

Overview

The Artifact Registry VPC SC config that apply to a Project.

Defined Under Namespace

Modules: VPCSCPolicy

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns The name of the project's VPC SC Config.

Always of the form: projects/{projectID}/locations/{location}/vpcscConfig

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

Returns:

  • (::String)

    The name of the project's VPC SC Config.

    Always of the form: projects/{projectID}/locations/{location}/vpcscConfig

    In update request: never set In response: always set



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

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

  # VPCSCPolicy is the VPC SC policy for project and location.
  module VPCSCPolicy
    # VPCSC_POLICY_UNSPECIFIED - the VPS SC policy is not defined.
    # When VPS SC policy is not defined - the Service will use the default
    # behavior (VPCSC_DENY).
    VPCSC_POLICY_UNSPECIFIED = 0

    # VPCSC_DENY - repository will block the requests to the Upstreams for the
    # Remote Repositories if the resource is in the perimeter.
    DENY = 1

    # VPCSC_ALLOW - repository will allow the requests to the Upstreams for the
    # Remote Repositories if the resource is in the perimeter.
    ALLOW = 2
  end
end

#vpcsc_policy::Google::Cloud::ArtifactRegistry::V1::VPCSCConfig::VPCSCPolicy

Returns The project per location VPC SC policy that defines the VPC SC behavior for the Remote Repository (Allow/Deny).

Returns:



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

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

  # VPCSCPolicy is the VPC SC policy for project and location.
  module VPCSCPolicy
    # VPCSC_POLICY_UNSPECIFIED - the VPS SC policy is not defined.
    # When VPS SC policy is not defined - the Service will use the default
    # behavior (VPCSC_DENY).
    VPCSC_POLICY_UNSPECIFIED = 0

    # VPCSC_DENY - repository will block the requests to the Upstreams for the
    # Remote Repositories if the resource is in the perimeter.
    DENY = 1

    # VPCSC_ALLOW - repository will allow the requests to the Upstreams for the
    # Remote Repositories if the resource is in the perimeter.
    ALLOW = 2
  end
end