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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sasportal_v1alpha1/classes.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb,
generated/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.



1072
1073
1074
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 1072

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>)


1070
1071
1072
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 1070

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1077
1078
1079
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 1077

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