Class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
- Defined in:
- generated/google/apis/cloudasset_v1/classes.rb,
generated/google/apis/cloudasset_v1/representations.rb,
generated/google/apis/cloudasset_v1/representations.rb
Overview
Specifies how APIs are allowed to communicate within the Service Perimeter.
Instance Attribute Summary collapse
-
#allowed_services ⇒ Array<String>
The list of APIs usable within the Service Perimeter.
-
#enable_restriction ⇒ Boolean
(also: #enable_restriction?)
Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
constructor
A new instance of GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
Returns a new instance of GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices.
1576 1577 1578 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1576 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_services ⇒ Array<String>
The list of APIs usable within the Service Perimeter. Must be empty
unless 'enable_restriction' is True.
Corresponds to the JSON property allowedServices
1567 1568 1569 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1567 def allowed_services @allowed_services end |
#enable_restriction ⇒ Boolean Also known as: enable_restriction?
Whether to restrict API calls within the Service Perimeter to the list of
APIs specified in 'allowed_services'.
Corresponds to the JSON property enableRestriction
1573 1574 1575 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1573 def enable_restriction @enable_restriction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1581 1582 1583 1584 |
# File 'generated/google/apis/cloudasset_v1/classes.rb', line 1581 def update!(**args) @allowed_services = args[:allowed_services] if args.key?(:allowed_services) @enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction) end |