Class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1IngressSource
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1IngressSource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/google/apis/cloudasset_v1/representations.rb
Overview
The source that IngressPolicy authorizes access from.
Instance Attribute Summary collapse
-
#access_level ⇒ String
An AccessLevel resource name that allow resources within the ServicePerimeters to be accessed from the internet.
-
#resource ⇒ String
A Google Cloud resource that is allowed to ingress the perimeter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1IngressSource
constructor
A new instance of GoogleIdentityAccesscontextmanagerV1IngressSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1IngressSource
Returns a new instance of GoogleIdentityAccesscontextmanagerV1IngressSource.
1873 1874 1875 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1873 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_level ⇒ String
An AccessLevel resource name that allow resources within the ServicePerimeters
to be accessed from the internet. AccessLevels listed must be in the same
policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will
cause an error. If no AccessLevel names are listed, resources within the
perimeter can only be accessed via Google Cloud calls with request origins
within the perimeter. Example: accessPolicies/MY_POLICY/accessLevels/MY_LEVEL
. If *
is specified, then all IngressSources will be allowed.
Corresponds to the JSON property accessLevel
1861 1862 1863 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1861 def access_level @access_level end |
#resource ⇒ String
A Google Cloud resource that is allowed to ingress the perimeter. Requests
from these resources will be allowed to access perimeter data. Currently only
projects are allowed. Format: projects/
project_number`The project may be
in any Google Cloud organization, not just the organization that the perimeter
is defined in.
*is not allowed, the case of allowing all Google Cloud
resources only is not supported.
Corresponds to the JSON property
resource`
1871 1872 1873 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1871 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1878 1879 1880 1881 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1878 def update!(**args) @access_level = args[:access_level] if args.key?(:access_level) @resource = args[:resource] if args.key?(:resource) end |