Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalTestPermissionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalTestPermissionsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb
Overview
Request message for TestPermissions
method.
Instance Attribute Summary collapse
-
#permissions ⇒ Array<String>
The set of permissions to check for the
resource
. -
#resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalTestPermissionsRequest
constructor
A new instance of SasPortalTestPermissionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalTestPermissionsRequest
Returns a new instance of SasPortalTestPermissionsRequest.
1385 1386 1387 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#permissions ⇒ Array<String>
The set of permissions to check for the resource
.
Corresponds to the JSON property permissions
1378 1379 1380 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1378 def @permissions end |
#resource ⇒ String
Required. The resource for which the permissions are being requested.
Corresponds to the JSON property resource
1383 1384 1385 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1383 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1390 1391 1392 1393 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1390 def update!(**args) @permissions = args[:permissions] if args.key?(:permissions) @resource = args[:resource] if args.key?(:resource) end |