Class: Google::Apis::SasportalV1alpha1::SasPortalTestPermissionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sasportal_v1alpha1/classes.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb

Overview

Response message for TestPermissions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalTestPermissionsResponse

Returns a new instance of SasPortalTestPermissionsResponse.



1161
1162
1163
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1161

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#permissionsArray<String>

A set of permissions that the caller is allowed. Corresponds to the JSON property permissions

Returns:

  • (Array<String>)


1159
1160
1161
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1159

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1166
1167
1168
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 1166

def update!(**args)
  @permissions = args[:permissions] if args.key?(:permissions)
end