Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalTestPermissionsResponse

Inherits:
Object
  • Object
show all
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

Response message for TestPermissions method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalTestPermissionsResponse

Returns a new instance of SasPortalTestPermissionsResponse.



1175
1176
1177
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1175

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


1173
1174
1175
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1173

def permissions
  @permissions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1180
1181
1182
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1180

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