Class: Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressSource
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p7beta1::GoogleIdentityAccesscontextmanagerV1EgressSource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1p7beta1/classes.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb,
lib/google/apis/cloudasset_v1p7beta1/representations.rb
Overview
The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
Instance Attribute Summary collapse
-
#access_level ⇒ String
An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries.
-
#resource ⇒ String
A Google Cloud resource that you want to allow to egress the perimeter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1EgressSource
constructor
A new instance of GoogleIdentityAccesscontextmanagerV1EgressSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1EgressSource
Returns a new instance of GoogleIdentityAccesscontextmanagerV1EgressSource.
1580 1581 1582 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_level ⇒ String
An AccessLevel resource name that allows protected resources inside the
ServicePerimeters to access outside the ServicePerimeter boundaries.
AccessLevels listed must be in the same policy as this ServicePerimeter.
Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
name is not specified, only resources within the perimeter can be accessed
through Google Cloud calls with request origins within the perimeter. Example:
accessPolicies/MY_POLICY/accessLevels/MY_LEVEL
. If a single *
is specified
for access_level
, then all EgressSources will be allowed.
Corresponds to the JSON property accessLevel
1568 1569 1570 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1568 def access_level @access_level end |
#resource ⇒ String
A Google Cloud resource that you want to allow to egress the perimeter. These
resources can access data outside the perimeter. This field only supports
projects. The project format is projects/
project_number`. The resource can
be in any Google Cloud organization, not just the organization where the
perimeter is defined. You can't use
*in this field to allow all Google
Cloud resources.
Corresponds to the JSON property
resource`
1578 1579 1580 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1578 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1585 1586 1587 1588 |
# File 'lib/google/apis/cloudasset_v1p7beta1/classes.rb', line 1585 def update!(**args) @access_level = args[:access_level] if args.key?(:access_level) @resource = args[:resource] if args.key?(:resource) end |