class Azure::Graph::Mgmt::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 [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_mgmt_graph/models/required_resource_access.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RequiredResourceAccess', type: { name: 'Composite', class_name: 'RequiredResourceAccess', model_properties: { 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