class Google::Apis::SasportalV1alpha1::SasPortalTestPermissionsRequest

Request message for `TestPermissions` method.

Attributes

permissions[RW]

The set of permissions to check for the `resource`. Corresponds to the JSON property `permissions` @return [Array<String>]

resource[RW]

Required. The resource for which the permissions are being requested. Corresponds to the JSON property `resource` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 1141
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 1146
def update!(**args)
  @permissions = args[:permissions] if args.key?(:permissions)
  @resource = args[:resource] if args.key?(:resource)
end