def by_access_package_resource_scope_id1(self,access_package_resource_scope_id1: str) -> AccessPackageResourceScopeItemRequestBuilder:
        """
        Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity.
        param access_package_resource_scope_id1: The unique identifier of accessPackageResourceScope
        Returns: AccessPackageResourceScopeItemRequestBuilder
        """
        if access_package_resource_scope_id1 is None:
            raise TypeError("access_package_resource_scope_id1 cannot be null.")
        from .item.access_package_resource_scope_item_request_builder import AccessPackageResourceScopeItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["accessPackageResourceScope%2Did1"] = access_package_resource_scope_id1
        return AccessPackageResourceScopeItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the scopes property of the microsoft.graph.accessPackageResource entity.
        param access_package_resource_scope_id1: The unique identifier of accessPackageResourceScope
        Returns: AccessPackageResourceScopeItemRequestBuilder
        
msgraph/generated/identity_governance/entitlement_management/catalogs/item/resource_scopes/item/resource/scopes/scopes_request_builder.py