class Azure::GraphRbac::V1_6::Models::RequiredResourceAccess
Specifies the set of OAuth 2.0 permission scopes and app roles under the specified resource that an application requires access to. The specified OAuth 2.0 permission scopes may be requested by client applications (through the requiredResourceAccess collection) when calling a resource application. The requiredResourceAccess property of the Application
entity is a collection of ReqiredResourceAccess.
Attributes
@return Unmatched properties from the message are deserialized this collection
@return [Array<ResourceAccess>] The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource.
@return [String] The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
Private Class Methods
Mapper for RequiredResourceAccess
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.6/generated/azure_graph_rbac/models/required_resource_access.rb, line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RequiredResourceAccess', type: { name: 'Composite', class_name: 'RequiredResourceAccess', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, resource_access: { client_side_validation: true, required: true, serialized_name: 'resourceAccess', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourceAccessElementType', type: { name: 'Composite', class_name: 'ResourceAccess' } } } }, resource_app_id: { client_side_validation: true, required: false, serialized_name: 'resourceAppId', type: { name: 'String' } } } } } end