Class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1beta1/classes.rb,
lib/google/apis/cloudasset_v1beta1/representations.rb,
lib/google/apis/cloudasset_v1beta1/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.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
Returns a new instance of GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices.
1996 1997 1998 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 1996 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. You can specify a list of individual services, as
well as include the 'RESTRICTED-SERVICES' value, which automatically includes
all of the services protected by the perimeter.
Corresponds to the JSON property allowedServices
1987 1988 1989 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 1987 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
1993 1994 1995 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 1993 def enable_restriction @enable_restriction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2001 2002 2003 2004 |
# File 'lib/google/apis/cloudasset_v1beta1/classes.rb', line 2001 def update!(**args) @allowed_services = args[:allowed_services] if args.key?(:allowed_services) @enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction) end |